Skip to content

Commit

Permalink
chore(deps-dev): bump @googlemaps/js-api-loader from 1.16.2 to 1.16.8 (
Browse files Browse the repository at this point in the history
…#906)

Bumps [@googlemaps/js-api-loader](https://github.com/googlemaps/js-api-loader) from 1.16.2 to 1.16.8.
- [Release notes](https://github.com/googlemaps/js-api-loader/releases)
- [Changelog](https://github.com/googlemaps/js-api-loader/blob/main/CHANGELOG.md)
- [Commits](googlemaps/js-api-loader@v1.16.2...v1.16.8)

---
updated-dependencies:
- dependency-name: "@googlemaps/js-api-loader"
  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> 4be4a1b
  • Loading branch information
googlemaps-bot committed Aug 5, 2024
1 parent 4f8d8f1 commit db8c321
Show file tree
Hide file tree
Showing 34 changed files with 230 additions and 132 deletions.
10 changes: 5 additions & 5 deletions classes/Cluster.html

Large diffs are not rendered by default.

4 changes: 2 additions & 2 deletions classes/ClusterStats.html

Large diffs are not rendered by default.

4 changes: 2 additions & 2 deletions classes/DefaultRenderer.html

Large diffs are not rendered by default.

6 changes: 3 additions & 3 deletions classes/GridAlgorithm.html

Large diffs are not rendered by default.

14 changes: 7 additions & 7 deletions classes/MarkerClusterer.html

Large diffs are not rendered by default.

4 changes: 2 additions & 2 deletions classes/MarkerUtils.html

Large diffs are not rendered by default.

6 changes: 3 additions & 3 deletions classes/NoopAlgorithm.html

Large diffs are not rendered by default.

6 changes: 3 additions & 3 deletions classes/SuperClusterAlgorithm.html

Large diffs are not rendered by default.

6 changes: 3 additions & 3 deletions classes/SuperClusterViewportAlgorithm.html

Large diffs are not rendered by default.

4 changes: 2 additions & 2 deletions enums/MarkerClustererEvents.html

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion functions/defaultOnClusterClickHandler.html

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion functions/extendBoundsToPaddedViewport.html

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion functions/filterMarkersToPaddedViewport.html

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion functions/getPaddedViewport.html

Large diffs are not rendered by default.

4 changes: 2 additions & 2 deletions interfaces/Algorithm.html

Large diffs are not rendered by default.

8 changes: 4 additions & 4 deletions interfaces/AlgorithmInput.html

Large diffs are not rendered by default.

4 changes: 2 additions & 2 deletions interfaces/AlgorithmOptions.html

Large diffs are not rendered by default.

6 changes: 3 additions & 3 deletions interfaces/AlgorithmOutput.html

Large diffs are not rendered by default.

4 changes: 2 additions & 2 deletions interfaces/ClusterOptions.html

Large diffs are not rendered by default.

8 changes: 4 additions & 4 deletions interfaces/GridOptions.html

Large diffs are not rendered by default.

6 changes: 3 additions & 3 deletions interfaces/MarkerClustererOptions.html

Large diffs are not rendered by default.

4 changes: 2 additions & 2 deletions interfaces/Renderer.html

Large diffs are not rendered by default.

4 changes: 2 additions & 2 deletions interfaces/SuperClusterViewportOptions.html

Large diffs are not rendered by default.

4 changes: 2 additions & 2 deletions interfaces/SuperClusterViewportState.html

Large diffs are not rendered by default.

36 changes: 25 additions & 11 deletions public/algorithms/vendor.js
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ function __rest(s, e) {
return t;
}

function getDefaultExportFromCjs (x) {
function getDefaultExportFromCjs$1 (x) {
return x && x.__esModule && Object.prototype.hasOwnProperty.call(x, 'default') ? x['default'] : x;
}

Expand Down Expand Up @@ -74,7 +74,7 @@ var fastDeepEqual$1 = function equal(a, b) {
return a!==a && b!==b;
};

var equal = /*@__PURE__*/getDefaultExportFromCjs(fastDeepEqual$1);
var equal = /*@__PURE__*/getDefaultExportFromCjs$1(fastDeepEqual$1);

const ARRAY_TYPES = [
Int8Array, Uint8Array, Uint8ClampedArray, Int16Array, Uint16Array,
Expand Down Expand Up @@ -825,7 +825,7 @@ function yLat(y) {
return 360 * Math.atan(Math.exp(y2)) / Math.PI - 90;
}

/*! *****************************************************************************
/******************************************************************************
Copyright (c) Microsoft Corporation.
Permission to use, copy, modify, and/or distribute this software for any
Expand All @@ -839,6 +839,8 @@ LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR
OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR
PERFORMANCE OF THIS SOFTWARE.
***************************************************************************** */
/* global Reflect, Promise, SuppressedError, Symbol */


function __awaiter(thisArg, _arguments, P, generator) {
function adopt(value) { return value instanceof P ? value : new P(function (resolve) { resolve(value); }); }
Expand All @@ -848,6 +850,15 @@ function __awaiter(thisArg, _arguments, P, generator) {
function step(result) { result.done ? resolve(result.value) : adopt(result.value).then(fulfilled, rejected); }
step((generator = generator.apply(thisArg, _arguments || [])).next());
});
}

typeof SuppressedError === "function" ? SuppressedError : function (error, suppressed, message) {
var e = new Error(message);
return e.name = "SuppressedError", e.error = error, e.suppressed = suppressed, e;
};

function getDefaultExportFromCjs (x) {
return x && x.__esModule && Object.prototype.hasOwnProperty.call(x, 'default') ? x['default'] : x;
}

// do not edit .js files directly - edit src/index.jst
Expand Down Expand Up @@ -895,6 +906,8 @@ var fastDeepEqual = function equal(a, b) {
return a!==a && b!==b;
};

var isEqual = /*@__PURE__*/getDefaultExportFromCjs(fastDeepEqual);

/**
* Copyright 2019 Google LLC. All Rights Reserved.
*
Expand Down Expand Up @@ -969,7 +982,7 @@ class Loader {
this.url = url;
this.version = version;
if (Loader.instance) {
if (!fastDeepEqual(this.options, Loader.instance.options)) {
if (!isEqual(this.options, Loader.instance.options)) {
throw new Error(`Loader must not be called again with different options. ${JSON.stringify(this.options)} !== ${JSON.stringify(Loader.instance.options)}`);
}
return Loader.instance;
Expand Down Expand Up @@ -1015,7 +1028,7 @@ class Loader {
*/
createUrl() {
let url = this.url;
url += `?callback=__googleMapsCallback`;
url += `?callback=__googleMapsCallback&loading=async`;
if (this.apiKey) {
url += `&key=${this.apiKey}`;
}
Expand Down Expand Up @@ -1199,22 +1212,23 @@ class Loader {
}
execute() {
this.resetIfRetryingFailed();
if (this.loading) {
// do nothing but wait
return;
}
if (this.done) {
this.callback();
}
else {
// short circuit and warn if google.maps is already loaded
if (window.google && window.google.maps && window.google.maps.version) {
console.warn("Google Maps already loaded outside @googlemaps/js-api-loader." +
console.warn("Google Maps already loaded outside @googlemaps/js-api-loader. " +
"This may result in undesirable behavior as options and script parameters may not match.");
this.callback();
return;
}
if (this.loading) ;
else {
this.loading = true;
this.setScript();
}
this.loading = true;
this.setScript();
}
}
}
Expand Down
32 changes: 23 additions & 9 deletions public/bench-advanced/vendor.js
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
/*! *****************************************************************************
/******************************************************************************
Copyright (c) Microsoft Corporation.
Permission to use, copy, modify, and/or distribute this software for any
Expand All @@ -12,6 +12,8 @@ LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR
OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR
PERFORMANCE OF THIS SOFTWARE.
***************************************************************************** */
/* global Reflect, Promise, SuppressedError, Symbol */


function __awaiter(thisArg, _arguments, P, generator) {
function adopt(value) { return value instanceof P ? value : new P(function (resolve) { resolve(value); }); }
Expand All @@ -21,6 +23,15 @@ function __awaiter(thisArg, _arguments, P, generator) {
function step(result) { result.done ? resolve(result.value) : adopt(result.value).then(fulfilled, rejected); }
step((generator = generator.apply(thisArg, _arguments || [])).next());
});
}

typeof SuppressedError === "function" ? SuppressedError : function (error, suppressed, message) {
var e = new Error(message);
return e.name = "SuppressedError", e.error = error, e.suppressed = suppressed, e;
};

function getDefaultExportFromCjs$1 (x) {
return x && x.__esModule && Object.prototype.hasOwnProperty.call(x, 'default') ? x['default'] : x;
}

// do not edit .js files directly - edit src/index.jst
Expand Down Expand Up @@ -68,6 +79,8 @@ var fastDeepEqual$1 = function equal(a, b) {
return a!==a && b!==b;
};

var isEqual = /*@__PURE__*/getDefaultExportFromCjs$1(fastDeepEqual$1);

/**
* Copyright 2019 Google LLC. All Rights Reserved.
*
Expand Down Expand Up @@ -142,7 +155,7 @@ class Loader {
this.url = url;
this.version = version;
if (Loader.instance) {
if (!fastDeepEqual$1(this.options, Loader.instance.options)) {
if (!isEqual(this.options, Loader.instance.options)) {
throw new Error(`Loader must not be called again with different options. ${JSON.stringify(this.options)} !== ${JSON.stringify(Loader.instance.options)}`);
}
return Loader.instance;
Expand Down Expand Up @@ -188,7 +201,7 @@ class Loader {
*/
createUrl() {
let url = this.url;
url += `?callback=__googleMapsCallback`;
url += `?callback=__googleMapsCallback&loading=async`;
if (this.apiKey) {
url += `&key=${this.apiKey}`;
}
Expand Down Expand Up @@ -372,22 +385,23 @@ class Loader {
}
execute() {
this.resetIfRetryingFailed();
if (this.loading) {
// do nothing but wait
return;
}
if (this.done) {
this.callback();
}
else {
// short circuit and warn if google.maps is already loaded
if (window.google && window.google.maps && window.google.maps.version) {
console.warn("Google Maps already loaded outside @googlemaps/js-api-loader." +
console.warn("Google Maps already loaded outside @googlemaps/js-api-loader. " +
"This may result in undesirable behavior as options and script parameters may not match.");
this.callback();
return;
}
if (this.loading) ;
else {
this.loading = true;
this.setScript();
}
this.loading = true;
this.setScript();
}
}
}
Expand Down
32 changes: 23 additions & 9 deletions public/bench-legacy-viewport/vendor.js
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
/*! *****************************************************************************
/******************************************************************************
Copyright (c) Microsoft Corporation.
Permission to use, copy, modify, and/or distribute this software for any
Expand All @@ -12,6 +12,8 @@ LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR
OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR
PERFORMANCE OF THIS SOFTWARE.
***************************************************************************** */
/* global Reflect, Promise, SuppressedError, Symbol */


function __awaiter(thisArg, _arguments, P, generator) {
function adopt(value) { return value instanceof P ? value : new P(function (resolve) { resolve(value); }); }
Expand All @@ -21,6 +23,15 @@ function __awaiter(thisArg, _arguments, P, generator) {
function step(result) { result.done ? resolve(result.value) : adopt(result.value).then(fulfilled, rejected); }
step((generator = generator.apply(thisArg, _arguments || [])).next());
});
}

typeof SuppressedError === "function" ? SuppressedError : function (error, suppressed, message) {
var e = new Error(message);
return e.name = "SuppressedError", e.error = error, e.suppressed = suppressed, e;
};

function getDefaultExportFromCjs$1 (x) {
return x && x.__esModule && Object.prototype.hasOwnProperty.call(x, 'default') ? x['default'] : x;
}

// do not edit .js files directly - edit src/index.jst
Expand Down Expand Up @@ -68,6 +79,8 @@ var fastDeepEqual$1 = function equal(a, b) {
return a!==a && b!==b;
};

var isEqual = /*@__PURE__*/getDefaultExportFromCjs$1(fastDeepEqual$1);

/**
* Copyright 2019 Google LLC. All Rights Reserved.
*
Expand Down Expand Up @@ -142,7 +155,7 @@ class Loader {
this.url = url;
this.version = version;
if (Loader.instance) {
if (!fastDeepEqual$1(this.options, Loader.instance.options)) {
if (!isEqual(this.options, Loader.instance.options)) {
throw new Error(`Loader must not be called again with different options. ${JSON.stringify(this.options)} !== ${JSON.stringify(Loader.instance.options)}`);
}
return Loader.instance;
Expand Down Expand Up @@ -188,7 +201,7 @@ class Loader {
*/
createUrl() {
let url = this.url;
url += `?callback=__googleMapsCallback`;
url += `?callback=__googleMapsCallback&loading=async`;
if (this.apiKey) {
url += `&key=${this.apiKey}`;
}
Expand Down Expand Up @@ -372,22 +385,23 @@ class Loader {
}
execute() {
this.resetIfRetryingFailed();
if (this.loading) {
// do nothing but wait
return;
}
if (this.done) {
this.callback();
}
else {
// short circuit and warn if google.maps is already loaded
if (window.google && window.google.maps && window.google.maps.version) {
console.warn("Google Maps already loaded outside @googlemaps/js-api-loader." +
console.warn("Google Maps already loaded outside @googlemaps/js-api-loader. " +
"This may result in undesirable behavior as options and script parameters may not match.");
this.callback();
return;
}
if (this.loading) ;
else {
this.loading = true;
this.setScript();
}
this.loading = true;
this.setScript();
}
}
}
Expand Down
32 changes: 23 additions & 9 deletions public/bench-legacy/vendor.js
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
/*! *****************************************************************************
/******************************************************************************
Copyright (c) Microsoft Corporation.
Permission to use, copy, modify, and/or distribute this software for any
Expand All @@ -12,6 +12,8 @@ LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR
OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR
PERFORMANCE OF THIS SOFTWARE.
***************************************************************************** */
/* global Reflect, Promise, SuppressedError, Symbol */


function __awaiter(thisArg, _arguments, P, generator) {
function adopt(value) { return value instanceof P ? value : new P(function (resolve) { resolve(value); }); }
Expand All @@ -21,6 +23,15 @@ function __awaiter(thisArg, _arguments, P, generator) {
function step(result) { result.done ? resolve(result.value) : adopt(result.value).then(fulfilled, rejected); }
step((generator = generator.apply(thisArg, _arguments || [])).next());
});
}

typeof SuppressedError === "function" ? SuppressedError : function (error, suppressed, message) {
var e = new Error(message);
return e.name = "SuppressedError", e.error = error, e.suppressed = suppressed, e;
};

function getDefaultExportFromCjs$1 (x) {
return x && x.__esModule && Object.prototype.hasOwnProperty.call(x, 'default') ? x['default'] : x;
}

// do not edit .js files directly - edit src/index.jst
Expand Down Expand Up @@ -68,6 +79,8 @@ var fastDeepEqual$1 = function equal(a, b) {
return a!==a && b!==b;
};

var isEqual = /*@__PURE__*/getDefaultExportFromCjs$1(fastDeepEqual$1);

/**
* Copyright 2019 Google LLC. All Rights Reserved.
*
Expand Down Expand Up @@ -142,7 +155,7 @@ class Loader {
this.url = url;
this.version = version;
if (Loader.instance) {
if (!fastDeepEqual$1(this.options, Loader.instance.options)) {
if (!isEqual(this.options, Loader.instance.options)) {
throw new Error(`Loader must not be called again with different options. ${JSON.stringify(this.options)} !== ${JSON.stringify(Loader.instance.options)}`);
}
return Loader.instance;
Expand Down Expand Up @@ -188,7 +201,7 @@ class Loader {
*/
createUrl() {
let url = this.url;
url += `?callback=__googleMapsCallback`;
url += `?callback=__googleMapsCallback&loading=async`;
if (this.apiKey) {
url += `&key=${this.apiKey}`;
}
Expand Down Expand Up @@ -372,22 +385,23 @@ class Loader {
}
execute() {
this.resetIfRetryingFailed();
if (this.loading) {
// do nothing but wait
return;
}
if (this.done) {
this.callback();
}
else {
// short circuit and warn if google.maps is already loaded
if (window.google && window.google.maps && window.google.maps.version) {
console.warn("Google Maps already loaded outside @googlemaps/js-api-loader." +
console.warn("Google Maps already loaded outside @googlemaps/js-api-loader. " +
"This may result in undesirable behavior as options and script parameters may not match.");
this.callback();
return;
}
if (this.loading) ;
else {
this.loading = true;
this.setScript();
}
this.loading = true;
this.setScript();
}
}
}
Expand Down
Loading

0 comments on commit db8c321

Please sign in to comment.