NewYour coding agent can read the release notes before it upgrades.Set up the MCP server →
npm · #837 most downloaded on npm
A basic but performant promise implementation
Last release 9 years ago
no release in 18 months
Release timing varies
gaps range from 4 weeks to 12 months
Some releases are documented
notes for 14 of 47 stable releases
Nothing withdrawn
no release was ever pulled
13 years old
47 releases · first in 2013
fine I'll include some typescript junk
fine I'll include some typescript junk
Nothing published for this version
fix edge case related to spec: 2.3.3: "Otherwise, if x is an object or function"
fix edge case related to spec: 2.3.3: "Otherwise, if x is an object or function"
One column per quarter.
do browserify transforms as prepublish
do browserify transforms as prepublish
forgot to update the built files in v3.0.3
forgot to update the built files in v3.0.3
should fix #32 plus it updates the es3ify dep that was relying on a dep that was breaking in newer npm versions
should fix #32 plus it updates the es3ify dep that was relying on a dep that was breaking in newer npm versions
Nothing published for this version
fixes #26 the WARN: Dropping unused variable UNHANDLED message generated by jshint
fixes #26 the WARN: Dropping unused variable UNHANDLED message generated by jshint
…be doing something pretty dumb for this to be a breaking change in your code.
Overall it should be very much in line with how es6 promises work in the browser/node and should be about 18% smaller now coming in at 1867 bytes minified and gzipped.
BREAKING adds some es6 compatibility fixes to make inheriting possible, which now means Process.[all|race|resolve|reject] may not be called in an arbitrary context, i.e.
// WON'T WORK
var resolve = Promise.resolve;
var promise = resolve(true);
// STILL WORKS
var promise = Promise.resolve(true);
BREAKING new is no longer optional for constructors, e.g.
// WON'T WORK
var foo = Promise();
// STILL WORKS
var foo = new Promise();
this is exactly how es6 promises work
resolve no longer caches falsy promises, this was of minimal perf benefit and could cause global issues issues if somebody was to screw around with one of those cached promises as they were global and mutable, this is theoretically breaking, but honestly you'd have to be doing something pretty dumb for this to be a breaking change in your code.
no longer broken into many modules, this doesn't effect performance or how it works in any way, but makes it a lot smaller as the library is small enough that all the wrapping functions added up to a noticeable fraction of the total library size
update versions and readme
update versions and readme
Nothing published for this version
Nothing published for this version
finally adds Promise.race static method which means that lie can be used as a polyfill
Adds a couple things:
Promise.race static method which means that lie can be used as a polyfillPromise.all implementation that mutable error objects were being cached.fixes a bug where Promise.all could resolve more then once
fixes a bug where Promise.all could resolve more then once
some miscellaneous speedups and size slims
some miscellaneous speedups and size slims
Nothing published for this version
Nothing published for this version
avoid caching the empty array Promise.all can return as that is mutable.
avoid caching the empty array Promise.all can return as that is mutable.
if resolve is given a promise simply return it
Some optimization including
Removed the Promise.prototype.resolve and Promise.prototype.reject methods as they shouldn't have been public, upgraded immediate the the proper micro
Removed the Promise.prototype.resolve and Promise.prototype.reject methods as they shouldn't have been public, upgraded immediate the the proper microtask version, and some reorganization of the code to be more clear.
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
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
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
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 →