@maptiler/geocoding-control 2.1.3 → 2.1.4

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.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@maptiler/geocoding-control",
3
- "version": "2.1.3",
3
+ "version": "2.1.4",
4
4
  "description": "The Javascript & TypeScript Map Control component for MapTiler Geocoding service. Easy to be integrated into any JavaScript mapping application.",
5
5
  "type": "module",
6
6
  "author": {
@@ -102,14 +102,14 @@
102
102
  "./types": "./types.d.ts"
103
103
  },
104
104
  "devDependencies": {
105
- "@maptiler/sdk": "^3.0.0",
105
+ "@maptiler/sdk": "^3.0.1",
106
106
  "@sveltejs/package": "^2.3.7",
107
107
  "@sveltejs/vite-plugin-svelte": "^3.1.2",
108
108
  "@tsconfig/svelte": "^5.0.4",
109
109
  "@types/geojson": "^7946.0.15",
110
110
  "@types/leaflet": "^1.9.16",
111
- "@types/node": "^22.10.5",
112
- "@types/react": "^19.0.6",
111
+ "@types/node": "^22.10.6",
112
+ "@types/react": "^19.0.7",
113
113
  "@types/react-dom": "^19.0.3",
114
114
  "concurrently": "^9.1.2",
115
115
  "dotenv": "^16.4.7",
@@ -124,17 +124,17 @@
124
124
  "ol": "10.3",
125
125
  "prettier": "^3.4.2",
126
126
  "prettier-plugin-organize-imports": "^4.1.0",
127
- "prettier-plugin-svelte": "^3.3.2",
127
+ "prettier-plugin-svelte": "^3.3.3",
128
128
  "react": "^19.0.0",
129
129
  "react-dom": "^19.0.0",
130
130
  "replace-in-file": "^8.3.0",
131
- "sass": "^1.83.1",
131
+ "sass": "^1.83.4",
132
132
  "svelte": "^4.2.19",
133
- "svelte-check": "^4.1.3",
133
+ "svelte-check": "^4.1.4",
134
134
  "svelte-preprocess": "^6.0.3",
135
135
  "tslib": "^2.8.1",
136
136
  "typescript": "^5.7.3",
137
- "typescript-eslint": "^8.19.1",
137
+ "typescript-eslint": "^8.20.0",
138
138
  "vite": "^5.4.11"
139
139
  },
140
140
  "peerDependencies": {
package/react.js CHANGED
@@ -938,7 +938,7 @@ function gn(i) {
938
938
  }
939
939
  };
940
940
  }
941
- const ai = devicePixelRatio > 1.25, yt = ai ? "@2x" : "", ie = ai ? 2 : 1;
941
+ const ai = typeof devicePixelRatio > "u" ? 1 : devicePixelRatio > 1.25, yt = ai ? "@2x" : "", ie = ai ? 2 : 1;
942
942
  let re, Xe;
943
943
  function hn(i, e, t) {
944
944
  let n, r, c, { feature: l } = e, { style: o = "default" } = e, { showPlaceType: d } = e, { missingIconsCache: u } = e, { iconsBaseUrl: f } = e;
@@ -2233,7 +2233,7 @@ function Gn(i, e, t) {
2233
2233
  const pt = [];
2234
2234
  let { reverseGeocodingTypes: Ze = pt } = e, { exhaustiveReverseGeocoding: it = !1 } = e, { excludeTypes: nt = !1 } = e;
2235
2235
  const Tt = void 0;
2236
- let { reverseGeocodingExcludeTypes: qe = Tt } = e, { zoom: Qe = d } = e, { apiUrl: rt = "https://api.maptiler.com/geocoding" } = e, { fetchParameters: ot = {} } = e, { iconsBaseUrl: kt = "https://cdn.maptiler.com/maptiler-geocoding-control/v2.1.3/icons/" } = e, { adjustUrlQuery: st = () => {
2236
+ let { reverseGeocodingExcludeTypes: qe = Tt } = e, { zoom: Qe = d } = e, { apiUrl: rt = "https://api.maptiler.com/geocoding" } = e, { fetchParameters: ot = {} } = e, { iconsBaseUrl: kt = "https://cdn.maptiler.com/maptiler-geocoding-control/v2.1.4/icons/" } = e, { adjustUrlQuery: st = () => {
2237
2237
  } } = e, { adjustUrl: at = () => {
2238
2238
  } } = e;
2239
2239
  function li(s) {