From 264f5091ab832387d39b49159cf1e900949cf8e4 Mon Sep 17 00:00:00 2001 From: Oliver Eyton-Williams Date: Wed, 24 Nov 2021 12:21:51 +0100 Subject: [PATCH] chore: install core-js@2 (required by babel) --- client/package.json | 1 + package-lock.json | 16 ++++++++++++++++ 2 files changed, 17 insertions(+) diff --git a/client/package.json b/client/package.json index d7d60a1039d..aa5f32ef2eb 100644 --- a/client/package.json +++ b/client/package.json @@ -137,6 +137,7 @@ "babel-plugin-transform-imports": "2.0.0", "chokidar": "3.5.2", "copy-webpack-plugin": "9.1.0", + "core-js": "^2.6.12", "gatsby-plugin-webpack-bundle-analyser-v2": "1.1.26", "jest-json-schema-extended": "1.0.1", "monaco-editor-webpack-plugin": "4.2.0", diff --git a/package-lock.json b/package-lock.json index e3e32ba6257..a4a524c019c 100644 --- a/package-lock.json +++ b/package-lock.json @@ -309,6 +309,7 @@ "babel-plugin-transform-imports": "2.0.0", "chokidar": "3.5.2", "copy-webpack-plugin": "9.1.0", + "core-js": "^2.6.12", "gatsby-plugin-webpack-bundle-analyser-v2": "1.1.26", "jest-json-schema-extended": "1.0.1", "monaco-editor-webpack-plugin": "4.2.0", @@ -335,6 +336,14 @@ "csstype": "^3.0.2" } }, + "client/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.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. Please, upgrade your dependencies to the actual version of core-js.", + "dev": true, + "hasInstallScript": true + }, "client/node_modules/date-fns": { "version": "2.26.0", "resolved": "https://registry.npmjs.org/date-fns/-/date-fns-2.26.0.tgz", @@ -85928,6 +85937,7 @@ "chai": "4.3.4", "chokidar": "3.5.2", "copy-webpack-plugin": "9.1.0", + "core-js": "2", "crypto-browserify": "3.12.0", "date-fns": "2.26.0", "dedent": "0.7.0", @@ -86015,6 +86025,12 @@ "csstype": "^3.0.2" } }, + "core-js": { + "version": "2.6.12", + "resolved": "https://registry.npmjs.org/core-js/-/core-js-2.6.12.tgz", + "integrity": "sha512-Kb2wC0fvsWfQrgk8HU5lW6U/Lcs8+9aaYcy4ZFc6DDlo4nZ7n70dEgE5rtR0oG6ufKDUnrwfWL1mXR5ljDatrQ==", + "dev": true + }, "date-fns": { "version": "2.26.0", "resolved": "https://registry.npmjs.org/date-fns/-/date-fns-2.26.0.tgz",