@opengeoweb/metronome 9.30.0 → 9.32.0

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.esm.js +46 -40
  2. package/package.json +3 -2
package/index.esm.js CHANGED
@@ -5,7 +5,7 @@ var check = function (it) {
5
5
  };
6
6
 
7
7
  // https://github.com/zloirock/core-js/issues/86#issuecomment-115759028
8
- var global$b =
8
+ var globalThis_1 =
9
9
  // eslint-disable-next-line es/no-global-this -- safe
10
10
  check(typeof globalThis == 'object' && globalThis) ||
11
11
  check(typeof window == 'object' && window) ||
@@ -156,7 +156,7 @@ var isObject$8 = function (it) {
156
156
  return typeof it == 'object' ? it !== null : isCallable$d(it);
157
157
  };
158
158
 
159
- var global$a = global$b;
159
+ var globalThis$c = globalThis_1;
160
160
  var isCallable$c = isCallable$e;
161
161
 
162
162
  var aFunction = function (argument) {
@@ -164,20 +164,25 @@ var aFunction = function (argument) {
164
164
  };
165
165
 
166
166
  var getBuiltIn$3 = function (namespace, method) {
167
- return arguments.length < 2 ? aFunction(global$a[namespace]) : global$a[namespace] && global$a[namespace][method];
167
+ return arguments.length < 2 ? aFunction(globalThis$c[namespace]) : globalThis$c[namespace] && globalThis$c[namespace][method];
168
168
  };
169
169
 
170
170
  var uncurryThis$8 = functionUncurryThis;
171
171
 
172
172
  var objectIsPrototypeOf = uncurryThis$8({}.isPrototypeOf);
173
173
 
174
- var engineUserAgent = typeof navigator != 'undefined' && String(navigator.userAgent) || '';
174
+ var globalThis$b = globalThis_1;
175
175
 
176
- var global$9 = global$b;
177
- var userAgent = engineUserAgent;
176
+ var navigator = globalThis$b.navigator;
177
+ var userAgent$1 = navigator && navigator.userAgent;
178
178
 
179
- var process = global$9.process;
180
- var Deno = global$9.Deno;
179
+ var environmentUserAgent = userAgent$1 ? String(userAgent$1) : '';
180
+
181
+ var globalThis$a = globalThis_1;
182
+ var userAgent = environmentUserAgent;
183
+
184
+ var process = globalThis$a.process;
185
+ var Deno = globalThis$a.Deno;
181
186
  var versions = process && process.versions || Deno && Deno.version;
182
187
  var v8 = versions && versions.v8;
183
188
  var match, version;
@@ -199,14 +204,14 @@ if (!version && userAgent) {
199
204
  }
200
205
  }
201
206
 
202
- var engineV8Version = version;
207
+ var environmentV8Version = version;
203
208
 
204
209
  /* eslint-disable es/no-symbol -- required for testing */
205
- var V8_VERSION = engineV8Version;
210
+ var V8_VERSION = environmentV8Version;
206
211
  var fails$8 = fails$c;
207
- var global$8 = global$b;
212
+ var globalThis$9 = globalThis_1;
208
213
 
209
- var $String$5 = global$8.String;
214
+ var $String$5 = globalThis$9.String;
210
215
 
211
216
  // eslint-disable-next-line es/no-object-getownpropertysymbols -- required for testing
