@trackunit/iris-app-runtime-core 0.0.68 → 0.0.69

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/index.js +40 -32
  2. package/package.json +3 -3
package/index.js CHANGED
@@ -129,33 +129,40 @@ var createPropertyDescriptor$2 = function (bitmap, value) {
129
129
  var NATIVE_BIND = functionBindNative;
130
130
 
131
131
  var FunctionPrototype$1 = Function.prototype;
132
- var bind = FunctionPrototype$1.bind;
133
132
  var call$4 = FunctionPrototype$1.call;
134
- var uncurryThis$d = NATIVE_BIND && bind.bind(call$4, call$4);
133
+ var uncurryThisWithBind = NATIVE_BIND && FunctionPrototype$1.bind.bind(call$4, call$4);
135
134
 
136
- var functionUncurryThis = NATIVE_BIND ? function (fn) {
137
- return fn && uncurryThis$d(fn);
138
- } : function (fn) {
139
- return fn && function () {
135
+ var functionUncurryThisRaw = function (fn) {
136
+ return NATIVE_BIND ? uncurryThisWithBind(fn) : function () {
140
137
  return call$4.apply(fn, arguments);
141
138
  };
142
139
  };
143
140
 
144
- var uncurryThis$c = functionUncurryThis;
141
+ var uncurryThisRaw$1 = functionUncurryThisRaw;
145
142
 
146
- var toString$5 = uncurryThis$c({}.toString);
147
- var stringSlice = uncurryThis$c(''.slice);
143
+ var toString$5 = uncurryThisRaw$1({}.toString);
144
+ var stringSlice = uncurryThisRaw$1(''.slice);
148
145
 
149
- var classofRaw$1 = function (it) {
146
+ var classofRaw$2 = function (it) {
150
147
  return stringSlice(toString$5(it), 8, -1);
151
148
  };
152
149
 
153
- var uncurryThis$b = functionUncurryThis;
150
+ var classofRaw$1 = classofRaw$2;
151
+ var uncurryThisRaw = functionUncurryThisRaw;
152
+
153
+ var functionUncurryThis = function (fn) {
154
+ // Nashorn bug:
155
+ // https://github.com/zloirock/core-js/issues/1128
156
+ // https://github.com/zloirock/core-js/issues/1130
157
+ if (classofRaw$1(fn) === 'Function') return uncurryThisRaw(fn);
158
+ };
159
+
160
+ var uncurryThis$a = functionUncurryThis;
154
161
  var fails$9 = fails$c;
155
- var classof$2 = classofRaw$1;
162
+ var classof$2 = classofRaw$2;
156
163
 
157
164
  var $Object$3 = Object;
158
- var split = uncurryThis$b(''.split);
165
+ var split = uncurryThis$a(''.split);
159
166
 
160
167
  // fallback for non-array-like ES3 and non-enumerable old V8 strings
161
168
  var indexedObject = fails$9(function () {
@@ -235,9 +242,9 @@ var getBuiltIn$3 = function (namespace, method) {
235
242
  return arguments.length < 2 ? aFunction(global$b[namespace]) : global$b[namespace] && global$b[namespace][method];
236
243
  };
237
244
 
238
- var uncurryThis$a = functionUncurryThis;
245
+ var uncurryThis$9 = functionUncurryThis;
239
246
 
240
- var objectIsPrototypeOf = uncurryThis$a({}.isPrototypeOf);
247
+ var objectIsPrototypeOf = uncurryThis$9({}.isPrototypeOf);
241
248
 
242
249
  var getBuiltIn$2 = getBuiltIn$3;
243
250
 
@@ -383,10 +390,10 @@ var store$2 = sharedStore;
383
390
  (shared$3.exports = function (key, value) {
384
391
  return store$2[key] || (store$2[key] = value !== undefined ? value : {});
385
392
  })('versions', []).push({
386
- version: '3.25.3',
393
+ version: '3.25.5',
387
394
  mode: 'global',
388
395
  copyright: '© 2014-2022 Denis Pushkarev (zloirock.ru)',
389
- license: 'https://github.com/zloirock/core-js/blob/v3.25.3/LICENSE',
396
+ license: 'https://github.com/zloirock/core-js/blob/v3.25.5/LICENSE',
390
397
  source: 'https://github.com/zloirock/core-js'
391
398
  });
392
399
 
@@ -400,10 +407,10 @@ var toObject$2 = function (argument) {
400
407
  return $Object$1(requireObjectCoercible$1(argument));
401
408
  };
402
409
 
403
- var uncurryThis$9 = functionUncurryThis;
410
+ var uncurryThis$8 = functionUncurryThis;
404
411
  var toObject$1 = toObject$2;
405
412
 
406
- var hasOwnProperty = uncurryThis$9({}.hasOwnProperty);
413
+ var hasOwnProperty = uncurryThis$8({}.hasOwnProperty);
407
414
 
408
415
  // `HasOwnProperty` abstract operation
409
416
  // https://tc39.es/ecma262/#sec-hasownproperty
@@ -412,11 +419,11 @@ var hasOwnProperty_1 = Object.hasOwn || function hasOwn(it, key) {
412
419
  return hasOwnProperty(toObject$1(it), key);
413
420
  };
414
421
 
415
- var uncurryThis$8 = functionUncurryThis;
422
+ var uncurryThis$7 = functionUncurryThis;
416
423
 
417
424
  var id = 0;
418
425
  var postfix = Math.random();
419
- var toString$4 = uncurryThis$8(1.0.toString);
426
+ var toString$4 = uncurryThis$7(1.0.toString);
420
427
 
421
428
  var uid$2 = function (key) {
422
429
  return 'Symbol(' + (key === undefined ? '' : key) + ')_' + toString$4(++id + postfix, 36);
@@ -630,11 +637,11 @@ var functionName = {
630
637
  CONFIGURABLE: CONFIGURABLE
631
638
  };
632
639
 
633
- var uncurryThis$7 = functionUncurryThis;
640
+ var uncurryThis$6 = functionUncurryThis;
634
641
  var isCallable$5 = isCallable$b;
635
642
  var store$1 = sharedStore;
636
643
 
637
- var functionToString = uncurryThis$7(Function.toString);
644
+ var functionToString = uncurryThis$6(Function.toString);
638
645
 
639
646
  // this helper broken in `core-js@3.4.1-3.4.4`, so we can't use `shared` helper
640
647
  if (!isCallable$5(store$1.inspectSource)) {
@@ -665,7 +672,6 @@ var hiddenKeys$3 = {};
665
672
 
666
673
  var NATIVE_WEAK_MAP = weakMapBasicDetection;
667
674
  var global$4 = global$c;
668
- var uncurryThis$6 = functionUncurryThis;
669
675
  var isObject = isObject$5;
670
676
  var createNonEnumerableProperty$1 = createNonEnumerableProperty$2;
671
677
  var hasOwn$3 = hasOwnProperty_1;
@@ -693,20 +699,22 @@ var getterFor = function (TYPE) {
693
699
 
694
700
  if (NATIVE_WEAK_MAP || shared.state) {
695
701
  var store = shared.state || (shared.state = new WeakMap());
696
- var wmget = uncurryThis$6(store.get);
697
- var wmhas = uncurryThis$6(store.has);
698
- var wmset = uncurryThis$6(store.set);
702
+ /* eslint-disable no-self-assign -- prototype methods protection */
703
+ store.get = store.get;
704
+ store.has = store.has;
705
+ store.set = store.set;
706
+ /* eslint-enable no-self-assign -- prototype methods protection */
699
707
  set = function (it, metadata) {
700
- if (wmhas(store, it)) throw TypeError$1(OBJECT_ALREADY_INITIALIZED);
708
+ if (store.has(it)) throw TypeError$1(OBJECT_ALREADY_INITIALIZED);
701
709
  metadata.facade = it;
702
- wmset(store, it, metadata);
710
+ store.set(it, metadata);
703
711
  return metadata;
704
712
  };
705
713
  get = function (it) {
706
- return wmget(store, it) || {};
714
+ return store.get(it) || {};
707
715
  };
708
716
  has = function (it) {
709
- return wmhas(store, it);
717
+ return store.has(it);
710
718
  };
711
719
  } else {
712
720
  var STATE = sharedKey('state');
@@ -1068,7 +1076,7 @@ var toStringTagSupport = String(test) === '[object z]';
1068
1076
 
1069
1077
  var TO_STRING_TAG_SUPPORT = toStringTagSupport;
1070
1078
  var isCallable = isCallable$b;
1071
- var classofRaw = classofRaw$1;
1079
+ var classofRaw = classofRaw$2;
1072
1080
  var wellKnownSymbol = wellKnownSymbol$3;
1073
1081
 
1074
1082
  var TO_STRING_TAG = wellKnownSymbol('toStringTag');
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@trackunit/iris-app-runtime-core",
3
- "version": "0.0.68",
3
+ "version": "0.0.69",
4
4
  "repository": "https://github.com/Trackunit/manager",
5
5
  "license": "SEE LICENSE IN LICENSE.txt",
6
6
  "module": "./index.js",
@@ -8,8 +8,8 @@
8
8
  "type": "module",
9
9
  "types": "./index.d.ts",
10
10
  "dependencies": {
11
- "@trackunit/iris-app-runtime-core-api": "0.0.65",
12
- "@trackunit/react-core-contexts-api": "0.0.59"
11
+ "@trackunit/iris-app-runtime-core-api": "0.0.66",
12
+ "@trackunit/react-core-contexts-api": "0.0.60"
13
13
  },
14
14
  "peerDependencies": {}
15
15
  }