NewYour coding agent can read the release notes before it upgrades.Set up the MCP server →
npm · #1191 most downloaded on npm
Timeout a promise after a specified amount of time
Last release 22 days ago
12 Sep 2026
Release timing varies
gaps range from 2 weeks to 1.3 years
Most releases are documented
notes for 19 of 26 stable releases
Nothing withdrawn
no release was ever pulled
10 years old
26 releases · first in 2016
Fix: Handle input rejections when already aborted ( #46 ) 15fc4da
Fix "Illegal invocation" error with custom timers ed58372
One column per quarter.
Fix stack trace truncation when promise rejects b7bb247
Fix removing abort listener after promise rejects ( #44 ) fd93994
Fix removing signal listener when done b92608a
Clear existing timeouts when an abort signal aborts ( #36 ) 52d1a6d
Fix stack trace not being preserved on timeout ( #34 ) 63d792f
Allow timing out without erroring ( #30 ) 45405e7
Move the secondary parameters into the options parameter ( #29 ) d7920ca
milliseconds is moved into optionsmessage is moved into optionsfallback is moved into optionsSupport AbortController ( #26 ) 1bf6679
Ensure milliseconds argument is not NaN ( #25 ) 6b6c4e8
Improve timeout error message (#24) bf5d164
https://github.com/sindresorhus/p-timeout/compare/v5.0.0...v5.0.1
This package is now pure ESM. Please read this.
https://github.com/sindresorhus/p-timeout/compare/v4.1.0...v5.0.0
Make timeout clearable (#15) e26f08d
https://github.com/sindresorhus/p-timeout/compare/v4.0.1...v4.1.0
Fix browser compatibility (#18) b98a872
https://github.com/sindresorhus/p-timeout/compare/v4.0.0...v4.0.1
Add `customTimers` option (#17) 085f437
customTimers option (#17) 085f437https://github.com/sindresorhus/p-timeout/compare/v3.2.0...v4.0.0
Add support for passing in Infinity as milliseconds a233d8c
milliseconds a233d8chttps://github.com/sindresorhus/p-timeout/compare/v3.1.0...v3.2.0
Refactor TypeScript definition to CommonJS compatible export (#11) 695a09c
https://github.com/sindresorhus/p-timeout/compare/v3.0.0...v3.1.0
Require Node.js 8 (#10) 9a429bc
Breaking:
Enhancements:
https://github.com/sindresorhus/p-timeout/compare/v2.0.1...v3.0.0
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Your coding agent can read these notes before it upgrades. Set up the MCP server →