@trackunit/react-core-hooks 0.0.66 → 0.0.68
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 +163 -117
- package/package.json +6 -6
package/index.js
CHANGED
|
@@ -18,7 +18,7 @@ var fails$f = function (exec) {
|
|
|
18
18
|
var fails$e = fails$f;
|
|
19
19
|
|
|
20
20
|
var functionBindNative = !fails$e(function () {
|
|
21
|
-
// eslint-disable-next-line es
|
|
21
|
+
// eslint-disable-next-line es/no-function-prototype-bind -- safe
|
|
22
22
|
var test = (function () { /* empty */ }).bind();
|
|
23
23
|
// eslint-disable-next-line no-prototype-builtins -- safe
|
|
24
24
|
return typeof test != 'function' || test.hasOwnProperty('prototype');
|
|
@@ -27,33 +27,40 @@ var functionBindNative = !fails$e(function () {
|
|
|
27
27
|
var NATIVE_BIND$1 = functionBindNative;
|
|
28
28
|
|
|
29
29
|
var FunctionPrototype$1 = Function.prototype;
|
|
30
|
-
var bind = FunctionPrototype$1.bind;
|
|
31
30
|
var call$9 = FunctionPrototype$1.call;
|
|
32
|
-
var
|
|
31
|
+
var uncurryThisWithBind = NATIVE_BIND$1 && FunctionPrototype$1.bind.bind(call$9, call$9);
|
|
33
32
|
|
|
34
|
-
var
|
|
35
|
-
return
|
|
36
|
-
} : function (fn) {
|
|
37
|
-
return fn && function () {
|
|
33
|
+
var functionUncurryThisRaw = function (fn) {
|
|
34
|
+
return NATIVE_BIND$1 ? uncurryThisWithBind(fn) : function () {
|
|
38
35
|
return call$9.apply(fn, arguments);
|
|
39
36
|
};
|
|
40
37
|
};
|
|
41
38
|
|
|
42
|
-
var
|
|
39
|
+
var uncurryThisRaw$1 = functionUncurryThisRaw;
|
|
43
40
|
|
|
44
|
-
var toString$4 =
|
|
45
|
-
var stringSlice$1 =
|
|
41
|
+
var toString$4 = uncurryThisRaw$1({}.toString);
|
|
42
|
+
var stringSlice$1 = uncurryThisRaw$1(''.slice);
|
|
46
43
|
|
|
47
|
-
var classofRaw$
|
|
44
|
+
var classofRaw$2 = function (it) {
|
|
48
45
|
return stringSlice$1(toString$4(it), 8, -1);
|
|
49
46
|
};
|
|
50
47
|
|
|
51
|
-
var
|
|
48
|
+
var classofRaw$1 = classofRaw$2;
|
|
49
|
+
var uncurryThisRaw = functionUncurryThisRaw;
|
|
50
|
+
|
|
51
|
+
var functionUncurryThis = function (fn) {
|
|
52
|
+
// Nashorn bug:
|
|
53
|
+
// https://github.com/zloirock/core-js/issues/1128
|
|
54
|
+
// https://github.com/zloirock/core-js/issues/1130
|
|
55
|
+
if (classofRaw$1(fn) === 'Function') return uncurryThisRaw(fn);
|
|
56
|
+
};
|
|
57
|
+
|
|
58
|
+
var uncurryThis$a = functionUncurryThis;
|
|
52
59
|
var fails$d = fails$f;
|
|
53
|
-
var classof$3 = classofRaw$
|
|
60
|
+
var classof$3 = classofRaw$2;
|
|
54
61
|
|
|
55
62
|
var $Object$4 = Object;
|
|
56
|
-
var split = uncurryThis$
|
|
63
|
+
var split = uncurryThis$a(''.split);
|
|
57
64
|
|
|
58
65
|
// fallback for non-array-like ES3 and non-enumerable old V8 strings
|
|
59
66
|
var indexedObject = fails$d(function () {
|
|
@@ -64,12 +71,20 @@ var indexedObject = fails$d(function () {
|
|
|
64
71
|
return classof$3(it) == 'String' ? split(it, '') : $Object$4(it);
|
|
65
72
|
} : $Object$4;
|
|
66
73
|
|
|
74
|
+
// we can't use just `it == null` since of `document.all` special case
|
|
75
|
+
// https://tc39.es/ecma262/#sec-IsHTMLDDA-internal-slot-aec
|
|
76
|
+
var isNullOrUndefined$3 = function (it) {
|
|
77
|
+
return it === null || it === undefined;
|
|
78
|
+
};
|
|
79
|
+
|
|
80
|
+
var isNullOrUndefined$2 = isNullOrUndefined$3;
|
|
81
|
+
|
|
67
82
|
var $TypeError$7 = TypeError;
|
|
68
83
|
|
|
69
84
|
// `RequireObjectCoercible` abstract operation
|
|
70
85
|
// https://tc39.es/ecma262/#sec-requireobjectcoercible
|
|
71
86
|
var requireObjectCoercible$3 = function (it) {
|
|
72
|
-
if (it
|
|
87
|
+
if (isNullOrUndefined$2(it)) throw $TypeError$7("Can't call method on " + it);
|
|
73
88
|
return it;
|
|
74
89
|
};
|
|
75
90
|
|
|
@@ -87,7 +102,7 @@ var check = function (it) {
|
|
|
87
102
|
|
|
88
103
|
// https://github.com/zloirock/core-js/issues/86#issuecomment-115759028
|
|
89
104
|
var global$e =
|
|
90
|
-
// eslint-disable-next-line es
|
|
105
|
+
// eslint-disable-next-line es/no-global-this -- safe
|
|
91
106
|
check(typeof globalThis == 'object' && globalThis) ||
|
|
92
107
|
check(typeof window == 'object' && window) ||
|
|
93
108
|
// eslint-disable-next-line no-restricted-globals -- safe
|
|
@@ -100,7 +115,7 @@ var shared$4 = {exports: {}};
|
|
|
100
115
|
|
|
101
116
|
var global$d = global$e;
|
|
102
117
|
|
|
103
|
-
// eslint-disable-next-line es
|
|
118
|
+
// eslint-disable-next-line es/no-object-defineproperty -- safe
|
|
104
119
|
var defineProperty$5 = Object.defineProperty;
|
|
105
120
|
|
|
106
121
|
var defineGlobalProperty$3 = function (key, value) {
|
|
@@ -124,10 +139,10 @@ var store$2 = sharedStore;
|
|
|
124
139
|
(shared$4.exports = function (key, value) {
|
|
125
140
|
return store$2[key] || (store$2[key] = value !== undefined ? value : {});
|
|
126
141
|
})('versions', []).push({
|
|
127
|
-
version: '3.
|
|
142
|
+
version: '3.25.5',
|
|
128
143
|
mode: 'global',
|
|
129
144
|
copyright: '© 2014-2022 Denis Pushkarev (zloirock.ru)',
|
|
130
|
-
license: 'https://github.com/zloirock/core-js/blob/v3.
|
|
145
|
+
license: 'https://github.com/zloirock/core-js/blob/v3.25.5/LICENSE',
|
|
131
146
|
source: 'https://github.com/zloirock/core-js'
|
|
132
147
|
});
|
|
133
148
|
|
|
@@ -141,31 +156,47 @@ var toObject$3 = function (argument) {
|
|
|
141
156
|
return $Object$3(requireObjectCoercible$1(argument));
|
|
142
157
|
};
|
|
143
158
|
|
|
144
|
-
var uncurryThis$
|
|
159
|
+
var uncurryThis$9 = functionUncurryThis;
|
|
145
160
|
var toObject$2 = toObject$3;
|
|
146
161
|
|
|
147
|
-
var hasOwnProperty = uncurryThis$
|
|
162
|
+
var hasOwnProperty = uncurryThis$9({}.hasOwnProperty);
|
|
148
163
|
|
|
149
164
|
// `HasOwnProperty` abstract operation
|
|
150
165
|
// https://tc39.es/ecma262/#sec-hasownproperty
|
|
151
|
-
// eslint-disable-next-line es
|
|
166
|
+
// eslint-disable-next-line es/no-object-hasown -- safe
|
|
152
167
|
var hasOwnProperty_1 = Object.hasOwn || function hasOwn(it, key) {
|
|
153
168
|
return hasOwnProperty(toObject$2(it), key);
|
|
154
169
|
};
|
|
155
170
|
|
|
156
|
-
var uncurryThis$
|
|
171
|
+
var uncurryThis$8 = functionUncurryThis;
|
|
157
172
|
|
|
158
173
|
var id = 0;
|
|
159
174
|
var postfix = Math.random();
|
|
160
|
-
var toString$3 = uncurryThis$
|
|
175
|
+
var toString$3 = uncurryThis$8(1.0.toString);
|
|
161
176
|
|
|
162
177
|
var uid$2 = function (key) {
|
|
163
178
|
return 'Symbol(' + (key === undefined ? '' : key) + ')_' + toString$3(++id + postfix, 36);
|
|
164
179
|
};
|
|
165
180
|
|
|
181
|
+
var documentAll$2 = typeof document == 'object' && document.all;
|
|
182
|
+
|
|
183
|
+
// https://tc39.es/ecma262/#sec-IsHTMLDDA-internal-slot
|
|
184
|
+
var IS_HTMLDDA = typeof documentAll$2 == 'undefined' && documentAll$2 !== undefined;
|
|
185
|
+
|
|
186
|
+
var documentAll_1 = {
|
|
187
|
+
all: documentAll$2,
|
|
188
|
+
IS_HTMLDDA: IS_HTMLDDA
|
|
189
|
+
};
|
|
190
|
+
|
|
191
|
+
var $documentAll$1 = documentAll_1;
|
|
192
|
+
|
|
193
|
+
var documentAll$1 = $documentAll$1.all;
|
|
194
|
+
|
|
166
195
|
// `IsCallable` abstract operation
|
|
167
196
|
// https://tc39.es/ecma262/#sec-iscallable
|
|
168
|
-
var isCallable$g = function (argument) {
|
|
197
|
+
var isCallable$g = $documentAll$1.IS_HTMLDDA ? function (argument) {
|
|
198
|
+
return typeof argument == 'function' || argument === documentAll$1;
|
|
199
|
+
} : function (argument) {
|
|
169
200
|
return typeof argument == 'function';
|
|
170
201
|
};
|
|
171
202
|
|
|
@@ -212,13 +243,13 @@ if (!version && userAgent) {
|
|
|
212
243
|
|
|
213
244
|
var engineV8Version = version;
|
|
214
245
|
|
|
215
|
-
/* eslint-disable es
|
|
246
|
+
/* eslint-disable es/no-symbol -- required for testing */
|
|
216
247
|
|
|
217
248
|
var V8_VERSION = engineV8Version;
|
|
218
249
|
var fails$c = fails$f;
|
|
219
250
|
|
|
220
|
-
// eslint-disable-next-line es
|
|
221
|
-
var
|
|
251
|
+
// eslint-disable-next-line es/no-object-getownpropertysymbols -- required for testing
|
|
252
|
+
var symbolConstructorDetection = !!Object.getOwnPropertySymbols && !fails$c(function () {
|
|
222
253
|
var symbol = Symbol();
|
|
223
254
|
// Chrome 38 Symbol has incorrect toString conversion
|
|
224
255
|
// `get-own-property-symbols` polyfill symbols converted to object are not Symbol instances
|
|
@@ -227,9 +258,9 @@ var nativeSymbol = !!Object.getOwnPropertySymbols && !fails$c(function () {
|
|
|
227
258
|
!Symbol.sham && V8_VERSION && V8_VERSION < 41;
|
|
228
259
|
});
|
|
229
260
|
|
|
230
|
-
/* eslint-disable es
|
|
261
|
+
/* eslint-disable es/no-symbol -- required for testing */
|
|
231
262
|
|
|
232
|
-
var NATIVE_SYMBOL$1 =
|
|
263
|
+
var NATIVE_SYMBOL$1 = symbolConstructorDetection;
|
|
233
264
|
|
|
234
265
|
var useSymbolAsUid = NATIVE_SYMBOL$1
|
|
235
266
|
&& !Symbol.sham
|
|
@@ -239,7 +270,7 @@ var global$9 = global$e;
|
|
|
239
270
|
var shared$3 = shared$4.exports;
|
|
240
271
|
var hasOwn$8 = hasOwnProperty_1;
|
|
241
272
|
var uid$1 = uid$2;
|
|
242
|
-
var NATIVE_SYMBOL =
|
|
273
|
+
var NATIVE_SYMBOL = symbolConstructorDetection;
|
|
243
274
|
var USE_SYMBOL_AS_UID$1 = useSymbolAsUid;
|
|
244
275
|
|
|
245
276
|
var WellKnownSymbolsStore = shared$3('wks');
|
|
@@ -261,19 +292,24 @@ var wellKnownSymbol$9 = function (name) {
|
|
|
261
292
|
};
|
|
262
293
|
|
|
263
294
|
var isCallable$e = isCallable$g;
|
|
295
|
+
var $documentAll = documentAll_1;
|
|
296
|
+
|
|
297
|
+
var documentAll = $documentAll.all;
|
|
264
298
|
|
|
265
|
-
var isObject$
|
|
299
|
+
var isObject$6 = $documentAll.IS_HTMLDDA ? function (it) {
|
|
300
|
+
return typeof it == 'object' ? it !== null : isCallable$e(it) || it === documentAll;
|
|
301
|
+
} : function (it) {
|
|
266
302
|
return typeof it == 'object' ? it !== null : isCallable$e(it);
|
|
267
303
|
};
|
|
268
304
|
|
|
269
|
-
var isObject$
|
|
305
|
+
var isObject$5 = isObject$6;
|
|
270
306
|
|
|
271
307
|
var $String$3 = String;
|
|
272
308
|
var $TypeError$6 = TypeError;
|
|
273
309
|
|
|
274
310
|
// `Assert: Type(argument) is Object`
|
|
275
311
|
var anObject$8 = function (argument) {
|
|
276
|
-
if (isObject$
|
|
312
|
+
if (isObject$5(argument)) return argument;
|
|
277
313
|
throw $TypeError$6($String$3(argument) + ' is not an object');
|
|
278
314
|
};
|
|
279
315
|
|
|
@@ -283,7 +319,7 @@ var fails$b = fails$f;
|
|
|
283
319
|
|
|
284
320
|
// Detect IE8's incomplete defineProperty implementation
|
|
285
321
|
var descriptors = !fails$b(function () {
|
|
286
|
-
// eslint-disable-next-line es
|
|
322
|
+
// eslint-disable-next-line es/no-object-defineproperty -- required for testing
|
|
287
323
|
return Object.defineProperty({}, 1, { get: function () { return 7; } })[1] != 7;
|
|
288
324
|
});
|
|
289
325
|
|
|
@@ -293,7 +329,7 @@ var fails$a = fails$f;
|
|
|
293
329
|
// V8 ~ Chrome 36-
|
|
294
330
|
// https://bugs.chromium.org/p/v8/issues/detail?id=3334
|
|
295
331
|
var v8PrototypeDefineBug = DESCRIPTORS$9 && fails$a(function () {
|
|
296
|
-
// eslint-disable-next-line es
|
|
332
|
+
// eslint-disable-next-line es/no-object-defineproperty -- required for testing
|
|
297
333
|
return Object.defineProperty(function () { /* empty */ }, 'prototype', {
|
|
298
334
|
value: 42,
|
|
299
335
|
writable: false
|
|
@@ -303,11 +339,11 @@ var v8PrototypeDefineBug = DESCRIPTORS$9 && fails$a(function () {
|
|
|
303
339
|
var objectDefineProperty = {};
|
|
304
340
|
|
|
305
341
|
var global$8 = global$e;
|
|
306
|
-
var isObject$
|
|
342
|
+
var isObject$4 = isObject$6;
|
|
307
343
|
|
|
308
344
|
var document$1 = global$8.document;
|
|
309
345
|
// typeof document.createElement is 'object' in old IE
|
|
310
|
-
var EXISTS$1 = isObject$
|
|
346
|
+
var EXISTS$1 = isObject$4(document$1) && isObject$4(document$1.createElement);
|
|
311
347
|
|
|
312
348
|
var documentCreateElement$2 = function (it) {
|
|
313
349
|
return EXISTS$1 ? document$1.createElement(it) : {};
|
|
@@ -319,7 +355,7 @@ var createElement = documentCreateElement$2;
|
|
|
319
355
|
|
|
320
356
|
// Thanks to IE8 for its funny defineProperty
|
|
321
357
|
var ie8DomDefine = !DESCRIPTORS$8 && !fails$9(function () {
|
|
322
|
-
// eslint-disable-next-line es
|
|
358
|
+
// eslint-disable-next-line es/no-object-defineproperty -- required for testing
|
|
323
359
|
return Object.defineProperty(createElement('div'), 'a', {
|
|
324
360
|
get: function () { return 7; }
|
|
325
361
|
}).a != 7;
|
|
@@ -333,9 +369,9 @@ var functionCall = NATIVE_BIND ? call$8.bind(call$8) : function () {
|
|
|
333
369
|
return call$8.apply(call$8, arguments);
|
|
334
370
|
};
|
|
335
371
|
|
|
336
|
-
var uncurryThis$
|
|
372
|
+
var uncurryThis$7 = functionUncurryThis;
|
|
337
373
|
|
|
338
|
-
var objectIsPrototypeOf = uncurryThis$
|
|
374
|
+
var objectIsPrototypeOf = uncurryThis$7({}.isPrototypeOf);
|
|
339
375
|
|
|
340
376
|
var getBuiltIn$2 = getBuiltIn$4;
|
|
341
377
|
var isCallable$d = isCallable$g;
|
|
@@ -373,17 +409,18 @@ var aCallable$1 = function (argument) {
|
|
|
373
409
|
};
|
|
374
410
|
|
|
375
411
|
var aCallable = aCallable$1;
|
|
412
|
+
var isNullOrUndefined$1 = isNullOrUndefined$3;
|
|
376
413
|
|
|
377
414
|
// `GetMethod` abstract operation
|
|
378
415
|
// https://tc39.es/ecma262/#sec-getmethod
|
|
379
416
|
var getMethod$2 = function (V, P) {
|
|
380
417
|
var func = V[P];
|
|
381
|
-
return func
|
|
418
|
+
return isNullOrUndefined$1(func) ? undefined : aCallable(func);
|
|
382
419
|
};
|
|
383
420
|
|
|
384
421
|
var call$7 = functionCall;
|
|
385
422
|
var isCallable$b = isCallable$g;
|
|
386
|
-
var isObject$
|
|
423
|
+
var isObject$3 = isObject$6;
|
|
387
424
|
|
|
388
425
|
var $TypeError$4 = TypeError;
|
|
389
426
|
|
|
@@ -391,14 +428,14 @@ var $TypeError$4 = TypeError;
|
|
|
391
428
|
// https://tc39.es/ecma262/#sec-ordinarytoprimitive
|
|
392
429
|
var ordinaryToPrimitive$1 = function (input, pref) {
|
|
393
430
|
var fn, val;
|
|
394
|
-
if (pref === 'string' && isCallable$b(fn = input.toString) && !isObject$
|
|
395
|
-
if (isCallable$b(fn = input.valueOf) && !isObject$
|
|
396
|
-
if (pref !== 'string' && isCallable$b(fn = input.toString) && !isObject$
|
|
431
|
+
if (pref === 'string' && isCallable$b(fn = input.toString) && !isObject$3(val = call$7(fn, input))) return val;
|
|
432
|
+
if (isCallable$b(fn = input.valueOf) && !isObject$3(val = call$7(fn, input))) return val;
|
|
433
|
+
if (pref !== 'string' && isCallable$b(fn = input.toString) && !isObject$3(val = call$7(fn, input))) return val;
|
|
397
434
|
throw $TypeError$4("Can't convert object to primitive value");
|
|
398
435
|
};
|
|
399
436
|
|
|
400
437
|
var call$6 = functionCall;
|
|
401
|
-
var isObject$
|
|
438
|
+
var isObject$2 = isObject$6;
|
|
402
439
|
var isSymbol$1 = isSymbol$2;
|
|
403
440
|
var getMethod$1 = getMethod$2;
|
|
404
441
|
var ordinaryToPrimitive = ordinaryToPrimitive$1;
|
|
@@ -410,13 +447,13 @@ var TO_PRIMITIVE = wellKnownSymbol$8('toPrimitive');
|
|
|
410
447
|
// `ToPrimitive` abstract operation
|
|
411
448
|
// https://tc39.es/ecma262/#sec-toprimitive
|
|
412
449
|
var toPrimitive$1 = function (input, pref) {
|
|
413
|
-
if (!isObject$
|
|
450
|
+
if (!isObject$2(input) || isSymbol$1(input)) return input;
|
|
414
451
|
var exoticToPrim = getMethod$1(input, TO_PRIMITIVE);
|
|
415
452
|
var result;
|
|
416
453
|
if (exoticToPrim) {
|
|
417
454
|
if (pref === undefined) pref = 'default';
|
|
418
455
|
result = call$6(exoticToPrim, input, pref);
|
|
419
|
-
if (!isObject$
|
|
456
|
+
if (!isObject$2(result) || isSymbol$1(result)) return result;
|
|
420
457
|
throw $TypeError$3("Can't convert object to primitive value");
|
|
421
458
|
}
|
|
422
459
|
if (pref === undefined) pref = 'number';
|
|
@@ -440,9 +477,9 @@ var anObject$7 = anObject$8;
|
|
|
440
477
|
var toPropertyKey$1 = toPropertyKey$2;
|
|
441
478
|
|
|
442
479
|
var $TypeError$2 = TypeError;
|
|
443
|
-
// eslint-disable-next-line es
|
|
480
|
+
// eslint-disable-next-line es/no-object-defineproperty -- safe
|
|
444
481
|
var $defineProperty = Object.defineProperty;
|
|
445
|
-
// eslint-disable-next-line es
|
|
482
|
+
// eslint-disable-next-line es/no-object-getownpropertydescriptor -- safe
|
|
446
483
|
var $getOwnPropertyDescriptor$1 = Object.getOwnPropertyDescriptor;
|
|
447
484
|
var ENUMERABLE = 'enumerable';
|
|
448
485
|
var CONFIGURABLE$1 = 'configurable';
|
|
@@ -482,7 +519,7 @@ var floor = Math.floor;
|
|
|
482
519
|
|
|
483
520
|
// `Math.trunc` method
|
|
484
521
|
// https://tc39.es/ecma262/#sec-math.trunc
|
|
485
|
-
// eslint-disable-next-line es
|
|
522
|
+
// eslint-disable-next-line es/no-math-trunc -- safe
|
|
486
523
|
var mathTrunc = Math.trunc || function trunc(x) {
|
|
487
524
|
var n = +x;
|
|
488
525
|
return (n > 0 ? floor : ceil)(n);
|
|
@@ -564,13 +601,13 @@ var arrayIncludes = {
|
|
|
564
601
|
|
|
565
602
|
var hiddenKeys$4 = {};
|
|
566
603
|
|
|
567
|
-
var uncurryThis$
|
|
604
|
+
var uncurryThis$6 = functionUncurryThis;
|
|
568
605
|
var hasOwn$7 = hasOwnProperty_1;
|
|
569
606
|
var toIndexedObject$3 = toIndexedObject$5;
|
|
570
607
|
var indexOf$1 = arrayIncludes.indexOf;
|
|
571
608
|
var hiddenKeys$3 = hiddenKeys$4;
|
|
572
609
|
|
|
573
|
-
var push = uncurryThis$
|
|
610
|
+
var push = uncurryThis$6([].push);
|
|
574
611
|
|
|
575
612
|
var objectKeysInternal = function (object, names) {
|
|
576
613
|
var O = toIndexedObject$3(object);
|
|
@@ -601,7 +638,7 @@ var enumBugKeys$2 = enumBugKeys$3;
|
|
|
601
638
|
|
|
602
639
|
// `Object.keys` method
|
|
603
640
|
// https://tc39.es/ecma262/#sec-object.keys
|
|
604
|
-
// eslint-disable-next-line es
|
|
641
|
+
// eslint-disable-next-line es/no-object-keys -- safe
|
|
605
642
|
var objectKeys$2 = Object.keys || function keys(O) {
|
|
606
643
|
return internalObjectKeys$1(O, enumBugKeys$2);
|
|
607
644
|
};
|
|
@@ -615,7 +652,7 @@ var objectKeys$1 = objectKeys$2;
|
|
|
615
652
|
|
|
616
653
|
// `Object.defineProperties` method
|
|
617
654
|
// https://tc39.es/ecma262/#sec-object.defineproperties
|
|
618
|
-
// eslint-disable-next-line es
|
|
655
|
+
// eslint-disable-next-line es/no-object-defineproperties -- safe
|
|
619
656
|
objectDefineProperties.f = DESCRIPTORS$6 && !V8_PROTOTYPE_DEFINE_BUG ? Object.defineProperties : function defineProperties(O, Properties) {
|
|
620
657
|
anObject$6(O);
|
|
621
658
|
var props = toIndexedObject$2(Properties);
|
|
@@ -712,7 +749,7 @@ hiddenKeys$2[IE_PROTO$1] = true;
|
|
|
712
749
|
|
|
713
750
|
// `Object.create` method
|
|
714
751
|
// https://tc39.es/ecma262/#sec-object.create
|
|
715
|
-
// eslint-disable-next-line es
|
|
752
|
+
// eslint-disable-next-line es/no-object-create -- safe
|
|
716
753
|
var objectCreate = Object.create || function create(O, Properties) {
|
|
717
754
|
var result;
|
|
718
755
|
if (O !== null) {
|
|
@@ -748,28 +785,12 @@ var addToUnscopables$1 = function (key) {
|
|
|
748
785
|
|
|
749
786
|
var iterators = {};
|
|
750
787
|
|
|
751
|
-
var uncurryThis$6 = functionUncurryThis;
|
|
752
|
-
var isCallable$a = isCallable$g;
|
|
753
|
-
var store$1 = sharedStore;
|
|
754
|
-
|
|
755
|
-
var functionToString = uncurryThis$6(Function.toString);
|
|
756
|
-
|
|
757
|
-
// this helper broken in `core-js@3.4.1-3.4.4`, so we can't use `shared` helper
|
|
758
|
-
if (!isCallable$a(store$1.inspectSource)) {
|
|
759
|
-
store$1.inspectSource = function (it) {
|
|
760
|
-
return functionToString(it);
|
|
761
|
-
};
|
|
762
|
-
}
|
|
763
|
-
|
|
764
|
-
var inspectSource$2 = store$1.inspectSource;
|
|
765
|
-
|
|
766
788
|
var global$7 = global$e;
|
|
767
|
-
var isCallable$
|
|
768
|
-
var inspectSource$1 = inspectSource$2;
|
|
789
|
+
var isCallable$a = isCallable$g;
|
|
769
790
|
|
|
770
791
|
var WeakMap$1 = global$7.WeakMap;
|
|
771
792
|
|
|
772
|
-
var
|
|
793
|
+
var weakMapBasicDetection = isCallable$a(WeakMap$1) && /native code/.test(String(WeakMap$1));
|
|
773
794
|
|
|
774
795
|
var createPropertyDescriptor$3 = function (bitmap, value) {
|
|
775
796
|
return {
|
|
@@ -791,10 +812,9 @@ var createNonEnumerableProperty$5 = DESCRIPTORS$5 ? function (object, key, value
|
|
|
791
812
|
return object;
|
|
792
813
|
};
|
|
793
814
|
|
|
794
|
-
var NATIVE_WEAK_MAP =
|
|
815
|
+
var NATIVE_WEAK_MAP = weakMapBasicDetection;
|
|
795
816
|
var global$6 = global$e;
|
|
796
|
-
var
|
|
797
|
-
var isObject = isObject$5;
|
|
817
|
+
var isObject$1 = isObject$6;
|
|
798
818
|
var createNonEnumerableProperty$4 = createNonEnumerableProperty$5;
|
|
799
819
|
var hasOwn$6 = hasOwnProperty_1;
|
|
800
820
|
var shared$1 = sharedStore;
|
|
@@ -813,34 +833,36 @@ var enforce = function (it) {
|
|
|
813
833
|
var getterFor = function (TYPE) {
|
|
814
834
|
return function (it) {
|
|
815
835
|
var state;
|
|
816
|
-
if (!isObject(it) || (state = get(it)).type !== TYPE) {
|
|
836
|
+
if (!isObject$1(it) || (state = get(it)).type !== TYPE) {
|
|
817
837
|
throw TypeError$1('Incompatible receiver, ' + TYPE + ' required');
|
|
818
838
|
} return state;
|
|
819
839
|
};
|
|
820
840
|
};
|
|
821
841
|
|
|
822
842
|
if (NATIVE_WEAK_MAP || shared$1.state) {
|
|
823
|
-
var store = shared$1.state || (shared$1.state = new WeakMap());
|
|
824
|
-
|
|
825
|
-
|
|
826
|
-
|
|
843
|
+
var store$1 = shared$1.state || (shared$1.state = new WeakMap());
|
|
844
|
+
/* eslint-disable no-self-assign -- prototype methods protection */
|
|
845
|
+
store$1.get = store$1.get;
|
|
846
|
+
store$1.has = store$1.has;
|
|
847
|
+
store$1.set = store$1.set;
|
|
848
|
+
/* eslint-enable no-self-assign -- prototype methods protection */
|
|
827
849
|
set = function (it, metadata) {
|
|
828
|
-
if (
|
|
850
|
+
if (store$1.has(it)) throw TypeError$1(OBJECT_ALREADY_INITIALIZED);
|
|
829
851
|
metadata.facade = it;
|
|
830
|
-
|
|
852
|
+
store$1.set(it, metadata);
|
|
831
853
|
return metadata;
|
|
832
854
|
};
|
|
833
855
|
get = function (it) {
|
|
834
|
-
return
|
|
856
|
+
return store$1.get(it) || {};
|
|
835
857
|
};
|
|
836
858
|
has = function (it) {
|
|
837
|
-
return
|
|
859
|
+
return store$1.has(it);
|
|
838
860
|
};
|
|
839
861
|
} else {
|
|
840
862
|
var STATE = sharedKey$1('state');
|
|
841
863
|
hiddenKeys$1[STATE] = true;
|
|
842
864
|
set = function (it, metadata) {
|
|
843
|
-
if (hasOwn$6(it, STATE)) throw
|
|
865
|
+
if (hasOwn$6(it, STATE)) throw TypeError$1(OBJECT_ALREADY_INITIALIZED);
|
|
844
866
|
metadata.facade = it;
|
|
845
867
|
createNonEnumerableProperty$4(it, STATE, metadata);
|
|
846
868
|
return metadata;
|
|
@@ -866,7 +888,7 @@ var objectGetOwnPropertyDescriptor = {};
|
|
|
866
888
|
var objectPropertyIsEnumerable = {};
|
|
867
889
|
|
|
868
890
|
var $propertyIsEnumerable = {}.propertyIsEnumerable;
|
|
869
|
-
// eslint-disable-next-line es
|
|
891
|
+
// eslint-disable-next-line es/no-object-getownpropertydescriptor -- safe
|
|
870
892
|
var getOwnPropertyDescriptor$1 = Object.getOwnPropertyDescriptor;
|
|
871
893
|
|
|
872
894
|
// Nashorn ~ JDK8 bug
|
|
@@ -888,7 +910,7 @@ var toPropertyKey = toPropertyKey$2;
|
|
|
888
910
|
var hasOwn$5 = hasOwnProperty_1;
|
|
889
911
|
var IE8_DOM_DEFINE = ie8DomDefine;
|
|
890
912
|
|
|
891
|
-
// eslint-disable-next-line es
|
|
913
|
+
// eslint-disable-next-line es/no-object-getownpropertydescriptor -- safe
|
|
892
914
|
var $getOwnPropertyDescriptor = Object.getOwnPropertyDescriptor;
|
|
893
915
|
|
|
894
916
|
// `Object.getOwnPropertyDescriptor` method
|
|
@@ -908,7 +930,7 @@ var DESCRIPTORS$3 = descriptors;
|
|
|
908
930
|
var hasOwn$4 = hasOwnProperty_1;
|
|
909
931
|
|
|
910
932
|
var FunctionPrototype = Function.prototype;
|
|
911
|
-
// eslint-disable-next-line es
|
|
933
|
+
// eslint-disable-next-line es/no-object-getownpropertydescriptor -- safe
|
|
912
934
|
var getDescriptor = DESCRIPTORS$3 && Object.getOwnPropertyDescriptor;
|
|
913
935
|
|
|
914
936
|
var EXISTS = hasOwn$4(FunctionPrototype, 'name');
|
|
@@ -922,17 +944,32 @@ var functionName = {
|
|
|
922
944
|
CONFIGURABLE: CONFIGURABLE
|
|
923
945
|
};
|
|
924
946
|
|
|
947
|
+
var uncurryThis$5 = functionUncurryThis;
|
|
948
|
+
var isCallable$9 = isCallable$g;
|
|
949
|
+
var store = sharedStore;
|
|
950
|
+
|
|
951
|
+
var functionToString = uncurryThis$5(Function.toString);
|
|
952
|
+
|
|
953
|
+
// this helper broken in `core-js@3.4.1-3.4.4`, so we can't use `shared` helper
|
|
954
|
+
if (!isCallable$9(store.inspectSource)) {
|
|
955
|
+
store.inspectSource = function (it) {
|
|
956
|
+
return functionToString(it);
|
|
957
|
+
};
|
|
958
|
+
}
|
|
959
|
+
|
|
960
|
+
var inspectSource$1 = store.inspectSource;
|
|
961
|
+
|
|
925
962
|
var fails$8 = fails$f;
|
|
926
963
|
var isCallable$8 = isCallable$g;
|
|
927
964
|
var hasOwn$3 = hasOwnProperty_1;
|
|
928
965
|
var DESCRIPTORS$2 = descriptors;
|
|
929
966
|
var CONFIGURABLE_FUNCTION_NAME$1 = functionName.CONFIGURABLE;
|
|
930
|
-
var inspectSource = inspectSource$
|
|
967
|
+
var inspectSource = inspectSource$1;
|
|
931
968
|
var InternalStateModule$1 = internalState;
|
|
932
969
|
|
|
933
970
|
var enforceInternalState = InternalStateModule$1.enforce;
|
|
934
971
|
var getInternalState$2 = InternalStateModule$1.get;
|
|
935
|
-
// eslint-disable-next-line es
|
|
972
|
+
// eslint-disable-next-line es/no-object-defineproperty -- safe
|
|
936
973
|
var defineProperty$3 = Object.defineProperty;
|
|
937
974
|
|
|
938
975
|
var CONFIGURABLE_LENGTH = DESCRIPTORS$2 && !fails$8(function () {
|
|
@@ -1009,14 +1046,14 @@ var hiddenKeys = enumBugKeys.concat('length', 'prototype');
|
|
|
1009
1046
|
|
|
1010
1047
|
// `Object.getOwnPropertyNames` method
|
|
1011
1048
|
// https://tc39.es/ecma262/#sec-object.getownpropertynames
|
|
1012
|
-
// eslint-disable-next-line es
|
|
1049
|
+
// eslint-disable-next-line es/no-object-getownpropertynames -- safe
|
|
1013
1050
|
objectGetOwnPropertyNames.f = Object.getOwnPropertyNames || function getOwnPropertyNames(O) {
|
|
1014
1051
|
return internalObjectKeys(O, hiddenKeys);
|
|
1015
1052
|
};
|
|
1016
1053
|
|
|
1017
1054
|
var objectGetOwnPropertySymbols = {};
|
|
1018
1055
|
|
|
1019
|
-
// eslint-disable-next-line es
|
|
1056
|
+
// eslint-disable-next-line es/no-object-getownpropertysymbols -- safe
|
|
1020
1057
|
objectGetOwnPropertySymbols.f = Object.getOwnPropertySymbols;
|
|
1021
1058
|
|
|
1022
1059
|
var getBuiltIn = getBuiltIn$4;
|
|
@@ -1134,7 +1171,7 @@ var fails$6 = fails$f;
|
|
|
1134
1171
|
var correctPrototypeGetter = !fails$6(function () {
|
|
1135
1172
|
function F() { /* empty */ }
|
|
1136
1173
|
F.prototype.constructor = null;
|
|
1137
|
-
// eslint-disable-next-line es
|
|
1174
|
+
// eslint-disable-next-line es/no-object-getprototypeof -- required for testing
|
|
1138
1175
|
return Object.getPrototypeOf(new F()) !== F.prototype;
|
|
1139
1176
|
});
|
|
1140
1177
|
|
|
@@ -1150,7 +1187,7 @@ var ObjectPrototype = $Object$1.prototype;
|
|
|
1150
1187
|
|
|
1151
1188
|
// `Object.getPrototypeOf` method
|
|
1152
1189
|
// https://tc39.es/ecma262/#sec-object.getprototypeof
|
|
1153
|
-
// eslint-disable-next-line es
|
|
1190
|
+
// eslint-disable-next-line es/no-object-getprototypeof -- safe
|
|
1154
1191
|
var objectGetPrototypeOf = CORRECT_PROTOTYPE_GETTER ? $Object$1.getPrototypeOf : function (O) {
|
|
1155
1192
|
var object = toObject$1(O);
|
|
1156
1193
|
if (hasOwn$1(object, IE_PROTO)) return object[IE_PROTO];
|
|
@@ -1162,6 +1199,7 @@ var objectGetPrototypeOf = CORRECT_PROTOTYPE_GETTER ? $Object$1.getPrototypeOf :
|
|
|
1162
1199
|
|
|
1163
1200
|
var fails$5 = fails$f;
|
|
1164
1201
|
var isCallable$4 = isCallable$g;
|
|
1202
|
+
var isObject = isObject$6;
|
|
1165
1203
|
var getPrototypeOf$1 = objectGetPrototypeOf;
|
|
1166
1204
|
var defineBuiltIn$2 = defineBuiltIn$4;
|
|
1167
1205
|
var wellKnownSymbol$6 = wellKnownSymbol$9;
|
|
@@ -1173,7 +1211,7 @@ var BUGGY_SAFARI_ITERATORS$1 = false;
|
|
|
1173
1211
|
// https://tc39.es/ecma262/#sec-%iteratorprototype%-object
|
|
1174
1212
|
var IteratorPrototype$2, PrototypeOfArrayIteratorPrototype, arrayIterator;
|
|
1175
1213
|
|
|
1176
|
-
/* eslint-disable es
|
|
1214
|
+
/* eslint-disable es/no-array-prototype-keys -- safe */
|
|
1177
1215
|
if ([].keys) {
|
|
1178
1216
|
arrayIterator = [].keys();
|
|
1179
1217
|
// Safari 8 has buggy iterators w/o `next`
|
|
@@ -1184,7 +1222,7 @@ if ([].keys) {
|
|
|
1184
1222
|
}
|
|
1185
1223
|
}
|
|
1186
1224
|
|
|
1187
|
-
var NEW_ITERATOR_PROTOTYPE = IteratorPrototype$2
|
|
1225
|
+
var NEW_ITERATOR_PROTOTYPE = !isObject(IteratorPrototype$2) || fails$5(function () {
|
|
1188
1226
|
var test = {};
|
|
1189
1227
|
// FF44- legacy iterators case
|
|
1190
1228
|
return IteratorPrototype$2[ITERATOR$2].call(test) !== test;
|
|
@@ -1226,7 +1264,7 @@ var Iterators$2 = iterators;
|
|
|
1226
1264
|
|
|
1227
1265
|
var returnThis$1 = function () { return this; };
|
|
1228
1266
|
|
|
1229
|
-
var
|
|
1267
|
+
var iteratorCreateConstructor = function (IteratorConstructor, NAME, next, ENUMERABLE_NEXT) {
|
|
1230
1268
|
var TO_STRING_TAG = NAME + ' Iterator';
|
|
1231
1269
|
IteratorConstructor.prototype = create$1(IteratorPrototype$1, { next: createPropertyDescriptor(+!ENUMERABLE_NEXT, next) });
|
|
1232
1270
|
setToStringTag$1(IteratorConstructor, TO_STRING_TAG, false);
|
|
@@ -1253,13 +1291,13 @@ var aPossiblePrototype = aPossiblePrototype$1;
|
|
|
1253
1291
|
// `Object.setPrototypeOf` method
|
|
1254
1292
|
// https://tc39.es/ecma262/#sec-object.setprototypeof
|
|
1255
1293
|
// Works with __proto__ only. Old v8 can't work with null proto objects.
|
|
1256
|
-
// eslint-disable-next-line es
|
|
1294
|
+
// eslint-disable-next-line es/no-object-setprototypeof -- safe
|
|
1257
1295
|
var objectSetPrototypeOf = Object.setPrototypeOf || ('__proto__' in {} ? function () {
|
|
1258
1296
|
var CORRECT_SETTER = false;
|
|
1259
1297
|
var test = {};
|
|
1260
1298
|
var setter;
|
|
1261
1299
|
try {
|
|
1262
|
-
// eslint-disable-next-line es
|
|
1300
|
+
// eslint-disable-next-line es/no-object-getownpropertydescriptor -- safe
|
|
1263
1301
|
setter = uncurryThis$3(Object.getOwnPropertyDescriptor(Object.prototype, '__proto__').set);
|
|
1264
1302
|
setter(test, []);
|
|
1265
1303
|
CORRECT_SETTER = test instanceof Array;
|
|
@@ -1277,7 +1315,7 @@ var $$2 = _export;
|
|
|
1277
1315
|
var call$4 = functionCall;
|
|
1278
1316
|
var FunctionName = functionName;
|
|
1279
1317
|
var isCallable$2 = isCallable$g;
|
|
1280
|
-
var createIteratorConstructor =
|
|
1318
|
+
var createIteratorConstructor = iteratorCreateConstructor;
|
|
1281
1319
|
var getPrototypeOf = objectGetPrototypeOf;
|
|
1282
1320
|
var setPrototypeOf = objectSetPrototypeOf;
|
|
1283
1321
|
var setToStringTag = setToStringTag$2;
|
|
@@ -1298,7 +1336,7 @@ var ENTRIES = 'entries';
|
|
|
1298
1336
|
|
|
1299
1337
|
var returnThis = function () { return this; };
|
|
1300
1338
|
|
|
1301
|
-
var
|
|
1339
|
+
var iteratorDefine = function (Iterable, NAME, IteratorConstructor, next, DEFAULT, IS_SET, FORCED) {
|
|
1302
1340
|
createIteratorConstructor(IteratorConstructor, NAME, next);
|
|
1303
1341
|
|
|
1304
1342
|
var getIterationMethod = function (KIND) {
|
|
@@ -1370,12 +1408,19 @@ var defineIterator$1 = function (Iterable, NAME, IteratorConstructor, next, DEFA
|
|
|
1370
1408
|
return methods;
|
|
1371
1409
|
};
|
|
1372
1410
|
|
|
1411
|
+
// `CreateIterResultObject` abstract operation
|
|
1412
|
+
// https://tc39.es/ecma262/#sec-createiterresultobject
|
|
1413
|
+
var createIterResultObject$1 = function (value, done) {
|
|
1414
|
+
return { value: value, done: done };
|
|
1415
|
+
};
|
|
1416
|
+
|
|
1373
1417
|
var toIndexedObject = toIndexedObject$5;
|
|
1374
1418
|
var addToUnscopables = addToUnscopables$1;
|
|
1375
1419
|
var Iterators = iterators;
|
|
1376
1420
|
var InternalStateModule = internalState;
|
|
1377
1421
|
var defineProperty$1 = objectDefineProperty.f;
|
|
1378
|
-
var defineIterator =
|
|
1422
|
+
var defineIterator = iteratorDefine;
|
|
1423
|
+
var createIterResultObject = createIterResultObject$1;
|
|
1379
1424
|
var DESCRIPTORS$1 = descriptors;
|
|
1380
1425
|
|
|
1381
1426
|
var ARRAY_ITERATOR = 'Array Iterator';
|
|
@@ -1408,11 +1453,11 @@ var es_array_iterator = defineIterator(Array, 'Array', function (iterated, kind)
|
|
|
1408
1453
|
var index = state.index++;
|
|
1409
1454
|
if (!target || index >= target.length) {
|
|
1410
1455
|
state.target = undefined;
|
|
1411
|
-
return
|
|
1456
|
+
return createIterResultObject(undefined, true);
|
|
1412
1457
|
}
|
|
1413
|
-
if (kind == 'keys') return
|
|
1414
|
-
if (kind == 'values') return
|
|
1415
|
-
return
|
|
1458
|
+
if (kind == 'keys') return createIterResultObject(index, false);
|
|
1459
|
+
if (kind == 'values') return createIterResultObject(target[index], false);
|
|
1460
|
+
return createIterResultObject([index, target[index]], false);
|
|
1416
1461
|
}, 'values');
|
|
1417
1462
|
|
|
1418
1463
|
// argumentsList[@@iterator] is %ArrayProto_values%
|
|
@@ -1523,9 +1568,9 @@ var propertyIsEnumerableModule = objectPropertyIsEnumerable;
|
|
|
1523
1568
|
var toObject = toObject$3;
|
|
1524
1569
|
var IndexedObject = indexedObject;
|
|
1525
1570
|
|
|
1526
|
-
// eslint-disable-next-line es
|
|
1571
|
+
// eslint-disable-next-line es/no-object-assign -- safe
|
|
1527
1572
|
var $assign = Object.assign;
|
|
1528
|
-
// eslint-disable-next-line es
|
|
1573
|
+
// eslint-disable-next-line es/no-object-defineproperty -- required for testing
|
|
1529
1574
|
var defineProperty = Object.defineProperty;
|
|
1530
1575
|
var concat = uncurryThis$2([].concat);
|
|
1531
1576
|
|
|
@@ -1545,7 +1590,7 @@ var objectAssign = !$assign || fails$4(function () {
|
|
|
1545
1590
|
// should work with symbols and should have deterministic property order (V8 bug)
|
|
1546
1591
|
var A = {};
|
|
1547
1592
|
var B = {};
|
|
1548
|
-
// eslint-disable-next-line es
|
|
1593
|
+
// eslint-disable-next-line es/no-symbol -- safe
|
|
1549
1594
|
var symbol = Symbol();
|
|
1550
1595
|
var alphabet = 'abcdefghijklmnopqrst';
|
|
1551
1596
|
A[symbol] = 7;
|
|
@@ -1575,7 +1620,7 @@ var assign = objectAssign;
|
|
|
1575
1620
|
|
|
1576
1621
|
// `Object.assign` method
|
|
1577
1622
|
// https://tc39.es/ecma262/#sec-object.assign
|
|
1578
|
-
// eslint-disable-next-line es
|
|
1623
|
+
// eslint-disable-next-line es/no-object-assign -- required for testing
|
|
1579
1624
|
$$1({ target: 'Object', stat: true, arity: 2, forced: Object.assign !== assign }, {
|
|
1580
1625
|
assign: assign
|
|
1581
1626
|
});
|
|
@@ -1642,7 +1687,7 @@ var toStringTagSupport = String(test) === '[object z]';
|
|
|
1642
1687
|
|
|
1643
1688
|
var TO_STRING_TAG_SUPPORT = toStringTagSupport;
|
|
1644
1689
|
var isCallable$1 = isCallable$g;
|
|
1645
|
-
var classofRaw = classofRaw$
|
|
1690
|
+
var classofRaw = classofRaw$2;
|
|
1646
1691
|
var wellKnownSymbol$1 = wellKnownSymbol$9;
|
|
1647
1692
|
|
|
1648
1693
|
var TO_STRING_TAG = wellKnownSymbol$1('toStringTag');
|
|
@@ -1953,7 +1998,7 @@ var fixRegexpWellKnownSymbolLogic = function (KEY, exec, FORCED, SHAM) {
|
|
|
1953
1998
|
|
|
1954
1999
|
// `SameValue` abstract operation
|
|
1955
2000
|
// https://tc39.es/ecma262/#sec-samevalue
|
|
1956
|
-
// eslint-disable-next-line es
|
|
2001
|
+
// eslint-disable-next-line es/no-object-is -- safe
|
|
1957
2002
|
var sameValue$1 = Object.is || function is(x, y) {
|
|
1958
2003
|
// eslint-disable-next-line no-self-compare -- NaN check
|
|
1959
2004
|
return x === y ? x !== 0 || 1 / x === 1 / y : x != x && y != y;
|
|
@@ -1962,7 +2007,7 @@ var sameValue$1 = Object.is || function is(x, y) {
|
|
|
1962
2007
|
var call$1 = functionCall;
|
|
1963
2008
|
var anObject$1 = anObject$8;
|
|
1964
2009
|
var isCallable = isCallable$g;
|
|
1965
|
-
var classof = classofRaw$
|
|
2010
|
+
var classof = classofRaw$2;
|
|
1966
2011
|
var regexpExec = regexpExec$2;
|
|
1967
2012
|
|
|
1968
2013
|
var $TypeError = TypeError;
|
|
@@ -1983,6 +2028,7 @@ var regexpExecAbstract = function (R, S) {
|
|
|
1983
2028
|
var call = functionCall;
|
|
1984
2029
|
var fixRegExpWellKnownSymbolLogic = fixRegexpWellKnownSymbolLogic;
|
|
1985
2030
|
var anObject = anObject$8;
|
|
2031
|
+
var isNullOrUndefined = isNullOrUndefined$3;
|
|
1986
2032
|
var requireObjectCoercible = requireObjectCoercible$3;
|
|
1987
2033
|
var sameValue = sameValue$1;
|
|
1988
2034
|
var toString = toString$2;
|
|
@@ -1996,7 +2042,7 @@ fixRegExpWellKnownSymbolLogic('search', function (SEARCH, nativeSearch, maybeCal
|
|
|
1996
2042
|
// https://tc39.es/ecma262/#sec-string.prototype.search
|
|
1997
2043
|
function search(regexp) {
|
|
1998
2044
|
var O = requireObjectCoercible(this);
|
|
1999
|
-
var searcher = regexp
|
|
2045
|
+
var searcher = isNullOrUndefined(regexp) ? undefined : getMethod(regexp, SEARCH);
|
|
2000
2046
|
return searcher ? call(searcher, regexp, O) : new RegExp(regexp)[SEARCH](toString(O));
|
|
2001
2047
|
},
|
|
2002
2048
|
// `RegExp.prototype[@@search]` method
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@trackunit/react-core-hooks",
|
|
3
|
-
"version": "0.0.
|
|
3
|
+
"version": "0.0.68",
|
|
4
4
|
"repository": "https://github.com/Trackunit/manager",
|
|
5
5
|
"license": "SEE LICENSE IN LICENSE.txt",
|
|
6
6
|
"module": "./index.js",
|
|
@@ -8,11 +8,11 @@
|
|
|
8
8
|
"type": "module",
|
|
9
9
|
"types": "./index.d.ts",
|
|
10
10
|
"dependencies": {
|
|
11
|
-
"@trackunit/react-core-contexts-api": "0.0.
|
|
12
|
-
"launchdarkly-react-client-sdk": "^2.
|
|
13
|
-
"react": "17.0.
|
|
14
|
-
"@trackunit/iris-app-runtime-core": "0.0.
|
|
15
|
-
"react-router-dom": "
|
|
11
|
+
"@trackunit/react-core-contexts-api": "0.0.60",
|
|
12
|
+
"launchdarkly-react-client-sdk": "^2.27.0",
|
|
13
|
+
"react": "17.0.2",
|
|
14
|
+
"@trackunit/iris-app-runtime-core": "0.0.69",
|
|
15
|
+
"react-router-dom": "6.4.1"
|
|
16
16
|
},
|
|
17
17
|
"peerDependencies": {}
|
|
18
18
|
}
|