From ed664f4a3c3837bbcf57e39f8a3cabab92d4c2ea Mon Sep 17 00:00:00 2001 From: NiclasNorin Date: Mon, 6 Jul 2026 14:50:32 +0200 Subject: [PATCH] fix: correcting map not loading --- package-lock.json | 31 ++++++------------------------- package.json | 2 +- source/sass/main.scss | 2 +- 3 files changed, 8 insertions(+), 27 deletions(-) diff --git a/package-lock.json b/package-lock.json index 7158fb84..4aff2563 100644 --- a/package-lock.json +++ b/package-lock.json @@ -1,15 +1,15 @@ { "name": "@helsingborg-stad/modularity-frontend-form", - "version": "0.77.0", + "version": "0.83.4", "lockfileVersion": 3, "requires": true, "packages": { "": { "name": "@helsingborg-stad/modularity-frontend-form", - "version": "0.77.0", + "version": "0.83.4", "license": "MIT", "dependencies": { - "@helsingborg-stad/openstreetmap": "^0.51.6", + "@helsingborg-stad/openstreetmap": "^0.53.5", "vite-config-factory": "^1.0.1" }, "devDependencies": { @@ -1209,9 +1209,9 @@ } }, "node_modules/@helsingborg-stad/openstreetmap": { - "version": "0.51.6", - "resolved": "https://npm.pkg.github.com/download/@helsingborg-stad/openstreetmap/0.51.6/d24b8df91b05d9d718fff64b7bd05d330158bc28", - "integrity": "sha512-vNdHKBLnyxSDjTANC4nJ0oyfEmmfYmlgm1H4dk3LPxrTnNFxdr1pg9cj+GHLX6IA154VY1tOTT82sP2xax9zcQ==", + "version": "0.53.5", + "resolved": "https://npm.pkg.github.com/download/@helsingborg-stad/openstreetmap/0.53.5/7c4f94abe1c5d23e14494b585b50f3be1f57dd18", + "integrity": "sha512-LP+zPriDR5q0WWNgR6/2kUa0fRUyrWpscj3rqCwe+sojUhF7nS+HjGZL3yC8DOPFfhGZi3G2eLg2d+2R4Ifh1w==", "dependencies": { "leaflet": "^1.9.4", "leaflet.markercluster": "1.5.3", @@ -2416,7 +2416,6 @@ "version": "2.5.4", "resolved": "https://registry.npmjs.org/@parcel/watcher/-/watcher-2.5.4.tgz", "integrity": "sha512-WYa2tUVV5HiArWPB3ydlOc4R2ivq0IDrlqhMi3l7mVsFEXNcTfxYFPIHXHXIh/ca/y/V5N4E1zecyxdIBjYnkQ==", - "dev": true, "hasInstallScript": true, "license": "MIT", "optional": true, @@ -2456,7 +2455,6 @@ "cpu": [ "arm64" ], - "dev": true, "license": "MIT", "optional": true, "os": [ @@ -2477,7 +2475,6 @@ "cpu": [ "arm64" ], - "dev": true, "license": "MIT", "optional": true, "os": [ @@ -2498,7 +2495,6 @@ "cpu": [ "x64" ], - "dev": true, "license": "MIT", "optional": true, "os": [ @@ -2519,7 +2515,6 @@ "cpu": [ "x64" ], - "dev": true, "license": "MIT", "optional": true, "os": [ @@ -2540,7 +2535,6 @@ "cpu": [ "arm" ], - "dev": true, "license": "MIT", "optional": true, "os": [ @@ -2561,7 +2555,6 @@ "cpu": [ "arm" ], - "dev": true, "license": "MIT", "optional": true, "os": [ @@ -2582,7 +2575,6 @@ "cpu": [ "arm64" ], - "dev": true, "license": "MIT", "optional": true, "os": [ @@ -2603,7 +2595,6 @@ "cpu": [ "arm64" ], - "dev": true, "license": "MIT", "optional": true, "os": [ @@ -2624,7 +2615,6 @@ "cpu": [ "x64" ], - "dev": true, "license": "MIT", "optional": true, "os": [ @@ -2645,7 +2635,6 @@ "cpu": [ "x64" ], - "dev": true, "license": "MIT", "optional": true, "os": [ @@ -2666,7 +2655,6 @@ "cpu": [ "arm64" ], - "dev": true, "license": "MIT", "optional": true, "os": [ @@ -2687,7 +2675,6 @@ "cpu": [ "ia32" ], - "dev": true, "license": "MIT", "optional": true, "os": [ @@ -2708,7 +2695,6 @@ "cpu": [ "x64" ], - "dev": true, "license": "MIT", "optional": true, "os": [ @@ -2726,7 +2712,6 @@ "version": "4.0.3", "resolved": "https://registry.npmjs.org/picomatch/-/picomatch-4.0.3.tgz", "integrity": "sha512-5gTmgEY/sqK6gFXLIsQNH19lWb4ebPDLA4SdLP7dsWkIXHWlG66oPuVvXSGFPppYZz8ZDZq0dYYrbHfBCVUb1Q==", - "dev": true, "license": "MIT", "optional": true, "engines": { @@ -4762,7 +4747,6 @@ "version": "2.1.2", "resolved": "https://registry.npmjs.org/detect-libc/-/detect-libc-2.1.2.tgz", "integrity": "sha512-Btj2BOOO83o3WyH59e8MgXsxEQVcarkUOpEYrubB0urwnN10yQ364rsiByU11nZlqWYZm05i/of7io4mzihBtQ==", - "dev": true, "license": "Apache-2.0", "optional": true, "engines": { @@ -5708,7 +5692,6 @@ "version": "2.1.1", "resolved": "https://registry.npmjs.org/is-extglob/-/is-extglob-2.1.1.tgz", "integrity": "sha512-SbKbANkN603Vi4jEZv49LeVJMn4yGwsbzZworEoyEiutsN3nJYdbO36zfhGJ6QEDpOZIFkDtnq5JRxmvl3jsoQ==", - "dev": true, "license": "MIT", "optional": true, "engines": { @@ -5741,7 +5724,6 @@ "version": "4.0.3", "resolved": "https://registry.npmjs.org/is-glob/-/is-glob-4.0.3.tgz", "integrity": "sha512-xelSayHH36ZgE7ZWhli7pW34hNbNl8Ojv5KVmkJD4hBdD3th8Tfk9vYasLM+mXWOZhFkgZfxhLSnrwRr4elSSg==", - "dev": true, "license": "MIT", "optional": true, "dependencies": { @@ -8377,7 +8359,6 @@ "version": "7.1.1", "resolved": "https://registry.npmjs.org/node-addon-api/-/node-addon-api-7.1.1.tgz", "integrity": "sha512-5m3bsyrjFWE1xf7nz7YXdN4udnVtXK6/Yfgn5qnahL6bCkf2yKt4k3nuTKAtT4r3IG8JNR2ncsIMdZuAzJjHQQ==", - "dev": true, "license": "MIT", "optional": true }, diff --git a/package.json b/package.json index bcd53e10..0f997bad 100644 --- a/package.json +++ b/package.json @@ -56,7 +56,7 @@ ] }, "dependencies": { - "@helsingborg-stad/openstreetmap": "^0.51.6", + "@helsingborg-stad/openstreetmap": "^0.53.5", "vite-config-factory": "^1.0.1" }, "version": "0.83.4" diff --git a/source/sass/main.scss b/source/sass/main.scss index eb8c73be..42507848 100644 --- a/source/sass/main.scss +++ b/source/sass/main.scss @@ -9,7 +9,7 @@ @include meta.load-css("./map.scss"); @include meta.load-css("./working.scss"); @include meta.load-css("./multichoice.scss"); - @import "@helsingborg-stad/openstreetmap/dist/main.css"; + @include meta.load-css("@helsingborg-stad/openstreetmap/dist/main.css"); .mod-frontend-form form { display: flex;