NewYour coding agent can read the release notes before it upgrades.Set up the MCP server →
npm
npm, #1324 most downloaded on npm
Create a promise that can be canceled
Latest stable
5.0.0
Last release 20 days ago
02 Nov 2026
Ships unpredictably
gaps range from 3 weeks to 4.3 years
Some releases are documented
notes for 8 of 16 stable releases
Nothing withdrawn
no release was ever pulled
10 years old
16 releases · first in 2016
Drag across the ruler to compare, or tap a release to open it.
PCancelable: Preserve errors during resolution and cancellation 37b8811
PCancelable: Preserve errors during resolution and cancellation 37b8811Promise methods exist on PCancelable 9162c49https://github.com/sindresorhus/p-cancelable/compare/v4.0.1...v5.0.0
Fix: Ensure the state is only changed if the promise was pending (#34) 31fbf8f
https://github.com/sindresorhus/p-cancelable/compare/v4.0.0...v4.0.1
Your coding agent can read these notes before it upgrades. Set up the MCP server →
Improve the message error when attaching onCancel after the promise settled (#31) aab3b8d
https://github.com/sindresorhus/p-cancelable/compare/v3.0.0...v4.0.0
This package is now pure ESM. Please read this.
https://github.com/sindresorhus/p-cancelable/compare/v2.1.1...v3.0.0
Fix TypeScript type for the cancel method (#28) c80c3ee
https://github.com/sindresorhus/p-cancelable/compare/v2.1.0...v2.1.1
Immediately call onCancel handlers when a promise is canceled (#24) d292dcc
onCancel handlers when a promise is canceled (#24) d292dcchttps://github.com/sindresorhus/p-cancelable/compare/v2.0.0...v2.1.0
Throw error if onCancel is called after promise settlement (#18) c4ebb36
Breaking:
onCancel is called after promise settlement (#18) c4ebb36import PCancelable from 'p-cancelable'; to import PCancelable = require('p-cancelable');https://github.com/sindresorhus/p-cancelable/compare/v1.1.0...v2.0.0
Add TypeScript definition (#16) d332fd2
https://github.com/sindresorhus/p-cancelable/compare/v1.0.0...v1.1.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
Nothing published for this version
One column per quarter.