From bc80a4ae259e3aa6611c1f03ec4326b97c6f2afb Mon Sep 17 00:00:00 2001 From: Xvezda Date: Thu, 14 Dec 2023 03:13:10 +0900 Subject: [PATCH] =?UTF-8?q?Revert=20"chore:=20`core-js`=20=EC=97=85?= =?UTF-8?q?=EB=8D=B0=EC=9D=B4=ED=8A=B8"?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit This reverts commit 6c266968bcae3875021ce43635693eb687be102a. --- babel.config.json | 13 +++++++++++++ examples/tic-tac-toe/package.json | 2 +- pnpm-lock.yaml | 9 ++------- 3 files changed, 16 insertions(+), 8 deletions(-) diff --git a/babel.config.json b/babel.config.json index 129be7c..be701e8 100644 --- a/babel.config.json +++ b/babel.config.json @@ -1,4 +1,17 @@ { + "presets": [ + [ + "@babel/preset-env", + { + "loose": true, + "useBuiltIns": "entry", + "corejs": {"version": 3, "proposals": true}, + "exclude": [ + "@babel/plugin-transform-typeof-symbol" + ] + } + ] + ], "env": { "test": { "plugins": ["@babel/plugin-transform-runtime"] diff --git a/examples/tic-tac-toe/package.json b/examples/tic-tac-toe/package.json index 0dbf3a5..6f907d3 100644 --- a/examples/tic-tac-toe/package.json +++ b/examples/tic-tac-toe/package.json @@ -8,7 +8,7 @@ }, "private": true, "devDependencies": { - "core-js": "^3.34.0", + "core-js": "^3.18.1", "parcel": "^2.10.3" }, "dependencies": { diff --git a/pnpm-lock.yaml b/pnpm-lock.yaml index 76ef753..3e4f9f0 100644 --- a/pnpm-lock.yaml +++ b/pnpm-lock.yaml @@ -81,8 +81,8 @@ importers: version: link:../../packages/vomjs devDependencies: core-js: - specifier: ^3.34.0 - version: 3.34.0 + specifier: ^3.18.1 + version: 3.20.0 parcel: specifier: ^2.10.3 version: 2.10.3(typescript@4.5.4) @@ -4056,11 +4056,6 @@ packages: requiresBuild: true dev: true - /core-js@3.34.0: - resolution: {integrity: sha512-aDdvlDder8QmY91H88GzNi9EtQi2TjvQhpCX6B1v/dAZHU1AuLgHvRh54RiOerpEhEW46Tkf+vgAViB/CWC0ag==} - requiresBuild: true - dev: true - /cosmiconfig@7.0.1: resolution: {integrity: sha512-a1YWNUV2HwGimB7dU2s1wUMurNKjpx60HxBB6xUM8Re+2s1g1IIfJvFR0/iCF+XHdE0GMTKTuLR32UQff4TEyQ==} engines: {node: '>=10'}