212
217
  var symbolConstructorDetection = !!Object.getOwnPropertySymbols && !fails$8(function () {
@@ -223,9 +228,9 @@ var symbolConstructorDetection = !!Object.getOwnPropertySymbols && !fails$8(func
223
228
  /* eslint-disable es/no-symbol -- required for testing */
224
229
  var NATIVE_SYMBOL$1 = symbolConstructorDetection;
225
230
 
226
- var useSymbolAsUid = NATIVE_SYMBOL$1
227
- && !Symbol.sham
228
- && typeof Symbol.iterator == 'symbol';
231
+ var useSymbolAsUid = NATIVE_SYMBOL$1 &&
232
+ !Symbol.sham &&
233
+ typeof Symbol.iterator == 'symbol';
229
234
 
230
235
  var getBuiltIn$2 = getBuiltIn$3;
231
236
  var isCallable$b = isCallable$e;
@@ -290,30 +295,30 @@ var ordinaryToPrimitive$1 = function (input, pref) {
290
295
 
291
296
  var sharedStore = {exports: {}};
292
297
 
293
- var global$7 = global$b;
298
+ var globalThis$8 = globalThis_1;
294
299
 
295
300
  // eslint-disable-next-line es/no-object-defineproperty -- safe
296
301
  var defineProperty$4 = Object.defineProperty;
297
302
 
298
303
  var defineGlobalProperty$3 = function (key, value) {
299
304
  try {
300
- defineProperty$4(global$7, key, { value: value, configurable: true, writable: true });
305
+ defineProperty$4(globalThis$8, key, { value: value, configurable: true, writable: true });
301
306
  } catch (error) {
302
- global$7[key] = value;
307
+ globalThis$8[key] = value;
303
308
  } return value;
304
309
  };
305
310
 
306
- var globalThis$1 = global$b;
311
+ var globalThis$7 = globalThis_1;
307
312
  var defineGlobalProperty$2 = defineGlobalProperty$3;
308
313
 
309
314
  var SHARED = '__core-js_shared__';
310
- var store$3 = sharedStore.exports = globalThis$1[SHARED] || defineGlobalProperty$2(SHARED, {});
315
+ var store$3 = sharedStore.exports = globalThis$7[SHARED] || defineGlobalProperty$2(SHARED, {});
311
316
 
312
317
  (store$3.versions || (store$3.versions = [])).push({
313
- version: '3.37.1',
318
+ version: '3.39.0',
314
319
  mode: 'global',
315
320
  copyright: '© 2014-2024 Denis Pushkarev (zloirock.ru)',
316
- license: 'https://github.com/zloirock/core-js/blob/v3.37.1/LICENSE',
321
+ license: 'https://github.com/zloirock/core-js/blob/v3.39.0/LICENSE',
317
322
  source: 'https://github.com/zloirock/core-js'
318
323
  });
319
324
 
@@ -357,14 +362,14 @@ var uid$2 = function (key) {
357
362
  return 'Symbol(' + (key === undefined ? '' : key) + ')_' + toString$2(++id + postfix, 36);
358
363
  };
359
364
 
360
- var global$6 = global$b;
365
+ var globalThis$6 = globalThis_1;
361
366
  var shared$2 = shared$3;
362
367
  var hasOwn$8 = hasOwnProperty_1;
363
368
  var uid$1 = uid$2;
364
369
  var NATIVE_SYMBOL = symbolConstructorDetection;
365
370
  var USE_SYMBOL_AS_UID = useSymbolAsUid;
366
371
 
367
- var Symbol$1 = global$6.Symbol;
372
+ var Symbol$1 = globalThis$6.Symbol;
368
373
  var WellKnownSymbolsStore = shared$2('wks');
369
374
  var createWellKnownSymbol = USE_SYMBOL_AS_UID ? Symbol$1['for'] || Symbol$1 : Symbol$1 && Symbol$1.withoutSetter || uid$1;
370
375
 
@@ -412,10 +417,10 @@ var toPropertyKey$2 = function (argument) {
412
417
  return isSymbol(key) ? key : key + '';
413
418
  };
414
419
 
415
- var global$5 = global$b;
420
+ var globalThis$5 = globalThis_1;
416
421
  var isObject$5 = isObject$8;
417
422
 
418
- var document$1 = global$5.document;
423
+ var document$1 = globalThis$5.document;
419
424
  // typeof document.createElement is 'object' in old IE
420
425
  var EXISTS$1 = isObject$5(document$1) && isObject$5(document$1.createElement);
421
426
 
@@ -574,10 +579,10 @@ if (!isCallable$8(store$1.inspectSource)) {
574
579
 
575
580
  var inspectSource$1 = store$1.inspectSource;
576
581
 
577
- var global$4 = global$b;
582
+ var globalThis$4 = globalThis_1;
578
583
  var isCallable$7 = isCallable$e;
579
584
 
580
- var WeakMap$1 = global$4.WeakMap;
585
+ var WeakMap$1 = globalThis$4.WeakMap;
581
586
 
582
587
  var weakMapBasicDetection = isCallable$7(WeakMap$1) && /native code/.test(String(WeakMap$1));
583
588
 
@@ -593,7 +598,7 @@ var sharedKey$3 = function (key) {
593
598
  var hiddenKeys$4 = {};
594
599
 
595
600
  var NATIVE_WEAK_MAP = weakMapBasicDetection;
596
- var global$3 = global$b;
601
+ var globalThis$3 = globalThis_1;
597
602
  var isObject$3 = isObject$8;
598
603
  var createNonEnumerableProperty$3 = createNonEnumerableProperty$4;
599
604
  var hasOwn$5 = hasOwnProperty_1;
@@ -602,8 +607,8 @@ var sharedKey$2 = sharedKey$3;
602
607
  var hiddenKeys$3 = hiddenKeys$4;
603
608
 
604
609
  var OBJECT_ALREADY_INITIALIZED = 'Object already initialized';
605
- var TypeError$1 = global$3.TypeError;
606
- var WeakMap = global$3.WeakMap;
610
+ var TypeError$1 = globalThis$3.TypeError;
611
+ var WeakMap = globalThis$3.WeakMap;
607
612
  var set, get, has;
608
613
 
609
614
  var enforce = function (it) {
@@ -941,7 +946,7 @@ var POLYFILL = isForced$1.POLYFILL = 'P';
941
946
 
942
947
  var isForced_1 = isForced$1;
943
948
 
944
- var global$2 = global$b;
949
+ var globalThis$2 = globalThis_1;
945
950
  var getOwnPropertyDescriptor$1 = objectGetOwnPropertyDescriptor.f;
946
951
  var createNonEnumerableProperty$2 = createNonEnumerableProperty$4;
947
952
  var defineBuiltIn$2 = defineBuiltIn$3;
@@ -970,11 +975,11 @@ var _export = function (options, source) {
970
975
  var STATIC = options.stat;
971
976
  var FORCED, target, key, targetProperty, sourceProperty, descriptor;
972
977
  if (GLOBAL) {
973
- target = global$2;
978
+ target = globalThis$2;
974
979
  } else if (STATIC) {
975
- target = global$2[TARGET] || defineGlobalProperty(TARGET, {});
980
+ target = globalThis$2[TARGET] || defineGlobalProperty(TARGET, {});
976
981
  } else {
977
- target = global$2[TARGET] && global$2[TARGET].prototype;
982
+ target = globalThis$2[TARGET] && globalThis$2[TARGET].prototype;
978
983
  }
979
984
  if (target) for (key in source) {
980
985
  sourceProperty = source[key];
@@ -1059,7 +1064,8 @@ var NullProtoObjectViaActiveX = function (activeXDocument) {
1059
1064
  activeXDocument.write(scriptTag(''));
1060
1065
  activeXDocument.close();
1061
1066
  var temp = activeXDocument.parentWindow.Object;
1062
- activeXDocument = null; // avoid memory leak
1067
+ // eslint-disable-next-line no-useless-assignment -- avoid memory leak
1068
+ activeXDocument = null;
1063
1069
  return temp;
1064
1070
  };
1065
1071
 
@@ -1464,7 +1470,7 @@ var es_array_iterator = defineIterator(Array, 'Array', function (iterated, kind)
1464
1470
  var target = state.target;
1465
1471
  var index = state.index++;
1466
1472
  if (!target || index >= target.length) {
1467
- state.target = undefined;
1473
+ state.target = null;
1468
1474
  return createIterResultObject(undefined, true);
1469
1475
  }
1470
1476
  switch (state.kind) {
@@ -1632,7 +1638,7 @@ var fails = fails$c;
1632
1638
  var charAt = uncurryThis(''.charAt);
1633
1639
 
1634
1640
  var FORCED = fails(function () {
1635
- // eslint-disable-next-line es/no-array-string-prototype-at -- safe
1641
+ // eslint-disable-next-line es/no-string-prototype-at -- safe
1636
1642
  return '𠮷'.at(-2) !== '\uD842';
1637
1643
  });
1638
1644
 
@@ -1692,7 +1698,7 @@ var DOMTokenListPrototype$1 = classList && classList.constructor && classList.co
1692
1698
 
1693
1699
  var domTokenListPrototype = DOMTokenListPrototype$1 === Object.prototype ? undefined : DOMTokenListPrototype$1;
1694
1700
 
1695
- var global$1 = global$b;
1701
+ var globalThis$1 = globalThis_1;
1696
1702
  var DOMIterables = domIterables;
1697
1703
  var DOMTokenListPrototype = domTokenListPrototype;
1698
1704
  var ArrayIteratorMethods = es_array_iterator;
@@ -1724,7 +1730,7 @@ var handlePrototype = function (CollectionPrototype, COLLECTION_NAME) {
1724
1730
  };
1725
1731
 
1726
1732
  for (var COLLECTION_NAME in DOMIterables) {
1727
- handlePrototype(global$1[COLLECTION_NAME] && global$1[COLLECTION_NAME].prototype, COLLECTION_NAME);
1733
+ handlePrototype(globalThis$1[COLLECTION_NAME] && globalThis$1[COLLECTION_NAME].prototype, COLLECTION_NAME);
1728
1734
  }
1729
1735
 
1730
1736
  handlePrototype(DOMTokenListPrototype, 'DOMTokenList');
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@opengeoweb/metronome",
3
- "version": "9.30.0",
3
+ "version": "9.32.0",
4
4
  "description": "GeoWeb metronome library for the opengeoweb project",
5
5
  "license": "Apache-2.0",
6
6
  "repository": {
@@ -11,5 +11,6 @@
11
11
  "peerDependencies": {},
12
12
  "module": "./index.esm.js",
13
13
  "type": "module",
14
- "main": "./index.esm.js"
14
+ "main": "./index.esm.js",
15
+ "types": "./index.esm.d.ts"
15
16
  }