@trackunit/react-core-contexts-test 0.0.39 → 0.0.41

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 +41 -33
  2. package/package.json +4 -4
package/index2.js CHANGED
@@ -89,33 +89,40 @@ var createPropertyDescriptor$2 = function (bitmap, value) {
89
89
  var NATIVE_BIND$2 = functionBindNative;
90
90
 
91
91
  var FunctionPrototype$2 = Function.prototype;
92
- var bind$5 = FunctionPrototype$2.bind;
93
92
  var call$c = FunctionPrototype$2.call;
94
- var uncurryThis$e = NATIVE_BIND$2 && bind$5.bind(call$c, call$c);
93
+ var uncurryThisWithBind = NATIVE_BIND$2 && FunctionPrototype$2.bind.bind(call$c, call$c);
95
94
 
96
- var functionUncurryThis = NATIVE_BIND$2 ? function (fn) {
97
- return fn && uncurryThis$e(fn);
98
- } : function (fn) {
99
- return fn && function () {
95
+ var functionUncurryThisRaw = function (fn) {
96
+ return NATIVE_BIND$2 ? uncurryThisWithBind(fn) : function () {
100
97
  return call$c.apply(fn, arguments);
101
98
  };
102
99
  };
103
100
 
104
- var uncurryThis$d = functionUncurryThis;
101
+ var uncurryThisRaw$1 = functionUncurryThisRaw;
105
102
 
106
- var toString$1 = uncurryThis$d({}.toString);
107
- var stringSlice = uncurryThis$d(''.slice);
103
+ var toString$1 = uncurryThisRaw$1({}.toString);
104
+ var stringSlice = uncurryThisRaw$1(''.slice);
108
105
 
109
- var classofRaw$1 = function (it) {
106
+ var classofRaw$2 = function (it) {
110
107
  return stringSlice(toString$1(it), 8, -1);
111
108
  };
112
109
 
113
- var uncurryThis$c = functionUncurryThis;
110
+ var classofRaw$1 = classofRaw$2;
111
+ var uncurryThisRaw = functionUncurryThisRaw;
112
+
113
+ var functionUncurryThis = function (fn) {
114
+ // Nashorn bug:
115
+ // https://github.com/zloirock/core-js/issues/1128
116
+ // https://github.com/zloirock/core-js/issues/1130
117
+ if (classofRaw$1(fn) === 'Function') return uncurryThisRaw(fn);
118
+ };
119
+
120
+ var uncurryThis$b = functionUncurryThis;
114
121
  var fails$8 = fails$b;
115
- var classof$4 = classofRaw$1;
122
+ var classof$4 = classofRaw$2;
116
123
 
117
124
  var $Object$3 = Object;
118
- var split = uncurryThis$c(''.split);
125
+ var split = uncurryThis$b(''.split);
119
126
 
120
127
  // fallback for non-array-like ES3 and non-enumerable old V8 strings
121
128
  var indexedObject = fails$8(function () {
@@ -195,9 +202,9 @@ var getBuiltIn$8 = function (namespace, method) {
195
202
  return arguments.length < 2 ? aFunction(global$h[namespace]) : global$h[namespace] && global$h[namespace][method];
196
203
  };
197
204
 
198
- var uncurryThis$b = functionUncurryThis;
205
+ var uncurryThis$a = functionUncurryThis;
199
206
 
200
- var objectIsPrototypeOf = uncurryThis$b({}.isPrototypeOf);
207
+ var objectIsPrototypeOf = uncurryThis$a({}.isPrototypeOf);
201
208
 
202
209
  var getBuiltIn$7 = getBuiltIn$8;
203
210
 
@@ -343,10 +350,10 @@ var store$2 = sharedStore;
343
350
  (shared$3.exports = function (key, value) {
344
351
  return store$2[key] || (store$2[key] = value !== undefined ? value : {});
345
352
  })('versions', []).push({
346
- version: '3.25.3',
353
+ version: '3.25.5',
347
354
  mode: 'global',
348
355
  copyright: '© 2014-2022 Denis Pushkarev (zloirock.ru)',
349
- license: 'https://github.com/zloirock/core-js/blob/v3.25.3/LICENSE',
356
+ license: 'https://github.com/zloirock/core-js/blob/v3.25.5/LICENSE',
350
357
  source: 'https://github.com/zloirock/core-js'
351
358
  });
352
359
 
@@ -360,10 +367,10 @@ var toObject$2 = function (argument) {
360
367
  return $Object$1(requireObjectCoercible(argument));
361
368
  };
362
369
 
363
- var uncurryThis$a = functionUncurryThis;
370
+ var uncurryThis$9 = functionUncurryThis;
364
371
  var toObject$1 = toObject$2;
365
372
 
366
- var hasOwnProperty = uncurryThis$a({}.hasOwnProperty);
373
+ var hasOwnProperty = uncurryThis$9({}.hasOwnProperty);
367
374
 
368
375
  // `HasOwnProperty` abstract operation
369
376
  // https://tc39.es/ecma262/#sec-hasownproperty
@@ -372,11 +379,11 @@ var hasOwnProperty_1 = Object.hasOwn || function hasOwn(it, key) {
372
379
  return hasOwnProperty(toObject$1(it), key);
373
380
  };
374
381
 
375
- var uncurryThis$9 = functionUncurryThis;
382
+ var uncurryThis$8 = functionUncurryThis;
376
383
 
377
384
  var id = 0;
378
385
  var postfix = Math.random();
379
- var toString = uncurryThis$9(1.0.toString);
386
+ var toString = uncurryThis$8(1.0.toString);
380
387
 
381
388
  var uid$2 = function (key) {
382
389
  return 'Symbol(' + (key === undefined ? '' : key) + ')_' + toString(++id + postfix, 36);
@@ -590,11 +597,11 @@ var functionName = {
590
597
  CONFIGURABLE: CONFIGURABLE
591
598
  };
592
599
 
593
- var uncurryThis$8 = functionUncurryThis;
600
+ var uncurryThis$7 = functionUncurryThis;
594
601
  var isCallable$b = isCallable$h;
595
602
  var store$1 = sharedStore;
596
603
 
597
- var functionToString = uncurryThis$8(Function.toString);
604
+ var functionToString = uncurryThis$7(Function.toString);
598
605
 
599
606
  // this helper broken in `core-js@3.4.1-3.4.4`, so we can't use `shared` helper
600
607
  if (!isCallable$b(store$1.inspectSource)) {
@@ -625,7 +632,6 @@ var hiddenKeys$3 = {};
625
632
 
626
633
  var NATIVE_WEAK_MAP = weakMapBasicDetection;
627
634
  var global$a = global$i;
628
- var uncurryThis$7 = functionUncurryThis;
629
635
  var isObject$2 = isObject$7;
630
636
  var createNonEnumerableProperty$1 = createNonEnumerableProperty$2;
631
637
  var hasOwn$5 = hasOwnProperty_1;
@@ -653,20 +659,22 @@ var getterFor = function (TYPE) {
653
659
 
654
660
  if (NATIVE_WEAK_MAP || shared.state) {
655
661
  var store = shared.state || (shared.state = new WeakMap());
656
- var wmget = uncurryThis$7(store.get);
657
- var wmhas = uncurryThis$7(store.has);
658
- var wmset = uncurryThis$7(store.set);
662
+ /* eslint-disable no-self-assign -- prototype methods protection */
663
+ store.get = store.get;
664
+ store.has = store.has;
665
+ store.set = store.set;
666
+ /* eslint-enable no-self-assign -- prototype methods protection */
659
667
  set$1 = function (it, metadata) {
660
- if (wmhas(store, it)) throw TypeError$2(OBJECT_ALREADY_INITIALIZED);
668
+ if (store.has(it)) throw TypeError$2(OBJECT_ALREADY_INITIALIZED);
661
669
  metadata.facade = it;
662
- wmset(store, it, metadata);
670
+ store.set(it, metadata);
663
671
  return metadata;
664
672
  };
665
673
  get = function (it) {
666
- return wmget(store, it) || {};
674
+ return store.get(it) || {};
667
675
  };
668
676
  has = function (it) {
669
- return wmhas(store, it);
677
+ return store.has(it);
670
678
  };
671
679
  } else {
672
680
  var STATE = sharedKey('state');
@@ -1017,7 +1025,7 @@ var _export = function (options, source) {
1017
1025
  }
1018
1026
  };
1019
1027
 
1020
- var classof$3 = classofRaw$1;
1028
+ var classof$3 = classofRaw$2;
1021
1029
  var global$8 = global$i;
1022
1030
 
1023
1031
  var engineIsNode = classof$3(global$8.process) == 'process';
@@ -1113,7 +1121,7 @@ var toStringTagSupport = String(test) === '[object z]';
1113
1121
 
1114
1122
  var TO_STRING_TAG_SUPPORT = toStringTagSupport;
1115
1123
  var isCallable$5 = isCallable$h;
1116
- var classofRaw = classofRaw$1;
1124
+ var classofRaw = classofRaw$2;
1117
1125
  var wellKnownSymbol$5 = wellKnownSymbol$a;
1118
1126
 
1119
1127
  var TO_STRING_TAG = wellKnownSymbol$5('toStringTag');
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@trackunit/react-core-contexts-test",
3
- "version": "0.0.39",
3
+ "version": "0.0.41",
4
4
  "repository": "https://github.com/Trackunit/manager",
5
5
  "license": "SEE LICENSE IN LICENSE.txt",
6
6
  "module": "./index.js",
@@ -10,9 +10,9 @@
10
10
  "dependencies": {
11
11
  "@apollo/client": "3.6.9",
12
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.45",
13
+ "@trackunit/react-core-contexts-api": "0.0.61",
14
+ "@trackunit/react-core-hooks": "0.0.69",
15
+ "@trackunit/tailwind-styled-components": "0.0.46",
16
16
  "react-router-dom": "6.4.1",
17
17
  "graphql": "^15.8.0"
18
18
  },