@trackunit/react-core-contexts-test 0.0.36 → 0.0.38

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.
Files changed (2) hide show
  1. package/index2.js +105 -72
  2. package/package.json +6 -6
package/index2.js CHANGED
@@ -17,7 +17,7 @@ var check = function (it) {
17
17
 
18
18
  // https://github.com/zloirock/core-js/issues/86#issuecomment-115759028
19
19
  var global$i =
20
- // eslint-disable-next-line es-x/no-global-this -- safe
20
+ // eslint-disable-next-line es/no-global-this -- safe
21
21
  check(typeof globalThis == 'object' && globalThis) ||
22
22
  check(typeof window == 'object' && window) ||
23
23
  // eslint-disable-next-line no-restricted-globals -- safe
@@ -40,14 +40,14 @@ var fails$a = fails$b;
40
40
 
41
41
  // Detect IE8's incomplete defineProperty implementation
42
42
  var descriptors = !fails$a(function () {
43
- // eslint-disable-next-line es-x/no-object-defineproperty -- required for testing
43
+ // eslint-disable-next-line es/no-object-defineproperty -- required for testing
44
44
  return Object.defineProperty({}, 1, { get: function () { return 7; } })[1] != 7;
45
45
  });
46
46
 
47
47
  var fails$9 = fails$b;
48
48
 
49
49
  var functionBindNative = !fails$9(function () {
50
- // eslint-disable-next-line es-x/no-function-prototype-bind -- safe
50
+ // eslint-disable-next-line es/no-function-prototype-bind -- safe
51
51
  var test = (function () { /* empty */ }).bind();
52
52
  // eslint-disable-next-line no-prototype-builtins -- safe
53
53
  return typeof test != 'function' || test.hasOwnProperty('prototype');
@@ -64,7 +64,7 @@ var functionCall = NATIVE_BIND$3 ? call$d.bind(call$d) : function () {
64
64
  var objectPropertyIsEnumerable = {};
65
65
 
66
66
  var $propertyIsEnumerable = {}.propertyIsEnumerable;
67
- // eslint-disable-next-line es-x/no-object-getownpropertydescriptor -- safe
67
+ // eslint-disable-next-line es/no-object-getownpropertydescriptor -- safe
68
68
  var getOwnPropertyDescriptor$2 = Object.getOwnPropertyDescriptor;
69
69
 
70
70
  // Nashorn ~ JDK8 bug
@@ -126,12 +126,20 @@ var indexedObject = fails$8(function () {
126
126
  return classof$4(it) == 'String' ? split(it, '') : $Object$3(it);
127
127
  } : $Object$3;
128
128
 
129
- var $TypeError$b = TypeError;
129
+ // we can't use just `it == null` since of `document.all` special case
130
+ // https://tc39.es/ecma262/#sec-IsHTMLDDA-internal-slot-aec
131
+ var isNullOrUndefined$4 = function (it) {
132
+ return it === null || it === undefined;
133
+ };
134
+
135
+ var isNullOrUndefined$3 = isNullOrUndefined$4;
136
+
137
+ var $TypeError$c = TypeError;
130
138
 
131
139
  // `RequireObjectCoercible` abstract operation
132
140
  // https://tc39.es/ecma262/#sec-requireobjectcoercible
133
141
  var requireObjectCoercible$2 = function (it) {
134
- if (it == undefined) throw $TypeError$b("Can't call method on " + it);
142
+ if (isNullOrUndefined$3(it)) throw $TypeError$c("Can't call method on " + it);
135
143
  return it;
136
144
  };
137
145
 
@@ -143,15 +151,36 @@ var toIndexedObject$3 = function (it) {
143
151
  return IndexedObject$1(requireObjectCoercible$1(it));
144
152
  };
145
153
 
154
+ var documentAll$2 = typeof document == 'object' && document.all;
155
+
156
+ // https://tc39.es/ecma262/#sec-IsHTMLDDA-internal-slot
157
+ var IS_HTMLDDA = typeof documentAll$2 == 'undefined' && documentAll$2 !== undefined;
158
+
159
+ var documentAll_1 = {
160
+ all: documentAll$2,
161
+ IS_HTMLDDA: IS_HTMLDDA
162
+ };
163
+
164
+ var $documentAll$1 = documentAll_1;
165
+
166
+ var documentAll$1 = $documentAll$1.all;
167
+
146
168
  // `IsCallable` abstract operation
147
169
  // https://tc39.es/ecma262/#sec-iscallable
148
- var isCallable$h = function (argument) {
170
+ var isCallable$h = $documentAll$1.IS_HTMLDDA ? function (argument) {
171
+ return typeof argument == 'function' || argument === documentAll$1;
172
+ } : function (argument) {
149
173
  return typeof argument == 'function';
150
174
  };
151
175
 
152
176
  var isCallable$g = isCallable$h;
177
+ var $documentAll = documentAll_1;
153
178
 
154
- var isObject$7 = function (it) {
179
+ var documentAll = $documentAll.all;
180
+
181
+ var isObject$7 = $documentAll.IS_HTMLDDA ? function (it) {
182
+ return typeof it == 'object' ? it !== null : isCallable$g(it) || it === documentAll;
183
+ } : function (it) {
155
184
  return typeof it == 'object' ? it !== null : isCallable$g(it);
156
185
  };
157
186
 
@@ -202,13 +231,13 @@ if (!version && userAgent$3) {
202
231
 
203
232
  var engineV8Version = version;
204
233
 
205
- /* eslint-disable es-x/no-symbol -- required for testing */
234
+ /* eslint-disable es/no-symbol -- required for testing */
206
235
 
207
236
  var V8_VERSION$1 = engineV8Version;
208
237
  var fails$7 = fails$b;
209
238
 
210
- // eslint-disable-next-line es-x/no-object-getownpropertysymbols -- required for testing
211
- var nativeSymbol = !!Object.getOwnPropertySymbols && !fails$7(function () {
239
+ // eslint-disable-next-line es/no-object-getownpropertysymbols -- required for testing
240
+ var symbolConstructorDetection = !!Object.getOwnPropertySymbols && !fails$7(function () {
212
241
  var symbol = Symbol();
213
242
  // Chrome 38 Symbol has incorrect toString conversion
214
243
  // `get-own-property-symbols` polyfill symbols converted to object are not Symbol instances
@@ -217,9 +246,9 @@ var nativeSymbol = !!Object.getOwnPropertySymbols && !fails$7(function () {
217
246
  !Symbol.sham && V8_VERSION$1 && V8_VERSION$1 < 41;
218
247
  });
219
248
 
220
- /* eslint-disable es-x/no-symbol -- required for testing */
249
+ /* eslint-disable es/no-symbol -- required for testing */
221
250
 
222
- var NATIVE_SYMBOL$1 = nativeSymbol;
251
+ var NATIVE_SYMBOL$1 = symbolConstructorDetection;
223
252
 
224
253
  var useSymbolAsUid = NATIVE_SYMBOL$1
225
254
  && !Symbol.sham
@@ -252,28 +281,29 @@ var tryToString$4 = function (argument) {
252
281
  var isCallable$d = isCallable$h;
253
282
  var tryToString$3 = tryToString$4;
254
283
 
255
- var $TypeError$a = TypeError;
284
+ var $TypeError$b = TypeError;
256
285
 
257
286
  // `Assert: IsCallable(argument) is true`
258
287
  var aCallable$7 = function (argument) {
259
288
  if (isCallable$d(argument)) return argument;
260
- throw $TypeError$a(tryToString$3(argument) + ' is not a function');
289
+ throw $TypeError$b(tryToString$3(argument) + ' is not a function');
261
290
  };
262
291
 
263
292
  var aCallable$6 = aCallable$7;
293
+ var isNullOrUndefined$2 = isNullOrUndefined$4;
264
294
 
265
295
  // `GetMethod` abstract operation
266
296
  // https://tc39.es/ecma262/#sec-getmethod
267
297
  var getMethod$3 = function (V, P) {
268
298
  var func = V[P];
269
- return func == null ? undefined : aCallable$6(func);
299
+ return isNullOrUndefined$2(func) ? undefined : aCallable$6(func);
270
300
  };
271
301
 
272
302
  var call$b = functionCall;
273
303
  var isCallable$c = isCallable$h;
274
304
  var isObject$6 = isObject$7;
275
305
 
276
- var $TypeError$9 = TypeError;
306
+ var $TypeError$a = TypeError;
277
307
 
278
308
  // `OrdinaryToPrimitive` abstract operation
279
309
  // https://tc39.es/ecma262/#sec-ordinarytoprimitive
@@ -282,14 +312,14 @@ var ordinaryToPrimitive$1 = function (input, pref) {
282
312
  if (pref === 'string' && isCallable$c(fn = input.toString) && !isObject$6(val = call$b(fn, input))) return val;
283
313
  if (isCallable$c(fn = input.valueOf) && !isObject$6(val = call$b(fn, input))) return val;
284
314
  if (pref !== 'string' && isCallable$c(fn = input.toString) && !isObject$6(val = call$b(fn, input))) return val;
285
- throw $TypeError$9("Can't convert object to primitive value");
315
+ throw $TypeError$a("Can't convert object to primitive value");
286
316
  };
287
317
 
288
318
  var shared$3 = {exports: {}};
289
319
 
290
320
  var global$f = global$i;
291
321
 
292
- // eslint-disable-next-line es-x/no-object-defineproperty -- safe
322
+ // eslint-disable-next-line es/no-object-defineproperty -- safe
293
323
  var defineProperty$3 = Object.defineProperty;
294
324
 
295
325
  var defineGlobalProperty$3 = function (key, value) {
@@ -313,10 +343,10 @@ var store$2 = sharedStore;
313
343
  (shared$3.exports = function (key, value) {
314
344
  return store$2[key] || (store$2[key] = value !== undefined ? value : {});
315
345
  })('versions', []).push({
316
- version: '3.24.1',
346
+ version: '3.25.3',
317
347
  mode: 'global',
318
348
  copyright: '© 2014-2022 Denis Pushkarev (zloirock.ru)',
319
- license: 'https://github.com/zloirock/core-js/blob/v3.24.1/LICENSE',
349
+ license: 'https://github.com/zloirock/core-js/blob/v3.25.3/LICENSE',
320
350
  source: 'https://github.com/zloirock/core-js'
321
351
  });
322
352
 
@@ -337,7 +367,7 @@ var hasOwnProperty = uncurryThis$a({}.hasOwnProperty);
337
367
 
338
368
  // `HasOwnProperty` abstract operation
339
369
  // https://tc39.es/ecma262/#sec-hasownproperty
340
- // eslint-disable-next-line es-x/no-object-hasown -- safe
370
+ // eslint-disable-next-line es/no-object-hasown -- safe
341
371
  var hasOwnProperty_1 = Object.hasOwn || function hasOwn(it, key) {
342
372
  return hasOwnProperty(toObject$1(it), key);
343
373
  };
@@ -356,7 +386,7 @@ var global$d = global$i;
356
386
  var shared$2 = shared$3.exports;
357
387
  var hasOwn$8 = hasOwnProperty_1;
358
388
  var uid$1 = uid$2;
359
- var NATIVE_SYMBOL = nativeSymbol;
389
+ var NATIVE_SYMBOL = symbolConstructorDetection;
360
390
  var USE_SYMBOL_AS_UID = useSymbolAsUid;
361
391
 
362
392
  var WellKnownSymbolsStore = shared$2('wks');
@@ -384,7 +414,7 @@ var getMethod$2 = getMethod$3;
384
414
  var ordinaryToPrimitive = ordinaryToPrimitive$1;
385
415
  var wellKnownSymbol$9 = wellKnownSymbol$a;
386
416
 
387
- var $TypeError$8 = TypeError;
417
+ var $TypeError$9 = TypeError;
388
418
  var TO_PRIMITIVE = wellKnownSymbol$9('toPrimitive');
389
419
 
390
420
  // `ToPrimitive` abstract operation
@@ -397,7 +427,7 @@ var toPrimitive$1 = function (input, pref) {
397
427
  if (pref === undefined) pref = 'default';
398
428
  result = call$a(exoticToPrim, input, pref);
399
429
  if (!isObject$5(result) || isSymbol$1(result)) return result;
400
- throw $TypeError$8("Can't convert object to primitive value");
430
+ throw $TypeError$9("Can't convert object to primitive value");
401
431
  }
402
432
  if (pref === undefined) pref = 'number';
403
433
  return ordinaryToPrimitive(input, pref);
@@ -430,7 +460,7 @@ var createElement$1 = documentCreateElement;
430
460
 
431
461
  // Thanks to IE8 for its funny defineProperty
432
462
  var ie8DomDefine = !DESCRIPTORS$8 && !fails$6(function () {
433
- // eslint-disable-next-line es-x/no-object-defineproperty -- required for testing
463
+ // eslint-disable-next-line es/no-object-defineproperty -- required for testing
434
464
  return Object.defineProperty(createElement$1('div'), 'a', {
435
465
  get: function () { return 7; }
436
466
  }).a != 7;
@@ -445,7 +475,7 @@ var toPropertyKey$1 = toPropertyKey$2;
445
475
  var hasOwn$7 = hasOwnProperty_1;
446
476
  var IE8_DOM_DEFINE$1 = ie8DomDefine;
447
477
 
448
- // eslint-disable-next-line es-x/no-object-getownpropertydescriptor -- safe
478
+ // eslint-disable-next-line es/no-object-getownpropertydescriptor -- safe
449
479
  var $getOwnPropertyDescriptor$1 = Object.getOwnPropertyDescriptor;
450
480
 
451
481
  // `Object.getOwnPropertyDescriptor` method
@@ -467,7 +497,7 @@ var fails$5 = fails$b;
467
497
  // V8 ~ Chrome 36-
468
498
  // https://bugs.chromium.org/p/v8/issues/detail?id=3334
469
499
  var v8PrototypeDefineBug = DESCRIPTORS$6 && fails$5(function () {
470
- // eslint-disable-next-line es-x/no-object-defineproperty -- required for testing
500
+ // eslint-disable-next-line es/no-object-defineproperty -- required for testing
471
501
  return Object.defineProperty(function () { /* empty */ }, 'prototype', {
472
502
  value: 42,
473
503
  writable: false
@@ -477,12 +507,12 @@ var v8PrototypeDefineBug = DESCRIPTORS$6 && fails$5(function () {
477
507
  var isObject$3 = isObject$7;
478
508
 
479
509
  var $String$1 = String;
480
- var $TypeError$7 = TypeError;
510
+ var $TypeError$8 = TypeError;
481
511
 
482
512
  // `Assert: Type(argument) is Object`
483
513
  var anObject$8 = function (argument) {
484
514
  if (isObject$3(argument)) return argument;
485
- throw $TypeError$7($String$1(argument) + ' is not an object');
515
+ throw $TypeError$8($String$1(argument) + ' is not an object');
486
516
  };
487
517
 
488
518
  var DESCRIPTORS$5 = descriptors;
@@ -491,10 +521,10 @@ var V8_PROTOTYPE_DEFINE_BUG = v8PrototypeDefineBug;
491
521
  var anObject$7 = anObject$8;
492
522
  var toPropertyKey = toPropertyKey$2;
493
523
 
494
- var $TypeError$6 = TypeError;
495
- // eslint-disable-next-line es-x/no-object-defineproperty -- safe
524
+ var $TypeError$7 = TypeError;
525
+ // eslint-disable-next-line es/no-object-defineproperty -- safe
496
526
  var $defineProperty = Object.defineProperty;
497
- // eslint-disable-next-line es-x/no-object-getownpropertydescriptor -- safe
527
+ // eslint-disable-next-line es/no-object-getownpropertydescriptor -- safe
498
528
  var $getOwnPropertyDescriptor = Object.getOwnPropertyDescriptor;
499
529
  var ENUMERABLE = 'enumerable';
500
530
  var CONFIGURABLE$1 = 'configurable';
@@ -524,7 +554,7 @@ objectDefineProperty.f = DESCRIPTORS$5 ? V8_PROTOTYPE_DEFINE_BUG ? function defi
524
554
  if (IE8_DOM_DEFINE) try {
525
555
  return $defineProperty(O, P, Attributes);
526
556
  } catch (error) { /* empty */ }
527
- if ('get' in Attributes || 'set' in Attributes) throw $TypeError$6('Accessors not supported');
557
+ if ('get' in Attributes || 'set' in Attributes) throw $TypeError$7('Accessors not supported');
528
558
  if ('value' in Attributes) O[P] = Attributes.value;
529
559
  return O;
530
560
  };
@@ -546,7 +576,7 @@ var DESCRIPTORS$3 = descriptors;
546
576
  var hasOwn$6 = hasOwnProperty_1;
547
577
 
548
578
  var FunctionPrototype$1 = Function.prototype;
549
- // eslint-disable-next-line es-x/no-object-getownpropertydescriptor -- safe
579
+ // eslint-disable-next-line es/no-object-getownpropertydescriptor -- safe
550
580
  var getDescriptor = DESCRIPTORS$3 && Object.getOwnPropertyDescriptor;
551
581
 
552
582
  var EXISTS = hasOwn$6(FunctionPrototype$1, 'name');
@@ -573,15 +603,14 @@ if (!isCallable$b(store$1.inspectSource)) {
573
603
  };
574
604
  }
575
605
 
576
- var inspectSource$4 = store$1.inspectSource;
606
+ var inspectSource$3 = store$1.inspectSource;
577
607
 
578
608
  var global$b = global$i;
579
609
  var isCallable$a = isCallable$h;
580
- var inspectSource$3 = inspectSource$4;
581
610
 
582
611
  var WeakMap$1 = global$b.WeakMap;
583
612
 
584
- var nativeWeakMap = isCallable$a(WeakMap$1) && /native code/.test(inspectSource$3(WeakMap$1));
613
+ var weakMapBasicDetection = isCallable$a(WeakMap$1) && /native code/.test(String(WeakMap$1));
585
614
 
586
615
  var shared$1 = shared$3.exports;
587
616
  var uid = uid$2;
@@ -594,7 +623,7 @@ var sharedKey$1 = function (key) {
594
623
 
595
624
  var hiddenKeys$3 = {};
596
625
 
597
- var NATIVE_WEAK_MAP = nativeWeakMap;
626
+ var NATIVE_WEAK_MAP = weakMapBasicDetection;
598
627
  var global$a = global$i;
599
628
  var uncurryThis$7 = functionUncurryThis;
600
629
  var isObject$2 = isObject$7;
@@ -628,7 +657,7 @@ if (NATIVE_WEAK_MAP || shared.state) {
628
657
  var wmhas = uncurryThis$7(store.has);
629
658
  var wmset = uncurryThis$7(store.set);
630
659
  set$1 = function (it, metadata) {
631
- if (wmhas(store, it)) throw new TypeError$2(OBJECT_ALREADY_INITIALIZED);
660
+ if (wmhas(store, it)) throw TypeError$2(OBJECT_ALREADY_INITIALIZED);
632
661
  metadata.facade = it;
633
662
  wmset(store, it, metadata);
634
663
  return metadata;
@@ -643,7 +672,7 @@ if (NATIVE_WEAK_MAP || shared.state) {
643
672
  var STATE = sharedKey('state');
644
673
  hiddenKeys$2[STATE] = true;
645
674
  set$1 = function (it, metadata) {
646
- if (hasOwn$5(it, STATE)) throw new TypeError$2(OBJECT_ALREADY_INITIALIZED);
675
+ if (hasOwn$5(it, STATE)) throw TypeError$2(OBJECT_ALREADY_INITIALIZED);
647
676
  metadata.facade = it;
648
677
  createNonEnumerableProperty$1(it, STATE, metadata);
649
678
  return metadata;
@@ -669,12 +698,12 @@ var isCallable$9 = isCallable$h;
669
698
  var hasOwn$4 = hasOwnProperty_1;
670
699
  var DESCRIPTORS$2 = descriptors;
671
700
  var CONFIGURABLE_FUNCTION_NAME = functionName.CONFIGURABLE;
672
- var inspectSource$2 = inspectSource$4;
701
+ var inspectSource$2 = inspectSource$3;
673
702
  var InternalStateModule$1 = internalState;
674
703
 
675
704
  var enforceInternalState = InternalStateModule$1.enforce;
676
705
  var getInternalState = InternalStateModule$1.get;
677
- // eslint-disable-next-line es-x/no-object-defineproperty -- safe
706
+ // eslint-disable-next-line es/no-object-defineproperty -- safe
678
707
  var defineProperty$2 = Object.defineProperty;
679
708
 
680
709
  var CONFIGURABLE_LENGTH = DESCRIPTORS$2 && !fails$4(function () {
@@ -749,7 +778,7 @@ var floor = Math.floor;
749
778
 
750
779
  // `Math.trunc` method
751
780
  // https://tc39.es/ecma262/#sec-math.trunc
752
- // eslint-disable-next-line es-x/no-math-trunc -- safe
781
+ // eslint-disable-next-line es/no-math-trunc -- safe
753
782
  var mathTrunc = Math.trunc || function trunc(x) {
754
783
  var n = +x;
755
784
  return (n > 0 ? floor : ceil)(n);
@@ -868,14 +897,14 @@ var hiddenKeys = enumBugKeys$1.concat('length', 'prototype');
868
897
 
869
898
  // `Object.getOwnPropertyNames` method
870
899
  // https://tc39.es/ecma262/#sec-object.getownpropertynames
871
- // eslint-disable-next-line es-x/no-object-getownpropertynames -- safe
900
+ // eslint-disable-next-line es/no-object-getownpropertynames -- safe
872
901
  objectGetOwnPropertyNames.f = Object.getOwnPropertyNames || function getOwnPropertyNames(O) {
873
902
  return internalObjectKeys$1(O, hiddenKeys);
874
903
  };
875
904
 
876
905
  var objectGetOwnPropertySymbols = {};
877
906
 
878
- // eslint-disable-next-line es-x/no-object-getownpropertysymbols -- safe
907
+ // eslint-disable-next-line es/no-object-getownpropertysymbols -- safe
879
908
  objectGetOwnPropertySymbols.f = Object.getOwnPropertySymbols;
880
909
 
881
910
  var getBuiltIn$5 = getBuiltIn$8;
@@ -996,11 +1025,11 @@ var engineIsNode = classof$3(global$8.process) == 'process';
996
1025
  var isCallable$6 = isCallable$h;
997
1026
 
998
1027
  var $String = String;
999
- var $TypeError$5 = TypeError;
1028
+ var $TypeError$6 = TypeError;
1000
1029
 
1001
1030
  var aPossiblePrototype$1 = function (argument) {
1002
1031
  if (typeof argument == 'object' || isCallable$6(argument)) return argument;
1003
- throw $TypeError$5("Can't set " + $String(argument) + ' as a prototype');
1032
+ throw $TypeError$6("Can't set " + $String(argument) + ' as a prototype');
1004
1033
  };
1005
1034
 
1006
1035
  /* eslint-disable no-proto -- safe */
@@ -1012,13 +1041,13 @@ var aPossiblePrototype = aPossiblePrototype$1;
1012
1041
  // `Object.setPrototypeOf` method
1013
1042
  // https://tc39.es/ecma262/#sec-object.setprototypeof
1014
1043
  // Works with __proto__ only. Old v8 can't work with null proto objects.
1015
- // eslint-disable-next-line es-x/no-object-setprototypeof -- safe
1044
+ // eslint-disable-next-line es/no-object-setprototypeof -- safe
1016
1045
  var objectSetPrototypeOf = Object.setPrototypeOf || ('__proto__' in {} ? function () {
1017
1046
  var CORRECT_SETTER = false;
1018
1047
  var test = {};
1019
1048
  var setter;
1020
1049
  try {
1021
- // eslint-disable-next-line es-x/no-object-getownpropertydescriptor -- safe
1050
+ // eslint-disable-next-line es/no-object-getownpropertydescriptor -- safe
1022
1051
  setter = uncurryThis$4(Object.getOwnPropertyDescriptor(Object.prototype, '__proto__').set);
1023
1052
  setter(test, []);
1024
1053
  CORRECT_SETTER = test instanceof Array;
@@ -1066,11 +1095,11 @@ var setSpecies$1 = function (CONSTRUCTOR_NAME) {
1066
1095
 
1067
1096
  var isPrototypeOf$1 = objectIsPrototypeOf;
1068
1097
 
1069
- var $TypeError$4 = TypeError;
1098
+ var $TypeError$5 = TypeError;
1070
1099
 
1071
1100
  var anInstance$1 = function (it, Prototype) {
1072
1101
  if (isPrototypeOf$1(Prototype, it)) return it;
1073
- throw $TypeError$4('Incorrect invocation');
1102
+ throw $TypeError$5('Incorrect invocation');
1074
1103
  };
1075
1104
 
1076
1105
  var wellKnownSymbol$6 = wellKnownSymbol$a;
@@ -1117,7 +1146,7 @@ var fails$2 = fails$b;
1117
1146
  var isCallable$4 = isCallable$h;
1118
1147
  var classof$1 = classof$2;
1119
1148
  var getBuiltIn$3 = getBuiltIn$8;
1120
- var inspectSource$1 = inspectSource$4;
1149
+ var inspectSource$1 = inspectSource$3;
1121
1150
 
1122
1151
  var noop = function () { /* empty */ };
1123
1152
  var empty = [];
@@ -1168,16 +1197,17 @@ var isConstructor$1 = !construct || fails$2(function () {
1168
1197
  var isConstructor = isConstructor$1;
1169
1198
  var tryToString$2 = tryToString$4;
1170
1199
 
1171
- var $TypeError$3 = TypeError;
1200
+ var $TypeError$4 = TypeError;
1172
1201
 
1173
1202
  // `Assert: IsConstructor(argument) is true`
1174
1203
  var aConstructor$1 = function (argument) {
1175
1204
  if (isConstructor(argument)) return argument;
1176
- throw $TypeError$3(tryToString$2(argument) + ' is not a constructor');
1205
+ throw $TypeError$4(tryToString$2(argument) + ' is not a constructor');
1177
1206
  };
1178
1207
 
1179
1208
  var anObject$4 = anObject$8;
1180
1209
  var aConstructor = aConstructor$1;
1210
+ var isNullOrUndefined$1 = isNullOrUndefined$4;
1181
1211
  var wellKnownSymbol$4 = wellKnownSymbol$a;
1182
1212
 
1183
1213
  var SPECIES$1 = wellKnownSymbol$4('species');
@@ -1187,7 +1217,7 @@ var SPECIES$1 = wellKnownSymbol$4('species');
1187
1217
  var speciesConstructor$1 = function (O, defaultConstructor) {
1188
1218
  var C = anObject$4(O).constructor;
1189
1219
  var S;
1190
- return C === undefined || (S = anObject$4(C)[SPECIES$1]) == undefined ? defaultConstructor : aConstructor(S);
1220
+ return C === undefined || isNullOrUndefined$1(S = anObject$4(C)[SPECIES$1]) ? defaultConstructor : aConstructor(S);
1191
1221
  };
1192
1222
 
1193
1223
  var NATIVE_BIND$1 = functionBindNative;
@@ -1196,7 +1226,7 @@ var FunctionPrototype = Function.prototype;
1196
1226
  var apply$1 = FunctionPrototype.apply;
1197
1227
  var call$8 = FunctionPrototype.call;
1198
1228
 
1199
- // eslint-disable-next-line es-x/no-reflect -- safe
1229
+ // eslint-disable-next-line es/no-reflect -- safe
1200
1230
  var functionApply = typeof Reflect == 'object' && Reflect.apply || (NATIVE_BIND$1 ? call$8.bind(apply$1) : function () {
1201
1231
  return call$8.apply(apply$1, arguments);
1202
1232
  });
@@ -1223,10 +1253,10 @@ var uncurryThis$1 = functionUncurryThis;
1223
1253
 
1224
1254
  var arraySlice$1 = uncurryThis$1([].slice);
1225
1255
 
1226
- var $TypeError$2 = TypeError;
1256
+ var $TypeError$3 = TypeError;
1227
1257
 
1228
1258
  var validateArgumentsLength$1 = function (passed, required) {
1229
- if (passed < required) throw $TypeError$2('Not enough arguments');
1259
+ if (passed < required) throw $TypeError$3('Not enough arguments');
1230
1260
  return passed;
1231
1261
  };
1232
1262
 
@@ -1257,11 +1287,11 @@ var String$1 = global$7.String;
1257
1287
  var counter = 0;
1258
1288
  var queue$1 = {};
1259
1289
  var ONREADYSTATECHANGE = 'onreadystatechange';
1260
- var location, defer, channel, port;
1290
+ var $location, defer, channel, port;
1261
1291
 
1262
1292
  try {
1263
1293
  // Deno throws a ReferenceError on `location` access without `--location` flag
1264
- location = global$7.location;
1294
+ $location = global$7.location;
1265
1295
  } catch (error) { /* empty */ }
1266
1296
 
1267
1297
  var run = function (id) {
@@ -1284,7 +1314,7 @@ var listener = function (event) {
1284
1314
 
1285
1315
  var post = function (id) {
1286
1316
  // old engines have not location.origin
1287
- global$7.postMessage(String$1(id), location.protocol + '//' + location.host);
1317
+ global$7.postMessage(String$1(id), $location.protocol + '//' + $location.host);
1288
1318
  };
1289
1319
 
1290
1320
  // Node.js 0.9+ & IE10+ has setImmediate, otherwise:
@@ -1325,7 +1355,7 @@ if (!set || !clear) {
1325
1355
  global$7.addEventListener &&
1326
1356
  isCallable$3(global$7.postMessage) &&
1327
1357
  !global$7.importScripts &&
1328
- location && location.protocol !== 'file:' &&
1358
+ $location && $location.protocol !== 'file:' &&
1329
1359
  !fails$1(post)
1330
1360
  ) {
1331
1361
  defer = post;
@@ -1506,7 +1536,7 @@ var global$2 = global$i;
1506
1536
  var NativePromiseConstructor$3 = promiseNativeConstructor;
1507
1537
  var isCallable$2 = isCallable$h;
1508
1538
  var isForced = isForced_1;
1509
- var inspectSource = inspectSource$4;
1539
+ var inspectSource = inspectSource$3;
1510
1540
  var wellKnownSymbol$3 = wellKnownSymbol$a;
1511
1541
  var IS_BROWSER = engineIsBrowser;
1512
1542
  var IS_DENO = engineIsDeno;
@@ -1551,10 +1581,12 @@ var newPromiseCapability$2 = {};
1551
1581
 
1552
1582
  var aCallable$4 = aCallable$7;
1553
1583
 
1584
+ var $TypeError$2 = TypeError;
1585
+
1554
1586
  var PromiseCapability = function (C) {
1555
1587
  var resolve, reject;
1556
1588
  this.promise = new C(function ($$resolve, $$reject) {
1557
- if (resolve !== undefined || reject !== undefined) throw TypeError('Bad Promise constructor');
1589
+ if (resolve !== undefined || reject !== undefined) throw $TypeError$2('Bad Promise constructor');
1558
1590
  resolve = $$resolve;
1559
1591
  reject = $$reject;
1560
1592
  });
@@ -1870,13 +1902,14 @@ var isArrayIteratorMethod$1 = function (it) {
1870
1902
 
1871
1903
  var classof = classof$2;
1872
1904
  var getMethod$1 = getMethod$3;
1905
+ var isNullOrUndefined = isNullOrUndefined$4;
1873
1906
  var Iterators = iterators;
1874
1907
  var wellKnownSymbol$1 = wellKnownSymbol$a;
1875
1908
 
1876
1909
  var ITERATOR$1 = wellKnownSymbol$1('iterator');
1877
1910
 
1878
1911
  var getIteratorMethod$2 = function (it) {
1879
- if (it != undefined) return getMethod$1(it, ITERATOR$1)
1912
+ if (!isNullOrUndefined(it)) return getMethod$1(it, ITERATOR$1)
1880
1913
  || getMethod$1(it, '@@iterator')
1881
1914
  || Iterators[classof(it)];
1882
1915
  };
@@ -2006,7 +2039,7 @@ try {
2006
2039
  iteratorWithReturn[ITERATOR] = function () {
2007
2040
  return this;
2008
2041
  };
2009
- // eslint-disable-next-line es-x/no-array-from, no-throw-literal -- required for testing
2042
+ // eslint-disable-next-line es/no-array-from, no-throw-literal -- required for testing
2010
2043
  Array.from(iteratorWithReturn, function () { throw 2; });
2011
2044
  } catch (error) { /* empty */ }
2012
2045
 
@@ -2173,7 +2206,7 @@ var enumBugKeys = enumBugKeys$2;
2173
2206
 
2174
2207
  // `Object.keys` method
2175
2208
  // https://tc39.es/ecma262/#sec-object.keys
2176
- // eslint-disable-next-line es-x/no-object-keys -- safe
2209
+ // eslint-disable-next-line es/no-object-keys -- safe
2177
2210
  var objectKeys$1 = Object.keys || function keys(O) {
2178
2211
  return internalObjectKeys(O, enumBugKeys);
2179
2212
  };
@@ -2188,9 +2221,9 @@ var propertyIsEnumerableModule = objectPropertyIsEnumerable;
2188
2221
  var toObject = toObject$2;
2189
2222
  var IndexedObject = indexedObject;
2190
2223
 
2191
- // eslint-disable-next-line es-x/no-object-assign -- safe
2224
+ // eslint-disable-next-line es/no-object-assign -- safe
2192
2225
  var $assign = Object.assign;
2193
- // eslint-disable-next-line es-x/no-object-defineproperty -- required for testing
2226
+ // eslint-disable-next-line es/no-object-defineproperty -- required for testing
2194
2227
  var defineProperty = Object.defineProperty;
2195
2228
  var concat = uncurryThis([].concat);
2196
2229
 
@@ -2210,7 +2243,7 @@ var objectAssign = !$assign || fails(function () {
2210
2243
  // should work with symbols and should have deterministic property order (V8 bug)
2211
2244
  var A = {};
2212
2245
  var B = {};
2213
- // eslint-disable-next-line es-x/no-symbol -- safe
2246
+ // eslint-disable-next-line es/no-symbol -- safe
2214
2247
  var symbol = Symbol();
2215
2248
  var alphabet = 'abcdefghijklmnopqrst';
2216
2249
  A[symbol] = 7;
@@ -2240,7 +2273,7 @@ var assign = objectAssign;
2240
2273
 
2241
2274
  // `Object.assign` method
2242
2275
  // https://tc39.es/ecma262/#sec-object.assign
2243
- // eslint-disable-next-line es-x/no-object-assign -- required for testing
2276
+ // eslint-disable-next-line es/no-object-assign -- required for testing
2244
2277
  $({ target: 'Object', stat: true, arity: 2, forced: Object.assign !== assign }, {
2245
2278
  assign: assign
2246
2279
  });
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@trackunit/react-core-contexts-test",
3
- "version": "0.0.36",
3
+ "version": "0.0.38",
4
4
  "repository": "https://github.com/Trackunit/manager",
5
5
  "license": "SEE LICENSE IN LICENSE.txt",
6
6
  "module": "./index.js",
@@ -9,11 +9,11 @@
9
9
  "types": "./index.d.ts",
10
10
  "dependencies": {
11
11
  "@apollo/client": "3.6.9",
12
- "react": "17.0.1",
13
- "@trackunit/react-core-contexts-api": "0.0.57",
14
- "@trackunit/react-core-hooks": "0.0.65",
15
- "@trackunit/tailwind-styled-components": "0.0.43",
16
- "react-router-dom": "^6.2.2",
12
+ "react": "17.0.2",
13
+ "@trackunit/react-core-contexts-api": "0.0.59",
14
+ "@trackunit/react-core-hooks": "0.0.67",
15
+ "@trackunit/tailwind-styled-components": "0.0.44",
16
+ "react-router-dom": "6.4.1",
17
17
  "graphql": "^15.8.0"
18
18
  },
19
19
  "peerDependencies": {}