Bump core-js-compat to version 3.8.0 (#12399)

This commit is contained in:
Huáng Jùnliàng 2020-11-25 16:46:07 -05:00 committed by GitHub
parent 97a71b665b
commit 9891c020b1
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
6 changed files with 11 additions and 7 deletions

View File

@ -79,7 +79,7 @@
"@babel/plugin-transform-unicode-regex": "workspace:^7.12.1", "@babel/plugin-transform-unicode-regex": "workspace:^7.12.1",
"@babel/preset-modules": "^0.1.3", "@babel/preset-modules": "^0.1.3",
"@babel/types": "workspace:^7.12.7", "@babel/types": "workspace:^7.12.7",
"core-js-compat": "^3.7.0", "core-js-compat": "^3.8.0",
"semver": "^5.5.0" "semver": "^5.5.0"
}, },
"peerDependencies": { "peerDependencies": {

View File

@ -1,3 +1,4 @@
import "core-js/modules/es.map";
import "core-js/modules/esnext.aggregate-error"; import "core-js/modules/esnext.aggregate-error";
import "core-js/modules/esnext.array.last-index"; import "core-js/modules/esnext.array.last-index";
import "core-js/modules/esnext.array.last-item"; import "core-js/modules/esnext.array.last-item";

View File

@ -1,3 +1,4 @@
import "core-js/modules/es.map";
import "core-js/modules/esnext.aggregate-error"; import "core-js/modules/esnext.aggregate-error";
import "core-js/modules/esnext.array.last-index"; import "core-js/modules/esnext.array.last-index";
import "core-js/modules/esnext.array.last-item"; import "core-js/modules/esnext.array.last-item";

View File

@ -50,6 +50,7 @@ Using plugins:
Using polyfills with `entry` option: Using polyfills with `entry` option:
[<CWD>/packages/babel-preset-env/test/fixtures/debug/entry-corejs3-proposals/input.mjs] Replaced core-js entries with the following polyfills: [<CWD>/packages/babel-preset-env/test/fixtures/debug/entry-corejs3-proposals/input.mjs] Replaced core-js entries with the following polyfills:
es.map {}
esnext.aggregate-error {} esnext.aggregate-error {}
esnext.array.last-index {} esnext.array.last-index {}
esnext.array.last-item {} esnext.array.last-item {}

View File

@ -52,6 +52,7 @@ Using plugins:
Using polyfills with `entry` option: Using polyfills with `entry` option:
[<CWD>/packages/babel-preset-env/test/fixtures/debug/entry-corejs3-stage/input.mjs] Replaced core-js entries with the following polyfills: [<CWD>/packages/babel-preset-env/test/fixtures/debug/entry-corejs3-stage/input.mjs] Replaced core-js entries with the following polyfills:
es.map {}
esnext.aggregate-error {} esnext.aggregate-error {}
esnext.array.last-index {} esnext.array.last-index {}
esnext.array.last-item {} esnext.array.last-item {}

View File

@ -3042,7 +3042,7 @@ __metadata:
"@babel/plugin-transform-unicode-regex": "workspace:^7.12.1" "@babel/plugin-transform-unicode-regex": "workspace:^7.12.1"
"@babel/preset-modules": ^0.1.3 "@babel/preset-modules": ^0.1.3
"@babel/types": "workspace:^7.12.7" "@babel/types": "workspace:^7.12.7"
core-js-compat: ^3.7.0 core-js-compat: ^3.8.0
semver: ^5.5.0 semver: ^5.5.0
peerDependencies: peerDependencies:
"@babel/core": ^7.0.0-0 "@babel/core": ^7.0.0-0
@ -5797,13 +5797,13 @@ __metadata:
languageName: node languageName: node
linkType: hard linkType: hard
"core-js-compat@npm:^3.6.2, core-js-compat@npm:^3.7.0": "core-js-compat@npm:^3.6.2, core-js-compat@npm:^3.8.0":
version: 3.7.0 version: 3.8.0
resolution: "core-js-compat@npm:3.7.0" resolution: "core-js-compat@npm:3.8.0"
dependencies: dependencies:
browserslist: ^4.14.6 browserslist: ^4.14.7
semver: 7.0.0 semver: 7.0.0
checksum: 4194aaeb0da4cd584aa493069f322b3f6310d22207fae965bda476d4469283e76f4f8857920222b58c083b0e57e1c4199ac039d5337e76bdeb60b793f2a05f3b checksum: e0278c0e64334bdd5a7e13cc49830585dd194d0d4f84322c9fe3cb30ab7f23396374cf499fe02f8e4817470b51e3b35d533e67045a0f67ed391995f013f17a83
languageName: node languageName: node
linkType: hard linkType: hard