places-autocomplete-svelte 2.2.19 → 2.2.20
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.
|
@@ -163,7 +163,7 @@
|
|
|
163
163
|
for (const suggestion of suggestions) {
|
|
164
164
|
// get prediction text
|
|
165
165
|
//console.log(suggestion.placePrediction.toPlace());
|
|
166
|
-
let place =
|
|
166
|
+
let place = suggestion.placePrediction.toPlace();
|
|
167
167
|
await place.fetchFields({fields: ["addressComponents"]});
|
|
168
168
|
|
|
169
169
|
const predictionText = suggestion.placePrediction.mainText;
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "places-autocomplete-svelte",
|
|
3
3
|
"license": "MIT",
|
|
4
|
-
"version": "2.2.
|
|
4
|
+
"version": "2.2.20",
|
|
5
5
|
"description": "A flexible, accessible, and secure Svelte component leveraging the Google Maps Places Autocomplete API (New) to provide a user-friendly way to search for and retrieve detailed address information.",
|
|
6
6
|
"keywords": [
|
|
7
7
|
"svelte",
|
|
@@ -77,7 +77,7 @@
|
|
|
77
77
|
"devDependencies": {
|
|
78
78
|
"@sveltejs/adapter-auto": "^7.0.0",
|
|
79
79
|
"@sveltejs/adapter-cloudflare": "^7.2.4",
|
|
80
|
-
"@sveltejs/kit": "^2.49.
|
|
80
|
+
"@sveltejs/kit": "^2.49.1",
|
|
81
81
|
"@sveltejs/package": "^2.5.7",
|
|
82
82
|
"@sveltejs/vite-plugin-svelte": "^6.2.1",
|
|
83
83
|
"@tailwindcss/postcss": "^4.1.17",
|
|
@@ -89,19 +89,19 @@
|
|
|
89
89
|
"autoprefixer": "^10.4.22",
|
|
90
90
|
"eslint": "^9.39.1",
|
|
91
91
|
"eslint-config-prettier": "^10.1.8",
|
|
92
|
-
"eslint-plugin-svelte": "^3.13.
|
|
92
|
+
"eslint-plugin-svelte": "^3.13.1",
|
|
93
93
|
"globals": "^16.5.0",
|
|
94
94
|
"postcss": "^8.5.6",
|
|
95
|
-
"prettier": "^3.7.
|
|
95
|
+
"prettier": "^3.7.4",
|
|
96
96
|
"prettier-plugin-svelte": "^3.4.0",
|
|
97
97
|
"publint": "^0.3.15",
|
|
98
|
-
"svelte": "^5.45.
|
|
98
|
+
"svelte": "^5.45.6",
|
|
99
99
|
"svelte-check": "^4.3.4",
|
|
100
100
|
"tailwindcss": "^4.1.17",
|
|
101
101
|
"tslib": "^2.8.1",
|
|
102
102
|
"typescript": "^5.9.3",
|
|
103
|
-
"typescript-eslint": "^8.48.
|
|
104
|
-
"vite": "^7.2.
|
|
103
|
+
"typescript-eslint": "^8.48.1",
|
|
104
|
+
"vite": "^7.2.6"
|
|
105
105
|
},
|
|
106
106
|
"svelte": "./dist/index.js",
|
|
107
107
|
"types": "./dist/PlaceAutocomplete.svelte.d.ts",
|