NewYour coding agent can read the release notes before it upgrades.Set up the MCP server →
npm · #3738 most downloaded on npm
Converts callback-based functions to ES6 Promises
Last release 5 years ago
no release in 18 months
Ships fairly regularly
a new release about every 8 months
Most releases are documented
notes for 15 of 17 stable releases
Nothing withdrawn
no release was ever pulled
12 years old
17 releases · first in 2014
Library is now minified by default
Update README with examples using async/await
async/awaiteslint to v5 for compatibility with Node 6Use .apply instead of .call with spread
One column per quarter.
.apply instead of .call with spreadprettierBug fixes and stability improvements
Remove Symbol for compatibility
Symbol for compatibilityDevelopers can now provide their own Promise implementation
Promise implementationes6-promise; if your environment has no native Promise you must polyfill yourself, or set promisify.Promise to some + compatible Promise implementation.settings.thisArg: use .bind() instead.settings.multiArgs: use named arguments instead (compatible with Node's util.promisifyThis introduces a breaking change from es6-promise, which in previous versions would patch the global instance of Promise with its polyfill if it did…
Promise polyfill to es6-promise@4.0.3.This introduces a breaking change from es6-promise, which in previous versions would patch the global instance of Promise with its polyfill if it did not exist. Because of this, es6-promisify may also have patched your global Promise when it required es6-promise. As of es6-promise@4.0.0, the global scope is no longer patched, which means this library no longer patches it either.
Detects attempts to promisify a Promise and just resolves with the promise.
Promise and just resolves with the promise.es6-promise@3.2.1jslint@0.10.0babel-preset-es2015@6.9.0Removes custom callbacks (use new Promise() instead)
new Promise() instead)thisArg option to provide a custom this contextmultiArg option to control how mutliple callback arguments are handledUpdate Promise polyfill to es6-promise@3.0.2
Update Promise polyfill to es6-promise@2.3.0
Nothing published for this version
Now uses native Promises, if available, and only uses the es6-promise library as a fallback.
Now uses native Promises, if available, and only uses the es6-promise library as a fallback.
promisify.js now passes jslint! Re-factor also removes the callback trampoline from the default callback (with thanks to @oconnore)
promisify.js now passes jslint! Re-factor also removes the callback trampoline from the default callback (with thanks to @oconnore)
Fixes a bug which prevented multiple calls to the same promisified function (with thanks to @poying).
Fixes a bug which prevented multiple calls to the same promisified function (with thanks to @poying).
- Allow custom callback handlers - Unit tests with nodeunit - Expand the documentation - Upgrade to es6-promise 1.0.0
Nothing published for this version
Your coding agent can read these notes before it upgrades. Set up the MCP server →