From 8cdbe37f6febe8b0bdf7c97bed44c01b96b3bb9d Mon Sep 17 00:00:00 2001 From: Louis Lam Date: Sun, 4 Dec 2022 21:41:08 +0800 Subject: [PATCH] Update core-js --- package-lock.json | 34 +++++++--------------------------- package.json | 2 +- 2 files changed, 8 insertions(+), 28 deletions(-) diff --git a/package-lock.json b/package-lock.json index 65e4ffbd..1683ecad 100644 --- a/package-lock.json +++ b/package-lock.json @@ -79,7 +79,7 @@ "chart.js": "~3.6.2", "chartjs-adapter-dayjs": "~1.0.0", "concurrently": "^7.1.0", - "core-js": "~3.18.3", + "core-js": "~3.26.1", "cross-env": "~7.0.3", "cypress": "^10.1.0", "delay": "^5.0.0", @@ -3777,17 +3777,6 @@ "vite": "^3.0.0" } }, - "node_modules/@vitejs/plugin-legacy/node_modules/core-js": { - "version": "3.26.1", - "resolved": "https://registry.npmjs.org/core-js/-/core-js-3.26.1.tgz", - "integrity": "sha512-21491RRQVzUn0GGM9Z1Jrpr6PNPxPi+Za8OM9q4tksTSnlbXXGKK1nXNg/QvwFYettXvSX6zWKCtHHfjN4puyA==", - "dev": true, - "hasInstallScript": true, - "funding": { - "type": "opencollective", - "url": "https://opencollective.com/core-js" - } - }, "node_modules/@vitejs/plugin-vue": { "version": "3.1.2", "resolved": "https://registry.npmjs.org/@vitejs/plugin-vue/-/plugin-vue-3.1.2.tgz", @@ -5740,10 +5729,9 @@ "integrity": "sha512-QADzlaHc8icV8I7vbaJXJwod9HWYp8uCqf1xa4OfNu1T7JVxQIrUgOWtHdNDtPiywmFbiS12VjotIXLrKM3orQ==" }, "node_modules/core-js": { - "version": "3.18.3", - "resolved": "https://registry.npmjs.org/core-js/-/core-js-3.18.3.tgz", - "integrity": "sha512-tReEhtMReZaPFVw7dajMx0vlsz3oOb8ajgPoHVYGxr8ErnZ6PcYEvvmjGmXlfpnxpkYSdOQttjB+MvVbCGfvLw==", - "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.", + "version": "3.26.1", + "resolved": "https://registry.npmjs.org/core-js/-/core-js-3.26.1.tgz", + "integrity": "sha512-21491RRQVzUn0GGM9Z1Jrpr6PNPxPi+Za8OM9q4tksTSnlbXXGKK1nXNg/QvwFYettXvSX6zWKCtHHfjN4puyA==", "dev": true, "hasInstallScript": true, "funding": { @@ -19736,14 +19724,6 @@ "magic-string": "^0.26.2", "regenerator-runtime": "^0.13.9", "systemjs": "^6.12.4" - }, - "dependencies": { - "core-js": { - "version": "3.26.1", - "resolved": "https://registry.npmjs.org/core-js/-/core-js-3.26.1.tgz", - "integrity": "sha512-21491RRQVzUn0GGM9Z1Jrpr6PNPxPi+Za8OM9q4tksTSnlbXXGKK1nXNg/QvwFYettXvSX6zWKCtHHfjN4puyA==", - "dev": true - } } }, "@vitejs/plugin-vue": { @@ -21282,9 +21262,9 @@ "integrity": "sha512-QADzlaHc8icV8I7vbaJXJwod9HWYp8uCqf1xa4OfNu1T7JVxQIrUgOWtHdNDtPiywmFbiS12VjotIXLrKM3orQ==" }, "core-js": { - "version": "3.18.3", - "resolved": "https://registry.npmjs.org/core-js/-/core-js-3.18.3.tgz", - "integrity": "sha512-tReEhtMReZaPFVw7dajMx0vlsz3oOb8ajgPoHVYGxr8ErnZ6PcYEvvmjGmXlfpnxpkYSdOQttjB+MvVbCGfvLw==", + "version": "3.26.1", + "resolved": "https://registry.npmjs.org/core-js/-/core-js-3.26.1.tgz", + "integrity": "sha512-21491RRQVzUn0GGM9Z1Jrpr6PNPxPi+Za8OM9q4tksTSnlbXXGKK1nXNg/QvwFYettXvSX6zWKCtHHfjN4puyA==", "dev": true }, "core-js-compat": { diff --git a/package.json b/package.json index a4b92f65..a47cb1f6 100644 --- a/package.json +++ b/package.json @@ -133,7 +133,7 @@ "chart.js": "~3.6.2", "chartjs-adapter-dayjs": "~1.0.0", "concurrently": "^7.1.0", - "core-js": "~3.18.3", + "core-js": "~3.26.1", "cross-env": "~7.0.3", "cypress": "^10.1.0", "delay": "^5.0.0",