p-timeout

Timeout a promise after a specified amount of time

MIT License

Downloads
50.9M
Stars
261
Committers
14

Bot releases are visible (Hide)

p-timeout - Latest Release

Published by sindresorhus over 1 year ago

  • Clear existing timeouts when an abort signal aborts (#36) 52d1a6d
  • Fix infinite milliseconds (#38) 9260b09

https://github.com/sindresorhus/p-timeout/compare/v6.1.1...v6.1.2

p-timeout -

Published by sindresorhus over 1 year ago

  • Fix stack trace not being preserved on timeout (#34) 63d792f

https://github.com/sindresorhus/p-timeout/compare/v6.1.0...v6.1.1

p-timeout -

Published by sindresorhus over 1 year ago

  • Allow timing out without erroring (#30) 45405e7

https://github.com/sindresorhus/p-timeout/compare/v6.0.0...v6.1.0

p-timeout -

Published by sindresorhus about 2 years ago

Breaking

https://github.com/sindresorhus/p-timeout/compare/v5.1.0...v6.0.0

p-timeout -

Published by sindresorhus over 2 years ago

p-timeout -

Published by sindresorhus almost 3 years ago

  • Ensure milliseconds argument is not NaN (#25) 6b6c4e8

https://github.com/sindresorhus/p-timeout/compare/v5.0.1...v5.0.2

p-timeout -

Published by sindresorhus about 3 years ago

  • Improve timeout error message (#24) bf5d164

https://github.com/sindresorhus/p-timeout/compare/v5.0.0...v5.0.1

p-timeout -

Published by sindresorhus over 3 years ago

Breaking

  • Require Node.js 12 458618e
  • This package is now pure ESM. Please read this.

https://github.com/sindresorhus/p-timeout/compare/v4.1.0...v5.0.0

p-timeout -

Published by sindresorhus almost 4 years ago

p-timeout -

Published by sindresorhus almost 4 years ago

p-timeout -

Published by sindresorhus almost 4 years ago

Breaking

  • Require Node.js 10 3249b2f

Improvements

https://github.com/sindresorhus/p-timeout/compare/v3.2.0...v4.0.0

p-timeout -

Published by sindresorhus about 5 years ago

  • Add support for passing in Infinity as milliseconds a233d8c

https://github.com/sindresorhus/p-timeout/compare/v3.1.0...v3.2.0

p-timeout -

Published by sindresorhus over 5 years ago

  • Refactor TypeScript definition to CommonJS compatible export (#11) 695a09c

https://github.com/sindresorhus/p-timeout/compare/v3.0.0...v3.1.0

p-timeout -

Published by sindresorhus over 5 years ago

Breaking:

  • Require Node.js 8 (#10) 9a429bc

Enhancements:

  • Add TypeScript definition (#10) 9a429bc

https://github.com/sindresorhus/p-timeout/compare/v2.0.1...v3.0.0