Skip to content

Commit

Permalink
fix(Promise): add es.promise.allSettled to es.promise alias since it …
Browse files Browse the repository at this point in the history
…is now in stage 4
  • Loading branch information
wessberg committed Oct 22, 2020
1 parent b1cf8fe commit 2687e8a
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.any", "es.promise.finally"]
polyfills: ["es.promise.constructor", "es.promise.any", "es.promise.all-settled", "es.promise.finally"]
},
"es.promise.constructor": {
library: "core-js",
Expand Down Expand Up @@ -2679,7 +2679,7 @@ export const constant: IConstant = {
polyfills: ["es.number.from-string"]
},
"esnext.promise": {
polyfills: ["es.promise.all-settled", "es.promise.try", "es.promise.try"]
polyfills: ["es.promise.try"]
},
"esnext.reflect": {
polyfills: [
Expand Down

0 comments on commit 2687e8a

Please sign in to comment.