core-js-bundle 3.32.1 → 3.32.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/index.js +38 -18
- package/minified.js +6 -6
- package/minified.js.map +1 -1
- package/package.json +1 -1
- package/postinstall.js +1 -0
package/index.js
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
/**
|
|
2
|
-
* core-js 3.32.
|
|
2
|
+
* core-js 3.32.2
|
|
3
3
|
* © 2014-2023 Denis Pushkarev (zloirock.ru)
|
|
4
|
-
* license: https://github.com/zloirock/core-js/blob/v3.32.
|
|
4
|
+
* license: https://github.com/zloirock/core-js/blob/v3.32.2/LICENSE
|
|
5
5
|
* source: https://github.com/zloirock/core-js
|
|
6
6
|
*/
|
|
7
7
|
!function (undefined) { 'use strict'; /******/ (function(modules) { // webpackBootstrap
|
|
@@ -1473,10 +1473,10 @@ var store = __webpack_require__(37);
|
|
|
1473
1473
|
(module.exports = function (key, value) {
|
|
1474
1474
|
return store[key] || (store[key] = value !== undefined ? value : {});
|
|
1475
1475
|
})('versions', []).push({
|
|
1476
|
-
version: '3.32.
|
|
1476
|
+
version: '3.32.2',
|
|
1477
1477
|
mode: IS_PURE ? 'pure' : 'global',
|
|
1478
1478
|
copyright: '© 2014-2023 Denis Pushkarev (zloirock.ru)',
|
|
1479
|
-
license: 'https://github.com/zloirock/core-js/blob/v3.32.
|
|
1479
|
+
license: 'https://github.com/zloirock/core-js/blob/v3.32.2/LICENSE',
|
|
1480
1480
|
source: 'https://github.com/zloirock/core-js'
|
|
1481
1481
|
});
|
|
1482
1482
|
|
|
@@ -4830,7 +4830,9 @@ try {
|
|
|
4830
4830
|
} catch (error) { /* empty */ }
|
|
4831
4831
|
|
|
4832
4832
|
module.exports = function (exec, SKIP_CLOSING) {
|
|
4833
|
-
|
|
4833
|
+
try {
|
|
4834
|
+
if (!SKIP_CLOSING && !SAFE_CLOSING) return false;
|
|
4835
|
+
} catch (error) { return false; } // workaround of old WebKit + `eval` bug
|
|
4834
4836
|
var ITERATION_SUPPORT = false;
|
|
4835
4837
|
try {
|
|
4836
4838
|
var object = {};
|
|
@@ -5029,12 +5031,15 @@ module.exports = function (Iterable, NAME, IteratorConstructor, next, DEFAULT, I
|
|
|
5029
5031
|
|
|
5030
5032
|
var getIterationMethod = function (KIND) {
|
|
5031
5033
|
if (KIND === DEFAULT && defaultIterator) return defaultIterator;
|
|
5032
|
-
if (!BUGGY_SAFARI_ITERATORS && KIND in IterablePrototype) return IterablePrototype[KIND];
|
|
5034
|
+
if (!BUGGY_SAFARI_ITERATORS && KIND && KIND in IterablePrototype) return IterablePrototype[KIND];
|
|
5035
|
+
|
|
5033
5036
|
switch (KIND) {
|
|
5034
5037
|
case KEYS: return function keys() { return new IteratorConstructor(this, KIND); };
|
|
5035
5038
|
case VALUES: return function values() { return new IteratorConstructor(this, KIND); };
|
|
5036
5039
|
case ENTRIES: return function entries() { return new IteratorConstructor(this, KIND); };
|
|
5037
|
-
}
|
|
5040
|
+
}
|
|
5041
|
+
|
|
5042
|
+
return function () { return new IteratorConstructor(this); };
|
|
5038
5043
|
};
|
|
5039
5044
|
|
|
5040
5045
|
var TO_STRING_TAG = NAME + ' Iterator';
|
|
@@ -6635,7 +6640,7 @@ var pack = function (number, mantissaLength, bytes) {
|
|
|
6635
6640
|
exponent = eMax;
|
|
6636
6641
|
} else if (exponent + eBias >= 1) {
|
|
6637
6642
|
mantissa = roundToEven((number * c - 1) * pow(2, mantissaLength));
|
|
6638
|
-
exponent
|
|
6643
|
+
exponent += eBias;
|
|
6639
6644
|
} else {
|
|
6640
6645
|
mantissa = roundToEven(number * pow(2, eBias - 1) * pow(2, mantissaLength));
|
|
6641
6646
|
exponent = 0;
|
|
@@ -6684,8 +6689,8 @@ var unpack = function (buffer, mantissaLength) {
|
|
|
6684
6689
|
} else if (exponent === eMax) {
|
|
6685
6690
|
return mantissa ? NaN : s ? -Infinity : Infinity;
|
|
6686
6691
|
} else {
|
|
6687
|
-
mantissa
|
|
6688
|
-
exponent
|
|
6692
|
+
mantissa += pow(2, mantissaLength);
|
|
6693
|
+
exponent -= eBias;
|
|
6689
6694
|
} return (s ? -1 : 1) * mantissa * pow(2, exponent - mantissaLength);
|
|
6690
6695
|
};
|
|
6691
6696
|
|
|
@@ -8260,6 +8265,7 @@ var exp = Math.exp;
|
|
|
8260
8265
|
// https://tc39.es/ecma262/#sec-math.expm1
|
|
8261
8266
|
module.exports = (!$expm1
|
|
8262
8267
|
// Old FF bug
|
|
8268
|
+
// eslint-disable-next-line no-loss-of-precision -- required for old engines
|
|
8263
8269
|
|| $expm1(10) > 22025.465794806719 || $expm1(10) < 22025.4657948067165168
|
|
8264
8270
|
// Tor Browser bug
|
|
8265
8271
|
|| $expm1(-2e-17) !== -2e-17
|
|
@@ -8625,9 +8631,20 @@ var toNumber = function (argument) {
|
|
|
8625
8631
|
if (third === 88 || third === 120) return NaN; // Number('+0x1') should be NaN, old V8 fix
|
|
8626
8632
|
} else if (first === 48) {
|
|
8627
8633
|
switch (charCodeAt(it, 1)) {
|
|
8628
|
-
|
|
8629
|
-
case
|
|
8630
|
-
|
|
8634
|
+
// fast equal of /^0b[01]+$/i
|
|
8635
|
+
case 66:
|
|
8636
|
+
case 98:
|
|
8637
|
+
radix = 2;
|
|
8638
|
+
maxCode = 49;
|
|
8639
|
+
break;
|
|
8640
|
+
// fast equal of /^0o[0-7]+$/i
|
|
8641
|
+
case 79:
|
|
8642
|
+
case 111:
|
|
8643
|
+
radix = 8;
|
|
8644
|
+
maxCode = 55;
|
|
8645
|
+
break;
|
|
8646
|
+
default:
|
|
8647
|
+
return +it;
|
|
8631
8648
|
}
|
|
8632
8649
|
digits = stringSlice(it, 2);
|
|
8633
8650
|
length = digits.length;
|
|
@@ -11686,7 +11703,7 @@ var handleNCG = function (string) {
|
|
|
11686
11703
|
for (; index <= length; index++) {
|
|
11687
11704
|
chr = charAt(string, index);
|
|
11688
11705
|
if (chr === '\\') {
|
|
11689
|
-
chr
|
|
11706
|
+
chr += charAt(string, ++index);
|
|
11690
11707
|
} else if (chr === ']') {
|
|
11691
11708
|
brackets = false;
|
|
11692
11709
|
} else if (!brackets) switch (true) {
|
|
@@ -12717,7 +12734,10 @@ module.exports = function (KEY, exec, FORCED, SHAM) {
|
|
|
12717
12734
|
re[SYMBOL] = /./[SYMBOL];
|
|
12718
12735
|
}
|
|
12719
12736
|
|
|
12720
|
-
re.exec = function () {
|
|
12737
|
+
re.exec = function () {
|
|
12738
|
+
execCalled = true;
|
|
12739
|
+
return null;
|
|
12740
|
+
};
|
|
12721
12741
|
|
|
12722
12742
|
re[SYMBOL]('');
|
|
12723
12743
|
return !execCalled;
|
|
@@ -19264,7 +19284,7 @@ var push = uncurryThis([].push);
|
|
|
19264
19284
|
|
|
19265
19285
|
var IS_DIGIT = /^\d$/;
|
|
19266
19286
|
var IS_NON_ZERO_DIGIT = /^[1-9]$/;
|
|
19267
|
-
var IS_NUMBER_START = /^(
|
|
19287
|
+
var IS_NUMBER_START = /^(?:-|\d)$/;
|
|
19268
19288
|
var IS_WHITESPACE = /^[\t\n\r ]$/;
|
|
19269
19289
|
|
|
19270
19290
|
var PRIMITIVE = 0;
|
|
@@ -24408,7 +24428,7 @@ var checkBasicSemantic = function (structuredCloneImplementation) {
|
|
|
24408
24428
|
var set1 = new global.Set([7]);
|
|
24409
24429
|
var set2 = structuredCloneImplementation(set1);
|
|
24410
24430
|
var number = structuredCloneImplementation(Object(7));
|
|
24411
|
-
return set2 === set1 || !set2.has(7) || typeof number != 'object' || number !== 7;
|
|
24431
|
+
return set2 === set1 || !set2.has(7) || typeof number != 'object' || +number !== 7;
|
|
24412
24432
|
}) && structuredCloneImplementation;
|
|
24413
24433
|
};
|
|
24414
24434
|
|
|
@@ -26300,7 +26320,7 @@ var encode = function (input) {
|
|
|
26300
26320
|
var q = delta;
|
|
26301
26321
|
var k = base;
|
|
26302
26322
|
while (true) {
|
|
26303
|
-
var t = k <= bias ? tMin :
|
|
26323
|
+
var t = k <= bias ? tMin : k >= bias + tMax ? tMax : k - bias;
|
|
26304
26324
|
if (q < t) break;
|
|
26305
26325
|
var qMinusT = q - t;
|
|
26306
26326
|
var baseMinusT = base - t;
|