diff --git a/package-lock.json b/package-lock.json index d808830a..079571e6 100644 --- a/package-lock.json +++ b/package-lock.json @@ -1,6 +1,6 @@ { "name": "oidc-client", - "version": "1.10.0", + "version": "1.10.1", "lockfileVersion": 1, "requires": true, "dependencies": { @@ -978,6 +978,12 @@ "regenerator-runtime": "^0.10.5" }, "dependencies": { + "core-js": { + "version": "2.6.11", + "resolved": "https://registry.npmjs.org/core-js/-/core-js-2.6.11.tgz", + "integrity": "sha512-5wjnpaT/3dV+XB4borEsnAYQchn00XSgTAWKDkEqv+K8KevjbzmofK6hfJ9TZIlpj2N0xQpazy7PiRQiWHqzWg==", + "dev": true + }, "regenerator-runtime": { "version": "0.10.5", "resolved": "https://registry.npmjs.org/regenerator-runtime/-/regenerator-runtime-0.10.5.tgz", @@ -1031,6 +1037,14 @@ "lodash": "^4.17.4", "mkdirp": "^0.5.1", "source-map-support": "^0.4.15" + }, + "dependencies": { + "core-js": { + "version": "2.6.11", + "resolved": "https://registry.npmjs.org/core-js/-/core-js-2.6.11.tgz", + "integrity": "sha512-5wjnpaT/3dV+XB4borEsnAYQchn00XSgTAWKDkEqv+K8KevjbzmofK6hfJ9TZIlpj2N0xQpazy7PiRQiWHqzWg==", + "dev": true + } } }, "babel-runtime": { @@ -1041,6 +1055,14 @@ "requires": { "core-js": "^2.4.0", "regenerator-runtime": "^0.11.0" + }, + "dependencies": { + "core-js": { + "version": "2.6.11", + "resolved": "https://registry.npmjs.org/core-js/-/core-js-2.6.11.tgz", + "integrity": "sha512-5wjnpaT/3dV+XB4borEsnAYQchn00XSgTAWKDkEqv+K8KevjbzmofK6hfJ9TZIlpj2N0xQpazy7PiRQiWHqzWg==", + "dev": true + } } }, "babel-template": { @@ -1856,9 +1878,9 @@ } }, "core-js": { - "version": "2.6.4", - "resolved": "https://registry.npmjs.org/core-js/-/core-js-2.6.4.tgz", - "integrity": "sha512-05qQ5hXShcqGkPZpXEFLIpxayZscVD2kuMBZewxiIPPEagukO4mqgPA9CWhUvFBJfy3ODdK2p9xyHh7FTU9/7A==" + "version": "3.6.5", + "resolved": "https://registry.npmjs.org/core-js/-/core-js-3.6.5.tgz", + "integrity": "sha512-vZVEEwZoIsI+vPEuoF9Iqf5H7/M3eeQqWlQnYa8FSKKePuYTf5MWnxb5SDAzCa60b3JBRS5g9b+Dq7b1y/RCrA==" }, "core-util-is": { "version": "1.0.2", diff --git a/package.json b/package.json index e4d3ee26..86a13f77 100644 --- a/package.json +++ b/package.json @@ -31,7 +31,7 @@ "homepage": "https://github.com/IdentityModel/oidc-client-js", "dependencies": { "uuid": "^3.3.2", - "core-js": "^2.6.4", + "core-js": "^3.6.5", "crypto-js": "^3.1.9-1", "base64-js": "^1.3.0" }, diff --git a/polyfills.js b/polyfills.js index a53f49c3..e1963772 100644 --- a/polyfills.js +++ b/polyfills.js @@ -4,10 +4,10 @@ // avoid modifying browser globals (potential for interop bugs with other libraries // on the page that might be polyfilling ES6 features) -import 'core-js/es6/promise'; -import 'core-js/fn/function/bind'; -import 'core-js/fn/object/assign'; -import 'core-js/fn/array/find'; -import 'core-js/fn/array/some'; -import 'core-js/fn/array/is-array'; -import 'core-js/fn/array/splice'; +import 'core-js/features/promise'; +import 'core-js/features/function/bind'; +import 'core-js/features/object/assign'; +import 'core-js/features/array/find'; +import 'core-js/features/array/some'; +import 'core-js/features/array/is-array'; +import 'core-js/features/array/splice';