@opengeoweb/snackbar 9.6.0 → 9.7.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 +13 -28
  2. package/package.json +1 -1
package/index.esm.js CHANGED
@@ -146,37 +146,21 @@ var toIndexedObject$3 = function (it) {
146
146
  return IndexedObject$1(requireObjectCoercible$1(it));
147
147
  };
148
148
 
149
- var documentAll$2 = typeof document == 'object' && document.all;
150
-
151
149
  // https://tc39.es/ecma262/#sec-IsHTMLDDA-internal-slot
152
- // eslint-disable-next-line unicorn/no-typeof-undefined -- required for testing
153
- var IS_HTMLDDA = typeof documentAll$2 == 'undefined' && documentAll$2 !== undefined;
154
-
155
- var documentAll_1 = {
156
- all: documentAll$2,
157
- IS_HTMLDDA: IS_HTMLDDA
158
- };
159
-
160
- var $documentAll$1 = documentAll_1;
161
-
162
- var documentAll$1 = $documentAll$1.all;
150
+ var documentAll = typeof document == 'object' && document.all;
163
151
 
164
152
  // `IsCallable` abstract operation
165
153
  // https://tc39.es/ecma262/#sec-iscallable
166
- var isCallable$b = $documentAll$1.IS_HTMLDDA ? function (argument) {
167
- return typeof argument == 'function' || argument === documentAll$1;
154
+ // eslint-disable-next-line unicorn/no-typeof-undefined -- required for testing
155
+ var isCallable$b = typeof documentAll == 'undefined' && documentAll !== undefined ? function (argument) {
156
+ return typeof argument == 'function' || argument === documentAll;
168
157
  } : function (argument) {
169
158
  return typeof argument == 'function';
170
159
  };
171
160
 
172
161
  var isCallable$a = isCallable$b;
173
- var $documentAll = documentAll_1;
174
162
 
175
- var documentAll = $documentAll.all;
176
-
177
- var isObject$5 = $documentAll.IS_HTMLDDA ? function (it) {
178
- return typeof it == 'object' ? it !== null : isCallable$a(it) || it === documentAll;
179
- } : function (it) {
163
+ var isObject$5 = function (it) {
180
164
  return typeof it == 'object' ? it !== null : isCallable$a(it);
181
165
  };
182
166
 
@@ -340,10 +324,10 @@ var store$2 = sharedStore;
340
324
  (shared$3.exports = function (key, value) {
341
325
  return store$2[key] || (store$2[key] = value !== undefined ? value : {});
342
326
  })('versions', []).push({
343
- version: '3.34.0',
327
+ version: '3.35.1',
344
328
  mode: 'global',
345
- copyright: '© 2014-2023 Denis Pushkarev (zloirock.ru)',
346
- license: 'https://github.com/zloirock/core-js/blob/v3.34.0/LICENSE',
329
+ copyright: '© 2014-2024 Denis Pushkarev (zloirock.ru)',
330
+ license: 'https://github.com/zloirock/core-js/blob/v3.35.1/LICENSE',
347
331
  source: 'https://github.com/zloirock/core-js'
348
332
  });
349
333
 
@@ -711,7 +695,7 @@ var TEMPLATE = String(String).split('String');
711
695
 
712
696
  var makeBuiltIn$1 = makeBuiltIn$2.exports = function (value, name, options) {
713
697
  if (stringSlice($String$1(name), 0, 7) === 'Symbol(') {
714
- name = '[' + replace($String$1(name), /^Symbol\(([^)]*)\)/, '$1') + ']';
698
+ name = '[' + replace($String$1(name), /^Symbol\(([^)]*)\).*$/, '$1') + ']';
715
699
  }
716
700
  if (options && options.getter) name = 'get ' + name;
717
701
  if (options && options.setter) name = 'set ' + name;
@@ -811,7 +795,8 @@ var min = Math.min;
811
795
  // `ToLength` abstract operation
812
796
  // https://tc39.es/ecma262/#sec-tolength
813
797
  var toLength$1 = function (argument) {
814
- return argument > 0 ? min(toIntegerOrInfinity(argument), 0x1FFFFFFFFFFFFF) : 0; // 2 ** 53 - 1 == 9007199254740991
798
+ var len = toIntegerOrInfinity(argument);
799
+ return len > 0 ? min(len, 0x1FFFFFFFFFFFFF) : 0; // 2 ** 53 - 1 == 9007199254740991
815
800
  };
816
801
 
817
802
  var toLength = toLength$1;
@@ -992,7 +977,7 @@ var _export = function (options, source) {
992
977
  } else if (STATIC) {
993
978
  target = global$1[TARGET] || defineGlobalProperty(TARGET, {});
994
979
  } else {
995
- target = (global$1[TARGET] || {}).prototype;
980
+ target = global$1[TARGET] && global$1[TARGET].prototype;
996
981
  }
997
982
  if (target) for (key in source) {
998
983
  sourceProperty = source[key];
@@ -1372,7 +1357,7 @@ var INCORRECT_NAME = PROPER_FUNCTION_NAME && nativeToString.name !== TO_STRING;
1372
1357
  // `RegExp.prototype.toString` method
1373
1358
  // https://tc39.es/ecma262/#sec-regexp.prototype.tostring
1374
1359
  if (NOT_GENERIC || INCORRECT_NAME) {
1375
- defineBuiltIn(RegExp.prototype, TO_STRING, function toString() {
1360
+ defineBuiltIn(RegExpPrototype, TO_STRING, function toString() {
1376
1361
  var R = anObject(this);
1377
1362
  var pattern = $toString(R.source);
1378
1363
  var flags = $toString(getRegExpFlags(R));
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@opengeoweb/snackbar",
3
- "version": "9.6.0",
3
+ "version": "9.7.0",
4
4
  "description": "GeoWeb snackbar library for the opengeoweb project",
5
5
  "license": "Apache-2.0",
6
6
  "repository": {