Skip to content

Bump promise-polyfill from 6.0.2 to 8.1.3 #82

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 5 commits into from
Dec 23, 2019

Conversation

dependabot-preview[bot]
Copy link
Contributor

@dependabot-preview dependabot-preview bot commented Nov 26, 2019

Bumps promise-polyfill from 6.0.2 to 8.1.3.

Release notes

Sourced from promise-polyfill's releases.

Fixed publishing of dist folder

No release notes provided.

Fix bug in isArray and Promise.all([])

Promise.all([]) failed due to bug in isArray

Promise.race bug fix

Fixes issue in Promise.race where passing non promises would error. For instance

Promise.race([1,2,3])

Closure compiler/typescript support

Added Closure compiler and typescript doc definitions.
Big thanks to @​TimvdLippe

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.

Fixed global issue in Node JS

Fixed an error in Node JS causing throw new Error('unable to locate global object');.

Thanks @​vmihailenco for the fix.

Promise.prototype.finally

Added Promise.protoype.finally. Big thanks to @​dfahlander for doing the work.

IE8 minification fixes

No release notes provided.

IE and require fixes

No release notes provided.

ES6 Modules

  • Updated code to ES6 module definitions (thanks Andarist)
  • Added polyfill.js file
... (truncated)
Changelog

Sourced from promise-polyfill's changelog.

Changelog

8.1.0

  • Added Closure compiler type definitions

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.

7.1.2

  • Fixed bug in Node JS Promise polyfill

7.1.0

  • Added Promise.prototype.finally

7.0.2

  • Added IE8 compatability back to minify

7.0.1

  • Fixed a bug in 'catch' keyword in IE8
  • Fixed import error when using require

7.0.0

  • Updated code to ES6 module definitions (thanks Andarist)
  • Added polyfill.js file
  • move compiled files to dist folder

6.1.0

  • Bug fix for non-array values in Promise.all()
... (truncated)
Commits

Dependabot compatibility score

Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting @dependabot rebase.


Note: This repo was added to Dependabot recently, so you'll receive a maximum of 5 PRs for your first few update runs. Once an update run creates fewer than 5 PRs we'll remove that limit.

You can always request more updates by clicking Bump now in your Dependabot dashboard.

Dependabot commands and options

You can trigger Dependabot actions by commenting on this PR:

  • @dependabot rebase will rebase this PR
  • @dependabot recreate will recreate this PR, overwriting any edits that have been made to it
  • @dependabot merge will merge this PR after your CI passes on it
  • @dependabot squash and merge will squash and merge this PR after your CI passes on it
  • @dependabot cancel merge will cancel a previously requested merge and block automerging
  • @dependabot reopen will reopen this PR if it is closed
  • @dependabot close will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually
  • @dependabot ignore this major version will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)
  • @dependabot ignore this minor version will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)
  • @dependabot ignore this dependency will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)
  • @dependabot use these labels will set the current labels as the default for future PRs for this repo and language
  • @dependabot use these reviewers will set the current reviewers as the default for future PRs for this repo and language
  • @dependabot use these assignees will set the current assignees as the default for future PRs for this repo and language
  • @dependabot use this milestone will set the current milestone as the default for future PRs for this repo and language
  • @dependabot badge me will comment on this PR with code to add a "Dependabot enabled" badge to your readme

Additionally, you can set the following in your Dependabot dashboard:

  • Update frequency (including time of day and day of week)
  • Pull request limits (per update run and/or open at any time)
  • Out-of-range updates (receive only lockfile updates, if desired)
  • Security updates (receive only security updates, if desired)

@dependabot-preview dependabot-preview bot added the dependencies Pull requests that update a dependency file label Nov 26, 2019
@dependabot-preview dependabot-preview bot force-pushed the dependabot/npm_and_yarn/promise-polyfill-8.1.3 branch from 3294fcf to b6b9555 Compare November 27, 2019 00:43
@dependabot-preview dependabot-preview bot force-pushed the dependabot/npm_and_yarn/promise-polyfill-8.1.3 branch from b6b9555 to 699ef31 Compare November 27, 2019 16:05
@qiangbro
Copy link

qiangbro commented Dec 4, 2019

+1

@songyumeng songyumeng merged commit 4648429 into master Dec 23, 2019
@dependabot-preview dependabot-preview bot deleted the dependabot/npm_and_yarn/promise-polyfill-8.1.3 branch December 23, 2019 07:27
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
dependencies Pull requests that update a dependency file
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy