Skip to content

Commit 3252fb5

Browse files
build(deps-dev): bump core-js from 3.18.1 to 3.18.2 (#413)
Bumps [core-js](https://github.com/zloirock/core-js) from 3.18.1 to 3.18.2. - [Release notes](https://github.com/zloirock/core-js/releases) - [Changelog](https://github.com/zloirock/core-js/blob/master/CHANGELOG.md) - [Commits](zloirock/core-js@v3.18.1...v3.18.2) --- updated-dependencies: - dependency-name: core-js dependency-type: direct:development update-type: version-update:semver-patch ... Signed-off-by: dependabot[bot] <[email protected]> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> e60caee
1 parent 164502b commit 3252fb5

File tree

7 files changed

+72
-63
lines changed

7 files changed

+72
-63
lines changed

classes/Loader.html

Lines changed: 15 additions & 15 deletions
Large diffs are not rendered by default.

dist/index.dev.js

Lines changed: 41 additions & 32 deletions
Original file line numberDiff line numberDiff line change
@@ -229,7 +229,7 @@ this.google.maps.plugins.loader = (function (exports) {
229229
(module.exports = function (key, value) {
230230
return sharedStore[key] || (sharedStore[key] = value !== undefined ? value : {});
231231
})('versions', []).push({
232-
version: '3.18.1',
232+
version: '3.18.2',
233233
mode: 'global',
234234
copyright: '© 2021 Denis Pushkarev (zloirock.ru)'
235235
});
@@ -241,9 +241,10 @@ this.google.maps.plugins.loader = (function (exports) {
241241
return Object(requireObjectCoercible(argument));
242242
};
243243

244-
var hasOwnProperty = {}.hasOwnProperty;
244+
var hasOwnProperty = {}.hasOwnProperty; // `HasOwnProperty` abstract operation
245+
// https://tc39.es/ecma262/#sec-hasownproperty
245246

246-
var has$1 = Object.hasOwn || function hasOwn(it, key) {
247+
var hasOwnProperty_1 = Object.hasOwn || function hasOwn(it, key) {
247248
return hasOwnProperty.call(toObject(it), key);
248249
};
249250

@@ -259,8 +260,8 @@ this.google.maps.plugins.loader = (function (exports) {
259260
var createWellKnownSymbol = useSymbolAsUid ? Symbol$1 : Symbol$1 && Symbol$1.withoutSetter || uid;
260261

261262
var wellKnownSymbol = function (name) {
262-
if (!has$1(WellKnownSymbolsStore, name) || !(nativeSymbol || typeof WellKnownSymbolsStore[name] == 'string')) {
263-
if (nativeSymbol && has$1(Symbol$1, name)) {
263+
if (!hasOwnProperty_1(WellKnownSymbolsStore, name) || !(nativeSymbol || typeof WellKnownSymbolsStore[name] == 'string')) {
264+
if (nativeSymbol && hasOwnProperty_1(Symbol$1, name)) {
264265
WellKnownSymbolsStore[name] = Symbol$1[name];
265266
} else {
266267
WellKnownSymbolsStore[name] = createWellKnownSymbol('Symbol.' + name);
@@ -324,7 +325,7 @@ this.google.maps.plugins.loader = (function (exports) {
324325
} catch (error) {
325326
/* empty */
326327
}
327-
if (has$1(O, P)) return createPropertyDescriptor(!objectPropertyIsEnumerable.f.call(O, P), O[P]);
328+
if (hasOwnProperty_1(O, P)) return createPropertyDescriptor(!objectPropertyIsEnumerable.f.call(O, P), O[P]);
328329
};
329330
var objectGetOwnPropertyDescriptor = {
330331
f: f$4
@@ -428,18 +429,18 @@ this.google.maps.plugins.loader = (function (exports) {
428429
hiddenKeys$1[STATE] = true;
429430

430431
set$1 = function (it, metadata) {
431-
if (has$1(it, STATE)) throw new TypeError(OBJECT_ALREADY_INITIALIZED);
432+
if (hasOwnProperty_1(it, STATE)) throw new TypeError(OBJECT_ALREADY_INITIALIZED);
432433
metadata.facade = it;
433434
createNonEnumerableProperty(it, STATE, metadata);
434435
return metadata;
435436
};
436437

437438
get = function (it) {
438-
return has$1(it, STATE) ? it[STATE] : {};
439+
return hasOwnProperty_1(it, STATE) ? it[STATE] : {};
439440
};
440441

441442
has = function (it) {
442-
return has$1(it, STATE);
443+
return hasOwnProperty_1(it, STATE);
443444
};
444445
}
445446

@@ -454,7 +455,7 @@ this.google.maps.plugins.loader = (function (exports) {
454455
var FunctionPrototype = Function.prototype; // eslint-disable-next-line es/no-object-getownpropertydescriptor -- safe
455456

456457
var getDescriptor = descriptors && Object.getOwnPropertyDescriptor;
457-
var EXISTS = has$1(FunctionPrototype, 'name'); // additional protection from minified / mangled / dropped function names
458+
var EXISTS = hasOwnProperty_1(FunctionPrototype, 'name'); // additional protection from minified / mangled / dropped function names
458459

459460
var PROPER = EXISTS && function something() {
460461
/* empty */
@@ -484,7 +485,7 @@ this.google.maps.plugins.loader = (function (exports) {
484485
name = '[' + String(name).replace(/^Symbol\(([^)]*)\)/, '$1') + ']';
485486
}
486487

487-
if (!has$1(value, 'name') || CONFIGURABLE_FUNCTION_NAME && value.name !== name) {
488+
if (!hasOwnProperty_1(value, 'name') || CONFIGURABLE_FUNCTION_NAME && value.name !== name) {
488489
createNonEnumerableProperty(value, 'name', name);
489490
}
490491

@@ -511,34 +512,42 @@ this.google.maps.plugins.loader = (function (exports) {
511512
});
512513

513514
var ceil = Math.ceil;
514-
var floor = Math.floor; // `ToInteger` abstract operation
515-
// https://tc39.es/ecma262/#sec-tointeger
515+
var floor = Math.floor; // `ToIntegerOrInfinity` abstract operation
516+
// https://tc39.es/ecma262/#sec-tointegerorinfinity
516517

517-
var toInteger = function (argument) {
518-
return isNaN(argument = +argument) ? 0 : (argument > 0 ? floor : ceil)(argument);
519-
};
520-
521-
var min$1 = Math.min; // `ToLength` abstract operation
522-
// https://tc39.es/ecma262/#sec-tolength
518+
var toIntegerOrInfinity = function (argument) {
519+
var number = +argument; // eslint-disable-next-line no-self-compare -- safe
523520

524-
var toLength = function (argument) {
525-
return argument > 0 ? min$1(toInteger(argument), 0x1FFFFFFFFFFFFF) : 0; // 2 ** 53 - 1 == 9007199254740991
521+
return number !== number || number === 0 ? 0 : (number > 0 ? floor : ceil)(number);
526522
};
527523

528524
var max = Math.max;
529-
var min = Math.min; // Helper for a popular repeating case of the spec:
525+
var min$1 = Math.min; // Helper for a popular repeating case of the spec:
530526
// Let integer be ? ToInteger(index).
531527
// If integer < 0, let result be max((length + integer), 0); else let result be min(integer, length).
532528

533529
var toAbsoluteIndex = function (index, length) {
534-
var integer = toInteger(index);
535-
return integer < 0 ? max(integer + length, 0) : min(integer, length);
530+
var integer = toIntegerOrInfinity(index);
531+
return integer < 0 ? max(integer + length, 0) : min$1(integer, length);
532+
};
533+
534+
var min = Math.min; // `ToLength` abstract operation
535+
// https://tc39.es/ecma262/#sec-tolength
536+
537+
var toLength = function (argument) {
538+
return argument > 0 ? min(toIntegerOrInfinity(argument), 0x1FFFFFFFFFFFFF) : 0; // 2 ** 53 - 1 == 9007199254740991
539+
};
540+
541+
// https://tc39.es/ecma262/#sec-lengthofarraylike
542+
543+
var lengthOfArrayLike = function (obj) {
544+
return toLength(obj.length);
536545
};
537546

538547
var createMethod$1 = function (IS_INCLUDES) {
539548
return function ($this, el, fromIndex) {
540549
var O = toIndexedObject($this);
541-
var length = toLength(O.length);
550+
var length = lengthOfArrayLike(O);
542551
var index = toAbsoluteIndex(fromIndex, length);
543552
var value; // Array#includes uses SameValueZero equality algorithm
544553
// eslint-disable-next-line no-self-compare -- NaN check
@@ -571,10 +580,10 @@ this.google.maps.plugins.loader = (function (exports) {
571580
var result = [];
572581
var key;
573582

574-
for (key in O) !has$1(hiddenKeys$1, key) && has$1(O, key) && result.push(key); // Don't enum bug & hidden keys
583+
for (key in O) !hasOwnProperty_1(hiddenKeys$1, key) && hasOwnProperty_1(O, key) && result.push(key); // Don't enum bug & hidden keys
575584

576585

577-
while (names.length > i) if (has$1(O, key = names[i++])) {
586+
while (names.length > i) if (hasOwnProperty_1(O, key = names[i++])) {
578587
~indexOf(result, key) || result.push(key);
579588
}
580589

@@ -615,7 +624,7 @@ this.google.maps.plugins.loader = (function (exports) {
615624

616625
for (var i = 0; i < keys.length; i++) {
617626
var key = keys[i];
618-
if (!has$1(target, key)) defineProperty(target, key, getOwnPropertyDescriptor(source, key));
627+
if (!hasOwnProperty_1(target, key)) defineProperty(target, key, getOwnPropertyDescriptor(source, key));
619628
}
620629
};
621630

@@ -856,7 +865,7 @@ this.google.maps.plugins.loader = (function (exports) {
856865
E = i === -1 ? O : arguments[i];
857866

858867
if (isConcatSpreadable(E)) {
859-
len = toLength(E.length);
868+
len = lengthOfArrayLike(E);
860869
if (n + len > MAX_SAFE_INTEGER) throw TypeError(MAXIMUM_ALLOWED_INDEX_EXCEEDED);
861870

862871
for (k = 0; k < len; k++, n++) if (k in E) createProperty(A, n, E[k]);
@@ -956,7 +965,7 @@ this.google.maps.plugins.loader = (function (exports) {
956965
var TO_STRING_TAG = wellKnownSymbol('toStringTag');
957966

958967
var setToStringTag = function (it, TAG, STATIC) {
959-
if (it && !has$1(it = STATIC ? it : it.prototype, TO_STRING_TAG)) {
968+
if (it && !hasOwnProperty_1(it = STATIC ? it : it.prototype, TO_STRING_TAG)) {
960969
defineProperty(it, TO_STRING_TAG, {
961970
configurable: true,
962971
value: TAG
@@ -1097,7 +1106,7 @@ this.google.maps.plugins.loader = (function (exports) {
10971106
if (!iterFn) throw TypeError(String(iterable) + ' is not iterable'); // optimisation for array iterators
10981107

10991108
if (isArrayIteratorMethod(iterFn)) {
1100-
for (index = 0, length = toLength(iterable.length); length > index; index++) {
1109+
for (index = 0, length = lengthOfArrayLike(iterable); length > index; index++) {
11011110
result = callFn(iterable[index]);
11021111
if (result && result instanceof Result) return result;
11031112
}
@@ -1904,7 +1913,7 @@ this.google.maps.plugins.loader = (function (exports) {
19041913
var O = toObject($this);
19051914
var self = indexedObject(O);
19061915
var boundFunction = functionBindContext(callbackfn, that, 3);
1907-
var length = toLength(self.length);
1916+
var length = lengthOfArrayLike(self);
19081917
var index = 0;
19091918
var create = specificCreate || arraySpeciesCreate;
19101919
var target = IS_MAP ? create($this, length) : IS_FILTER || IS_FILTER_REJECT ? create($this, 0) : undefined;

dist/index.min.js

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

dist/index.umd.js

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

dist/index.umd.js.map

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)