Socket
Socket
Sign inDemoInstall

promise-polyfill

Package Overview
Dependencies
0
Maintainers
1
Versions
46
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install
2345Next

8.3.0

Diff

Changelog

Source

8.3.0

  • Add Promise.any
taylorhakes
published 8.2.3 •

taylorhakes
published 8.2.2 •

taylorhakes
published 8.2.1 •

taylorhakes
published 8.2.0 •

Changelog

Source

8.2.0

  • Added Promise.allSettled
taylorhakes
published 8.1.3 •

taylorhakes
published 8.1.2 •

taylorhakes
published 8.1.1 •

taylorhakes
published 8.1.0 •

Changelog

Source

8.1.0

  • Added Closure compiler type definitions
taylorhakes
published 8.0.0 •

Changelog

Source

8.0.0

  • Polyfill default promise with finally if it doesn't exist if you use polyfill.js
  • If using require with webpack 2+, you now need to do
var Promise = require('promise-polyfill').default;

instead of

var Promise = require('promise-polyfill');
  • Removed files /dist/promise.js and /dist/promise.min.js. These files were not used unless you downloaded them directly from the repo. They were not used by ES6 modules, CommonJS or polyfill.js The file lead to issues because they overrode the global Promise by default.
2345Next
SocketSocket SOC 2 Logo

Product

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

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc