@heycar/heycars-map 2.3.0-drag3 → 2.3.1
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.
|
@@ -3,13 +3,19 @@ function alipayPolyfill() {
|
|
|
3
3
|
if (typeof window !== "undefined" && typeof globalThis === "undefined") {
|
|
4
4
|
window.globalThis = window;
|
|
5
5
|
}
|
|
6
|
-
if (typeof GeolocationPositionError === "undefined") {
|
|
6
|
+
if (typeof window !== "undefined" && typeof GeolocationPositionError === "undefined") {
|
|
7
7
|
window.GeolocationPositionError = {
|
|
8
8
|
PERMISSION_DENIED: 1,
|
|
9
9
|
POSITION_UNAVAILABLE: 2,
|
|
10
10
|
TIMEOUT: 3
|
|
11
11
|
};
|
|
12
12
|
}
|
|
13
|
+
if (typeof AbortSignal !== "undefined" && typeof AbortSignal.prototype !== "undefined" && typeof AbortSignal.prototype.throwIfAborted === "undefined") {
|
|
14
|
+
AbortSignal.prototype.throwIfAborted = function throwIfAborted() {
|
|
15
|
+
if (this.aborted)
|
|
16
|
+
throw this.reason;
|
|
17
|
+
};
|
|
18
|
+
}
|
|
13
19
|
}
|
|
14
20
|
alipayPolyfill();
|
|
15
21
|
export {
|
package/dist/v2/utils/log.js
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
const availableLogKeys = /* @__PURE__ */ new Set();
|
|
2
2
|
const pkgName = "@heycar/heycars-map";
|
|
3
|
-
const pkgVersion = "2.3.
|
|
3
|
+
const pkgVersion = "2.3.1";
|
|
4
4
|
const isEnableLog = (name) => {
|
|
5
5
|
const searchParam = new URLSearchParams(location.search);
|
|
6
6
|
return searchParam.has(`log-${name}`);
|
|
@@ -3,13 +3,19 @@ function alipayPolyfill() {
|
|
|
3
3
|
if (typeof window !== "undefined" && typeof globalThis === "undefined") {
|
|
4
4
|
window.globalThis = window;
|
|
5
5
|
}
|
|
6
|
-
if (typeof GeolocationPositionError === "undefined") {
|
|
6
|
+
if (typeof window !== "undefined" && typeof GeolocationPositionError === "undefined") {
|
|
7
7
|
window.GeolocationPositionError = {
|
|
8
8
|
PERMISSION_DENIED: 1,
|
|
9
9
|
POSITION_UNAVAILABLE: 2,
|
|
10
10
|
TIMEOUT: 3
|
|
11
11
|
};
|
|
12
12
|
}
|
|
13
|
+
if (typeof AbortSignal !== "undefined" && typeof AbortSignal.prototype !== "undefined" && typeof AbortSignal.prototype.throwIfAborted === "undefined") {
|
|
14
|
+
AbortSignal.prototype.throwIfAborted = function throwIfAborted() {
|
|
15
|
+
if (this.aborted)
|
|
16
|
+
throw this.reason;
|
|
17
|
+
};
|
|
18
|
+
}
|
|
13
19
|
}
|
|
14
20
|
alipayPolyfill();
|
|
15
21
|
export {
|
package/dist/v3/utils/log.js
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
const availableLogKeys = /* @__PURE__ */ new Set();
|
|
2
2
|
const pkgName = "@heycar/heycars-map";
|
|
3
|
-
const pkgVersion = "2.3.
|
|
3
|
+
const pkgVersion = "2.3.1";
|
|
4
4
|
const isEnableLog = (name) => {
|
|
5
5
|
const searchParam = new URLSearchParams(location.search);
|
|
6
6
|
return searchParam.has(`log-${name}`);
|