diff --git a/.changeset/hungry-meals-appear.md b/.changeset/hungry-meals-appear.md new file mode 100644 index 0000000000..25b24d23a7 --- /dev/null +++ b/.changeset/hungry-meals-appear.md @@ -0,0 +1,10 @@ +--- +"@undp-data/svelte-geohub-static-image-controls": patch +"@undp-data/svelte-maplibre-storymap": patch +"@undp-data/svelte-undp-components": patch +"@undp-data/cgaz-admin-tool": patch +"@undp-data/style-switcher": patch +"geohub": patch +--- + +chore: upgrade maplibre to v5 diff --git a/packages/cgaz-admin-tool/package.json b/packages/cgaz-admin-tool/package.json index 4872cccdaf..4791a9b343 100644 --- a/packages/cgaz-admin-tool/package.json +++ b/packages/cgaz-admin-tool/package.json @@ -64,6 +64,6 @@ "types": "./dist/index.d.ts", "type": "module", "dependencies": { - "maplibre-gl": "^4.7.1" + "maplibre-gl": "^5.0.0" } } diff --git a/packages/style-switcher/package.json b/packages/style-switcher/package.json index 51c35bb9ce..0cb8005f55 100644 --- a/packages/style-switcher/package.json +++ b/packages/style-switcher/package.json @@ -46,7 +46,7 @@ "type": "module", "dependencies": { "json-stable-stringify": "^1.1.1", - "maplibre-gl": "^4.7.1", + "maplibre-gl": "^5.0.0", "tippy.js": "^6.3.7" }, "files": [ diff --git a/packages/svelte-maplibre-storymap/package.json b/packages/svelte-maplibre-storymap/package.json index 2b9241a964..a0be44e5e0 100644 --- a/packages/svelte-maplibre-storymap/package.json +++ b/packages/svelte-maplibre-storymap/package.json @@ -70,7 +70,7 @@ "@undp-data/svelte-undp-design": "workspace:^", "intersection-observer": "^0.12.2", "lodash-es": "^4.17.21", - "maplibre-gl": "^4.7.1", + "maplibre-gl": "^5.0.0", "marked": "^15.0.0", "scrollama": "^3.2.0" } diff --git a/packages/svelte-static-image-controls/package.json b/packages/svelte-static-image-controls/package.json index 7a1cd30dd0..c303f4c4b9 100644 --- a/packages/svelte-static-image-controls/package.json +++ b/packages/svelte-static-image-controls/package.json @@ -71,6 +71,6 @@ "@undp-data/svelte-undp-design": "workspace:^", "@undp-data/undp-bulma": "workspace:^", "debounce": "^2.1.1", - "maplibre-gl": "^4.7.1" + "maplibre-gl": "^5.0.0" } } diff --git a/packages/svelte-undp-components/package.json b/packages/svelte-undp-components/package.json index f948b04703..469e5d6508 100644 --- a/packages/svelte-undp-components/package.json +++ b/packages/svelte-undp-components/package.json @@ -96,7 +96,7 @@ "esm-env": "^1.1.4", "hex-to-css-filter": "^5.4.0", "lodash-es": "^4.17.21", - "maplibre-gl": "^4.7.1", + "maplibre-gl": "^5.0.0", "simple-statistics": "^7.8.7", "svelte-awesome-color-picker": "^3.1.4", "svelte-copy": "^1.4.2", diff --git a/pnpm-lock.yaml b/pnpm-lock.yaml index c5576d6f33..800415cee3 100644 --- a/pnpm-lock.yaml +++ b/pnpm-lock.yaml @@ -18,8 +18,8 @@ importers: packages/cgaz-admin-tool: dependencies: maplibre-gl: - specifier: ^4.7.1 - version: 4.7.1 + specifier: ^5.0.0 + version: 5.0.0 devDependencies: '@sveltejs/adapter-auto': specifier: ^3.3.1 @@ -88,8 +88,8 @@ importers: specifier: ^1.1.1 version: 1.2.1 maplibre-gl: - specifier: ^4.7.1 - version: 4.7.1 + specifier: ^5.0.0 + version: 5.0.0 tippy.js: specifier: ^6.3.7 version: 6.3.7 @@ -170,8 +170,8 @@ importers: specifier: ^4.17.21 version: 4.17.21 maplibre-gl: - specifier: ^4.7.1 - version: 4.7.1 + specifier: ^5.0.0 + version: 5.0.0 marked: specifier: ^15.0.0 version: 15.0.4 @@ -267,8 +267,8 @@ importers: specifier: ^2.1.1 version: 2.2.0 maplibre-gl: - specifier: ^4.7.1 - version: 4.7.1 + specifier: ^5.0.0 + version: 5.0.0 devDependencies: '@sveltejs/adapter-auto': specifier: ^3.2.5 @@ -364,8 +364,8 @@ importers: specifier: ^4.17.21 version: 4.17.21 maplibre-gl: - specifier: ^4.7.1 - version: 4.7.1 + specifier: ^5.0.0 + version: 5.0.0 simple-statistics: specifier: ^7.8.7 version: 7.8.7 @@ -705,10 +705,10 @@ importers: version: 1.22.0(svelte@5.16.0) '@maplibre/maplibre-gl-geocoder': specifier: ^1.7.0 - version: 1.7.0(maplibre-gl@4.7.1) + version: 1.7.0(maplibre-gl@5.0.0) '@maptiler/geocoding-control': specifier: ^1.4.1 - version: 1.4.1(maplibre-gl@4.7.1)(ol@10.3.1)(react@18.3.1)(svelte@5.16.0) + version: 1.4.1(maplibre-gl@5.0.0)(ol@10.3.1)(react@18.3.1)(svelte@5.16.0) '@neodrag/svelte': specifier: ^2.2.0 version: 2.2.0 @@ -878,8 +878,8 @@ importers: specifier: ^4.17.21 version: 4.17.21 maplibre-gl: - specifier: ^4.7.1 - version: 4.7.1 + specifier: ^5.0.0 + version: 5.0.0 marked: specifier: ^15.0.4 version: 15.0.4 @@ -1953,6 +1953,10 @@ packages: resolution: {integrity: sha512-AzBy3095fTFPjDjmWpR2w6HVRAZJ6hQZUCwk5Plz6EyfnfuQW1odeW5i2Ai47Y6TBA2hQnC+azscjBSALpaWgw==} hasBin: true + '@maplibre/maplibre-gl-style-spec@22.0.1': + resolution: {integrity: sha512-V7bSw7Ui6+NhpeeuYqGoqamvKuy+3+uCvQ/t4ZJkwN8cx527CAlQQQ2kp+w5R9q+Tw6bUAH+fsq+mPEkicgT8g==} + hasBin: true + '@maptiler/geocoding-control@1.4.1': resolution: {integrity: sha512-/NMM8oaKKAdF36KbJuucJc18RaY+VpwkJ2V098yoG7H+9K7Rkyen+XKuLDA8gmvrgTeX1m48Pb9RP+e5zCrRvA==} peerDependencies: @@ -4658,6 +4662,10 @@ packages: resolution: {integrity: sha512-lgL7XpIwsgICiL82ITplfS7IGwrB1OJIw/pCvprDp2dhmSSEBgmPzYRvwYYYvJGJD7fxUv1Tvpih4nZ6VrLuaA==} engines: {node: '>=16.14.0', npm: '>=8.1.0'} + maplibre-gl@5.0.0: + resolution: {integrity: sha512-WG8IYFK2gfJYXvWjlqg1yavo/YO/JlNkblAJMt19sjIafP5oJzTgXFiOLUIYkjtrv5pKiAWuSYsx4CD3ithJqw==} + engines: {node: '>=16.14.0', npm: '>=8.1.0'} + markdown-table@3.0.4: resolution: {integrity: sha512-wiYz4+JrLyb/DqW2hkFJxP7Vd7JuTDm77fvbM8VfEQdmSMqcImWeeRbHwZjBjIFki/VaMK2BhFi7oUUZeM5bqw==} @@ -7074,11 +7082,11 @@ snapshots: '@mapbox/whoots-js@3.1.0': {} - '@maplibre/maplibre-gl-geocoder@1.7.0(maplibre-gl@4.7.1)': + '@maplibre/maplibre-gl-geocoder@1.7.0(maplibre-gl@5.0.0)': dependencies: events: 3.3.0 lodash.debounce: 4.0.8 - maplibre-gl: 4.7.1 + maplibre-gl: 5.0.0 subtag: 0.5.0 suggestions-list: 0.0.2 xtend: 4.0.2 @@ -7093,7 +7101,17 @@ snapshots: rw: 1.3.3 tinyqueue: 3.0.0 - '@maptiler/geocoding-control@1.4.1(maplibre-gl@4.7.1)(ol@10.3.1)(react@18.3.1)(svelte@5.16.0)': + '@maplibre/maplibre-gl-style-spec@22.0.1': + dependencies: + '@mapbox/jsonlint-lines-primitives': 2.0.2 + '@mapbox/unitbezier': 0.0.1 + json-stringify-pretty-compact: 4.0.0 + minimist: 1.2.8 + quickselect: 3.0.0 + rw: 1.3.3 + tinyqueue: 3.0.0 + + '@maptiler/geocoding-control@1.4.1(maplibre-gl@5.0.0)(ol@10.3.1)(react@18.3.1)(svelte@5.16.0)': dependencies: '@turf/bbox': 7.1.0 '@turf/clone': 7.1.0 @@ -7102,7 +7120,7 @@ snapshots: '@turf/union': 7.1.0 geo-coordinates-parser: 1.7.4 optionalDependencies: - maplibre-gl: 4.7.1 + maplibre-gl: 5.0.0 ol: 10.3.1 react: 18.3.1 svelte: 5.16.0 @@ -10201,6 +10219,35 @@ snapshots: tinyqueue: 3.0.0 vt-pbf: 3.1.3 + maplibre-gl@5.0.0: + dependencies: + '@mapbox/geojson-rewind': 0.5.2 + '@mapbox/jsonlint-lines-primitives': 2.0.2 + '@mapbox/point-geometry': 0.1.0 + '@mapbox/tiny-sdf': 2.0.6 + '@mapbox/unitbezier': 0.0.1 + '@mapbox/vector-tile': 1.3.1 + '@mapbox/whoots-js': 3.1.0 + '@maplibre/maplibre-gl-style-spec': 22.0.1 + '@types/geojson': 7946.0.15 + '@types/geojson-vt': 3.2.5 + '@types/mapbox__point-geometry': 0.1.4 + '@types/mapbox__vector-tile': 1.3.4 + '@types/pbf': 3.0.5 + '@types/supercluster': 7.1.3 + earcut: 3.0.1 + geojson-vt: 4.0.2 + gl-matrix: 3.4.3 + global-prefix: 4.0.0 + kdbush: 4.0.2 + murmurhash-js: 1.0.0 + pbf: 3.3.0 + potpack: 2.0.0 + quickselect: 3.0.0 + supercluster: 8.0.1 + tinyqueue: 3.0.0 + vt-pbf: 3.1.3 + markdown-table@3.0.4: {} marked@15.0.4: {} diff --git a/sites/geohub/package.json b/sites/geohub/package.json index 200442f501..a0dc5a34c6 100644 --- a/sites/geohub/package.json +++ b/sites/geohub/package.json @@ -101,7 +101,7 @@ "jsdom": "^25.0.1", "jszip": "^3.10.1", "lodash-es": "^4.17.21", - "maplibre-gl": "^4.7.1", + "maplibre-gl": "^5.0.0", "marked": "^15.0.4", "mathjs": "^14.0.1", "millify": "^6.1.0", diff --git a/sites/static-image-api/package-lock.json b/sites/static-image-api/package-lock.json index 6a70d3d5ff..14fb610a7a 100644 --- a/sites/static-image-api/package-lock.json +++ b/sites/static-image-api/package-lock.json @@ -35,7 +35,7 @@ "eslint-config-prettier": "^9.1.0", "eslint-plugin-svelte": "^2.46.1", "globals": "^15.13.0", - "maplibre-gl": "^4.7.1", + "maplibre-gl": "^5.0.0", "prettier": "^3.4.2", "prettier-plugin-svelte": "^3.3.2", "sass": "^1.82.0", @@ -2619,6 +2619,107 @@ "svelte": "^4.0.0 || ^5.0.0" } }, + "node_modules/@undp-data/svelte-geohub-static-image-controls/node_modules/@mapbox/point-geometry": { + "version": "0.1.0", + "resolved": "https://registry.npmjs.org/@mapbox/point-geometry/-/point-geometry-0.1.0.tgz", + "integrity": "sha512-6j56HdLTwWGO0fJPlrZtdU/B13q8Uwmo18Ck2GnGgN9PCFyKTZ3UbXeEdRFh18i9XQ92eH2VdtpJHpBD3aripQ==", + "dev": true, + "license": "ISC" + }, + "node_modules/@undp-data/svelte-geohub-static-image-controls/node_modules/@mapbox/vector-tile": { + "version": "1.3.1", + "resolved": "https://registry.npmjs.org/@mapbox/vector-tile/-/vector-tile-1.3.1.tgz", + "integrity": "sha512-MCEddb8u44/xfQ3oD+Srl/tNcQoqTw3goGk2oLsrFxOTc3dUp+kAnby3PvAeeBYSMSjSPD1nd1AJA6W49WnoUw==", + "dev": true, + "license": "BSD-3-Clause", + "dependencies": { + "@mapbox/point-geometry": "~0.1.0" + } + }, + "node_modules/@undp-data/svelte-geohub-static-image-controls/node_modules/@maplibre/maplibre-gl-style-spec": { + "version": "20.4.0", + "resolved": "https://registry.npmjs.org/@maplibre/maplibre-gl-style-spec/-/maplibre-gl-style-spec-20.4.0.tgz", + "integrity": "sha512-AzBy3095fTFPjDjmWpR2w6HVRAZJ6hQZUCwk5Plz6EyfnfuQW1odeW5i2Ai47Y6TBA2hQnC+azscjBSALpaWgw==", + "dev": true, + "license": "ISC", + "dependencies": { + "@mapbox/jsonlint-lines-primitives": "~2.0.2", + "@mapbox/unitbezier": "^0.0.1", + "json-stringify-pretty-compact": "^4.0.0", + "minimist": "^1.2.8", + "quickselect": "^2.0.0", + "rw": "^1.3.3", + "tinyqueue": "^3.0.0" + }, + "bin": { + "gl-style-format": "dist/gl-style-format.mjs", + "gl-style-migrate": "dist/gl-style-migrate.mjs", + "gl-style-validate": "dist/gl-style-validate.mjs" + } + }, + "node_modules/@undp-data/svelte-geohub-static-image-controls/node_modules/@maplibre/maplibre-gl-style-spec/node_modules/quickselect": { + "version": "2.0.0", + "resolved": "https://registry.npmjs.org/quickselect/-/quickselect-2.0.0.tgz", + "integrity": "sha512-RKJ22hX8mHe3Y6wH/N3wCM6BWtjaxIyyUIkpHOvfFnxdI4yD4tBXEBKSbriGujF6jnSVkJrffuo6vxACiSSxIw==", + "dev": true, + "license": "ISC" + }, + "node_modules/@undp-data/svelte-geohub-static-image-controls/node_modules/maplibre-gl": { + "version": "4.7.1", + "resolved": "https://registry.npmjs.org/maplibre-gl/-/maplibre-gl-4.7.1.tgz", + "integrity": "sha512-lgL7XpIwsgICiL82ITplfS7IGwrB1OJIw/pCvprDp2dhmSSEBgmPzYRvwYYYvJGJD7fxUv1Tvpih4nZ6VrLuaA==", + "dev": true, + "license": "BSD-3-Clause", + "dependencies": { + "@mapbox/geojson-rewind": "^0.5.2", + "@mapbox/jsonlint-lines-primitives": "^2.0.2", + "@mapbox/point-geometry": "^0.1.0", + "@mapbox/tiny-sdf": "^2.0.6", + "@mapbox/unitbezier": "^0.0.1", + "@mapbox/vector-tile": "^1.3.1", + "@mapbox/whoots-js": "^3.1.0", + "@maplibre/maplibre-gl-style-spec": "^20.3.1", + "@types/geojson": "^7946.0.14", + "@types/geojson-vt": "3.2.5", + "@types/mapbox__point-geometry": "^0.1.4", + "@types/mapbox__vector-tile": "^1.3.4", + "@types/pbf": "^3.0.5", + "@types/supercluster": "^7.1.3", + "earcut": "^3.0.0", + "geojson-vt": "^4.0.2", + "gl-matrix": "^3.4.3", + "global-prefix": "^4.0.0", + "kdbush": "^4.0.2", + "murmurhash-js": "^1.0.0", + "pbf": "^3.3.0", + "potpack": "^2.0.0", + "quickselect": "^3.0.0", + "supercluster": "^8.0.1", + "tinyqueue": "^3.0.0", + "vt-pbf": "^3.1.3" + }, + "engines": { + "node": ">=16.14.0", + "npm": ">=8.1.0" + }, + "funding": { + "url": "https://github.com/maplibre/maplibre-gl-js?sponsor=1" + } + }, + "node_modules/@undp-data/svelte-geohub-static-image-controls/node_modules/pbf": { + "version": "3.3.0", + "resolved": "https://registry.npmjs.org/pbf/-/pbf-3.3.0.tgz", + "integrity": "sha512-XDF38WCH3z5OV/OVa8GKUNtLAyneuzbCisx7QUCF8Q6Nutx0WnJrQe5O+kOtBlLfRNUws98Y58Lblp+NJG5T4Q==", + "dev": true, + "license": "BSD-3-Clause", + "dependencies": { + "ieee754": "^1.1.12", + "resolve-protobuf-schema": "^2.1.0" + }, + "bin": { + "pbf": "bin/pbf" + } + }, "node_modules/@undp-data/svelte-undp-components": { "version": "1.5.17", "resolved": "https://registry.npmjs.org/@undp-data/svelte-undp-components/-/svelte-undp-components-1.5.17.tgz", @@ -2647,6 +2748,51 @@ "svelte": "^4.0.0 || ^5.0.0" } }, + "node_modules/@undp-data/svelte-undp-components/node_modules/@mapbox/point-geometry": { + "version": "0.1.0", + "resolved": "https://registry.npmjs.org/@mapbox/point-geometry/-/point-geometry-0.1.0.tgz", + "integrity": "sha512-6j56HdLTwWGO0fJPlrZtdU/B13q8Uwmo18Ck2GnGgN9PCFyKTZ3UbXeEdRFh18i9XQ92eH2VdtpJHpBD3aripQ==", + "dev": true, + "license": "ISC" + }, + "node_modules/@undp-data/svelte-undp-components/node_modules/@mapbox/vector-tile": { + "version": "1.3.1", + "resolved": "https://registry.npmjs.org/@mapbox/vector-tile/-/vector-tile-1.3.1.tgz", + "integrity": "sha512-MCEddb8u44/xfQ3oD+Srl/tNcQoqTw3goGk2oLsrFxOTc3dUp+kAnby3PvAeeBYSMSjSPD1nd1AJA6W49WnoUw==", + "dev": true, + "license": "BSD-3-Clause", + "dependencies": { + "@mapbox/point-geometry": "~0.1.0" + } + }, + "node_modules/@undp-data/svelte-undp-components/node_modules/@maplibre/maplibre-gl-style-spec": { + "version": "20.4.0", + "resolved": "https://registry.npmjs.org/@maplibre/maplibre-gl-style-spec/-/maplibre-gl-style-spec-20.4.0.tgz", + "integrity": "sha512-AzBy3095fTFPjDjmWpR2w6HVRAZJ6hQZUCwk5Plz6EyfnfuQW1odeW5i2Ai47Y6TBA2hQnC+azscjBSALpaWgw==", + "dev": true, + "license": "ISC", + "dependencies": { + "@mapbox/jsonlint-lines-primitives": "~2.0.2", + "@mapbox/unitbezier": "^0.0.1", + "json-stringify-pretty-compact": "^4.0.0", + "minimist": "^1.2.8", + "quickselect": "^2.0.0", + "rw": "^1.3.3", + "tinyqueue": "^3.0.0" + }, + "bin": { + "gl-style-format": "dist/gl-style-format.mjs", + "gl-style-migrate": "dist/gl-style-migrate.mjs", + "gl-style-validate": "dist/gl-style-validate.mjs" + } + }, + "node_modules/@undp-data/svelte-undp-components/node_modules/@maplibre/maplibre-gl-style-spec/node_modules/quickselect": { + "version": "2.0.0", + "resolved": "https://registry.npmjs.org/quickselect/-/quickselect-2.0.0.tgz", + "integrity": "sha512-RKJ22hX8mHe3Y6wH/N3wCM6BWtjaxIyyUIkpHOvfFnxdI4yD4tBXEBKSbriGujF6jnSVkJrffuo6vxACiSSxIw==", + "dev": true, + "license": "ISC" + }, "node_modules/@undp-data/svelte-undp-components/node_modules/@undp-data/date-picker-svelte": { "version": "2.12.1", "resolved": "https://registry.npmjs.org/@undp-data/date-picker-svelte/-/date-picker-svelte-2.12.1.tgz", @@ -2657,6 +2803,62 @@ "svelte": "^3.24.0 || ^4.0.0" } }, + "node_modules/@undp-data/svelte-undp-components/node_modules/maplibre-gl": { + "version": "4.7.1", + "resolved": "https://registry.npmjs.org/maplibre-gl/-/maplibre-gl-4.7.1.tgz", + "integrity": "sha512-lgL7XpIwsgICiL82ITplfS7IGwrB1OJIw/pCvprDp2dhmSSEBgmPzYRvwYYYvJGJD7fxUv1Tvpih4nZ6VrLuaA==", + "dev": true, + "license": "BSD-3-Clause", + "dependencies": { + "@mapbox/geojson-rewind": "^0.5.2", + "@mapbox/jsonlint-lines-primitives": "^2.0.2", + "@mapbox/point-geometry": "^0.1.0", + "@mapbox/tiny-sdf": "^2.0.6", + "@mapbox/unitbezier": "^0.0.1", + "@mapbox/vector-tile": "^1.3.1", + "@mapbox/whoots-js": "^3.1.0", + "@maplibre/maplibre-gl-style-spec": "^20.3.1", + "@types/geojson": "^7946.0.14", + "@types/geojson-vt": "3.2.5", + "@types/mapbox__point-geometry": "^0.1.4", + "@types/mapbox__vector-tile": "^1.3.4", + "@types/pbf": "^3.0.5", + "@types/supercluster": "^7.1.3", + "earcut": "^3.0.0", + "geojson-vt": "^4.0.2", + "gl-matrix": "^3.4.3", + "global-prefix": "^4.0.0", + "kdbush": "^4.0.2", + "murmurhash-js": "^1.0.0", + "pbf": "^3.3.0", + "potpack": "^2.0.0", + "quickselect": "^3.0.0", + "supercluster": "^8.0.1", + "tinyqueue": "^3.0.0", + "vt-pbf": "^3.1.3" + }, + "engines": { + "node": ">=16.14.0", + "npm": ">=8.1.0" + }, + "funding": { + "url": "https://github.com/maplibre/maplibre-gl-js?sponsor=1" + } + }, + "node_modules/@undp-data/svelte-undp-components/node_modules/pbf": { + "version": "3.3.0", + "resolved": "https://registry.npmjs.org/pbf/-/pbf-3.3.0.tgz", + "integrity": "sha512-XDF38WCH3z5OV/OVa8GKUNtLAyneuzbCisx7QUCF8Q6Nutx0WnJrQe5O+kOtBlLfRNUws98Y58Lblp+NJG5T4Q==", + "dev": true, + "license": "BSD-3-Clause", + "dependencies": { + "ieee754": "^1.1.12", + "resolve-protobuf-schema": "^2.1.0" + }, + "bin": { + "pbf": "bin/pbf" + } + }, "node_modules/@undp-data/svelte-undp-components/node_modules/svelte-copy": { "version": "1.4.2", "resolved": "https://registry.npmjs.org/svelte-copy/-/svelte-copy-1.4.2.tgz", @@ -5761,9 +5963,9 @@ } }, "node_modules/maplibre-gl": { - "version": "4.7.1", - "resolved": "https://registry.npmjs.org/maplibre-gl/-/maplibre-gl-4.7.1.tgz", - "integrity": "sha512-lgL7XpIwsgICiL82ITplfS7IGwrB1OJIw/pCvprDp2dhmSSEBgmPzYRvwYYYvJGJD7fxUv1Tvpih4nZ6VrLuaA==", + "version": "5.0.0", + "resolved": "https://registry.npmjs.org/maplibre-gl/-/maplibre-gl-5.0.0.tgz", + "integrity": "sha512-WG8IYFK2gfJYXvWjlqg1yavo/YO/JlNkblAJMt19sjIafP5oJzTgXFiOLUIYkjtrv5pKiAWuSYsx4CD3ithJqw==", "dev": true, "license": "BSD-3-Clause", "dependencies": { @@ -5774,14 +5976,14 @@ "@mapbox/unitbezier": "^0.0.1", "@mapbox/vector-tile": "^1.3.1", "@mapbox/whoots-js": "^3.1.0", - "@maplibre/maplibre-gl-style-spec": "^20.3.1", - "@types/geojson": "^7946.0.14", + "@maplibre/maplibre-gl-style-spec": "^22.0.1", + "@types/geojson": "^7946.0.15", "@types/geojson-vt": "3.2.5", "@types/mapbox__point-geometry": "^0.1.4", "@types/mapbox__vector-tile": "^1.3.4", "@types/pbf": "^3.0.5", "@types/supercluster": "^7.1.3", - "earcut": "^3.0.0", + "earcut": "^3.0.1", "geojson-vt": "^4.0.2", "gl-matrix": "^3.4.3", "global-prefix": "^4.0.0", @@ -5819,34 +6021,6 @@ "@mapbox/point-geometry": "~0.1.0" } }, - "node_modules/maplibre-gl/node_modules/@maplibre/maplibre-gl-style-spec": { - "version": "20.4.0", - "resolved": "https://registry.npmjs.org/@maplibre/maplibre-gl-style-spec/-/maplibre-gl-style-spec-20.4.0.tgz", - "integrity": "sha512-AzBy3095fTFPjDjmWpR2w6HVRAZJ6hQZUCwk5Plz6EyfnfuQW1odeW5i2Ai47Y6TBA2hQnC+azscjBSALpaWgw==", - "dev": true, - "license": "ISC", - "dependencies": { - "@mapbox/jsonlint-lines-primitives": "~2.0.2", - "@mapbox/unitbezier": "^0.0.1", - "json-stringify-pretty-compact": "^4.0.0", - "minimist": "^1.2.8", - "quickselect": "^2.0.0", - "rw": "^1.3.3", - "tinyqueue": "^3.0.0" - }, - "bin": { - "gl-style-format": "dist/gl-style-format.mjs", - "gl-style-migrate": "dist/gl-style-migrate.mjs", - "gl-style-validate": "dist/gl-style-validate.mjs" - } - }, - "node_modules/maplibre-gl/node_modules/@maplibre/maplibre-gl-style-spec/node_modules/quickselect": { - "version": "2.0.0", - "resolved": "https://registry.npmjs.org/quickselect/-/quickselect-2.0.0.tgz", - "integrity": "sha512-RKJ22hX8mHe3Y6wH/N3wCM6BWtjaxIyyUIkpHOvfFnxdI4yD4tBXEBKSbriGujF6jnSVkJrffuo6vxACiSSxIw==", - "dev": true, - "license": "ISC" - }, "node_modules/maplibre-gl/node_modules/pbf": { "version": "3.3.0", "resolved": "https://registry.npmjs.org/pbf/-/pbf-3.3.0.tgz", diff --git a/sites/static-image-api/package.json b/sites/static-image-api/package.json index d1b6954659..6c3afa7fe7 100644 --- a/sites/static-image-api/package.json +++ b/sites/static-image-api/package.json @@ -29,7 +29,7 @@ "eslint-config-prettier": "^9.1.0", "eslint-plugin-svelte": "^2.46.1", "globals": "^15.13.0", - "maplibre-gl": "^4.7.1", + "maplibre-gl": "^5.0.0", "prettier": "^3.4.2", "prettier-plugin-svelte": "^3.3.2", "sass": "^1.82.0",