From 1a3eb269337fae379aa10c7b671b8261694d121a Mon Sep 17 00:00:00 2001 From: Billy Zhou Date: Tue, 25 Jun 2024 15:16:39 -0700 Subject: [PATCH] fix: add corejs 2 --- package-lock.json | 14 ++++++++++++++ package.json | 1 + 2 files changed, 15 insertions(+) diff --git a/package-lock.json b/package-lock.json index b6e17191..4b2b232f 100644 --- a/package-lock.json +++ b/package-lock.json @@ -16,6 +16,7 @@ "@aws-sdk/signature-v4": "^3.36.0", "@aws-sdk/util-hex-encoding": "^3.36.0", "@babel/runtime": "^7.16.0", + "core-js": "^2.6.12", "shimmer": "^1.2.1", "ua-parser-js": "^1.0.33", "uuid": "^9.0.0", @@ -8469,6 +8470,14 @@ "node": ">=10" } }, + "node_modules/core-js": { + "version": "2.6.12", + "resolved": "https://registry.npmjs.org/core-js/-/core-js-2.6.12.tgz", + "integrity": "sha512-Kb2wC0fvsWfQrgk8HU5lW6U/Lcs8+9aaYcy4ZFc6DDlo4nZ7n70dEgE5rtR0oG6ufKDUnrwfWL1mXR5ljDatrQ==", + "deprecated": "core-js@<3.23.3 is no longer maintained and not recommended for usage due to the number of issues. Because of the V8 engine whims, feature detection in old core-js versions could cause a slowdown up to 100x even if nothing is polyfilled. Some versions have web compatibility issues. Please, upgrade your dependencies to the actual version of core-js.", + "hasInstallScript": true, + "license": "MIT" + }, "node_modules/core-js-compat": { "version": "3.25.5", "resolved": "https://registry.npmjs.org/core-js-compat/-/core-js-compat-3.25.5.tgz", @@ -28553,6 +28562,11 @@ } } }, + "core-js": { + "version": "2.6.12", + "resolved": "https://registry.npmjs.org/core-js/-/core-js-2.6.12.tgz", + "integrity": "sha512-Kb2wC0fvsWfQrgk8HU5lW6U/Lcs8+9aaYcy4ZFc6DDlo4nZ7n70dEgE5rtR0oG6ufKDUnrwfWL1mXR5ljDatrQ==" + }, "core-js-compat": { "version": "3.25.5", "resolved": "https://registry.npmjs.org/core-js-compat/-/core-js-compat-3.25.5.tgz", diff --git a/package.json b/package.json index 629573b8..66f04260 100644 --- a/package.json +++ b/package.json @@ -122,6 +122,7 @@ "@aws-sdk/signature-v4": "^3.36.0", "@aws-sdk/util-hex-encoding": "^3.36.0", "@babel/runtime": "^7.16.0", + "core-js": "^2.6.12", "shimmer": "^1.2.1", "ua-parser-js": "^1.0.33", "uuid": "^9.0.0",