diff --git a/client/main.js b/client/main.js index 6110db32e..3f917a86e 100644 --- a/client/main.js +++ b/client/main.js @@ -1,7 +1,7 @@ /* global io */ /* eslint-disable no-new */ -require('core-js/es5') +require('core-js/stable') var Karma = require('./karma') var StatusUpdater = require('./updater') var util = require('../common/util') diff --git a/package.json b/package.json index 97c050fa1..abba33833 100644 --- a/package.json +++ b/package.json @@ -388,7 +388,7 @@ "chokidar": "^3.0.0", "colors": "^1.1.0", "connect": "^3.6.0", - "core-js": "^2.2.0", + "core-js": "^3.1.3", "di": "^0.0.1", "dom-serialize": "^2.2.0", "flatted": "^2.0.0", diff --git a/test/client/karma.spec.js b/test/client/karma.spec.js index 1994775e4..a858d0252 100644 --- a/test/client/karma.spec.js +++ b/test/client/karma.spec.js @@ -1,5 +1,5 @@ // shim all the things -require('core-js/es5') +require('core-js/stable') var sinon = require('sinon') var assert = require('assert') diff --git a/yarn.lock b/yarn.lock index 534c7025a..1ee448bfa 100644 --- a/yarn.lock +++ b/yarn.lock @@ -1388,11 +1388,16 @@ copy-descriptor@^0.1.0: resolved "https://registry.yarnpkg.com/copy-descriptor/-/copy-descriptor-0.1.1.tgz#676f6eb3c39997c2ee1ac3a924fd6124748f578d" integrity sha1-Z29us8OZl8LuGsOpJP1hJHSPV40= -core-js@^2.2.0, core-js@^2.4.0: +core-js@^2.4.0: version "2.5.3" resolved "https://registry.yarnpkg.com/core-js/-/core-js-2.5.3.tgz#8acc38345824f16d8365b7c9b4259168e8ed603e" integrity sha1-isw4NFgk8W2DZbfJtCWRaOjtYD4= +core-js@^3.1.3: + version "3.1.3" + resolved "https://registry.yarnpkg.com/core-js/-/core-js-3.1.3.tgz#95700bca5f248f5f78c0ec63e784eca663ec4138" + integrity sha512-PWZ+ZfuaKf178BIAg+CRsljwjIMRV8MY00CbZczkR6Zk5LfkSkjGoaab3+bqRQWVITNZxQB7TFYz+CFcyuamvA== + core-util-is@1.0.2, core-util-is@~1.0.0: version "1.0.2" resolved "https://registry.yarnpkg.com/core-util-is/-/core-util-is-1.0.2.tgz#b5fd54220aa2bc5ab57aab7140c940754503c1a7"