From 2fa4e976e3abafc5a95984474547970863dee906 Mon Sep 17 00:00:00 2001 From: Denis Pushkarev Date: Thu, 29 Aug 2024 23:59:56 +0700 Subject: [PATCH] Update `core-js` (#218) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Co-authored-by: Nicolò Ribaudo --- package.json | 2 +- .../package.json | 6 ++-- .../src/shipped-proposals.ts | 7 +++++ yarn.lock | 30 +++++++++---------- 4 files changed, 26 insertions(+), 19 deletions(-) diff --git a/package.json b/package.json index 67c9db79..7cba1c34 100644 --- a/package.json +++ b/package.json @@ -61,7 +61,7 @@ "@lerna/package": "patch:@lerna/package@npm:3.16.0#.yarn-patches/@lerna/package.patch", "@lerna/package-graph": "patch:@lerna/package-graph@npm:3.18.5#.yarn-patches/@lerna/package-graph.patch", "@lerna/pack-directory": "patch:@lerna/pack-directory@npm:3.16.4#.yarn-patches/@lerna/pack-directory.patch", - "@babel/preset-env/core-js-compat": "^3.38.0" + "@babel/preset-env/core-js-compat": "^3.38.1" }, "engines": { "node": ">= 6.9.0", diff --git a/packages/babel-plugin-polyfill-corejs3/package.json b/packages/babel-plugin-polyfill-corejs3/package.json index 05af37e6..51c606d4 100644 --- a/packages/babel-plugin-polyfill-corejs3/package.json +++ b/packages/babel-plugin-polyfill-corejs3/package.json @@ -27,7 +27,7 @@ ], "dependencies": { "@babel/helper-define-polyfill-provider": "workspace:^0.6.2", - "core-js-compat": "^3.38.0" + "core-js-compat": "^3.38.1" }, "devDependencies": { "@babel/core": "^7.22.6", @@ -39,8 +39,8 @@ "@babel/plugin-transform-modules-commonjs": "^7.22.5", "@babel/plugin-transform-runtime": "^7.22.15", "@babel/plugin-transform-spread": "^7.22.5", - "core-js": "^3.38.0", - "core-js-pure": "^3.38.0" + "core-js": "^3.38.1", + "core-js-pure": "^3.38.1" }, "peerDependencies": { "@babel/core": "^7.4.0 || ^8.0.0-0 <8.0.0" diff --git a/packages/babel-plugin-polyfill-corejs3/src/shipped-proposals.ts b/packages/babel-plugin-polyfill-corejs3/src/shipped-proposals.ts index d2f85f93..aa9b22c2 100644 --- a/packages/babel-plugin-polyfill-corejs3/src/shipped-proposals.ts +++ b/packages/babel-plugin-polyfill-corejs3/src/shipped-proposals.ts @@ -25,7 +25,14 @@ export default new Set([ "esnext.json.raw-json", "esnext.math.f16round", "esnext.promise.try", + "esnext.regexp.escape", "esnext.symbol.async-dispose", "esnext.symbol.dispose", "esnext.symbol.metadata", + "esnext.uint8-array.from-base64", + "esnext.uint8-array.from-hex", + "esnext.uint8-array.set-from-base64", + "esnext.uint8-array.set-from-hex", + "esnext.uint8-array.to-base64", + "esnext.uint8-array.to-hex", ]); diff --git a/yarn.lock b/yarn.lock index 6db4423e..746100a4 100644 --- a/yarn.lock +++ b/yarn.lock @@ -4518,9 +4518,9 @@ __metadata: "@babel/plugin-transform-modules-commonjs": ^7.22.5 "@babel/plugin-transform-runtime": ^7.22.15 "@babel/plugin-transform-spread": ^7.22.5 - core-js: ^3.38.0 - core-js-compat: ^3.38.0 - core-js-pure: ^3.38.0 + core-js: ^3.38.1 + core-js-compat: ^3.38.1 + core-js-pure: ^3.38.1 peerDependencies: "@babel/core": ^7.4.0 || ^8.0.0-0 <8.0.0 languageName: unknown @@ -5777,26 +5777,26 @@ __metadata: languageName: node linkType: hard -"core-js-compat@npm:^3.31.0, core-js-compat@npm:^3.38.0": - version: 3.38.0 - resolution: "core-js-compat@npm:3.38.0" +"core-js-compat@npm:^3.31.0, core-js-compat@npm:^3.38.1": + version: 3.38.1 + resolution: "core-js-compat@npm:3.38.1" dependencies: browserslist: ^4.23.3 - checksum: bd410be723e3621f7e8c7a4dce91eaefc603d95133da89c042dd961aca368c7281894bd9af14116a455a4473288fb6c121b185cb8a1e8290b8ace15aedb315f2 + checksum: a0a5673bcd59f588f0cd0b59cdacd4712b82909738a87406d334dd412eb3d273ae72b275bdd8e8fef63fca9ef12b42ed651be139c7c44c8a1acb423c8906992e languageName: node linkType: hard -"core-js-pure@npm:^3.38.0": - version: 3.38.0 - resolution: "core-js-pure@npm:3.38.0" - checksum: 29aac7b56778370523f6a58f713c730975b097fea19838f93705730bd95d2da78b116e561e2cda637dde4cebe0a88baf9a5ce4e391732c39cbc5e55dc95bb38c +"core-js-pure@npm:^3.38.1": + version: 3.38.1 + resolution: "core-js-pure@npm:3.38.1" + checksum: 95ca2e75df371571b0d41cba81e1f6335a2ba1f080e80f8edfa124ad3041880fe72e10f2144527a700a3d993dbf9f7cada3e04a927a66604bc49d0c4951567fb languageName: node linkType: hard -"core-js@npm:^3.38.0": - version: 3.38.0 - resolution: "core-js@npm:3.38.0" - checksum: 71ef0598da69daee2b46fa1f82f074019981656f7cae26fed2b7f076c611e330a99ba5c70156ae37682f59a8d6ec6486119c70cb283c9fff25bd4f20db7fdc27 +"core-js@npm:^3.38.1": + version: 3.38.1 + resolution: "core-js@npm:3.38.1" + checksum: 55703c2f6fcd537e47a5cc83e9dc9884efef61861bbefb4a96a8c95e87956db980ce314628465dd49f14e626c5e633b9e3433f3e4a1f628404a14da420eb2556 languageName: node linkType: hard