From 05729412849a93c755baaa9a57f5752df230566b Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Tue, 3 Sep 2024 22:11:59 +0200 Subject: [PATCH] chore(deps-dev): bump the development-dependencies group across 1 directory with 7 updates (#415) * chore(deps-dev): bump the development-dependencies group across 1 directory with 7 updates Bumps the development-dependencies group with 7 updates in the /ui directory: | Package | From | To | | --- | --- | --- | | [@testing-library/react](https://github.com/testing-library/react-testing-library) | `16.0.0` | `16.0.1` | | [@types/node](https://github.com/DefinitelyTyped/DefinitelyTyped/tree/HEAD/types/node) | `20.16.1` | `20.16.3` | | [@types/react](https://github.com/DefinitelyTyped/DefinitelyTyped/tree/HEAD/types/react) | `18.3.4` | `18.3.5` | | [@typescript-eslint/eslint-plugin](https://github.com/typescript-eslint/typescript-eslint/tree/HEAD/packages/eslint-plugin) | `8.3.0` | `8.4.0` | | [@typescript-eslint/parser](https://github.com/typescript-eslint/typescript-eslint/tree/HEAD/packages/parser) | `8.3.0` | `8.4.0` | | [lint-staged](https://github.com/lint-staged/lint-staged) | `15.2.9` | `15.2.10` | | [vite-plugin-pwa](https://github.com/vite-pwa/vite-plugin-pwa) | `0.20.1` | `0.20.2` | Updates `@testing-library/react` from 16.0.0 to 16.0.1 - [Release notes](https://github.com/testing-library/react-testing-library/releases) - [Changelog](https://github.com/testing-library/react-testing-library/blob/main/CHANGELOG.md) - [Commits](https://github.com/testing-library/react-testing-library/compare/v16.0.0...v16.0.1) Updates `@types/node` from 20.16.1 to 20.16.3 - [Release notes](https://github.com/DefinitelyTyped/DefinitelyTyped/releases) - [Commits](https://github.com/DefinitelyTyped/DefinitelyTyped/commits/HEAD/types/node) Updates `@types/react` from 18.3.4 to 18.3.5 - [Release notes](https://github.com/DefinitelyTyped/DefinitelyTyped/releases) - [Commits](https://github.com/DefinitelyTyped/DefinitelyTyped/commits/HEAD/types/react) Updates `@typescript-eslint/eslint-plugin` from 8.3.0 to 8.4.0 - [Release notes](https://github.com/typescript-eslint/typescript-eslint/releases) - [Changelog](https://github.com/typescript-eslint/typescript-eslint/blob/main/packages/eslint-plugin/CHANGELOG.md) - [Commits](https://github.com/typescript-eslint/typescript-eslint/commits/v8.4.0/packages/eslint-plugin) Updates `@typescript-eslint/parser` from 8.3.0 to 8.4.0 - [Release notes](https://github.com/typescript-eslint/typescript-eslint/releases) - [Changelog](https://github.com/typescript-eslint/typescript-eslint/blob/main/packages/parser/CHANGELOG.md) - [Commits](https://github.com/typescript-eslint/typescript-eslint/commits/v8.4.0/packages/parser) Updates `lint-staged` from 15.2.9 to 15.2.10 - [Release notes](https://github.com/lint-staged/lint-staged/releases) - [Changelog](https://github.com/lint-staged/lint-staged/blob/master/CHANGELOG.md) - [Commits](https://github.com/lint-staged/lint-staged/compare/v15.2.9...v15.2.10) Updates `vite-plugin-pwa` from 0.20.1 to 0.20.2 - [Release notes](https://github.com/vite-pwa/vite-plugin-pwa/releases) - [Commits](https://github.com/vite-pwa/vite-plugin-pwa/compare/v0.20.1...v0.20.2) --- updated-dependencies: - dependency-name: "@testing-library/react" dependency-type: direct:development update-type: version-update:semver-patch dependency-group: development-dependencies - dependency-name: "@types/node" dependency-type: direct:development update-type: version-update:semver-patch dependency-group: development-dependencies - dependency-name: "@types/react" dependency-type: direct:development update-type: version-update:semver-patch dependency-group: development-dependencies - dependency-name: "@typescript-eslint/eslint-plugin" dependency-type: direct:development update-type: version-update:semver-minor dependency-group: development-dependencies - dependency-name: "@typescript-eslint/parser" dependency-type: direct:development update-type: version-update:semver-minor dependency-group: development-dependencies - dependency-name: lint-staged dependency-type: direct:development update-type: version-update:semver-patch dependency-group: development-dependencies - dependency-name: vite-plugin-pwa dependency-type: direct:development update-type: version-update:semver-patch dependency-group: development-dependencies ... Signed-off-by: dependabot[bot] * chore: update dependencies --------- Signed-off-by: dependabot[bot] Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> Co-authored-by: Daniel Aschwanden --- .gitignore | 1 + ui/package.json | 20 ++-- ui/vite.config.ts | 28 +++-- ui/yarn.lock | 288 +++++++++++++++++++++------------------------- 4 files changed, 161 insertions(+), 176 deletions(-) diff --git a/.gitignore b/.gitignore index aeb91381..76445035 100644 --- a/.gitignore +++ b/.gitignore @@ -5,6 +5,7 @@ .vscode node_modules ui/node_modules +ui/stats.html ui/.pnp.* ui/.yarn/* !ui/.yarn/patches diff --git a/ui/package.json b/ui/package.json index 176df6f6..24d8b7ca 100644 --- a/ui/package.json +++ b/ui/package.json @@ -23,7 +23,7 @@ "i18next-browser-languagedetector": "^8.0.0", "lodash": "^4.17.21", "mapbox-gl-style-switcher": "^1.0.11", - "maplibre-gl": "4.5.2", + "maplibre-gl": "4.6.0", "react": "^18.3.1", "react-autocomplete-hint": "^2.0.0", "react-color": "^2.19.3", @@ -65,21 +65,21 @@ "@eslint/js": "^9.9.1", "@testing-library/dom": "^10.4.0", "@testing-library/jest-dom": "^6.5.0", - "@testing-library/react": "^16.0.0", + "@testing-library/react": "^16.0.1", "@testing-library/user-event": "^14.5.2", "@types/hat": "^0.0.4", "@types/jest": "^29.5.12", "@types/lodash": "^4.17.7", "@types/mapbox__mapbox-gl-draw": "~1.4.6", - "@types/node": "^20.16.1", - "@types/react": "^18.3.4", + "@types/node": "^20.16.3", + "@types/react": "^18.3.5", "@types/react-color": "^3.0.12", "@types/react-dom": "^18.3.0", "@types/react-router-dom": "^5.3.3", "@types/semver": "^7.5.8", "@types/uuid": "^10.0.0", - "@typescript-eslint/eslint-plugin": "^8.3.0", - "@typescript-eslint/parser": "^8.3.0", + "@typescript-eslint/eslint-plugin": "^8.4.0", + "@typescript-eslint/parser": "^8.4.0", "@vite-pwa/assets-generator": "^0.2.4", "@vitejs/plugin-react-swc": "^3.7.0", "@vitest/coverage-v8": "^2.0.5", @@ -89,8 +89,9 @@ "husky": "^9.1.5", "jest": "^29.7.0", "jsdom": "^25.0.0", - "lint-staged": "^15.2.9", + "lint-staged": "^15.2.10", "prettier": "^3.3.3", + "rollup-plugin-visualizer": "^5.12.0", "sass": "^1.77.8", "semver": "^7.6.3", "source-map-explorer": "^2.5.3", @@ -99,7 +100,7 @@ "vite": "^5.4.2", "vite-plugin-checker": "^0.7.2", "vite-plugin-eslint": "^1.8.1", - "vite-plugin-pwa": "^0.20.1", + "vite-plugin-pwa": "^0.20.2", "vite-plugin-svgr": "^4.2.0", "vite-tsconfig-paths": "^5.0.1", "vitest": "^2.0.5" @@ -107,7 +108,8 @@ "resolutions": { "vite": "^5.4.2", "sharp": "^0.33.5", - "braces": "^3.0.3" + "braces": "^3.0.3", + "maplibre-gl": "4.6.0" }, "packageManager": "yarn@4.4.0" } diff --git a/ui/vite.config.ts b/ui/vite.config.ts index 2e6d6c89..5cae63cd 100644 --- a/ui/vite.config.ts +++ b/ui/vite.config.ts @@ -8,33 +8,47 @@ import eslint from "vite-plugin-eslint"; import { VitePWA } from "vite-plugin-pwa"; import svgrPlugin from "vite-plugin-svgr"; import viteTsconfigPaths from "vite-tsconfig-paths"; +import { visualizer } from "rollup-plugin-visualizer"; // https://vitejs.dev/config/ export default defineConfig({ base: "/", build: { outDir: "build", + sourcemap: false, + minify: "esbuild", + rollupOptions: { + treeshake: { + preset: "recommended", + }, + output: { + minifyInternalExports: true, + sourcemap: false, + manualChunks: { + maplibregl: ["maplibre-gl", "@watergis/maplibre-gl-export", "@mapbox/mapbox-gl-draw"], + }, + }, + }, }, define: { global: "window", }, plugins: [ - react(), + react({ devTarget: "es2022" }), viteTsconfigPaths(), svgrPlugin(), eslint(), + visualizer(), checker({ typescript: true, }), VitePWA({ - registerType: "prompt", + registerType: "autoUpdate", injectRegister: "auto", workbox: { globPatterns: ["**/*.{js,css,html,ico,png,svg,woff2,pbf}"], - navigateFallbackDenylist: [ - /^\/oauth2/, - /^\/api/, - ] + navigateFallbackDenylist: [/^\/oauth2/, /^\/api/], + maximumFileSizeToCacheInBytes: 3145728, // 3MB }, manifest: { short_name: "SitRep", @@ -66,7 +80,7 @@ export default defineConfig({ start_url: ".", theme_color: "#000000", background_color: "#ffffff", - } + }, }), ], resolve: { diff --git a/ui/yarn.lock b/ui/yarn.lock index afb7fa0e..f1f2a46a 100644 --- a/ui/yarn.lock +++ b/ui/yarn.lock @@ -3115,7 +3115,7 @@ __metadata: languageName: node linkType: hard -"@maplibre/maplibre-gl-style-spec@npm:^20.3.0, @maplibre/maplibre-gl-style-spec@npm:^20.3.1": +"@maplibre/maplibre-gl-style-spec@npm:^20.3.1": version: 20.3.1 resolution: "@maplibre/maplibre-gl-style-spec@npm:20.3.1" dependencies: @@ -3745,9 +3745,9 @@ __metadata: languageName: node linkType: hard -"@testing-library/react@npm:^16.0.0": - version: 16.0.0 - resolution: "@testing-library/react@npm:16.0.0" +"@testing-library/react@npm:^16.0.1": + version: 16.0.1 + resolution: "@testing-library/react@npm:16.0.1" dependencies: "@babel/runtime": "npm:^7.12.5" peerDependencies: @@ -3761,7 +3761,7 @@ __metadata: optional: true "@types/react-dom": optional: true - checksum: 10/b32894be94e31276138decfa6bcea69dfebc0c37cf91499ff6c878f41eb1154a43a7df6eb1e72e7bede78468af6cb67ca59e4acd3206b41f3ecdae2c6efdf67e + checksum: 10/904b48881cf5bd208e25899e168f5c99c78ed6d77389544838d9d861a038d2c5c5385863ee9a367436770cbf7d21c5e05a991b9e24a33806e9ac985df2448185 languageName: node linkType: hard @@ -4125,12 +4125,12 @@ __metadata: languageName: node linkType: hard -"@types/node@npm:^20.16.1": - version: 20.16.1 - resolution: "@types/node@npm:20.16.1" +"@types/node@npm:^20.16.3": + version: 20.16.3 + resolution: "@types/node@npm:20.16.3" dependencies: undici-types: "npm:~6.19.2" - checksum: 10/9bae1dffd2094694147a91ebec51dc89a60a607d16d47a0d770320f1a75d3ba58663708fd93c37954a63acb701a4e0fd64245139c57ae810d3ad524e75481d4e + checksum: 10/3b14b8b3cb92adc7db69f8cf351e7b6b5001e5c7cdb07470943215afeafc2952ae588c918543784e8f8e975d43d609ce0c7bced91f1b8745f1669d6137adaabc languageName: node linkType: hard @@ -4212,13 +4212,13 @@ __metadata: languageName: node linkType: hard -"@types/react@npm:^18.3.4": - version: 18.3.4 - resolution: "@types/react@npm:18.3.4" +"@types/react@npm:^18.3.5": + version: 18.3.5 + resolution: "@types/react@npm:18.3.5" dependencies: "@types/prop-types": "npm:*" csstype: "npm:^3.0.2" - checksum: 10/359973924be42cf9e7366e1d885b28e0b3bd56d31f24458c5351af7a3f2fc070511e90d517b2195fb229146cdcb70342db6318e279c31dd5057beec1105b704e + checksum: 10/ba0477c5ad4a762157c6262a199af6ccf9e24576877a26a7f516d5a9ba35374a6ac7f8686a10e5e8030513214f02bcb66e8363e43905afb7cd313deaf673de05 languageName: node linkType: hard @@ -4305,15 +4305,15 @@ __metadata: languageName: node linkType: hard -"@typescript-eslint/eslint-plugin@npm:^8.3.0": - version: 8.3.0 - resolution: "@typescript-eslint/eslint-plugin@npm:8.3.0" +"@typescript-eslint/eslint-plugin@npm:^8.4.0": + version: 8.4.0 + resolution: "@typescript-eslint/eslint-plugin@npm:8.4.0" dependencies: "@eslint-community/regexpp": "npm:^4.10.0" - "@typescript-eslint/scope-manager": "npm:8.3.0" - "@typescript-eslint/type-utils": "npm:8.3.0" - "@typescript-eslint/utils": "npm:8.3.0" - "@typescript-eslint/visitor-keys": "npm:8.3.0" + "@typescript-eslint/scope-manager": "npm:8.4.0" + "@typescript-eslint/type-utils": "npm:8.4.0" + "@typescript-eslint/utils": "npm:8.4.0" + "@typescript-eslint/visitor-keys": "npm:8.4.0" graphemer: "npm:^1.4.0" ignore: "npm:^5.3.1" natural-compare: "npm:^1.4.0" @@ -4324,66 +4324,66 @@ __metadata: peerDependenciesMeta: typescript: optional: true - checksum: 10/00dc71345066940fed070308f585f812173c357d48b8aafa3fc4de89951d1803ad8f3f47f298320d334cd141c55fbe45210b37ad2899570d306ad66b25faef26 + checksum: 10/3f1373be2ecd9248e000646b43e9fc94e19da3bbc829526e6c0422d58c7af7942a279d96bded8a505ad5bd666564749236fd5515a95fc48f1f4e3329d786e0da languageName: node linkType: hard -"@typescript-eslint/parser@npm:^8.3.0": - version: 8.3.0 - resolution: "@typescript-eslint/parser@npm:8.3.0" +"@typescript-eslint/parser@npm:^8.4.0": + version: 8.4.0 + resolution: "@typescript-eslint/parser@npm:8.4.0" dependencies: - "@typescript-eslint/scope-manager": "npm:8.3.0" - "@typescript-eslint/types": "npm:8.3.0" - "@typescript-eslint/typescript-estree": "npm:8.3.0" - "@typescript-eslint/visitor-keys": "npm:8.3.0" + "@typescript-eslint/scope-manager": "npm:8.4.0" + "@typescript-eslint/types": "npm:8.4.0" + "@typescript-eslint/typescript-estree": "npm:8.4.0" + "@typescript-eslint/visitor-keys": "npm:8.4.0" debug: "npm:^4.3.4" peerDependencies: eslint: ^8.57.0 || ^9.0.0 peerDependenciesMeta: typescript: optional: true - checksum: 10/627e8d0b3376a1453c122c5dc8eda2ec1427328012d34f087291e52b484adde47a97fd0febb80cabcb058d80cea3b5df1ff44ba21ccb3ff001a6043bb068de62 + checksum: 10/852ad7037e14c83a4637b95a2211e7f49900ed31cb0a4f7e6df4b444feab64caeb8918eec157f57fc32c1a92c721cbbbf22d5b24fb0b469b5fe880191f98237d languageName: node linkType: hard -"@typescript-eslint/scope-manager@npm:8.3.0": - version: 8.3.0 - resolution: "@typescript-eslint/scope-manager@npm:8.3.0" +"@typescript-eslint/scope-manager@npm:8.4.0": + version: 8.4.0 + resolution: "@typescript-eslint/scope-manager@npm:8.4.0" dependencies: - "@typescript-eslint/types": "npm:8.3.0" - "@typescript-eslint/visitor-keys": "npm:8.3.0" - checksum: 10/ce56dbd82606daae889d0a913308b743b43d5df827aeedd7349de181e1fb4cf1af4795cfabf395bcd9871925217c301b75ee0d1c7c1dd6c2c79105714d1c6629 + "@typescript-eslint/types": "npm:8.4.0" + "@typescript-eslint/visitor-keys": "npm:8.4.0" + checksum: 10/e43a96ef057ccef2ad7dc4a04713d362f5cd17a684e867548c9744ad79960c41e56a706d9ff86b851bec989771e535b1c72fd922e1dee3fe6fdd9bf167c5f0f4 languageName: node linkType: hard -"@typescript-eslint/type-utils@npm:8.3.0": - version: 8.3.0 - resolution: "@typescript-eslint/type-utils@npm:8.3.0" +"@typescript-eslint/type-utils@npm:8.4.0": + version: 8.4.0 + resolution: "@typescript-eslint/type-utils@npm:8.4.0" dependencies: - "@typescript-eslint/typescript-estree": "npm:8.3.0" - "@typescript-eslint/utils": "npm:8.3.0" + "@typescript-eslint/typescript-estree": "npm:8.4.0" + "@typescript-eslint/utils": "npm:8.4.0" debug: "npm:^4.3.4" ts-api-utils: "npm:^1.3.0" peerDependenciesMeta: typescript: optional: true - checksum: 10/70dac55d8d9e33e3291c555b8454fd8dbc0c20ac7b0652521d5bae37d2e81db08eef229449f837c6b96de7853565a249dc38242406d83ba38ee5851f1ff06697 + checksum: 10/f5d3e07c2985f97f72949d69962d0a3bb52814714e33d991ae5f815ae008bdfac25cd62f26feef4b0f835fe967609d60f34e0c30682ba47200867d1342343d80 languageName: node linkType: hard -"@typescript-eslint/types@npm:8.3.0": - version: 8.3.0 - resolution: "@typescript-eslint/types@npm:8.3.0" - checksum: 10/0265f6b6999db53ea5246cf2ab69d58d3860616a3ad384efdbe8b6f71334d6fbcf09ddc1eb38956ff537056636bd993d349c7037fcb458359c257be857fedc0a +"@typescript-eslint/types@npm:8.4.0": + version: 8.4.0 + resolution: "@typescript-eslint/types@npm:8.4.0" + checksum: 10/962eb0b45ca7634264698086dadb917d96684bd8a88926026e0c314984e68d14e1f30e0291f196408935a507aa9e9976ec4d27fc6aa632d34295059b4e436bae languageName: node linkType: hard -"@typescript-eslint/typescript-estree@npm:8.3.0": - version: 8.3.0 - resolution: "@typescript-eslint/typescript-estree@npm:8.3.0" +"@typescript-eslint/typescript-estree@npm:8.4.0": + version: 8.4.0 + resolution: "@typescript-eslint/typescript-estree@npm:8.4.0" dependencies: - "@typescript-eslint/types": "npm:8.3.0" - "@typescript-eslint/visitor-keys": "npm:8.3.0" + "@typescript-eslint/types": "npm:8.4.0" + "@typescript-eslint/visitor-keys": "npm:8.4.0" debug: "npm:^4.3.4" fast-glob: "npm:^3.3.2" is-glob: "npm:^4.0.3" @@ -4393,31 +4393,31 @@ __metadata: peerDependenciesMeta: typescript: optional: true - checksum: 10/61243c9251f98120ec8cf1abb03841bc65652c53ec80f0b628c2f853f4d9796b934fd7f27adab53b5670241f4eeb72afcfedcb9861e1c3e36241e36bd54ed909 + checksum: 10/ec3396795b877c8ea0c3f0bdfb67c60b5e195f94569c0581ae7b9f3acbed047714722ff908f0ea1cbf19c16aaaa57826c2069c6383fcb9a3ad29bc26898a7125 languageName: node linkType: hard -"@typescript-eslint/utils@npm:8.3.0": - version: 8.3.0 - resolution: "@typescript-eslint/utils@npm:8.3.0" +"@typescript-eslint/utils@npm:8.4.0": + version: 8.4.0 + resolution: "@typescript-eslint/utils@npm:8.4.0" dependencies: "@eslint-community/eslint-utils": "npm:^4.4.0" - "@typescript-eslint/scope-manager": "npm:8.3.0" - "@typescript-eslint/types": "npm:8.3.0" - "@typescript-eslint/typescript-estree": "npm:8.3.0" + "@typescript-eslint/scope-manager": "npm:8.4.0" + "@typescript-eslint/types": "npm:8.4.0" + "@typescript-eslint/typescript-estree": "npm:8.4.0" peerDependencies: eslint: ^8.57.0 || ^9.0.0 - checksum: 10/9d3494c15f56792f7867616c18142a3cedca8f93d77c71f58891f7fa6f1bcdef8277e85abd359687ab0c2d44b897096b007612725793850748d9c3cf49620110 + checksum: 10/46d6dda136e5513c703a905264fb96b9cc560ec1501a991fb9ef7386baf878081494bc9131f25d772b34ccfecbfa8c2fce0fb5ad6deb447b0f24758e131afd47 languageName: node linkType: hard -"@typescript-eslint/visitor-keys@npm:8.3.0": - version: 8.3.0 - resolution: "@typescript-eslint/visitor-keys@npm:8.3.0" +"@typescript-eslint/visitor-keys@npm:8.4.0": + version: 8.4.0 + resolution: "@typescript-eslint/visitor-keys@npm:8.4.0" dependencies: - "@typescript-eslint/types": "npm:8.3.0" + "@typescript-eslint/types": "npm:8.4.0" eslint-visitor-keys: "npm:^3.4.3" - checksum: 10/4ee45dd25891d5677b8d4aaab23234a9d1fe8af3d8e39d7777b3a4cfb6aa61fabc13623d8596c11e6140f9129dc9ad7e6bb6f48a4c8c40704018ddd5beafd6c2 + checksum: 10/3ac1d15d1beca887b333b9f1da9d6b819da5f965dbd7eb1c76342574adeaffe584b27c7e00a0e7fb69db7f4c307eeb8dd4410bdf177d6b14395cdd52e3e205e7 languageName: node linkType: hard @@ -5336,17 +5336,10 @@ __metadata: languageName: node linkType: hard -"caniuse-lite@npm:^1.0.30001400": - version: 1.0.30001651 - resolution: "caniuse-lite@npm:1.0.30001651" - checksum: 10/fe4857b2a91a9cb77993eec9622de68bea0df17c31cb9584ca5c562f64bb3b8fda316d898aa3b1ee3ee9f7d80f6bf13c42acb09d9a56a1a6c64afaf7381472fa - languageName: node - linkType: hard - -"caniuse-lite@npm:^1.0.30001580": - version: 1.0.30001584 - resolution: "caniuse-lite@npm:1.0.30001584" - checksum: 10/908e4fcafa1e8d52d6c5d79e8c614c4d0cf62af544935f7a78fb5a434157505571ce4c2eacfb549e5d4a6e6e38525350c7a9bf696068ad86eb74e890df1d688f +"caniuse-lite@npm:^1.0.30001400, caniuse-lite@npm:^1.0.30001580": + version: 1.0.30001655 + resolution: "caniuse-lite@npm:1.0.30001655" + checksum: 10/98e80bdb5a5e4ac1738df7df14379a51aed2fcf3402b18361ac4902ac8afacf35920498afd0bfb71d6902ad4ab4ccbf2d09c792ec3a4925c2e3d186b803f6bc7 languageName: node linkType: hard @@ -6019,6 +6012,13 @@ __metadata: languageName: node linkType: hard +"define-lazy-prop@npm:^2.0.0": + version: 2.0.0 + resolution: "define-lazy-prop@npm:2.0.0" + checksum: 10/0115fdb065e0490918ba271d7339c42453d209d4cb619dfe635870d906731eff3e1ade8028bb461ea27ce8264ec5e22c6980612d332895977e89c1bbc80fcee2 + languageName: node + linkType: hard + "define-properties@npm:^1.1.3, define-properties@npm:^1.1.4": version: 1.1.4 resolution: "define-properties@npm:1.1.4" @@ -7423,17 +7423,6 @@ __metadata: languageName: node linkType: hard -"global-prefix@npm:^3.0.0": - version: 3.0.0 - resolution: "global-prefix@npm:3.0.0" - dependencies: - ini: "npm:^1.3.5" - kind-of: "npm:^6.0.2" - which: "npm:^1.3.1" - checksum: 10/a405b9f83c7d88a49dc1c1e458d6585e258356810d3d0f41094265152a06a0f393b14d911f45616e35a4ce3894176a73be2984883575e778f55e90bf812d7337 - languageName: node - linkType: hard - "global-prefix@npm:^4.0.0": version: 4.0.0 resolution: "global-prefix@npm:4.0.0" @@ -7959,13 +7948,6 @@ __metadata: languageName: node linkType: hard -"ini@npm:^1.3.5": - version: 1.3.8 - resolution: "ini@npm:1.3.8" - checksum: 10/314ae176e8d4deb3def56106da8002b462221c174ddb7ce0c49ee72c8cd1f9044f7b10cc555a7d8850982c3b9ca96fc212122749f5234bc2b6fb05fb942ed566 - languageName: node - linkType: hard - "ini@npm:^4.1.3": version: 4.1.3 resolution: "ini@npm:4.1.3" @@ -8156,7 +8138,7 @@ __metadata: languageName: node linkType: hard -"is-docker@npm:^2.0.0": +"is-docker@npm:^2.0.0, is-docker@npm:^2.1.1": version: 2.2.1 resolution: "is-docker@npm:2.2.1" bin: @@ -8493,7 +8475,7 @@ __metadata: languageName: node linkType: hard -"is-wsl@npm:^2.1.1": +"is-wsl@npm:^2.1.1, is-wsl@npm:^2.2.0": version: 2.2.0 resolution: "is-wsl@npm:2.2.0" dependencies: @@ -9423,7 +9405,7 @@ __metadata: languageName: node linkType: hard -"kind-of@npm:^6.0.2, kind-of@npm:^6.0.3": +"kind-of@npm:^6.0.3": version: 6.0.3 resolution: "kind-of@npm:6.0.3" checksum: 10/5873d303fb36aad875b7538798867da2ae5c9e328d67194b0162a3659a627d22f742fc9c4ae95cd1704132a24b00cae5041fc00c0f6ef937dc17080dc4dbb962 @@ -9468,9 +9450,9 @@ __metadata: languageName: node linkType: hard -"lint-staged@npm:^15.2.9": - version: 15.2.9 - resolution: "lint-staged@npm:15.2.9" +"lint-staged@npm:^15.2.10": + version: 15.2.10 + resolution: "lint-staged@npm:15.2.10" dependencies: chalk: "npm:~5.3.0" commander: "npm:~12.1.0" @@ -9478,13 +9460,13 @@ __metadata: execa: "npm:~8.0.1" lilconfig: "npm:~3.1.2" listr2: "npm:~8.2.4" - micromatch: "npm:~4.0.7" + micromatch: "npm:~4.0.8" pidtree: "npm:~0.6.0" string-argv: "npm:~0.3.2" yaml: "npm:~2.5.0" bin: lint-staged: bin/lint-staged.js - checksum: 10/2f7342ca3fc7e2a8a0cc3db79ca8d2ad0269b98b13220f3a6745a514aacf1f83487a23a550569081ea962f9a576af7df8d687a8330a9c3c2c27348d5a4d5440e + checksum: 10/ab6930cd633dbb5b6ec7c81fc06c65df41e9f80d93dd22e0d79c6e272cdfd8110a0fbdec60303d46a06b30bcd92261153630e2c937531b77ec5ae41e7e9d90d3 languageName: node linkType: hard @@ -9786,41 +9768,7 @@ __metadata: languageName: node linkType: hard -"maplibre-gl@npm:4.5.2": - version: 4.5.2 - resolution: "maplibre-gl@npm:4.5.2" - dependencies: - "@mapbox/geojson-rewind": "npm:^0.5.2" - "@mapbox/jsonlint-lines-primitives": "npm:^2.0.2" - "@mapbox/point-geometry": "npm:^0.1.0" - "@mapbox/tiny-sdf": "npm:^2.0.6" - "@mapbox/unitbezier": "npm:^0.0.1" - "@mapbox/vector-tile": "npm:^1.3.1" - "@mapbox/whoots-js": "npm:^3.1.0" - "@maplibre/maplibre-gl-style-spec": "npm:^20.3.0" - "@types/geojson": "npm:^7946.0.14" - "@types/geojson-vt": "npm:3.2.5" - "@types/mapbox__point-geometry": "npm:^0.1.4" - "@types/mapbox__vector-tile": "npm:^1.3.4" - "@types/pbf": "npm:^3.0.5" - "@types/supercluster": "npm:^7.1.3" - earcut: "npm:^3.0.0" - geojson-vt: "npm:^4.0.2" - gl-matrix: "npm:^3.4.3" - global-prefix: "npm:^3.0.0" - kdbush: "npm:^4.0.2" - murmurhash-js: "npm:^1.0.0" - pbf: "npm:^3.3.0" - potpack: "npm:^2.0.0" - quickselect: "npm:^3.0.0" - supercluster: "npm:^8.0.1" - tinyqueue: "npm:^3.0.0" - vt-pbf: "npm:^3.1.3" - checksum: 10/112bdb65ced7751cb4ec3d5333e1ef38c6409ca21ad871098c3a6d218fbae21511ea0e6e250f5573ae8d8507e7384b912b9058be255e9a19b077022f9d7b2acc - languageName: node - linkType: hard - -"maplibre-gl@npm:^4.6.0": +"maplibre-gl@npm:4.6.0": version: 4.6.0 resolution: "maplibre-gl@npm:4.6.0" dependencies: @@ -10232,7 +10180,7 @@ __metadata: languageName: node linkType: hard -"micromatch@npm:^4.0.4, micromatch@npm:~4.0.7": +"micromatch@npm:^4.0.4, micromatch@npm:~4.0.8": version: 4.0.8 resolution: "micromatch@npm:4.0.8" dependencies: @@ -10744,6 +10692,17 @@ __metadata: languageName: node linkType: hard +"open@npm:^8.4.0": + version: 8.4.2 + resolution: "open@npm:8.4.2" + dependencies: + define-lazy-prop: "npm:^2.0.0" + is-docker: "npm:^2.1.1" + is-wsl: "npm:^2.2.0" + checksum: 10/acd81a1d19879c818acb3af2d2e8e9d81d17b5367561e623248133deb7dd3aefaed527531df2677d3e6aaf0199f84df57b6b2262babff8bf46ea0029aac536c9 + languageName: node + linkType: hard + "optimism@npm:^0.18.0": version: 0.18.0 resolution: "optimism@npm:0.18.0" @@ -11833,6 +11792,25 @@ __metadata: languageName: node linkType: hard +"rollup-plugin-visualizer@npm:^5.12.0": + version: 5.12.0 + resolution: "rollup-plugin-visualizer@npm:5.12.0" + dependencies: + open: "npm:^8.4.0" + picomatch: "npm:^2.3.1" + source-map: "npm:^0.7.4" + yargs: "npm:^17.5.1" + peerDependencies: + rollup: 2.x || 3.x || 4.x + peerDependenciesMeta: + rollup: + optional: true + bin: + rollup-plugin-visualizer: dist/bin/cli.js + checksum: 10/47358feb672291d6edcfd94197577c192a84c24cb644119425dae8241fb6f5a52556efd0c501f38b276c07534642a80c0885ef681babb474e83c7b5a3b475b84 + languageName: node + linkType: hard + "rollup@npm:^2.43.1, rollup@npm:^2.77.2": version: 2.79.1 resolution: "rollup@npm:2.79.1" @@ -12326,7 +12304,7 @@ __metadata: "@mapbox/mapbox-gl-draw": "npm:~1.4.3" "@testing-library/dom": "npm:^10.4.0" "@testing-library/jest-dom": "npm:^6.5.0" - "@testing-library/react": "npm:^16.0.0" + "@testing-library/react": "npm:^16.0.1" "@testing-library/user-event": "npm:^14.5.2" "@turf/bearing": "npm:^7.1.0" "@turf/center": "npm:^7.1.0" @@ -12335,15 +12313,15 @@ __metadata: "@types/jest": "npm:^29.5.12" "@types/lodash": "npm:^4.17.7" "@types/mapbox__mapbox-gl-draw": "npm:~1.4.6" - "@types/node": "npm:^20.16.1" - "@types/react": "npm:^18.3.4" + "@types/node": "npm:^20.16.3" + "@types/react": "npm:^18.3.5" "@types/react-color": "npm:^3.0.12" "@types/react-dom": "npm:^18.3.0" "@types/react-router-dom": "npm:^5.3.3" "@types/semver": "npm:^7.5.8" "@types/uuid": "npm:^10.0.0" - "@typescript-eslint/eslint-plugin": "npm:^8.3.0" - "@typescript-eslint/parser": "npm:^8.3.0" + "@typescript-eslint/eslint-plugin": "npm:^8.4.0" + "@typescript-eslint/parser": "npm:^8.4.0" "@vite-pwa/assets-generator": "npm:^0.2.4" "@vitejs/plugin-react-swc": "npm:^3.7.0" "@vitest/coverage-v8": "npm:^2.0.5" @@ -12361,10 +12339,10 @@ __metadata: i18next-browser-languagedetector: "npm:^8.0.0" jest: "npm:^29.7.0" jsdom: "npm:^25.0.0" - lint-staged: "npm:^15.2.9" + lint-staged: "npm:^15.2.10" lodash: "npm:^4.17.21" mapbox-gl-style-switcher: "npm:^1.0.11" - maplibre-gl: "npm:4.5.2" + maplibre-gl: "npm:4.6.0" prettier: "npm:^3.3.3" react: "npm:^18.3.1" react-autocomplete-hint: "npm:^2.0.0" @@ -12374,6 +12352,7 @@ __metadata: react-map-gl: "npm:~7.1.7" react-markdown: "npm:^9.0.1" react-router-dom: "npm:^6.26.1" + rollup-plugin-visualizer: "npm:^5.12.0" sass: "npm:^1.77.8" semver: "npm:^7.6.3" source-map-explorer: "npm:^2.5.3" @@ -12384,7 +12363,7 @@ __metadata: vite: "npm:^5.4.2" vite-plugin-checker: "npm:^0.7.2" vite-plugin-eslint: "npm:^1.8.1" - vite-plugin-pwa: "npm:^0.20.1" + vite-plugin-pwa: "npm:^0.20.2" vite-plugin-svgr: "npm:^4.2.0" vite-tsconfig-paths: "npm:^5.0.1" vitest: "npm:^2.0.5" @@ -13903,9 +13882,9 @@ __metadata: languageName: node linkType: hard -"vite-plugin-pwa@npm:^0.20.1": - version: 0.20.1 - resolution: "vite-plugin-pwa@npm:0.20.1" +"vite-plugin-pwa@npm:^0.20.2": + version: 0.20.2 + resolution: "vite-plugin-pwa@npm:0.20.2" dependencies: debug: "npm:^4.3.4" pretty-bytes: "npm:^6.1.1" @@ -13920,7 +13899,7 @@ __metadata: peerDependenciesMeta: "@vite-pwa/assets-generator": optional: true - checksum: 10/e4c136ea4b52c43d25d0ca38884cd87d58cda0a14174c5399ca1232d896f01d99c877828148a9ba3e6aed967c6c0b669b464cd303e95f15c5eaff082aa066e8c + checksum: 10/335e339cf4b02ab04b35578df50c0eb7e53d0cd689e59e731cb51032c5c76a20b0c41441921c5b99425b18ea59850074707f6d832bb77c02a3d1f26be5b43849 languageName: node linkType: hard @@ -14303,17 +14282,6 @@ __metadata: languageName: node linkType: hard -"which@npm:^1.3.1": - version: 1.3.1 - resolution: "which@npm:1.3.1" - dependencies: - isexe: "npm:^2.0.0" - bin: - which: ./bin/which - checksum: 10/549dcf1752f3ee7fbb64f5af2eead4b9a2f482108b7de3e85c781d6c26d8cf6a52d37cfbe0642a155fa6470483fe892661a859c03157f24c669cf115f3bbab5e - languageName: node - linkType: hard - "which@npm:^2.0.1, which@npm:^2.0.2": version: 2.0.2 resolution: "which@npm:2.0.2" @@ -14692,7 +14660,7 @@ __metadata: languageName: node linkType: hard -"yargs@npm:^17.3.1": +"yargs@npm:^17.3.1, yargs@npm:^17.5.1": version: 17.7.2 resolution: "yargs@npm:17.7.2" dependencies: