@dereekb/browser 10.0.14 → 10.0.16
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.cjs.js +90 -91
- package/index.esm.js +90 -91
- package/package.json +1 -1
package/index.cjs.js
CHANGED
|
@@ -52,10 +52,10 @@ var functionBindNative = !fails$c(function () {
|
|
|
52
52
|
|
|
53
53
|
var NATIVE_BIND$3 = functionBindNative;
|
|
54
54
|
|
|
55
|
-
var call$
|
|
55
|
+
var call$f = Function.prototype.call;
|
|
56
56
|
|
|
57
|
-
var functionCall = NATIVE_BIND$3 ? call$
|
|
58
|
-
return call$
|
|
57
|
+
var functionCall = NATIVE_BIND$3 ? call$f.bind(call$f) : function () {
|
|
58
|
+
return call$f.apply(call$f, arguments);
|
|
59
59
|
};
|
|
60
60
|
|
|
61
61
|
var objectPropertyIsEnumerable = {};
|
|
@@ -86,30 +86,30 @@ var createPropertyDescriptor$2 = function (bitmap, value) {
|
|
|
86
86
|
var NATIVE_BIND$2 = functionBindNative;
|
|
87
87
|
|
|
88
88
|
var FunctionPrototype$2 = Function.prototype;
|
|
89
|
-
var call$
|
|
90
|
-
var uncurryThisWithBind = NATIVE_BIND$2 && FunctionPrototype$2.bind.bind(call$
|
|
89
|
+
var call$e = FunctionPrototype$2.call;
|
|
90
|
+
var uncurryThisWithBind = NATIVE_BIND$2 && FunctionPrototype$2.bind.bind(call$e, call$e);
|
|
91
91
|
|
|
92
92
|
var functionUncurryThis = NATIVE_BIND$2 ? uncurryThisWithBind : function (fn) {
|
|
93
93
|
return function () {
|
|
94
|
-
return call$
|
|
94
|
+
return call$e.apply(fn, arguments);
|
|
95
95
|
};
|
|
96
96
|
};
|
|
97
97
|
|
|
98
|
-
var uncurryThis$
|
|
98
|
+
var uncurryThis$e = functionUncurryThis;
|
|
99
99
|
|
|
100
|
-
var toString$4 = uncurryThis$
|
|
101
|
-
var stringSlice$2 = uncurryThis$
|
|
100
|
+
var toString$4 = uncurryThis$e({}.toString);
|
|
101
|
+
var stringSlice$2 = uncurryThis$e(''.slice);
|
|
102
102
|
|
|
103
103
|
var classofRaw$2 = function (it) {
|
|
104
104
|
return stringSlice$2(toString$4(it), 8, -1);
|
|
105
105
|
};
|
|
106
106
|
|
|
107
|
-
var uncurryThis$
|
|
107
|
+
var uncurryThis$d = functionUncurryThis;
|
|
108
108
|
var fails$b = fails$e;
|
|
109
109
|
var classof$6 = classofRaw$2;
|
|
110
110
|
|
|
111
111
|
var $Object$3 = Object;
|
|
112
|
-
var split = uncurryThis$
|
|
112
|
+
var split = uncurryThis$d(''.split);
|
|
113
113
|
|
|
114
114
|
// fallback for non-array-like ES3 and non-enumerable old V8 strings
|
|
115
115
|
var indexedObject = fails$b(function () {
|
|
@@ -174,9 +174,9 @@ var getBuiltIn$7 = function (namespace, method) {
|
|
|
174
174
|
return arguments.length < 2 ? aFunction(global$k[namespace]) : global$k[namespace] && global$k[namespace][method];
|
|
175
175
|
};
|
|
176
176
|
|
|
177
|
-
var uncurryThis$
|
|
177
|
+
var uncurryThis$c = functionUncurryThis;
|
|
178
178
|
|
|
179
|
-
var objectIsPrototypeOf = uncurryThis$
|
|
179
|
+
var objectIsPrototypeOf = uncurryThis$c({}.isPrototypeOf);
|
|
180
180
|
|
|
181
181
|
var engineUserAgent = typeof navigator != 'undefined' && String(navigator.userAgent) || '';
|
|
182
182
|
|
|
@@ -279,7 +279,7 @@ var getMethod$4 = function (V, P) {
|
|
|
279
279
|
return isNullOrUndefined$3(func) ? undefined : aCallable$7(func);
|
|
280
280
|
};
|
|
281
281
|
|
|
282
|
-
var call$
|
|
282
|
+
var call$d = functionCall;
|
|
283
283
|
var isCallable$c = isCallable$h;
|
|
284
284
|
var isObject$7 = isObject$8;
|
|
285
285
|
|
|
@@ -289,9 +289,9 @@ var $TypeError$b = TypeError;
|
|
|
289
289
|
// https://tc39.es/ecma262/#sec-ordinarytoprimitive
|
|
290
290
|
var ordinaryToPrimitive$1 = function (input, pref) {
|
|
291
291
|
var fn, val;
|
|
292
|
-
if (pref === 'string' && isCallable$c(fn = input.toString) && !isObject$7(val = call$
|
|
293
|
-
if (isCallable$c(fn = input.valueOf) && !isObject$7(val = call$
|
|
294
|
-
if (pref !== 'string' && isCallable$c(fn = input.toString) && !isObject$7(val = call$
|
|
292
|
+
if (pref === 'string' && isCallable$c(fn = input.toString) && !isObject$7(val = call$d(fn, input))) return val;
|
|
293
|
+
if (isCallable$c(fn = input.valueOf) && !isObject$7(val = call$d(fn, input))) return val;
|
|
294
|
+
if (pref !== 'string' && isCallable$c(fn = input.toString) && !isObject$7(val = call$d(fn, input))) return val;
|
|
295
295
|
throw new $TypeError$b("Can't convert object to primitive value");
|
|
296
296
|
};
|
|
297
297
|
|
|
@@ -323,10 +323,10 @@ var store$2 = sharedStore;
|
|
|
323
323
|
(shared$4.exports = function (key, value) {
|
|
324
324
|
return store$2[key] || (store$2[key] = value !== undefined ? value : {});
|
|
325
325
|
})('versions', []).push({
|
|
326
|
-
version: '3.35.
|
|
326
|
+
version: '3.35.1',
|
|
327
327
|
mode: 'global',
|
|
328
|
-
copyright: '© 2014-
|
|
329
|
-
license: 'https://github.com/zloirock/core-js/blob/v3.35.
|
|
328
|
+
copyright: '© 2014-2024 Denis Pushkarev (zloirock.ru)',
|
|
329
|
+
license: 'https://github.com/zloirock/core-js/blob/v3.35.1/LICENSE',
|
|
330
330
|
source: 'https://github.com/zloirock/core-js'
|
|
331
331
|
});
|
|
332
332
|
|
|
@@ -340,10 +340,10 @@ var toObject$1 = function (argument) {
|
|
|
340
340
|
return $Object$1(requireObjectCoercible$1(argument));
|
|
341
341
|
};
|
|
342
342
|
|
|
343
|
-
var uncurryThis$
|
|
343
|
+
var uncurryThis$b = functionUncurryThis;
|
|
344
344
|
var toObject = toObject$1;
|
|
345
345
|
|
|
346
|
-
var hasOwnProperty = uncurryThis$
|
|
346
|
+
var hasOwnProperty = uncurryThis$b({}.hasOwnProperty);
|
|
347
347
|
|
|
348
348
|
// `HasOwnProperty` abstract operation
|
|
349
349
|
// https://tc39.es/ecma262/#sec-hasownproperty
|
|
@@ -352,11 +352,11 @@ var hasOwnProperty_1 = Object.hasOwn || function hasOwn(it, key) {
|
|
|
352
352
|
return hasOwnProperty(toObject(it), key);
|
|
353
353
|
};
|
|
354
354
|
|
|
355
|
-
var uncurryThis$
|
|
355
|
+
var uncurryThis$a = functionUncurryThis;
|
|
356
356
|
|
|
357
357
|
var id = 0;
|
|
358
358
|
var postfix = Math.random();
|
|
359
|
-
var toString$3 = uncurryThis$
|
|
359
|
+
var toString$3 = uncurryThis$a(1.0.toString);
|
|
360
360
|
|
|
361
361
|
var uid$2 = function (key) {
|
|
362
362
|
return 'Symbol(' + (key === undefined ? '' : key) + ')_' + toString$3(++id + postfix, 36);
|
|
@@ -381,7 +381,7 @@ var wellKnownSymbol$b = function (name) {
|
|
|
381
381
|
} return WellKnownSymbolsStore[name];
|
|
382
382
|
};
|
|
383
383
|
|
|
384
|
-
var call$
|
|
384
|
+
var call$c = functionCall;
|
|
385
385
|
var isObject$6 = isObject$8;
|
|
386
386
|
var isSymbol$1 = isSymbol$2;
|
|
387
387
|
var getMethod$3 = getMethod$4;
|
|
@@ -399,7 +399,7 @@ var toPrimitive$1 = function (input, pref) {
|
|
|
399
399
|
var result;
|
|
400
400
|
if (exoticToPrim) {
|
|
401
401
|
if (pref === undefined) pref = 'default';
|
|
402
|
-
result = call$
|
|
402
|
+
result = call$c(exoticToPrim, input, pref);
|
|
403
403
|
if (!isObject$6(result) || isSymbol$1(result)) return result;
|
|
404
404
|
throw new $TypeError$a("Can't convert object to primitive value");
|
|
405
405
|
}
|
|
@@ -441,7 +441,7 @@ var ie8DomDefine = !DESCRIPTORS$9 && !fails$9(function () {
|
|
|
441
441
|
});
|
|
442
442
|
|
|
443
443
|
var DESCRIPTORS$8 = descriptors;
|
|
444
|
-
var call$
|
|
444
|
+
var call$b = functionCall;
|
|
445
445
|
var propertyIsEnumerableModule = objectPropertyIsEnumerable;
|
|
446
446
|
var createPropertyDescriptor$1 = createPropertyDescriptor$2;
|
|
447
447
|
var toIndexedObject$3 = toIndexedObject$4;
|
|
@@ -460,7 +460,7 @@ objectGetOwnPropertyDescriptor.f = DESCRIPTORS$8 ? $getOwnPropertyDescriptor$1 :
|
|
|
460
460
|
if (IE8_DOM_DEFINE$1) try {
|
|
461
461
|
return $getOwnPropertyDescriptor$1(O, P);
|
|
462
462
|
} catch (error) { /* empty */ }
|
|
463
|
-
if (hasOwn$7(O, P)) return createPropertyDescriptor$1(!call$
|
|
463
|
+
if (hasOwn$7(O, P)) return createPropertyDescriptor$1(!call$b(propertyIsEnumerableModule.f, O, P), O[P]);
|
|
464
464
|
};
|
|
465
465
|
|
|
466
466
|
var objectDefineProperty = {};
|
|
@@ -564,11 +564,11 @@ var functionName = {
|
|
|
564
564
|
CONFIGURABLE: CONFIGURABLE
|
|
565
565
|
};
|
|
566
566
|
|
|
567
|
-
var uncurryThis$
|
|
567
|
+
var uncurryThis$9 = functionUncurryThis;
|
|
568
568
|
var isCallable$b = isCallable$h;
|
|
569
569
|
var store$1 = sharedStore;
|
|
570
570
|
|
|
571
|
-
var functionToString = uncurryThis$
|
|
571
|
+
var functionToString = uncurryThis$9(Function.toString);
|
|
572
572
|
|
|
573
573
|
// this helper broken in `core-js@3.4.1-3.4.4`, so we can't use `shared` helper
|
|
574
574
|
if (!isCallable$b(store$1.inspectSource)) {
|
|
@@ -668,7 +668,7 @@ var internalState = {
|
|
|
668
668
|
getterFor: getterFor
|
|
669
669
|
};
|
|
670
670
|
|
|
671
|
-
var uncurryThis$
|
|
671
|
+
var uncurryThis$8 = functionUncurryThis;
|
|
672
672
|
var fails$7 = fails$e;
|
|
673
673
|
var isCallable$9 = isCallable$h;
|
|
674
674
|
var hasOwn$4 = hasOwnProperty_1;
|
|
@@ -682,9 +682,9 @@ var getInternalState$1 = InternalStateModule$1.get;
|
|
|
682
682
|
var $String$2 = String;
|
|
683
683
|
// eslint-disable-next-line es/no-object-defineproperty -- safe
|
|
684
684
|
var defineProperty$2 = Object.defineProperty;
|
|
685
|
-
var stringSlice$1 = uncurryThis$
|
|
686
|
-
var replace$1 = uncurryThis$
|
|
687
|
-
var join = uncurryThis$
|
|
685
|
+
var stringSlice$1 = uncurryThis$8(''.slice);
|
|
686
|
+
var replace$1 = uncurryThis$8(''.replace);
|
|
687
|
+
var join = uncurryThis$8([].join);
|
|
688
688
|
|
|
689
689
|
var CONFIGURABLE_LENGTH = DESCRIPTORS$3 && !fails$7(function () {
|
|
690
690
|
return defineProperty$2(function () { /* empty */ }, 'length', { value: 8 }).length !== 8;
|
|
@@ -694,7 +694,7 @@ var TEMPLATE = String(String).split('String');
|
|
|
694
694
|
|
|
695
695
|
var makeBuiltIn$2 = makeBuiltIn$3.exports = function (value, name, options) {
|
|
696
696
|
if (stringSlice$1($String$2(name), 0, 7) === 'Symbol(') {
|
|
697
|
-
name = '[' + replace$1($String$2(name), /^Symbol\(([^)]*)\)
|
|
697
|
+
name = '[' + replace$1($String$2(name), /^Symbol\(([^)]*)\).*$/, '$1') + ']';
|
|
698
698
|
}
|
|
699
699
|
if (options && options.getter) name = 'get ' + name;
|
|
700
700
|
if (options && options.setter) name = 'set ' + name;
|
|
@@ -794,7 +794,8 @@ var min = Math.min;
|
|
|
794
794
|
// `ToLength` abstract operation
|
|
795
795
|
// https://tc39.es/ecma262/#sec-tolength
|
|
796
796
|
var toLength$1 = function (argument) {
|
|
797
|
-
|
|
797
|
+
var len = toIntegerOrInfinity(argument);
|
|
798
|
+
return len > 0 ? min(len, 0x1FFFFFFFFFFFFF) : 0; // 2 ** 53 - 1 == 9007199254740991
|
|
798
799
|
};
|
|
799
800
|
|
|
800
801
|
var toLength = toLength$1;
|
|
@@ -838,13 +839,13 @@ var arrayIncludes = {
|
|
|
838
839
|
indexOf: createMethod(false)
|
|
839
840
|
};
|
|
840
841
|
|
|
841
|
-
var uncurryThis$
|
|
842
|
+
var uncurryThis$7 = functionUncurryThis;
|
|
842
843
|
var hasOwn$3 = hasOwnProperty_1;
|
|
843
844
|
var toIndexedObject$1 = toIndexedObject$4;
|
|
844
845
|
var indexOf$1 = arrayIncludes.indexOf;
|
|
845
846
|
var hiddenKeys$2 = hiddenKeys$4;
|
|
846
847
|
|
|
847
|
-
var push = uncurryThis$
|
|
848
|
+
var push = uncurryThis$7([].push);
|
|
848
849
|
|
|
849
850
|
var objectKeysInternal = function (object, names) {
|
|
850
851
|
var O = toIndexedObject$1(object);
|
|
@@ -888,12 +889,12 @@ var objectGetOwnPropertySymbols = {};
|
|
|
888
889
|
objectGetOwnPropertySymbols.f = Object.getOwnPropertySymbols;
|
|
889
890
|
|
|
890
891
|
var getBuiltIn$5 = getBuiltIn$7;
|
|
891
|
-
var uncurryThis$
|
|
892
|
+
var uncurryThis$6 = functionUncurryThis;
|
|
892
893
|
var getOwnPropertyNamesModule = objectGetOwnPropertyNames;
|
|
893
894
|
var getOwnPropertySymbolsModule = objectGetOwnPropertySymbols;
|
|
894
895
|
var anObject$b = anObject$d;
|
|
895
896
|
|
|
896
|
-
var concat = uncurryThis$
|
|
897
|
+
var concat = uncurryThis$6([].concat);
|
|
897
898
|
|
|
898
899
|
// all object keys, includes non-enumerable and symbols
|
|
899
900
|
var ownKeys$1 = getBuiltIn$5('Reflect', 'ownKeys') || function ownKeys(it) {
|
|
@@ -975,7 +976,7 @@ var _export = function (options, source) {
|
|
|
975
976
|
} else if (STATIC) {
|
|
976
977
|
target = global$b[TARGET] || defineGlobalProperty(TARGET, {});
|
|
977
978
|
} else {
|
|
978
|
-
target =
|
|
979
|
+
target = global$b[TARGET] && global$b[TARGET].prototype;
|
|
979
980
|
}
|
|
980
981
|
if (target) for (key in source) {
|
|
981
982
|
sourceProperty = source[key];
|
|
@@ -1002,13 +1003,13 @@ var classof$5 = classofRaw$2;
|
|
|
1002
1003
|
|
|
1003
1004
|
var engineIsNode = classof$5(global$a.process) === 'process';
|
|
1004
1005
|
|
|
1005
|
-
var uncurryThis$
|
|
1006
|
+
var uncurryThis$5 = functionUncurryThis;
|
|
1006
1007
|
var aCallable$6 = aCallable$8;
|
|
1007
1008
|
|
|
1008
1009
|
var functionUncurryThisAccessor = function (object, key, method) {
|
|
1009
1010
|
try {
|
|
1010
1011
|
// eslint-disable-next-line es/no-object-getownpropertydescriptor -- safe
|
|
1011
|
-
return uncurryThis$
|
|
1012
|
+
return uncurryThis$5(aCallable$6(Object.getOwnPropertyDescriptor(object, key)[method]));
|
|
1012
1013
|
} catch (error) { /* empty */ }
|
|
1013
1014
|
};
|
|
1014
1015
|
|
|
@@ -1143,7 +1144,7 @@ var classof$4 = TO_STRING_TAG_SUPPORT ? classofRaw$1 : function (it) {
|
|
|
1143
1144
|
: (result = classofRaw$1(O)) === 'Object' && isCallable$6(O.callee) ? 'Arguments' : result;
|
|
1144
1145
|
};
|
|
1145
1146
|
|
|
1146
|
-
var uncurryThis$
|
|
1147
|
+
var uncurryThis$4 = functionUncurryThis;
|
|
1147
1148
|
var fails$5 = fails$e;
|
|
1148
1149
|
var isCallable$5 = isCallable$h;
|
|
1149
1150
|
var classof$3 = classof$4;
|
|
@@ -1151,16 +1152,15 @@ var getBuiltIn$3 = getBuiltIn$7;
|
|
|
1151
1152
|
var inspectSource$1 = inspectSource$3;
|
|
1152
1153
|
|
|
1153
1154
|
var noop = function () { /* empty */ };
|
|
1154
|
-
var empty = [];
|
|
1155
1155
|
var construct = getBuiltIn$3('Reflect', 'construct');
|
|
1156
1156
|
var constructorRegExp = /^\s*(?:class|function)\b/;
|
|
1157
|
-
var exec$1 = uncurryThis$
|
|
1157
|
+
var exec$1 = uncurryThis$4(constructorRegExp.exec);
|
|
1158
1158
|
var INCORRECT_TO_STRING = !constructorRegExp.test(noop);
|
|
1159
1159
|
|
|
1160
1160
|
var isConstructorModern = function isConstructor(argument) {
|
|
1161
1161
|
if (!isCallable$5(argument)) return false;
|
|
1162
1162
|
try {
|
|
1163
|
-
construct(noop,
|
|
1163
|
+
construct(noop, [], argument);
|
|
1164
1164
|
return true;
|
|
1165
1165
|
} catch (error) {
|
|
1166
1166
|
return false;
|
|
@@ -1226,28 +1226,28 @@ var NATIVE_BIND$1 = functionBindNative;
|
|
|
1226
1226
|
|
|
1227
1227
|
var FunctionPrototype = Function.prototype;
|
|
1228
1228
|
var apply$1 = FunctionPrototype.apply;
|
|
1229
|
-
var call$
|
|
1229
|
+
var call$a = FunctionPrototype.call;
|
|
1230
1230
|
|
|
1231
1231
|
// eslint-disable-next-line es/no-reflect -- safe
|
|
1232
|
-
var functionApply = typeof Reflect == 'object' && Reflect.apply || (NATIVE_BIND$1 ? call$
|
|
1233
|
-
return call$
|
|
1232
|
+
var functionApply = typeof Reflect == 'object' && Reflect.apply || (NATIVE_BIND$1 ? call$a.bind(apply$1) : function () {
|
|
1233
|
+
return call$a.apply(apply$1, arguments);
|
|
1234
1234
|
});
|
|
1235
1235
|
|
|
1236
1236
|
var classofRaw = classofRaw$2;
|
|
1237
|
-
var uncurryThis$
|
|
1237
|
+
var uncurryThis$3 = functionUncurryThis;
|
|
1238
1238
|
|
|
1239
1239
|
var functionUncurryThisClause = function (fn) {
|
|
1240
1240
|
// Nashorn bug:
|
|
1241
1241
|
// https://github.com/zloirock/core-js/issues/1128
|
|
1242
1242
|
// https://github.com/zloirock/core-js/issues/1130
|
|
1243
|
-
if (classofRaw(fn) === 'Function') return uncurryThis$
|
|
1243
|
+
if (classofRaw(fn) === 'Function') return uncurryThis$3(fn);
|
|
1244
1244
|
};
|
|
1245
1245
|
|
|
1246
|
-
var uncurryThis$
|
|
1246
|
+
var uncurryThis$2 = functionUncurryThisClause;
|
|
1247
1247
|
var aCallable$5 = aCallable$8;
|
|
1248
1248
|
var NATIVE_BIND = functionBindNative;
|
|
1249
1249
|
|
|
1250
|
-
var bind$4 = uncurryThis$
|
|
1250
|
+
var bind$4 = uncurryThis$2(uncurryThis$2.bind);
|
|
1251
1251
|
|
|
1252
1252
|
// optional / simple context binding
|
|
1253
1253
|
var functionBindContext = function (fn, that) {
|
|
@@ -1261,9 +1261,9 @@ var getBuiltIn$2 = getBuiltIn$7;
|
|
|
1261
1261
|
|
|
1262
1262
|
var html$2 = getBuiltIn$2('document', 'documentElement');
|
|
1263
1263
|
|
|
1264
|
-
var uncurryThis$
|
|
1264
|
+
var uncurryThis$1 = functionUncurryThis;
|
|
1265
1265
|
|
|
1266
|
-
var arraySlice$1 = uncurryThis$
|
|
1266
|
+
var arraySlice$1 = uncurryThis$1([].slice);
|
|
1267
1267
|
|
|
1268
1268
|
var $TypeError$4 = TypeError;
|
|
1269
1269
|
|
|
@@ -1619,7 +1619,7 @@ newPromiseCapability$2.f = function (C) {
|
|
|
1619
1619
|
var $$6 = _export;
|
|
1620
1620
|
var IS_NODE = engineIsNode;
|
|
1621
1621
|
var global$4 = global$l;
|
|
1622
|
-
var call$
|
|
1622
|
+
var call$9 = functionCall;
|
|
1623
1623
|
var defineBuiltIn$2 = defineBuiltIn$4;
|
|
1624
1624
|
var setPrototypeOf = objectSetPrototypeOf;
|
|
1625
1625
|
var setToStringTag = setToStringTag$1;
|
|
@@ -1697,7 +1697,7 @@ var callReaction = function (reaction, state) {
|
|
|
1697
1697
|
if (result === reaction.promise) {
|
|
1698
1698
|
reject(new TypeError$1('Promise-chain cycle'));
|
|
1699
1699
|
} else if (then = isThenable(result)) {
|
|
1700
|
-
call$
|
|
1700
|
+
call$9(then, result, resolve, reject);
|
|
1701
1701
|
} else resolve(result);
|
|
1702
1702
|
} else reject(value);
|
|
1703
1703
|
} catch (error) {
|
|
@@ -1734,7 +1734,7 @@ var dispatchEvent = function (name, promise, reason) {
|
|
|
1734
1734
|
};
|
|
1735
1735
|
|
|
1736
1736
|
var onUnhandled = function (state) {
|
|
1737
|
-
call$
|
|
1737
|
+
call$9(task, global$4, function () {
|
|
1738
1738
|
var promise = state.facade;
|
|
1739
1739
|
var value = state.value;
|
|
1740
1740
|
var IS_UNHANDLED = isUnhandled(state);
|
|
@@ -1757,7 +1757,7 @@ var isUnhandled = function (state) {
|
|
|
1757
1757
|
};
|
|
1758
1758
|
|
|
1759
1759
|
var onHandleUnhandled = function (state) {
|
|
1760
|
-
call$
|
|
1760
|
+
call$9(task, global$4, function () {
|
|
1761
1761
|
var promise = state.facade;
|
|
1762
1762
|
if (IS_NODE) {
|
|
1763
1763
|
process.emit('rejectionHandled', promise);
|
|
@@ -1791,7 +1791,7 @@ var internalResolve = function (state, value, unwrap) {
|
|
|
1791
1791
|
microtask(function () {
|
|
1792
1792
|
var wrapper = { done: false };
|
|
1793
1793
|
try {
|
|
1794
|
-
call$
|
|
1794
|
+
call$9(then, value,
|
|
1795
1795
|
bind$1(internalResolve, wrapper, state),
|
|
1796
1796
|
bind$1(internalReject, wrapper, state)
|
|
1797
1797
|
);
|
|
@@ -1815,7 +1815,7 @@ if (FORCED_PROMISE_CONSTRUCTOR$4) {
|
|
|
1815
1815
|
PromiseConstructor = function Promise(executor) {
|
|
1816
1816
|
anInstance(this, PromisePrototype);
|
|
1817
1817
|
aCallable$3(executor);
|
|
1818
|
-
call$
|
|
1818
|
+
call$9(Internal, this);
|
|
1819
1819
|
var state = getInternalPromiseState(this);
|
|
1820
1820
|
try {
|
|
1821
1821
|
executor(bind$1(internalResolve, state), bind$1(internalReject, state));
|
|
@@ -1878,7 +1878,7 @@ if (FORCED_PROMISE_CONSTRUCTOR$4) {
|
|
|
1878
1878
|
defineBuiltIn$2(NativePromisePrototype$1, 'then', function then(onFulfilled, onRejected) {
|
|
1879
1879
|
var that = this;
|
|
1880
1880
|
return new PromiseConstructor(function (resolve, reject) {
|
|
1881
|
-
call$
|
|
1881
|
+
call$9(nativeThen, that, resolve, reject);
|
|
1882
1882
|
}).then(onFulfilled, onRejected);
|
|
1883
1883
|
// https://github.com/zloirock/core-js/issues/640
|
|
1884
1884
|
}, { unsafe: true });
|
|
@@ -1930,7 +1930,7 @@ var getIteratorMethod$2 = function (it) {
|
|
|
1930
1930
|
|| Iterators[classof$2(it)];
|
|
1931
1931
|
};
|
|
1932
1932
|
|
|
1933
|
-
var call$
|
|
1933
|
+
var call$8 = functionCall;
|
|
1934
1934
|
var aCallable$2 = aCallable$8;
|
|
1935
1935
|
var anObject$8 = anObject$d;
|
|
1936
1936
|
var tryToString$1 = tryToString$4;
|
|
@@ -1940,11 +1940,11 @@ var $TypeError$2 = TypeError;
|
|
|
1940
1940
|
|
|
1941
1941
|
var getIterator$1 = function (argument, usingIterator) {
|
|
1942
1942
|
var iteratorMethod = arguments.length < 2 ? getIteratorMethod$1(argument) : usingIterator;
|
|
1943
|
-
if (aCallable$2(iteratorMethod)) return anObject$8(call$
|
|
1943
|
+
if (aCallable$2(iteratorMethod)) return anObject$8(call$8(iteratorMethod, argument));
|
|
1944
1944
|
throw new $TypeError$2(tryToString$1(argument) + ' is not iterable');
|
|
1945
1945
|
};
|
|
1946
1946
|
|
|
1947
|
-
var call$
|
|
1947
|
+
var call$7 = functionCall;
|
|
1948
1948
|
var anObject$7 = anObject$d;
|
|
1949
1949
|
var getMethod$1 = getMethod$4;
|
|
1950
1950
|
|
|
@@ -1957,7 +1957,7 @@ var iteratorClose$1 = function (iterator, kind, value) {
|
|
|
1957
1957
|
if (kind === 'throw') throw value;
|
|
1958
1958
|
return value;
|
|
1959
1959
|
}
|
|
1960
|
-
innerResult = call$
|
|
1960
|
+
innerResult = call$7(innerResult, iterator);
|
|
1961
1961
|
} catch (error) {
|
|
1962
1962
|
innerError = true;
|
|
1963
1963
|
innerResult = error;
|
|
@@ -1969,7 +1969,7 @@ var iteratorClose$1 = function (iterator, kind, value) {
|
|
|
1969
1969
|
};
|
|
1970
1970
|
|
|
1971
1971
|
var bind = functionBindContext;
|
|
1972
|
-
var call$
|
|
1972
|
+
var call$6 = functionCall;
|
|
1973
1973
|
var anObject$6 = anObject$d;
|
|
1974
1974
|
var tryToString = tryToString$4;
|
|
1975
1975
|
var isArrayIteratorMethod = isArrayIteratorMethod$1;
|
|
@@ -2027,7 +2027,7 @@ var iterate$2 = function (iterable, unboundFunction, options) {
|
|
|
2027
2027
|
}
|
|
2028
2028
|
|
|
2029
2029
|
next = IS_RECORD ? iterable.next : iterator.next;
|
|
2030
|
-
while (!(step = call$
|
|
2030
|
+
while (!(step = call$6(next, iterator)).done) {
|
|
2031
2031
|
try {
|
|
2032
2032
|
result = callFn(step.value);
|
|
2033
2033
|
} catch (error) {
|
|
@@ -2087,7 +2087,7 @@ var promiseStaticsIncorrectIteration = FORCED_PROMISE_CONSTRUCTOR$3 || !checkCor
|
|
|
2087
2087
|
});
|
|
2088
2088
|
|
|
2089
2089
|
var $$5 = _export;
|
|
2090
|
-
var call$
|
|
2090
|
+
var call$5 = functionCall;
|
|
2091
2091
|
var aCallable$1 = aCallable$8;
|
|
2092
2092
|
var newPromiseCapabilityModule$2 = newPromiseCapability$2;
|
|
2093
2093
|
var perform$1 = perform$3;
|
|
@@ -2111,7 +2111,7 @@ $$5({ target: 'Promise', stat: true, forced: PROMISE_STATICS_INCORRECT_ITERATION
|
|
|
2111
2111
|
var index = counter++;
|
|
2112
2112
|
var alreadyCalled = false;
|
|
2113
2113
|
remaining++;
|
|
2114
|
-
call$
|
|
2114
|
+
call$5($promiseResolve, C, promise).then(function (value) {
|
|
2115
2115
|
if (alreadyCalled) return;
|
|
2116
2116
|
alreadyCalled = true;
|
|
2117
2117
|
values[index] = value;
|
|
@@ -2151,7 +2151,7 @@ if (isCallable$1(NativePromiseConstructor)) {
|
|
|
2151
2151
|
}
|
|
2152
2152
|
|
|
2153
2153
|
var $$3 = _export;
|
|
2154
|
-
var call$
|
|
2154
|
+
var call$4 = functionCall;
|
|
2155
2155
|
var aCallable = aCallable$8;
|
|
2156
2156
|
var newPromiseCapabilityModule$1 = newPromiseCapability$2;
|
|
2157
2157
|
var perform = perform$3;
|
|
@@ -2168,7 +2168,7 @@ $$3({ target: 'Promise', stat: true, forced: PROMISE_STATICS_INCORRECT_ITERATION
|
|
|
2168
2168
|
var result = perform(function () {
|
|
2169
2169
|
var $promiseResolve = aCallable(C.resolve);
|
|
2170
2170
|
iterate(iterable, function (promise) {
|
|
2171
|
-
call$
|
|
2171
|
+
call$4($promiseResolve, C, promise).then(capability.resolve, reject);
|
|
2172
2172
|
});
|
|
2173
2173
|
});
|
|
2174
2174
|
if (result.error) reject(result.value);
|
|
@@ -2554,8 +2554,8 @@ var regexpUnsupportedNcg = fails$1(function () {
|
|
|
2554
2554
|
|
|
2555
2555
|
/* eslint-disable regexp/no-empty-capturing-group, regexp/no-empty-group, regexp/no-lazy-ends -- testing */
|
|
2556
2556
|
/* eslint-disable regexp/no-useless-quantifier -- testing */
|
|
2557
|
-
var call$
|
|
2558
|
-
var uncurryThis
|
|
2557
|
+
var call$3 = functionCall;
|
|
2558
|
+
var uncurryThis = functionUncurryThis;
|
|
2559
2559
|
var toString$1 = toString$2;
|
|
2560
2560
|
var regexpFlags = regexpFlags$1;
|
|
2561
2561
|
var stickyHelpers = regexpStickyHelpers;
|
|
@@ -2568,16 +2568,16 @@ var UNSUPPORTED_NCG = regexpUnsupportedNcg;
|
|
|
2568
2568
|
var nativeReplace = shared('native-string-replace', String.prototype.replace);
|
|
2569
2569
|
var nativeExec = RegExp.prototype.exec;
|
|
2570
2570
|
var patchedExec = nativeExec;
|
|
2571
|
-
var charAt = uncurryThis
|
|
2572
|
-
var indexOf = uncurryThis
|
|
2573
|
-
var replace = uncurryThis
|
|
2574
|
-
var stringSlice = uncurryThis
|
|
2571
|
+
var charAt = uncurryThis(''.charAt);
|
|
2572
|
+
var indexOf = uncurryThis(''.indexOf);
|
|
2573
|
+
var replace = uncurryThis(''.replace);
|
|
2574
|
+
var stringSlice = uncurryThis(''.slice);
|
|
2575
2575
|
|
|
2576
2576
|
var UPDATES_LAST_INDEX_WRONG = (function () {
|
|
2577
2577
|
var re1 = /a/;
|
|
2578
2578
|
var re2 = /b*/g;
|
|
2579
|
-
call$
|
|
2580
|
-
call$
|
|
2579
|
+
call$3(nativeExec, re1, 'a');
|
|
2580
|
+
call$3(nativeExec, re2, 'a');
|
|
2581
2581
|
return re1.lastIndex !== 0 || re2.lastIndex !== 0;
|
|
2582
2582
|
})();
|
|
2583
2583
|
|
|
@@ -2598,14 +2598,14 @@ if (PATCH) {
|
|
|
2598
2598
|
|
|
2599
2599
|
if (raw) {
|
|
2600
2600
|
raw.lastIndex = re.lastIndex;
|
|
2601
|
-
result = call$
|
|
2601
|
+
result = call$3(patchedExec, raw, str);
|
|
2602
2602
|
re.lastIndex = raw.lastIndex;
|
|
2603
2603
|
return result;
|
|
2604
2604
|
}
|
|
2605
2605
|
|
|
2606
2606
|
var groups = state.groups;
|
|
2607
2607
|
var sticky = UNSUPPORTED_Y && re.sticky;
|
|
2608
|
-
var flags = call$
|
|
2608
|
+
var flags = call$3(regexpFlags, re);
|
|
2609
2609
|
var source = re.source;
|
|
2610
2610
|
var charsAdded = 0;
|
|
2611
2611
|
var strCopy = str;
|
|
@@ -2633,7 +2633,7 @@ if (PATCH) {
|
|
|
2633
2633
|
}
|
|
2634
2634
|
if (UPDATES_LAST_INDEX_WRONG) lastIndex = re.lastIndex;
|
|
2635
2635
|
|
|
2636
|
-
match = call$
|
|
2636
|
+
match = call$3(nativeExec, sticky ? reCopy : re, strCopy);
|
|
2637
2637
|
|
|
2638
2638
|
if (sticky) {
|
|
2639
2639
|
if (match) {
|
|
@@ -2648,7 +2648,7 @@ if (PATCH) {
|
|
|
2648
2648
|
if (NPCG_INCLUDED && match && match.length > 1) {
|
|
2649
2649
|
// Fix browsers whose `exec` methods don't consistently return `undefined`
|
|
2650
2650
|
// for NPCG, like IE8. NOTE: This doesn't work for /(.?)?/
|
|
2651
|
-
call$
|
|
2651
|
+
call$3(nativeReplace, match[0], reCopy, function () {
|
|
2652
2652
|
for (i = 1; i < arguments.length - 2; i++) {
|
|
2653
2653
|
if (arguments[i] === undefined) match[i] = undefined;
|
|
2654
2654
|
}
|
|
@@ -2680,7 +2680,7 @@ $({ target: 'RegExp', proto: true, forced: /./.exec !== exec }, {
|
|
|
2680
2680
|
|
|
2681
2681
|
// TODO: Remove from `core-js@4` since it's moved to entry points
|
|
2682
2682
|
|
|
2683
|
-
var
|
|
2683
|
+
var call$2 = functionCall;
|
|
2684
2684
|
var defineBuiltIn = defineBuiltIn$4;
|
|
2685
2685
|
var regexpExec$1 = regexpExec$2;
|
|
2686
2686
|
var fails = fails$e;
|
|
@@ -2694,7 +2694,7 @@ var fixRegexpWellKnownSymbolLogic = function (KEY, exec, FORCED, SHAM) {
|
|
|
2694
2694
|
var SYMBOL = wellKnownSymbol(KEY);
|
|
2695
2695
|
|
|
2696
2696
|
var DELEGATES_TO_SYMBOL = !fails(function () {
|
|
2697
|
-
// String methods call symbol-named
|
|
2697
|
+
// String methods call symbol-named RegExp methods
|
|
2698
2698
|
var O = {};
|
|
2699
2699
|
O[SYMBOL] = function () { return 7; };
|
|
2700
2700
|
return ''[KEY](O) !== 7;
|
|
@@ -2732,18 +2732,17 @@ var fixRegexpWellKnownSymbolLogic = function (KEY, exec, FORCED, SHAM) {
|
|
|
2732
2732
|
!DELEGATES_TO_EXEC ||
|
|
2733
2733
|
FORCED
|
|
2734
2734
|
) {
|
|
2735
|
-
var
|
|
2735
|
+
var nativeRegExpMethod = /./[SYMBOL];
|
|
2736
2736
|
var methods = exec(SYMBOL, ''[KEY], function (nativeMethod, regexp, str, arg2, forceStringMethod) {
|
|
2737
|
-
var uncurriedNativeMethod = uncurryThis(nativeMethod);
|
|
2738
2737
|
var $exec = regexp.exec;
|
|
2739
2738
|
if ($exec === regexpExec$1 || $exec === RegExpPrototype.exec) {
|
|
2740
2739
|
if (DELEGATES_TO_SYMBOL && !forceStringMethod) {
|
|
2741
2740
|
// The native String method already delegates to @@method (this
|
|
2742
2741
|
// polyfilled function), leasing to infinite recursion.
|
|
2743
2742
|
// We avoid it by directly calling the native @@method method.
|
|
2744
|
-
return { done: true, value:
|
|
2743
|
+
return { done: true, value: call$2(nativeRegExpMethod, regexp, str, arg2) };
|
|
2745
2744
|
}
|
|
2746
|
-
return { done: true, value:
|
|
2745
|
+
return { done: true, value: call$2(nativeMethod, str, regexp, arg2) };
|
|
2747
2746
|
}
|
|
2748
2747
|
return { done: false };
|
|
2749
2748
|
});
|
package/index.esm.js
CHANGED
|
@@ -48,10 +48,10 @@ var functionBindNative = !fails$c(function () {
|
|
|
48
48
|
|
|
49
49
|
var NATIVE_BIND$3 = functionBindNative;
|
|
50
50
|
|
|
51
|
-
var call$
|
|
51
|
+
var call$f = Function.prototype.call;
|
|
52
52
|
|
|
53
|
-
var functionCall = NATIVE_BIND$3 ? call$
|
|
54
|
-
return call$
|
|
53
|
+
var functionCall = NATIVE_BIND$3 ? call$f.bind(call$f) : function () {
|
|
54
|
+
return call$f.apply(call$f, arguments);
|
|
55
55
|
};
|
|
56
56
|
|
|
57
57
|
var objectPropertyIsEnumerable = {};
|
|
@@ -82,30 +82,30 @@ var createPropertyDescriptor$2 = function (bitmap, value) {
|
|
|
82
82
|
var NATIVE_BIND$2 = functionBindNative;
|
|
83
83
|
|
|
84
84
|
var FunctionPrototype$2 = Function.prototype;
|
|
85
|
-
var call$
|
|
86
|
-
var uncurryThisWithBind = NATIVE_BIND$2 && FunctionPrototype$2.bind.bind(call$
|
|
85
|
+
var call$e = FunctionPrototype$2.call;
|
|
86
|
+
var uncurryThisWithBind = NATIVE_BIND$2 && FunctionPrototype$2.bind.bind(call$e, call$e);
|
|
87
87
|
|
|
88
88
|
var functionUncurryThis = NATIVE_BIND$2 ? uncurryThisWithBind : function (fn) {
|
|
89
89
|
return function () {
|
|
90
|
-
return call$
|
|
90
|
+
return call$e.apply(fn, arguments);
|
|
91
91
|
};
|
|
92
92
|
};
|
|
93
93
|
|
|
94
|
-
var uncurryThis$
|
|
94
|
+
var uncurryThis$e = functionUncurryThis;
|
|
95
95
|
|
|
96
|
-
var toString$4 = uncurryThis$
|
|
97
|
-
var stringSlice$2 = uncurryThis$
|
|
96
|
+
var toString$4 = uncurryThis$e({}.toString);
|
|
97
|
+
var stringSlice$2 = uncurryThis$e(''.slice);
|
|
98
98
|
|
|
99
99
|
var classofRaw$2 = function (it) {
|
|
100
100
|
return stringSlice$2(toString$4(it), 8, -1);
|
|
101
101
|
};
|
|
102
102
|
|
|
103
|
-
var uncurryThis$
|
|
103
|
+
var uncurryThis$d = functionUncurryThis;
|
|
104
104
|
var fails$b = fails$e;
|
|
105
105
|
var classof$6 = classofRaw$2;
|
|
106
106
|
|
|
107
107
|
var $Object$3 = Object;
|
|
108
|
-
var split = uncurryThis$
|
|
108
|
+
var split = uncurryThis$d(''.split);
|
|
109
109
|
|
|
110
110
|
// fallback for non-array-like ES3 and non-enumerable old V8 strings
|
|
111
111
|
var indexedObject = fails$b(function () {
|
|
@@ -170,9 +170,9 @@ var getBuiltIn$7 = function (namespace, method) {
|
|
|
170
170
|
return arguments.length < 2 ? aFunction(global$k[namespace]) : global$k[namespace] && global$k[namespace][method];
|
|
171
171
|
};
|
|
172
172
|
|
|
173
|
-
var uncurryThis$
|
|
173
|
+
var uncurryThis$c = functionUncurryThis;
|
|
174
174
|
|
|
175
|
-
var objectIsPrototypeOf = uncurryThis$
|
|
175
|
+
var objectIsPrototypeOf = uncurryThis$c({}.isPrototypeOf);
|
|
176
176
|
|
|
177
177
|
var engineUserAgent = typeof navigator != 'undefined' && String(navigator.userAgent) || '';
|
|
178
178
|
|
|
@@ -275,7 +275,7 @@ var getMethod$4 = function (V, P) {
|
|
|
275
275
|
return isNullOrUndefined$3(func) ? undefined : aCallable$7(func);
|
|
276
276
|
};
|
|
277
277
|
|
|
278
|
-
var call$
|
|
278
|
+
var call$d = functionCall;
|
|
279
279
|
var isCallable$c = isCallable$h;
|
|
280
280
|
var isObject$7 = isObject$8;
|
|
281
281
|
|
|
@@ -285,9 +285,9 @@ var $TypeError$b = TypeError;
|
|
|
285
285
|
// https://tc39.es/ecma262/#sec-ordinarytoprimitive
|
|
286
286
|
var ordinaryToPrimitive$1 = function (input, pref) {
|
|
287
287
|
var fn, val;
|
|
288
|
-
if (pref === 'string' && isCallable$c(fn = input.toString) && !isObject$7(val = call$
|
|
289
|
-
if (isCallable$c(fn = input.valueOf) && !isObject$7(val = call$
|
|
290
|
-
if (pref !== 'string' && isCallable$c(fn = input.toString) && !isObject$7(val = call$
|
|
288
|
+
if (pref === 'string' && isCallable$c(fn = input.toString) && !isObject$7(val = call$d(fn, input))) return val;
|
|
289
|
+
if (isCallable$c(fn = input.valueOf) && !isObject$7(val = call$d(fn, input))) return val;
|
|
290
|
+
if (pref !== 'string' && isCallable$c(fn = input.toString) && !isObject$7(val = call$d(fn, input))) return val;
|
|
291
291
|
throw new $TypeError$b("Can't convert object to primitive value");
|
|
292
292
|
};
|
|
293
293
|
|
|
@@ -319,10 +319,10 @@ var store$2 = sharedStore;
|
|
|
319
319
|
(shared$4.exports = function (key, value) {
|
|
320
320
|
return store$2[key] || (store$2[key] = value !== undefined ? value : {});
|
|
321
321
|
})('versions', []).push({
|
|
322
|
-
version: '3.35.
|
|
322
|
+
version: '3.35.1',
|
|
323
323
|
mode: 'global',
|
|
324
|
-
copyright: '© 2014-
|
|
325
|
-
license: 'https://github.com/zloirock/core-js/blob/v3.35.
|
|
324
|
+
copyright: '© 2014-2024 Denis Pushkarev (zloirock.ru)',
|
|
325
|
+
license: 'https://github.com/zloirock/core-js/blob/v3.35.1/LICENSE',
|
|
326
326
|
source: 'https://github.com/zloirock/core-js'
|
|
327
327
|
});
|
|
328
328
|
|
|
@@ -336,10 +336,10 @@ var toObject$1 = function (argument) {
|
|
|
336
336
|
return $Object$1(requireObjectCoercible$1(argument));
|
|
337
337
|
};
|
|
338
338
|
|
|
339
|
-
var uncurryThis$
|
|
339
|
+
var uncurryThis$b = functionUncurryThis;
|
|
340
340
|
var toObject = toObject$1;
|
|
341
341
|
|
|
342
|
-
var hasOwnProperty = uncurryThis$
|
|
342
|
+
var hasOwnProperty = uncurryThis$b({}.hasOwnProperty);
|
|
343
343
|
|
|
344
344
|
// `HasOwnProperty` abstract operation
|
|
345
345
|
// https://tc39.es/ecma262/#sec-hasownproperty
|
|
@@ -348,11 +348,11 @@ var hasOwnProperty_1 = Object.hasOwn || function hasOwn(it, key) {
|
|
|
348
348
|
return hasOwnProperty(toObject(it), key);
|
|
349
349
|
};
|
|
350
350
|
|
|
351
|
-
var uncurryThis$
|
|
351
|
+
var uncurryThis$a = functionUncurryThis;
|
|
352
352
|
|
|
353
353
|
var id = 0;
|
|
354
354
|
var postfix = Math.random();
|
|
355
|
-
var toString$3 = uncurryThis$
|
|
355
|
+
var toString$3 = uncurryThis$a(1.0.toString);
|
|
356
356
|
|
|
357
357
|
var uid$2 = function (key) {
|
|
358
358
|
return 'Symbol(' + (key === undefined ? '' : key) + ')_' + toString$3(++id + postfix, 36);
|
|
@@ -377,7 +377,7 @@ var wellKnownSymbol$b = function (name) {
|
|
|
377
377
|
} return WellKnownSymbolsStore[name];
|
|
378
378
|
};
|
|
379
379
|
|
|
380
|
-
var call$
|
|
380
|
+
var call$c = functionCall;
|
|
381
381
|
var isObject$6 = isObject$8;
|
|
382
382
|
var isSymbol$1 = isSymbol$2;
|
|
383
383
|
var getMethod$3 = getMethod$4;
|
|
@@ -395,7 +395,7 @@ var toPrimitive$1 = function (input, pref) {
|
|
|
395
395
|
var result;
|
|
396
396
|
if (exoticToPrim) {
|
|
397
397
|
if (pref === undefined) pref = 'default';
|
|
398
|
-
result = call$
|
|
398
|
+
result = call$c(exoticToPrim, input, pref);
|
|
399
399
|
if (!isObject$6(result) || isSymbol$1(result)) return result;
|
|
400
400
|
throw new $TypeError$a("Can't convert object to primitive value");
|
|
401
401
|
}
|
|
@@ -437,7 +437,7 @@ var ie8DomDefine = !DESCRIPTORS$9 && !fails$9(function () {
|
|
|
437
437
|
});
|
|
438
438
|
|
|
439
439
|
var DESCRIPTORS$8 = descriptors;
|
|
440
|
-
var call$
|
|
440
|
+
var call$b = functionCall;
|
|
441
441
|
var propertyIsEnumerableModule = objectPropertyIsEnumerable;
|
|
442
442
|
var createPropertyDescriptor$1 = createPropertyDescriptor$2;
|
|
443
443
|
var toIndexedObject$3 = toIndexedObject$4;
|
|
@@ -456,7 +456,7 @@ objectGetOwnPropertyDescriptor.f = DESCRIPTORS$8 ? $getOwnPropertyDescriptor$1 :
|
|
|
456
456
|
if (IE8_DOM_DEFINE$1) try {
|
|
457
457
|
return $getOwnPropertyDescriptor$1(O, P);
|
|
458
458
|
} catch (error) { /* empty */ }
|
|
459
|
-
if (hasOwn$7(O, P)) return createPropertyDescriptor$1(!call$
|
|
459
|
+
if (hasOwn$7(O, P)) return createPropertyDescriptor$1(!call$b(propertyIsEnumerableModule.f, O, P), O[P]);
|
|
460
460
|
};
|
|
461
461
|
|
|
462
462
|
var objectDefineProperty = {};
|
|
@@ -560,11 +560,11 @@ var functionName = {
|
|
|
560
560
|
CONFIGURABLE: CONFIGURABLE
|
|
561
561
|
};
|
|
562
562
|
|
|
563
|
-
var uncurryThis$
|
|
563
|
+
var uncurryThis$9 = functionUncurryThis;
|
|
564
564
|
var isCallable$b = isCallable$h;
|
|
565
565
|
var store$1 = sharedStore;
|
|
566
566
|
|
|
567
|
-
var functionToString = uncurryThis$
|
|
567
|
+
var functionToString = uncurryThis$9(Function.toString);
|
|
568
568
|
|
|
569
569
|
// this helper broken in `core-js@3.4.1-3.4.4`, so we can't use `shared` helper
|
|
570
570
|
if (!isCallable$b(store$1.inspectSource)) {
|
|
@@ -664,7 +664,7 @@ var internalState = {
|
|
|
664
664
|
getterFor: getterFor
|
|
665
665
|
};
|
|
666
666
|
|
|
667
|
-
var uncurryThis$
|
|
667
|
+
var uncurryThis$8 = functionUncurryThis;
|
|
668
668
|
var fails$7 = fails$e;
|
|
669
669
|
var isCallable$9 = isCallable$h;
|
|
670
670
|
var hasOwn$4 = hasOwnProperty_1;
|
|
@@ -678,9 +678,9 @@ var getInternalState$1 = InternalStateModule$1.get;
|
|
|
678
678
|
var $String$2 = String;
|
|
679
679
|
// eslint-disable-next-line es/no-object-defineproperty -- safe
|
|
680
680
|
var defineProperty$2 = Object.defineProperty;
|
|
681
|
-
var stringSlice$1 = uncurryThis$
|
|
682
|
-
var replace$1 = uncurryThis$
|
|
683
|
-
var join = uncurryThis$
|
|
681
|
+
var stringSlice$1 = uncurryThis$8(''.slice);
|
|
682
|
+
var replace$1 = uncurryThis$8(''.replace);
|
|
683
|
+
var join = uncurryThis$8([].join);
|
|
684
684
|
|
|
685
685
|
var CONFIGURABLE_LENGTH = DESCRIPTORS$3 && !fails$7(function () {
|
|
686
686
|
return defineProperty$2(function () { /* empty */ }, 'length', { value: 8 }).length !== 8;
|
|
@@ -690,7 +690,7 @@ var TEMPLATE = String(String).split('String');
|
|
|
690
690
|
|
|
691
691
|
var makeBuiltIn$2 = makeBuiltIn$3.exports = function (value, name, options) {
|
|
692
692
|
if (stringSlice$1($String$2(name), 0, 7) === 'Symbol(') {
|
|
693
|
-
name = '[' + replace$1($String$2(name), /^Symbol\(([^)]*)\)
|
|
693
|
+
name = '[' + replace$1($String$2(name), /^Symbol\(([^)]*)\).*$/, '$1') + ']';
|
|
694
694
|
}
|
|
695
695
|
if (options && options.getter) name = 'get ' + name;
|
|
696
696
|
if (options && options.setter) name = 'set ' + name;
|
|
@@ -790,7 +790,8 @@ var min = Math.min;
|
|
|
790
790
|
// `ToLength` abstract operation
|
|
791
791
|
// https://tc39.es/ecma262/#sec-tolength
|
|
792
792
|
var toLength$1 = function (argument) {
|
|
793
|
-
|
|
793
|
+
var len = toIntegerOrInfinity(argument);
|
|
794
|
+
return len > 0 ? min(len, 0x1FFFFFFFFFFFFF) : 0; // 2 ** 53 - 1 == 9007199254740991
|
|
794
795
|
};
|
|
795
796
|
|
|
796
797
|
var toLength = toLength$1;
|
|
@@ -834,13 +835,13 @@ var arrayIncludes = {
|
|
|
834
835
|
indexOf: createMethod(false)
|
|
835
836
|
};
|
|
836
837
|
|
|
837
|
-
var uncurryThis$
|
|
838
|
+
var uncurryThis$7 = functionUncurryThis;
|
|
838
839
|
var hasOwn$3 = hasOwnProperty_1;
|
|
839
840
|
var toIndexedObject$1 = toIndexedObject$4;
|
|
840
841
|
var indexOf$1 = arrayIncludes.indexOf;
|
|
841
842
|
var hiddenKeys$2 = hiddenKeys$4;
|
|
842
843
|
|
|
843
|
-
var push = uncurryThis$
|
|
844
|
+
var push = uncurryThis$7([].push);
|
|
844
845
|
|
|
845
846
|
var objectKeysInternal = function (object, names) {
|
|
846
847
|
var O = toIndexedObject$1(object);
|
|
@@ -884,12 +885,12 @@ var objectGetOwnPropertySymbols = {};
|
|
|
884
885
|
objectGetOwnPropertySymbols.f = Object.getOwnPropertySymbols;
|
|
885
886
|
|
|
886
887
|
var getBuiltIn$5 = getBuiltIn$7;
|
|
887
|
-
var uncurryThis$
|
|
888
|
+
var uncurryThis$6 = functionUncurryThis;
|
|
888
889
|
var getOwnPropertyNamesModule = objectGetOwnPropertyNames;
|
|
889
890
|
var getOwnPropertySymbolsModule = objectGetOwnPropertySymbols;
|
|
890
891
|
var anObject$b = anObject$d;
|
|
891
892
|
|
|
892
|
-
var concat = uncurryThis$
|
|
893
|
+
var concat = uncurryThis$6([].concat);
|
|
893
894
|
|
|
894
895
|
// all object keys, includes non-enumerable and symbols
|
|
895
896
|
var ownKeys$1 = getBuiltIn$5('Reflect', 'ownKeys') || function ownKeys(it) {
|
|
@@ -971,7 +972,7 @@ var _export = function (options, source) {
|
|
|
971
972
|
} else if (STATIC) {
|
|
972
973
|
target = global$b[TARGET] || defineGlobalProperty(TARGET, {});
|
|
973
974
|
} else {
|
|
974
|
-
target =
|
|
975
|
+
target = global$b[TARGET] && global$b[TARGET].prototype;
|
|
975
976
|
}
|
|
976
977
|
if (target) for (key in source) {
|
|
977
978
|
sourceProperty = source[key];
|
|
@@ -998,13 +999,13 @@ var classof$5 = classofRaw$2;
|
|
|
998
999
|
|
|
999
1000
|
var engineIsNode = classof$5(global$a.process) === 'process';
|
|
1000
1001
|
|
|
1001
|
-
var uncurryThis$
|
|
1002
|
+
var uncurryThis$5 = functionUncurryThis;
|
|
1002
1003
|
var aCallable$6 = aCallable$8;
|
|
1003
1004
|
|
|
1004
1005
|
var functionUncurryThisAccessor = function (object, key, method) {
|
|
1005
1006
|
try {
|
|
1006
1007
|
// eslint-disable-next-line es/no-object-getownpropertydescriptor -- safe
|
|
1007
|
-
return uncurryThis$
|
|
1008
|
+
return uncurryThis$5(aCallable$6(Object.getOwnPropertyDescriptor(object, key)[method]));
|
|
1008
1009
|
} catch (error) { /* empty */ }
|
|
1009
1010
|
};
|
|
1010
1011
|
|
|
@@ -1139,7 +1140,7 @@ var classof$4 = TO_STRING_TAG_SUPPORT ? classofRaw$1 : function (it) {
|
|
|
1139
1140
|
: (result = classofRaw$1(O)) === 'Object' && isCallable$6(O.callee) ? 'Arguments' : result;
|
|
1140
1141
|
};
|
|
1141
1142
|
|
|
1142
|
-
var uncurryThis$
|
|
1143
|
+
var uncurryThis$4 = functionUncurryThis;
|
|
1143
1144
|
var fails$5 = fails$e;
|
|
1144
1145
|
var isCallable$5 = isCallable$h;
|
|
1145
1146
|
var classof$3 = classof$4;
|
|
@@ -1147,16 +1148,15 @@ var getBuiltIn$3 = getBuiltIn$7;
|
|
|
1147
1148
|
var inspectSource$1 = inspectSource$3;
|
|
1148
1149
|
|
|
1149
1150
|
var noop = function () { /* empty */ };
|
|
1150
|
-
var empty = [];
|
|
1151
1151
|
var construct = getBuiltIn$3('Reflect', 'construct');
|
|
1152
1152
|
var constructorRegExp = /^\s*(?:class|function)\b/;
|
|
1153
|
-
var exec$1 = uncurryThis$
|
|
1153
|
+
var exec$1 = uncurryThis$4(constructorRegExp.exec);
|
|
1154
1154
|
var INCORRECT_TO_STRING = !constructorRegExp.test(noop);
|
|
1155
1155
|
|
|
1156
1156
|
var isConstructorModern = function isConstructor(argument) {
|
|
1157
1157
|
if (!isCallable$5(argument)) return false;
|
|
1158
1158
|
try {
|
|
1159
|
-
construct(noop,
|
|
1159
|
+
construct(noop, [], argument);
|
|
1160
1160
|
return true;
|
|
1161
1161
|
} catch (error) {
|
|
1162
1162
|
return false;
|
|
@@ -1222,28 +1222,28 @@ var NATIVE_BIND$1 = functionBindNative;
|
|
|
1222
1222
|
|
|
1223
1223
|
var FunctionPrototype = Function.prototype;
|
|
1224
1224
|
var apply$1 = FunctionPrototype.apply;
|
|
1225
|
-
var call$
|
|
1225
|
+
var call$a = FunctionPrototype.call;
|
|
1226
1226
|
|
|
1227
1227
|
// eslint-disable-next-line es/no-reflect -- safe
|
|
1228
|
-
var functionApply = typeof Reflect == 'object' && Reflect.apply || (NATIVE_BIND$1 ? call$
|
|
1229
|
-
return call$
|
|
1228
|
+
var functionApply = typeof Reflect == 'object' && Reflect.apply || (NATIVE_BIND$1 ? call$a.bind(apply$1) : function () {
|
|
1229
|
+
return call$a.apply(apply$1, arguments);
|
|
1230
1230
|
});
|
|
1231
1231
|
|
|
1232
1232
|
var classofRaw = classofRaw$2;
|
|
1233
|
-
var uncurryThis$
|
|
1233
|
+
var uncurryThis$3 = functionUncurryThis;
|
|
1234
1234
|
|
|
1235
1235
|
var functionUncurryThisClause = function (fn) {
|
|
1236
1236
|
// Nashorn bug:
|
|
1237
1237
|
// https://github.com/zloirock/core-js/issues/1128
|
|
1238
1238
|
// https://github.com/zloirock/core-js/issues/1130
|
|
1239
|
-
if (classofRaw(fn) === 'Function') return uncurryThis$
|
|
1239
|
+
if (classofRaw(fn) === 'Function') return uncurryThis$3(fn);
|
|
1240
1240
|
};
|
|
1241
1241
|
|
|
1242
|
-
var uncurryThis$
|
|
1242
|
+
var uncurryThis$2 = functionUncurryThisClause;
|
|
1243
1243
|
var aCallable$5 = aCallable$8;
|
|
1244
1244
|
var NATIVE_BIND = functionBindNative;
|
|
1245
1245
|
|
|
1246
|
-
var bind$4 = uncurryThis$
|
|
1246
|
+
var bind$4 = uncurryThis$2(uncurryThis$2.bind);
|
|
1247
1247
|
|
|
1248
1248
|
// optional / simple context binding
|
|
1249
1249
|
var functionBindContext = function (fn, that) {
|
|
@@ -1257,9 +1257,9 @@ var getBuiltIn$2 = getBuiltIn$7;
|
|
|
1257
1257
|
|
|
1258
1258
|
var html$2 = getBuiltIn$2('document', 'documentElement');
|
|
1259
1259
|
|
|
1260
|
-
var uncurryThis$
|
|
1260
|
+
var uncurryThis$1 = functionUncurryThis;
|
|
1261
1261
|
|
|
1262
|
-
var arraySlice$1 = uncurryThis$
|
|
1262
|
+
var arraySlice$1 = uncurryThis$1([].slice);
|
|
1263
1263
|
|
|
1264
1264
|
var $TypeError$4 = TypeError;
|
|
1265
1265
|
|
|
@@ -1615,7 +1615,7 @@ newPromiseCapability$2.f = function (C) {
|
|
|
1615
1615
|
var $$6 = _export;
|
|
1616
1616
|
var IS_NODE = engineIsNode;
|
|
1617
1617
|
var global$4 = global$l;
|
|
1618
|
-
var call$
|
|
1618
|
+
var call$9 = functionCall;
|
|
1619
1619
|
var defineBuiltIn$2 = defineBuiltIn$4;
|
|
1620
1620
|
var setPrototypeOf = objectSetPrototypeOf;
|
|
1621
1621
|
var setToStringTag = setToStringTag$1;
|
|
@@ -1693,7 +1693,7 @@ var callReaction = function (reaction, state) {
|
|
|
1693
1693
|
if (result === reaction.promise) {
|
|
1694
1694
|
reject(new TypeError$1('Promise-chain cycle'));
|
|
1695
1695
|
} else if (then = isThenable(result)) {
|
|
1696
|
-
call$
|
|
1696
|
+
call$9(then, result, resolve, reject);
|
|
1697
1697
|
} else resolve(result);
|
|
1698
1698
|
} else reject(value);
|
|
1699
1699
|
} catch (error) {
|
|
@@ -1730,7 +1730,7 @@ var dispatchEvent = function (name, promise, reason) {
|
|
|
1730
1730
|
};
|
|
1731
1731
|
|
|
1732
1732
|
var onUnhandled = function (state) {
|
|
1733
|
-
call$
|
|
1733
|
+
call$9(task, global$4, function () {
|
|
1734
1734
|
var promise = state.facade;
|
|
1735
1735
|
var value = state.value;
|
|
1736
1736
|
var IS_UNHANDLED = isUnhandled(state);
|
|
@@ -1753,7 +1753,7 @@ var isUnhandled = function (state) {
|
|
|
1753
1753
|
};
|
|
1754
1754
|
|
|
1755
1755
|
var onHandleUnhandled = function (state) {
|
|
1756
|
-
call$
|
|
1756
|
+
call$9(task, global$4, function () {
|
|
1757
1757
|
var promise = state.facade;
|
|
1758
1758
|
if (IS_NODE) {
|
|
1759
1759
|
process.emit('rejectionHandled', promise);
|
|
@@ -1787,7 +1787,7 @@ var internalResolve = function (state, value, unwrap) {
|
|
|
1787
1787
|
microtask(function () {
|
|
1788
1788
|
var wrapper = { done: false };
|
|
1789
1789
|
try {
|
|
1790
|
-
call$
|
|
1790
|
+
call$9(then, value,
|
|
1791
1791
|
bind$1(internalResolve, wrapper, state),
|
|
1792
1792
|
bind$1(internalReject, wrapper, state)
|
|
1793
1793
|
);
|
|
@@ -1811,7 +1811,7 @@ if (FORCED_PROMISE_CONSTRUCTOR$4) {
|
|
|
1811
1811
|
PromiseConstructor = function Promise(executor) {
|
|
1812
1812
|
anInstance(this, PromisePrototype);
|
|
1813
1813
|
aCallable$3(executor);
|
|
1814
|
-
call$
|
|
1814
|
+
call$9(Internal, this);
|
|
1815
1815
|
var state = getInternalPromiseState(this);
|
|
1816
1816
|
try {
|
|
1817
1817
|
executor(bind$1(internalResolve, state), bind$1(internalReject, state));
|
|
@@ -1874,7 +1874,7 @@ if (FORCED_PROMISE_CONSTRUCTOR$4) {
|
|
|
1874
1874
|
defineBuiltIn$2(NativePromisePrototype$1, 'then', function then(onFulfilled, onRejected) {
|
|
1875
1875
|
var that = this;
|
|
1876
1876
|
return new PromiseConstructor(function (resolve, reject) {
|
|
1877
|
-
call$
|
|
1877
|
+
call$9(nativeThen, that, resolve, reject);
|
|
1878
1878
|
}).then(onFulfilled, onRejected);
|
|
1879
1879
|
// https://github.com/zloirock/core-js/issues/640
|
|
1880
1880
|
}, { unsafe: true });
|
|
@@ -1926,7 +1926,7 @@ var getIteratorMethod$2 = function (it) {
|
|
|
1926
1926
|
|| Iterators[classof$2(it)];
|
|
1927
1927
|
};
|
|
1928
1928
|
|
|
1929
|
-
var call$
|
|
1929
|
+
var call$8 = functionCall;
|
|
1930
1930
|
var aCallable$2 = aCallable$8;
|
|
1931
1931
|
var anObject$8 = anObject$d;
|
|
1932
1932
|
var tryToString$1 = tryToString$4;
|
|
@@ -1936,11 +1936,11 @@ var $TypeError$2 = TypeError;
|
|
|
1936
1936
|
|
|
1937
1937
|
var getIterator$1 = function (argument, usingIterator) {
|
|
1938
1938
|
var iteratorMethod = arguments.length < 2 ? getIteratorMethod$1(argument) : usingIterator;
|
|
1939
|
-
if (aCallable$2(iteratorMethod)) return anObject$8(call$
|
|
1939
|
+
if (aCallable$2(iteratorMethod)) return anObject$8(call$8(iteratorMethod, argument));
|
|
1940
1940
|
throw new $TypeError$2(tryToString$1(argument) + ' is not iterable');
|
|
1941
1941
|
};
|
|
1942
1942
|
|
|
1943
|
-
var call$
|
|
1943
|
+
var call$7 = functionCall;
|
|
1944
1944
|
var anObject$7 = anObject$d;
|
|
1945
1945
|
var getMethod$1 = getMethod$4;
|
|
1946
1946
|
|
|
@@ -1953,7 +1953,7 @@ var iteratorClose$1 = function (iterator, kind, value) {
|
|
|
1953
1953
|
if (kind === 'throw') throw value;
|
|
1954
1954
|
return value;
|
|
1955
1955
|
}
|
|
1956
|
-
innerResult = call$
|
|
1956
|
+
innerResult = call$7(innerResult, iterator);
|
|
1957
1957
|
} catch (error) {
|
|
1958
1958
|
innerError = true;
|
|
1959
1959
|
innerResult = error;
|
|
@@ -1965,7 +1965,7 @@ var iteratorClose$1 = function (iterator, kind, value) {
|
|
|
1965
1965
|
};
|
|
1966
1966
|
|
|
1967
1967
|
var bind = functionBindContext;
|
|
1968
|
-
var call$
|
|
1968
|
+
var call$6 = functionCall;
|
|
1969
1969
|
var anObject$6 = anObject$d;
|
|
1970
1970
|
var tryToString = tryToString$4;
|
|
1971
1971
|
var isArrayIteratorMethod = isArrayIteratorMethod$1;
|
|
@@ -2023,7 +2023,7 @@ var iterate$2 = function (iterable, unboundFunction, options) {
|
|
|
2023
2023
|
}
|
|
2024
2024
|
|
|
2025
2025
|
next = IS_RECORD ? iterable.next : iterator.next;
|
|
2026
|
-
while (!(step = call$
|
|
2026
|
+
while (!(step = call$6(next, iterator)).done) {
|
|
2027
2027
|
try {
|
|
2028
2028
|
result = callFn(step.value);
|
|
2029
2029
|
} catch (error) {
|
|
@@ -2083,7 +2083,7 @@ var promiseStaticsIncorrectIteration = FORCED_PROMISE_CONSTRUCTOR$3 || !checkCor
|
|
|
2083
2083
|
});
|
|
2084
2084
|
|
|
2085
2085
|
var $$5 = _export;
|
|
2086
|
-
var call$
|
|
2086
|
+
var call$5 = functionCall;
|
|
2087
2087
|
var aCallable$1 = aCallable$8;
|
|
2088
2088
|
var newPromiseCapabilityModule$2 = newPromiseCapability$2;
|
|
2089
2089
|
var perform$1 = perform$3;
|
|
@@ -2107,7 +2107,7 @@ $$5({ target: 'Promise', stat: true, forced: PROMISE_STATICS_INCORRECT_ITERATION
|
|
|
2107
2107
|
var index = counter++;
|
|
2108
2108
|
var alreadyCalled = false;
|
|
2109
2109
|
remaining++;
|
|
2110
|
-
call$
|
|
2110
|
+
call$5($promiseResolve, C, promise).then(function (value) {
|
|
2111
2111
|
if (alreadyCalled) return;
|
|
2112
2112
|
alreadyCalled = true;
|
|
2113
2113
|
values[index] = value;
|
|
@@ -2147,7 +2147,7 @@ if (isCallable$1(NativePromiseConstructor)) {
|
|
|
2147
2147
|
}
|
|
2148
2148
|
|
|
2149
2149
|
var $$3 = _export;
|
|
2150
|
-
var call$
|
|
2150
|
+
var call$4 = functionCall;
|
|
2151
2151
|
var aCallable = aCallable$8;
|
|
2152
2152
|
var newPromiseCapabilityModule$1 = newPromiseCapability$2;
|
|
2153
2153
|
var perform = perform$3;
|
|
@@ -2164,7 +2164,7 @@ $$3({ target: 'Promise', stat: true, forced: PROMISE_STATICS_INCORRECT_ITERATION
|
|
|
2164
2164
|
var result = perform(function () {
|
|
2165
2165
|
var $promiseResolve = aCallable(C.resolve);
|
|
2166
2166
|
iterate(iterable, function (promise) {
|
|
2167
|
-
call$
|
|
2167
|
+
call$4($promiseResolve, C, promise).then(capability.resolve, reject);
|
|
2168
2168
|
});
|
|
2169
2169
|
});
|
|
2170
2170
|
if (result.error) reject(result.value);
|
|
@@ -2523,8 +2523,8 @@ var regexpUnsupportedNcg = fails$1(function () {
|
|
|
2523
2523
|
|
|
2524
2524
|
/* eslint-disable regexp/no-empty-capturing-group, regexp/no-empty-group, regexp/no-lazy-ends -- testing */
|
|
2525
2525
|
/* eslint-disable regexp/no-useless-quantifier -- testing */
|
|
2526
|
-
var call$
|
|
2527
|
-
var uncurryThis
|
|
2526
|
+
var call$3 = functionCall;
|
|
2527
|
+
var uncurryThis = functionUncurryThis;
|
|
2528
2528
|
var toString$1 = toString$2;
|
|
2529
2529
|
var regexpFlags = regexpFlags$1;
|
|
2530
2530
|
var stickyHelpers = regexpStickyHelpers;
|
|
@@ -2537,16 +2537,16 @@ var UNSUPPORTED_NCG = regexpUnsupportedNcg;
|
|
|
2537
2537
|
var nativeReplace = shared('native-string-replace', String.prototype.replace);
|
|
2538
2538
|
var nativeExec = RegExp.prototype.exec;
|
|
2539
2539
|
var patchedExec = nativeExec;
|
|
2540
|
-
var charAt = uncurryThis
|
|
2541
|
-
var indexOf = uncurryThis
|
|
2542
|
-
var replace = uncurryThis
|
|
2543
|
-
var stringSlice = uncurryThis
|
|
2540
|
+
var charAt = uncurryThis(''.charAt);
|
|
2541
|
+
var indexOf = uncurryThis(''.indexOf);
|
|
2542
|
+
var replace = uncurryThis(''.replace);
|
|
2543
|
+
var stringSlice = uncurryThis(''.slice);
|
|
2544
2544
|
|
|
2545
2545
|
var UPDATES_LAST_INDEX_WRONG = (function () {
|
|
2546
2546
|
var re1 = /a/;
|
|
2547
2547
|
var re2 = /b*/g;
|
|
2548
|
-
call$
|
|
2549
|
-
call$
|
|
2548
|
+
call$3(nativeExec, re1, 'a');
|
|
2549
|
+
call$3(nativeExec, re2, 'a');
|
|
2550
2550
|
return re1.lastIndex !== 0 || re2.lastIndex !== 0;
|
|
2551
2551
|
})();
|
|
2552
2552
|
|
|
@@ -2567,14 +2567,14 @@ if (PATCH) {
|
|
|
2567
2567
|
|
|
2568
2568
|
if (raw) {
|
|
2569
2569
|
raw.lastIndex = re.lastIndex;
|
|
2570
|
-
result = call$
|
|
2570
|
+
result = call$3(patchedExec, raw, str);
|
|
2571
2571
|
re.lastIndex = raw.lastIndex;
|
|
2572
2572
|
return result;
|
|
2573
2573
|
}
|
|
2574
2574
|
|
|
2575
2575
|
var groups = state.groups;
|
|
2576
2576
|
var sticky = UNSUPPORTED_Y && re.sticky;
|
|
2577
|
-
var flags = call$
|
|
2577
|
+
var flags = call$3(regexpFlags, re);
|
|
2578
2578
|
var source = re.source;
|
|
2579
2579
|
var charsAdded = 0;
|
|
2580
2580
|
var strCopy = str;
|
|
@@ -2602,7 +2602,7 @@ if (PATCH) {
|
|
|
2602
2602
|
}
|
|
2603
2603
|
if (UPDATES_LAST_INDEX_WRONG) lastIndex = re.lastIndex;
|
|
2604
2604
|
|
|
2605
|
-
match = call$
|
|
2605
|
+
match = call$3(nativeExec, sticky ? reCopy : re, strCopy);
|
|
2606
2606
|
|
|
2607
2607
|
if (sticky) {
|
|
2608
2608
|
if (match) {
|
|
@@ -2617,7 +2617,7 @@ if (PATCH) {
|
|
|
2617
2617
|
if (NPCG_INCLUDED && match && match.length > 1) {
|
|
2618
2618
|
// Fix browsers whose `exec` methods don't consistently return `undefined`
|
|
2619
2619
|
// for NPCG, like IE8. NOTE: This doesn't work for /(.?)?/
|
|
2620
|
-
call$
|
|
2620
|
+
call$3(nativeReplace, match[0], reCopy, function () {
|
|
2621
2621
|
for (i = 1; i < arguments.length - 2; i++) {
|
|
2622
2622
|
if (arguments[i] === undefined) match[i] = undefined;
|
|
2623
2623
|
}
|
|
@@ -2649,7 +2649,7 @@ $({ target: 'RegExp', proto: true, forced: /./.exec !== exec }, {
|
|
|
2649
2649
|
|
|
2650
2650
|
// TODO: Remove from `core-js@4` since it's moved to entry points
|
|
2651
2651
|
|
|
2652
|
-
var
|
|
2652
|
+
var call$2 = functionCall;
|
|
2653
2653
|
var defineBuiltIn = defineBuiltIn$4;
|
|
2654
2654
|
var regexpExec$1 = regexpExec$2;
|
|
2655
2655
|
var fails = fails$e;
|
|
@@ -2663,7 +2663,7 @@ var fixRegexpWellKnownSymbolLogic = function (KEY, exec, FORCED, SHAM) {
|
|
|
2663
2663
|
var SYMBOL = wellKnownSymbol(KEY);
|
|
2664
2664
|
|
|
2665
2665
|
var DELEGATES_TO_SYMBOL = !fails(function () {
|
|
2666
|
-
// String methods call symbol-named
|
|
2666
|
+
// String methods call symbol-named RegExp methods
|
|
2667
2667
|
var O = {};
|
|
2668
2668
|
O[SYMBOL] = function () { return 7; };
|
|
2669
2669
|
return ''[KEY](O) !== 7;
|
|
@@ -2701,18 +2701,17 @@ var fixRegexpWellKnownSymbolLogic = function (KEY, exec, FORCED, SHAM) {
|
|
|
2701
2701
|
!DELEGATES_TO_EXEC ||
|
|
2702
2702
|
FORCED
|
|
2703
2703
|
) {
|
|
2704
|
-
var
|
|
2704
|
+
var nativeRegExpMethod = /./[SYMBOL];
|
|
2705
2705
|
var methods = exec(SYMBOL, ''[KEY], function (nativeMethod, regexp, str, arg2, forceStringMethod) {
|
|
2706
|
-
var uncurriedNativeMethod = uncurryThis(nativeMethod);
|
|
2707
2706
|
var $exec = regexp.exec;
|
|
2708
2707
|
if ($exec === regexpExec$1 || $exec === RegExpPrototype.exec) {
|
|
2709
2708
|
if (DELEGATES_TO_SYMBOL && !forceStringMethod) {
|
|
2710
2709
|
// The native String method already delegates to @@method (this
|
|
2711
2710
|
// polyfilled function), leasing to infinite recursion.
|
|
2712
2711
|
// We avoid it by directly calling the native @@method method.
|
|
2713
|
-
return { done: true, value:
|
|
2712
|
+
return { done: true, value: call$2(nativeRegExpMethod, regexp, str, arg2) };
|
|
2714
2713
|
}
|
|
2715
|
-
return { done: true, value:
|
|
2714
|
+
return { done: true, value: call$2(nativeMethod, str, regexp, arg2) };
|
|
2716
2715
|
}
|
|
2717
2716
|
return { done: false };
|
|
2718
2717
|
});
|