Socket
Socket
Sign inDemoInstall

promise-polyfill

Package Overview
Dependencies
Maintainers
1
Versions
46
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

promise-polyfill - npm Package Versions

1235

2.1.4

Diff

taylorhakes
published 2.1.3 •

taylorhakes
published 2.1.2 •

taylorhakes
published 2.1.1 •

taylorhakes
published 2.1.0 •

Changelog

Source

2.1.0 Promise._setImmedateFn

Removed dead code Promise.immedateFn and added Promise._setImmediateFn(fn);

taylorhakes
published 2.0.2 •

Changelog

Source

2.0.2 Simplified Global detection

Simplified attaching to global object

taylorhakes
published 2.0.1 •

Changelog

Source

2.0.1 Webworker bugfixes

Fixed Webworkers missing window object

taylorhakes
published 2.0.0 •

Changelog

Source

2.0.0

Changed the following line

module.exports = root.Promise ? root.Promise : Promise;

to

module.exports = Promise;

This means the library will not use built-in Promise by default. This allows for more consistency.

You can easily add the functionality back.

var Promise = window.Promise || require('promise-polyfill');

Added Promise.immediateFn to allow changing the setImmedate function

Promise.immediateFn = window.setAsap;
taylorhakes
published 1.1.6 •

taylorhakes
published 1.1.5 •

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc