Skip to content

Commit

Permalink
fix(Promise): add es.promise.any to es.promise alias since it is now …
Browse files Browse the repository at this point in the history
…in stage 4
  • Loading branch information
wessberg committed Oct 22, 2020
1 parent df69536 commit b1cf8fe
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/constant/constant.ts
Original file line number Diff line number Diff line change
Expand Up @@ -199,7 +199,7 @@ export const constant: IConstant = {
polyfills: ["es"]
},
"es.promise": {
polyfills: ["es.promise.constructor", "es.promise.finally"]
polyfills: ["es.promise.constructor", "es.promise.any", "es.promise.finally"]
},
"es.promise.constructor": {
library: "core-js",
Expand Down Expand Up @@ -238,7 +238,7 @@ export const constant: IConstant = {
library: "core-js",
relativePaths: ["modules/esnext.promise.any.js"],
// TODO: Update when MDN or Caniuse Compatibility is added
features: [],
features: ["javascript.builtins.Promise.any"],
version: environment.NPM_PACKAGE_DEPENDENCIES_CORE_JS,
dependencies: ["es.promise.constructor"],
contexts: ALL_CONTEXTS
Expand Down

0 comments on commit b1cf8fe

Please sign in to comment.