Skip to content

Commit e082c50

Browse files
build(deps-dev): bump @babel/preset-env from 7.15.8 to 7.16.0 (#439)
Bumps [@babel/preset-env](https://github.com/babel/babel/tree/HEAD/packages/babel-preset-env) from 7.15.8 to 7.16.0. - [Release notes](https://github.com/babel/babel/releases) - [Changelog](https://github.com/babel/babel/blob/main/CHANGELOG.md) - [Commits](https://github.com/babel/babel/commits/v7.16.0/packages/babel-preset-env) --- updated-dependencies: - dependency-name: "@babel/preset-env" dependency-type: direct:development update-type: version-update:semver-minor ... Signed-off-by: dependabot[bot] <[email protected]> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> dbad9c1
1 parent ddaabfd commit e082c50

File tree

7 files changed

+94
-49
lines changed

7 files changed

+94
-49
lines changed

classes/Loader.html

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

dist/index.dev.js

Lines changed: 63 additions & 18 deletions
Original file line numberDiff line numberDiff line change
@@ -800,7 +800,7 @@ this.google.maps.plugins.loader = (function (exports) {
800800
var empty = [];
801801
var construct = getBuiltIn('Reflect', 'construct');
802802
var constructorRegExp = /^\s*(?:class|function)\b/;
803-
var exec = functionUncurryThis(constructorRegExp.exec);
803+
var exec$1 = functionUncurryThis(constructorRegExp.exec);
804804
var INCORRECT_TO_STRING = !constructorRegExp.exec(noop);
805805

806806
var isConstructorModern = function (argument) {
@@ -825,7 +825,7 @@ this.google.maps.plugins.loader = (function (exports) {
825825
// we can't check .prototype since constructors produced by .bind haven't it
826826
}
827827

828-
return INCORRECT_TO_STRING || !!exec(constructorRegExp, inspectSource(argument));
828+
return INCORRECT_TO_STRING || !!exec$1(constructorRegExp, inspectSource(argument));
829829
}; // `IsConstructor` abstract operation
830830
// https://tc39.es/ecma262/#sec-isconstructor
831831

@@ -838,7 +838,7 @@ this.google.maps.plugins.loader = (function (exports) {
838838
}) ? isConstructorLegacy : isConstructorModern;
839839

840840
var SPECIES$4 = wellKnownSymbol('species');
841-
var Array$1 = global_1.Array; // a part of `ArraySpeciesCreate` abstract operation
841+
var Array$2 = global_1.Array; // a part of `ArraySpeciesCreate` abstract operation
842842
// https://tc39.es/ecma262/#sec-arrayspeciescreate
843843

844844
var arraySpeciesConstructor = function (originalArray) {
@@ -847,13 +847,13 @@ this.google.maps.plugins.loader = (function (exports) {
847847
if (isArray(originalArray)) {
848848
C = originalArray.constructor; // cross-realm fallback
849849

850-
if (isConstructor(C) && (C === Array$1 || isArray(C.prototype))) C = undefined;else if (isObject(C)) {
850+
if (isConstructor(C) && (C === Array$2 || isArray(C.prototype))) C = undefined;else if (isObject(C)) {
851851
C = C[SPECIES$4];
852852
if (C === null) C = undefined;
853853
}
854854
}
855855

856-
return C === undefined ? Array$1 : C;
856+
return C === undefined ? Array$2 : C;
857857
};
858858

859859
// https://tc39.es/ecma262/#sec-arrayspeciescreate
@@ -902,14 +902,14 @@ this.google.maps.plugins.loader = (function (exports) {
902902
return spreadable !== undefined ? !!spreadable : isArray(O);
903903
};
904904

905-
var FORCED$1 = !IS_CONCAT_SPREADABLE_SUPPORT || !SPECIES_SUPPORT; // `Array.prototype.concat` method
905+
var FORCED$2 = !IS_CONCAT_SPREADABLE_SUPPORT || !SPECIES_SUPPORT; // `Array.prototype.concat` method
906906
// https://tc39.es/ecma262/#sec-array.prototype.concat
907907
// with adding support of @@isConcatSpreadable and @@species
908908

909909
_export({
910910
target: 'Array',
911911
proto: true,
912-
forced: FORCED$1
912+
forced: FORCED$2
913913
}, {
914914
// eslint-disable-next-line no-unused-vars -- required for `.length`
915915
concat: function concat(arg) {
@@ -937,6 +937,60 @@ this.google.maps.plugins.loader = (function (exports) {
937937
}
938938
});
939939

940+
var FunctionPrototype = Function.prototype;
941+
var apply = FunctionPrototype.apply;
942+
var bind$2 = FunctionPrototype.bind;
943+
var call = FunctionPrototype.call; // eslint-disable-next-line es/no-reflect -- safe
944+
945+
var functionApply = typeof Reflect == 'object' && Reflect.apply || (bind$2 ? call.bind(apply) : function () {
946+
return call.apply(apply, arguments);
947+
});
948+
949+
var Array$1 = global_1.Array;
950+
var $stringify = getBuiltIn('JSON', 'stringify');
951+
var exec = functionUncurryThis(/./.exec);
952+
var charAt = functionUncurryThis(''.charAt);
953+
var charCodeAt = functionUncurryThis(''.charCodeAt);
954+
var replace = functionUncurryThis(''.replace);
955+
var numberToString = functionUncurryThis(1.0.toString);
956+
var tester = /[\uD800-\uDFFF]/g;
957+
var low = /^[\uD800-\uDBFF]$/;
958+
var hi = /^[\uDC00-\uDFFF]$/;
959+
960+
var fix = function (match, offset, string) {
961+
var prev = charAt(string, offset - 1);
962+
var next = charAt(string, offset + 1);
963+
964+
if (exec(low, match) && !exec(hi, next) || exec(hi, match) && !exec(low, prev)) {
965+
return '\\u' + numberToString(charCodeAt(match, 0), 16);
966+
}
967+
968+
return match;
969+
};
970+
971+
var FORCED$1 = fails(function () {
972+
return $stringify('\uDF06\uD834') !== '"\\udf06\\ud834"' || $stringify('\uDEAD') !== '"\\udead"';
973+
});
974+
975+
if ($stringify) {
976+
// `JSON.stringify` method
977+
// https://tc39.es/ecma262/#sec-json.stringify
978+
// https://github.com/tc39/proposal-well-formed-stringify
979+
_export({
980+
target: 'JSON',
981+
stat: true,
982+
forced: FORCED$1
983+
}, {
984+
// eslint-disable-next-line no-unused-vars -- required for `.length`
985+
stringify: function stringify(it, replacer, space) {
986+
for (var i = 0, l = arguments.length, args = Array$1(l); i < l; i++) args[i] = arguments[i];
987+
988+
var result = functionApply($stringify, null, args);
989+
return typeof result == 'string' ? replace(result, tester, fix) : result;
990+
}
991+
});
992+
}
993+
940994
var arrayMethodIsStrict = function (METHOD_NAME, argument) {
941995
var method = [][METHOD_NAME];
942996
return !!method && fails(function () {
@@ -1056,11 +1110,11 @@ this.google.maps.plugins.loader = (function (exports) {
10561110
throw TypeError$5('Incorrect invocation');
10571111
};
10581112

1059-
var bind$2 = functionUncurryThis(functionUncurryThis.bind); // optional / simple context binding
1113+
var bind$1 = functionUncurryThis(functionUncurryThis.bind); // optional / simple context binding
10601114

10611115
var functionBindContext = function (fn, that) {
10621116
aCallable(fn);
1063-
return that === undefined ? fn : bind$2 ? bind$2(fn, that) : function ()
1117+
return that === undefined ? fn : bind$1 ? bind$1(fn, that) : function ()
10641118
/* ...args */
10651119
{
10661120
return fn.apply(that, arguments);
@@ -1247,15 +1301,6 @@ this.google.maps.plugins.loader = (function (exports) {
12471301
return C === undefined || (S = anObject(C)[SPECIES$1]) == undefined ? defaultConstructor : aConstructor(S);
12481302
};
12491303

1250-
var FunctionPrototype = Function.prototype;
1251-
var apply = FunctionPrototype.apply;
1252-
var bind$1 = FunctionPrototype.bind;
1253-
var call = FunctionPrototype.call; // eslint-disable-next-line es/no-reflect -- safe
1254-
1255-
var functionApply = typeof Reflect == 'object' && Reflect.apply || (bind$1 ? call.bind(apply) : function () {
1256-
return call.apply(apply, arguments);
1257-
});
1258-
12591304
var html = getBuiltIn('document', 'documentElement');
12601305

12611306
var arraySlice = functionUncurryThis([].slice);

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)