Comparing version 3.10.1 to 3.10.2
@@ -10,2 +10,3 @@ var NATIVE_WEAK_MAP = require('../internals/native-weak-map'); | ||
var OBJECT_ALREADY_INITIALIZED = 'Object already initialized'; | ||
var WeakMap = global.WeakMap; | ||
@@ -33,2 +34,3 @@ var set, get, has; | ||
set = function (it, metadata) { | ||
if (wmhas.call(store, it)) throw new TypeError(OBJECT_ALREADY_INITIALIZED); | ||
metadata.facade = it; | ||
@@ -48,2 +50,3 @@ wmset.call(store, it, metadata); | ||
set = function (it, metadata) { | ||
if (objectHas(it, STATE)) throw new TypeError(OBJECT_ALREADY_INITIALIZED); | ||
metadata.facade = it; | ||
@@ -50,0 +53,0 @@ createNonEnumerableProperty(it, STATE, metadata); |
@@ -22,3 +22,3 @@ 'use strict'; | ||
// nonparticipating capturing group, copied from es5-shim's String#split patch. | ||
// eslint-disable-next-line regexp/no-assertion-capturing-group, regexp/no-empty-group -- required for testing | ||
// eslint-disable-next-line regexp/no-assertion-capturing-group, regexp/no-empty-group, regexp/no-lazy-ends -- testing | ||
var NPCG_INCLUDED = /()??/.exec('')[1] !== undefined; | ||
@@ -25,0 +25,0 @@ |
@@ -7,5 +7,5 @@ var IS_PURE = require('../internals/is-pure'); | ||
})('versions', []).push({ | ||
version: '3.10.1', | ||
version: '3.10.2', | ||
mode: IS_PURE ? 'pure' : 'global', | ||
copyright: '© 2021 Denis Pushkarev (zloirock.ru)' | ||
}); |
@@ -803,3 +803,3 @@ 'use strict'; | ||
if (scheme == 'blob') try { | ||
return new URL(scheme.path[0]).origin; | ||
return new URLConstructor(scheme.path[0]).origin; | ||
} catch (error) { | ||
@@ -806,0 +806,0 @@ return 'null'; |
{ | ||
"name": "core-js", | ||
"description": "Standard library", | ||
"version": "3.10.1", | ||
"version": "3.10.2", | ||
"repository": { | ||
@@ -58,3 +58,3 @@ "type": "git", | ||
}, | ||
"gitHead": "dfa44ca9098d22d057f3a516940a0f5e35617830" | ||
"gitHead": "871050326809b302c67e4fb4e0e4007a2db7b8e8" | ||
} |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
718627
17162