@trackunit/iris-app-runtime-core 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.
Files changed (2) hide show
  1. package/index.js +77 -48
  2. package/package.json +3 -3
package/index.js CHANGED
@@ -57,7 +57,7 @@ var check = function (it) {
57
57
 
58
58
  // https://github.com/zloirock/core-js/issues/86#issuecomment-115759028
59
59
  var global$c =
60
- // eslint-disable-next-line es-x/no-global-this -- safe
60
+ // eslint-disable-next-line es/no-global-this -- safe
61
61
  check(typeof globalThis == 'object' && globalThis) ||
62
62
  check(typeof window == 'object' && window) ||
63
63
  // eslint-disable-next-line no-restricted-globals -- safe
@@ -80,14 +80,14 @@ var fails$b = fails$c;
80
80
 
81
81
  // Detect IE8's incomplete defineProperty implementation
82
82
  var descriptors = !fails$b(function () {
83
- // eslint-disable-next-line es-x/no-object-defineproperty -- required for testing
83
+ // eslint-disable-next-line es/no-object-defineproperty -- required for testing
84
84
  return Object.defineProperty({}, 1, { get: function () { return 7; } })[1] != 7;
85
85
  });
86
86
 
87
87
  var fails$a = fails$c;
88
88
 
89
89
  var functionBindNative = !fails$a(function () {
90
- // eslint-disable-next-line es-x/no-function-prototype-bind -- safe
90
+ // eslint-disable-next-line es/no-function-prototype-bind -- safe
91
91
  var test = (function () { /* empty */ }).bind();
92
92
  // eslint-disable-next-line no-prototype-builtins -- safe
93
93
  return typeof test != 'function' || test.hasOwnProperty('prototype');
@@ -104,7 +104,7 @@ var functionCall = NATIVE_BIND$1 ? call$5.bind(call$5) : function () {
104
104
  var objectPropertyIsEnumerable = {};
105
105
 
106
106
  var $propertyIsEnumerable = {}.propertyIsEnumerable;
107
- // eslint-disable-next-line es-x/no-object-getownpropertydescriptor -- safe
107
+ // eslint-disable-next-line es/no-object-getownpropertydescriptor -- safe
108
108
  var getOwnPropertyDescriptor$1 = Object.getOwnPropertyDescriptor;
109
109
 
110
110
  // Nashorn ~ JDK8 bug
@@ -166,12 +166,20 @@ var indexedObject = fails$9(function () {
166
166
  return classof$2(it) == 'String' ? split(it, '') : $Object$3(it);
167
167
  } : $Object$3;
168
168
 
169
+ // we can't use just `it == null` since of `document.all` special case
170
+ // https://tc39.es/ecma262/#sec-IsHTMLDDA-internal-slot-aec
171
+ var isNullOrUndefined$2 = function (it) {
172
+ return it === null || it === undefined;
173
+ };
174
+
175
+ var isNullOrUndefined$1 = isNullOrUndefined$2;
176
+
169
177
  var $TypeError$5 = TypeError;
170
178
 
171
179
  // `RequireObjectCoercible` abstract operation
172
180
  // https://tc39.es/ecma262/#sec-requireobjectcoercible
173
181
  var requireObjectCoercible$3 = function (it) {
174
- if (it == undefined) throw $TypeError$5("Can't call method on " + it);
182
+ if (isNullOrUndefined$1(it)) throw $TypeError$5("Can't call method on " + it);
175
183
  return it;
176
184
  };
177
185
 
@@ -183,15 +191,36 @@ var toIndexedObject$3 = function (it) {
183
191
  return IndexedObject$1(requireObjectCoercible$2(it));
184
192
  };
185
193
 
194
+ var documentAll$2 = typeof document == 'object' && document.all;
195
+
196
+ // https://tc39.es/ecma262/#sec-IsHTMLDDA-internal-slot
197
+ var IS_HTMLDDA = typeof documentAll$2 == 'undefined' && documentAll$2 !== undefined;
198
+
199
+ var documentAll_1 = {
200
+ all: documentAll$2,
201
+ IS_HTMLDDA: IS_HTMLDDA
202
+ };
203
+
204
+ var $documentAll$1 = documentAll_1;
205
+
206
+ var documentAll$1 = $documentAll$1.all;
207
+
186
208
  // `IsCallable` abstract operation
187
209
  // https://tc39.es/ecma262/#sec-iscallable
188
- var isCallable$b = function (argument) {
210
+ var isCallable$b = $documentAll$1.IS_HTMLDDA ? function (argument) {
211
+ return typeof argument == 'function' || argument === documentAll$1;
212
+ } : function (argument) {
189
213
  return typeof argument == 'function';
190
214
  };
191
215
 
192
216
  var isCallable$a = isCallable$b;
217
+ var $documentAll = documentAll_1;
193
218
 
194
- var isObject$5 = function (it) {
219
+ var documentAll = $documentAll.all;
220
+
221
+ var isObject$5 = $documentAll.IS_HTMLDDA ? function (it) {
222
+ return typeof it == 'object' ? it !== null : isCallable$a(it) || it === documentAll;
223
+ } : function (it) {
195
224
  return typeof it == 'object' ? it !== null : isCallable$a(it);
196
225
  };
197
226
 
@@ -242,13 +271,13 @@ if (!version && userAgent) {
242
271
 
243
272
  var engineV8Version = version;
244
273
 
245
- /* eslint-disable es-x/no-symbol -- required for testing */
274
+ /* eslint-disable es/no-symbol -- required for testing */
246
275
 
247
276
  var V8_VERSION = engineV8Version;
248
277
  var fails$8 = fails$c;
249
278
 
250
- // eslint-disable-next-line es-x/no-object-getownpropertysymbols -- required for testing
251
- var nativeSymbol = !!Object.getOwnPropertySymbols && !fails$8(function () {
279
+ // eslint-disable-next-line es/no-object-getownpropertysymbols -- required for testing
280
+ var symbolConstructorDetection = !!Object.getOwnPropertySymbols && !fails$8(function () {
252
281
  var symbol = Symbol();
253
282
  // Chrome 38 Symbol has incorrect toString conversion
254
283
  // `get-own-property-symbols` polyfill symbols converted to object are not Symbol instances
@@ -257,9 +286,9 @@ var nativeSymbol = !!Object.getOwnPropertySymbols && !fails$8(function () {
257
286
  !Symbol.sham && V8_VERSION && V8_VERSION < 41;
258
287
  });
259
288
 
260
- /* eslint-disable es-x/no-symbol -- required for testing */
289
+ /* eslint-disable es/no-symbol -- required for testing */
261
290
 
262
- var NATIVE_SYMBOL$1 = nativeSymbol;
291
+ var NATIVE_SYMBOL$1 = symbolConstructorDetection;
263
292
 
264
293
  var useSymbolAsUid = NATIVE_SYMBOL$1
265
294
  && !Symbol.sham
@@ -301,12 +330,13 @@ var aCallable$1 = function (argument) {
301
330
  };
302
331
 
303
332
  var aCallable = aCallable$1;
333
+ var isNullOrUndefined = isNullOrUndefined$2;
304
334
 
305
335
  // `GetMethod` abstract operation
306
336
  // https://tc39.es/ecma262/#sec-getmethod
307
337
  var getMethod$1 = function (V, P) {
308
338
  var func = V[P];
309
- return func == null ? undefined : aCallable(func);
339
+ return isNullOrUndefined(func) ? undefined : aCallable(func);
310
340
  };
311
341
 
312
342
  var call$3 = functionCall;
@@ -329,7 +359,7 @@ var shared$3 = {exports: {}};
329
359
 
330
360
  var global$9 = global$c;
331
361
 
332
- // eslint-disable-next-line es-x/no-object-defineproperty -- safe
362
+ // eslint-disable-next-line es/no-object-defineproperty -- safe
333
363
  var defineProperty$2 = Object.defineProperty;
334
364
 
335
365
  var defineGlobalProperty$3 = function (key, value) {
@@ -353,10 +383,10 @@ var store$2 = sharedStore;
353
383
  (shared$3.exports = function (key, value) {
354
384
  return store$2[key] || (store$2[key] = value !== undefined ? value : {});
355
385
  })('versions', []).push({
356
- version: '3.24.1',
386
+ version: '3.25.3',
357
387
  mode: 'global',
358
388
  copyright: '© 2014-2022 Denis Pushkarev (zloirock.ru)',
359
- license: 'https://github.com/zloirock/core-js/blob/v3.24.1/LICENSE',
389
+ license: 'https://github.com/zloirock/core-js/blob/v3.25.3/LICENSE',
360
390
  source: 'https://github.com/zloirock/core-js'
361
391
  });
362
392
 
@@ -377,7 +407,7 @@ var hasOwnProperty = uncurryThis$9({}.hasOwnProperty);
377
407
 
378
408
  // `HasOwnProperty` abstract operation
379
409
  // https://tc39.es/ecma262/#sec-hasownproperty
380
- // eslint-disable-next-line es-x/no-object-hasown -- safe
410
+ // eslint-disable-next-line es/no-object-hasown -- safe
381
411
  var hasOwnProperty_1 = Object.hasOwn || function hasOwn(it, key) {
382
412
  return hasOwnProperty(toObject$1(it), key);
383
413
  };
@@ -396,7 +426,7 @@ var global$7 = global$c;
396
426
  var shared$2 = shared$3.exports;
397
427
  var hasOwn$6 = hasOwnProperty_1;
398
428
  var uid$1 = uid$2;
399
- var NATIVE_SYMBOL = nativeSymbol;
429
+ var NATIVE_SYMBOL = symbolConstructorDetection;
400
430
  var USE_SYMBOL_AS_UID = useSymbolAsUid;
401
431
 
402
432
  var WellKnownSymbolsStore = shared$2('wks');
@@ -456,12 +486,12 @@ var toPropertyKey$2 = function (argument) {
456
486
  var global$6 = global$c;
457
487
  var isObject$2 = isObject$5;
458
488
 
459
- var document = global$6.document;
489
+ var document$1 = global$6.document;
460
490
  // typeof document.createElement is 'object' in old IE
461
- var EXISTS$1 = isObject$2(document) && isObject$2(document.createElement);
491
+ var EXISTS$1 = isObject$2(document$1) && isObject$2(document$1.createElement);
462
492
 
463
493
  var documentCreateElement = function (it) {
464
- return EXISTS$1 ? document.createElement(it) : {};
494
+ return EXISTS$1 ? document$1.createElement(it) : {};
465
495
  };
466
496
 
467
497
  var DESCRIPTORS$7 = descriptors;
@@ -470,7 +500,7 @@ var createElement = documentCreateElement;
470
500
 
471
501
  // Thanks to IE8 for its funny defineProperty
472
502
  var ie8DomDefine = !DESCRIPTORS$7 && !fails$7(function () {
473
- // eslint-disable-next-line es-x/no-object-defineproperty -- required for testing
503
+ // eslint-disable-next-line es/no-object-defineproperty -- required for testing
474
504
  return Object.defineProperty(createElement('div'), 'a', {
475
505
  get: function () { return 7; }
476
506
  }).a != 7;
@@ -485,7 +515,7 @@ var toPropertyKey$1 = toPropertyKey$2;
485
515
  var hasOwn$5 = hasOwnProperty_1;
486
516
  var IE8_DOM_DEFINE$1 = ie8DomDefine;
487
517
 
488
- // eslint-disable-next-line es-x/no-object-getownpropertydescriptor -- safe
518
+ // eslint-disable-next-line es/no-object-getownpropertydescriptor -- safe
489
519
  var $getOwnPropertyDescriptor$1 = Object.getOwnPropertyDescriptor;
490
520
 
491
521
  // `Object.getOwnPropertyDescriptor` method
@@ -507,7 +537,7 @@ var fails$6 = fails$c;
507
537
  // V8 ~ Chrome 36-
508
538
  // https://bugs.chromium.org/p/v8/issues/detail?id=3334
509
539
  var v8PrototypeDefineBug = DESCRIPTORS$5 && fails$6(function () {
510
- // eslint-disable-next-line es-x/no-object-defineproperty -- required for testing
540
+ // eslint-disable-next-line es/no-object-defineproperty -- required for testing
511
541
  return Object.defineProperty(function () { /* empty */ }, 'prototype', {
512
542
  value: 42,
513
543
  writable: false
@@ -532,9 +562,9 @@ var anObject$1 = anObject$2;
532
562
  var toPropertyKey = toPropertyKey$2;
533
563
 
534
564
  var $TypeError = TypeError;
535
- // eslint-disable-next-line es-x/no-object-defineproperty -- safe
565
+ // eslint-disable-next-line es/no-object-defineproperty -- safe
536
566
  var $defineProperty = Object.defineProperty;
537
- // eslint-disable-next-line es-x/no-object-getownpropertydescriptor -- safe
567
+ // eslint-disable-next-line es/no-object-getownpropertydescriptor -- safe
538
568
  var $getOwnPropertyDescriptor = Object.getOwnPropertyDescriptor;
539
569
  var ENUMERABLE = 'enumerable';
540
570
  var CONFIGURABLE$1 = 'configurable';
@@ -586,7 +616,7 @@ var DESCRIPTORS$2 = descriptors;
586
616
  var hasOwn$4 = hasOwnProperty_1;
587
617
 
588
618
  var FunctionPrototype = Function.prototype;
589
- // eslint-disable-next-line es-x/no-object-getownpropertydescriptor -- safe
619
+ // eslint-disable-next-line es/no-object-getownpropertydescriptor -- safe
590
620
  var getDescriptor = DESCRIPTORS$2 && Object.getOwnPropertyDescriptor;
591
621
 
592
622
  var EXISTS = hasOwn$4(FunctionPrototype, 'name');
@@ -613,15 +643,14 @@ if (!isCallable$5(store$1.inspectSource)) {
613
643
  };
614
644
  }
615
645
 
616
- var inspectSource$2 = store$1.inspectSource;
646
+ var inspectSource$1 = store$1.inspectSource;
617
647
 
618
648
  var global$5 = global$c;
619
649
  var isCallable$4 = isCallable$b;
620
- var inspectSource$1 = inspectSource$2;
621
650
 
622
651
  var WeakMap$1 = global$5.WeakMap;
623
652
 
624
- var nativeWeakMap = isCallable$4(WeakMap$1) && /native code/.test(inspectSource$1(WeakMap$1));
653
+ var weakMapBasicDetection = isCallable$4(WeakMap$1) && /native code/.test(String(WeakMap$1));
625
654
 
626
655
  var shared$1 = shared$3.exports;
627
656
  var uid = uid$2;
@@ -634,7 +663,7 @@ var sharedKey$1 = function (key) {
634
663
 
635
664
  var hiddenKeys$3 = {};
636
665
 
637
- var NATIVE_WEAK_MAP = nativeWeakMap;
666
+ var NATIVE_WEAK_MAP = weakMapBasicDetection;
638
667
  var global$4 = global$c;
639
668
  var uncurryThis$6 = functionUncurryThis;
640
669
  var isObject = isObject$5;
@@ -668,7 +697,7 @@ if (NATIVE_WEAK_MAP || shared.state) {
668
697
  var wmhas = uncurryThis$6(store.has);
669
698
  var wmset = uncurryThis$6(store.set);
670
699
  set = function (it, metadata) {
671
- if (wmhas(store, it)) throw new TypeError$1(OBJECT_ALREADY_INITIALIZED);
700
+ if (wmhas(store, it)) throw TypeError$1(OBJECT_ALREADY_INITIALIZED);
672
701
  metadata.facade = it;
673
702
  wmset(store, it, metadata);
674
703
  return metadata;
@@ -683,7 +712,7 @@ if (NATIVE_WEAK_MAP || shared.state) {
683
712
  var STATE = sharedKey('state');
684
713
  hiddenKeys$2[STATE] = true;
685
714
  set = function (it, metadata) {
686
- if (hasOwn$3(it, STATE)) throw new TypeError$1(OBJECT_ALREADY_INITIALIZED);
715
+ if (hasOwn$3(it, STATE)) throw TypeError$1(OBJECT_ALREADY_INITIALIZED);
687
716
  metadata.facade = it;
688
717
  createNonEnumerableProperty$1(it, STATE, metadata);
689
718
  return metadata;
@@ -709,12 +738,12 @@ var isCallable$3 = isCallable$b;
709
738
  var hasOwn$2 = hasOwnProperty_1;
710
739
  var DESCRIPTORS$1 = descriptors;
711
740
  var CONFIGURABLE_FUNCTION_NAME = functionName.CONFIGURABLE;
712
- var inspectSource = inspectSource$2;
741
+ var inspectSource = inspectSource$1;
713
742
  var InternalStateModule = internalState;
714
743
 
715
744
  var enforceInternalState = InternalStateModule.enforce;
716
745
  var getInternalState = InternalStateModule.get;
717
- // eslint-disable-next-line es-x/no-object-defineproperty -- safe
746
+ // eslint-disable-next-line es/no-object-defineproperty -- safe
718
747
  var defineProperty$1 = Object.defineProperty;
719
748
 
720
749
  var CONFIGURABLE_LENGTH = DESCRIPTORS$1 && !fails$5(function () {
@@ -789,7 +818,7 @@ var floor = Math.floor;
789
818
 
790
819
  // `Math.trunc` method
791
820
  // https://tc39.es/ecma262/#sec-math.trunc
792
- // eslint-disable-next-line es-x/no-math-trunc -- safe
821
+ // eslint-disable-next-line es/no-math-trunc -- safe
793
822
  var mathTrunc = Math.trunc || function trunc(x) {
794
823
  var n = +x;
795
824
  return (n > 0 ? floor : ceil)(n);
@@ -908,14 +937,14 @@ var hiddenKeys = enumBugKeys$1.concat('length', 'prototype');
908
937
 
909
938
  // `Object.getOwnPropertyNames` method
910
939
  // https://tc39.es/ecma262/#sec-object.getownpropertynames
911
- // eslint-disable-next-line es-x/no-object-getownpropertynames -- safe
940
+ // eslint-disable-next-line es/no-object-getownpropertynames -- safe
912
941
  objectGetOwnPropertyNames.f = Object.getOwnPropertyNames || function getOwnPropertyNames(O) {
913
942
  return internalObjectKeys$1(O, hiddenKeys);
914
943
  };
915
944
 
916
945
  var objectGetOwnPropertySymbols = {};
917
946
 
918
- // eslint-disable-next-line es-x/no-object-getownpropertysymbols -- safe
947
+ // eslint-disable-next-line es/no-object-getownpropertysymbols -- safe
919
948
  objectGetOwnPropertySymbols.f = Object.getOwnPropertySymbols;
920
949
 
921
950
  var getBuiltIn = getBuiltIn$3;
@@ -1152,20 +1181,20 @@ var trim = stringTrim.trim;
1152
1181
  var whitespaces$1 = whitespaces$4;
1153
1182
 
1154
1183
  var charAt = uncurryThis$1(''.charAt);
1155
- var n$ParseFloat = global$1.parseFloat;
1184
+ var $parseFloat$1 = global$1.parseFloat;
1156
1185
  var Symbol$1 = global$1.Symbol;
1157
1186
  var ITERATOR = Symbol$1 && Symbol$1.iterator;
1158
- var FORCED = 1 / n$ParseFloat(whitespaces$1 + '-0') !== -Infinity
1187
+ var FORCED = 1 / $parseFloat$1(whitespaces$1 + '-0') !== -Infinity
1159
1188
  // MS Edge 18- broken with boxed symbols
1160
- || (ITERATOR && !fails$2(function () { n$ParseFloat(Object(ITERATOR)); }));
1189
+ || (ITERATOR && !fails$2(function () { $parseFloat$1(Object(ITERATOR)); }));
1161
1190
 
1162
1191
  // `parseFloat` method
1163
1192
  // https://tc39.es/ecma262/#sec-parsefloat-string
1164
1193
  var numberParseFloat = FORCED ? function parseFloat(string) {
1165
1194
  var trimmedString = trim(toString(string));
1166
- var result = n$ParseFloat(trimmedString);
1195
+ var result = $parseFloat$1(trimmedString);
1167
1196
  return result === 0 && charAt(trimmedString, 0) == '-' ? -0 : result;
1168
- } : n$ParseFloat;
1197
+ } : $parseFloat$1;
1169
1198
 
1170
1199
  var $$2 = _export;
1171
1200
  var $parseFloat = numberParseFloat;
@@ -1347,7 +1376,7 @@ var enumBugKeys = enumBugKeys$2;
1347
1376
 
1348
1377
  // `Object.keys` method
1349
1378
  // https://tc39.es/ecma262/#sec-object.keys
1350
- // eslint-disable-next-line es-x/no-object-keys -- safe
1379
+ // eslint-disable-next-line es/no-object-keys -- safe
1351
1380
  var objectKeys$1 = Object.keys || function keys(O) {
1352
1381
  return internalObjectKeys(O, enumBugKeys);
1353
1382
  };
@@ -1362,9 +1391,9 @@ var propertyIsEnumerableModule = objectPropertyIsEnumerable;
1362
1391
  var toObject = toObject$2;
1363
1392
  var IndexedObject = indexedObject;
1364
1393
 
1365
- // eslint-disable-next-line es-x/no-object-assign -- safe
1394
+ // eslint-disable-next-line es/no-object-assign -- safe
1366
1395
  var $assign = Object.assign;
1367
- // eslint-disable-next-line es-x/no-object-defineproperty -- required for testing
1396
+ // eslint-disable-next-line es/no-object-defineproperty -- required for testing
1368
1397
  var defineProperty = Object.defineProperty;
1369
1398
  var concat = uncurryThis([].concat);
1370
1399
 
@@ -1384,7 +1413,7 @@ var objectAssign = !$assign || fails(function () {
1384
1413
  // should work with symbols and should have deterministic property order (V8 bug)
1385
1414
  var A = {};
1386
1415
  var B = {};
1387
- // eslint-disable-next-line es-x/no-symbol -- safe
1416
+ // eslint-disable-next-line es/no-symbol -- safe
1388
1417
  var symbol = Symbol();
1389
1418
  var alphabet = 'abcdefghijklmnopqrst';
1390
1419
  A[symbol] = 7;
@@ -1414,7 +1443,7 @@ var assign = objectAssign;
1414
1443
 
1415
1444
  // `Object.assign` method
1416
1445
  // https://tc39.es/ecma262/#sec-object.assign
1417
- // eslint-disable-next-line es-x/no-object-assign -- required for testing
1446
+ // eslint-disable-next-line es/no-object-assign -- required for testing
1418
1447
  $({ target: 'Object', stat: true, arity: 2, forced: Object.assign !== assign }, {
1419
1448
  assign: assign
1420
1449
  });
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@trackunit/iris-app-runtime-core",
3
- "version": "0.0.66",
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,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.63",
12
- "@trackunit/react-core-contexts-api": "0.0.57"
11
+ "@trackunit/iris-app-runtime-core-api": "0.0.65",
12
+ "@trackunit/react-core-contexts-api": "0.0.59"
13
13
  },
14
14
  "peerDependencies": {}
15
15
  }