feat: update to svelte 5
This commit is contained in:
parent
2f1e0ba787
commit
b110745ac5
3 changed files with 7 additions and 7 deletions
BIN
bun.lockb
BIN
bun.lockb
Binary file not shown.
12
package.json
12
package.json
|
@ -16,17 +16,17 @@
|
|||
},
|
||||
"devDependencies": {
|
||||
"@sveltejs/adapter-auto": "^3.2.5",
|
||||
"@sveltejs/kit": "^2.7.1",
|
||||
"@sveltejs/vite-plugin-svelte": "^3.1.2",
|
||||
"@sveltejs/kit": "^2.7.2",
|
||||
"@sveltejs/vite-plugin-svelte": "^4.0.0",
|
||||
"@types/eslint": "^9.6.1",
|
||||
"@types/leaflet": "^1.9.12",
|
||||
"eslint": "^9.12.0",
|
||||
"@types/leaflet": "^1.9.13",
|
||||
"eslint": "^9.13.0",
|
||||
"eslint-config-prettier": "^9.1.0",
|
||||
"eslint-plugin-svelte": "^2.45.1",
|
||||
"eslint-plugin-svelte": "^2.46.0",
|
||||
"globals": "^15.11.0",
|
||||
"prettier": "^3.3.3",
|
||||
"prettier-plugin-svelte": "^3.2.7",
|
||||
"svelte": "^4.2.19",
|
||||
"svelte": "^5.0.3",
|
||||
"svelte-check": "^4.0.5",
|
||||
"typescript": "^5.6.3",
|
||||
"typescript-eslint": "^8.10.0",
|
||||
|
|
|
@ -20,7 +20,7 @@
|
|||
lignes.features.forEach((feature) => {
|
||||
const color = 'rgb(' + feature.properties.couleur.replaceAll(' ', ',') + ')';
|
||||
|
||||
// @ts-ignore
|
||||
// @ts-expect-error feature.type is not strict enough, FIXME
|
||||
L.geoJSON(feature, { style: { color } }).addTo(map);
|
||||
});
|
||||
});
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue