Skip to content

armgit / zulip

Public Imported from GitHub
0

Zulip server and web application. Open-source team chat that helps teams stay productive and focused.

babel: Specify core-js minor version.

Anders Kaseorgd19baaaf713d
diff --git a/babel.config.js b/babel.config.js
index 93054e6947e..0ef41d8bada 100644
--- a/babel.config.js
+++ b/babel.config.js
@@ -5,7 +5,7 @@ module.exports = {
[
"@babel/preset-env",
{
- corejs: 3,
+ corejs: "3.6",
loose: true, // Loose mode for…of loops are 5× faster in Firefox
shippedProposals: true,
useBuiltIns: "usage",
diff --git a/package.json b/package.json
index af82b7597cb..d69b831f6c1 100644
--- a/package.json
+++ b/package.json
@@ -21,7 +21,7 @@
"cache-loader": "^4.0.0",
"clean-css": "^4.2.1",
"clipboard": "^2.0.4",
- "core-js": "^3.0.1",
+ "core-js": "^3.6.5",
"css-loader": "^4.3.0",
"emoji-datasource-google": "^5.0.1",
"emoji-datasource-google-blob": "npm:emoji-datasource-google@^3.0.0",
diff --git a/yarn.lock b/yarn.lock
index ec38bf686a8..fe1cde22295 100644
--- a/yarn.lock
+++ b/yarn.lock
@@ -3278,7 +3278,7 @@ core-js@^2.4.0:
resolved "https://registry.yarnpkg.com/core-js/-/core-js-2.6.11.tgz#38831469f9922bded8ee21c9dc46985e0399308c"
integrity sha512-5wjnpaT/3dV+XB4borEsnAYQchn00XSgTAWKDkEqv+K8KevjbzmofK6hfJ9TZIlpj2N0xQpazy7PiRQiWHqzWg==
-core-js@^3.0.1:
+core-js@^3.0.1, core-js@^3.6.5:
version "3.6.5"
resolved "https://registry.yarnpkg.com/core-js/-/core-js-3.6.5.tgz#7395dc273af37fb2e50e9bd3d9fe841285231d1a"
integrity sha512-vZVEEwZoIsI+vPEuoF9Iqf5H7/M3eeQqWlQnYa8FSKKePuYTf5MWnxb5SDAzCa60b3JBRS5g9b+Dq7b1y/RCrA==