8.0.0
版本发布时间: 2018-08-01 13:19:44
taylorhakes/promise-polyfill最新发布版本:8.2.2(2022-03-12 14:59:17)
- 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.