From 6969efa4aaeb01a23e4ab83969f75c53e20f3a76 Mon Sep 17 00:00:00 2001 From: Tom Hughes Date: Wed, 29 Jul 2026 20:46:14 +0100 Subject: [PATCH] Remove pessimistic node moduile version constraints We were ignoring them in dependabot so they aren't really necessary. We can add constraints when we run into specific problems, but otherwise we should be optimistic that, in most cases, the new version of a module will either work fine as-is or will be flagged up by CI. Exceptions are iD which is updated by manual PR and maplibre where version 6.x is not currently usable by us. --- package.json | 48 ++++++++++++++++++++++---------------------- yarn.lock | 56 ++++++++++++++++++++++++++-------------------------- 2 files changed, 52 insertions(+), 52 deletions(-) diff --git a/package.json b/package.json index de8acd30e..3576631e7 100644 --- a/package.json +++ b/package.json @@ -2,32 +2,32 @@ "name": "openstreetmap", "private": true, "dependencies": { - "@mapbox/mapbox-gl-rtl-text": "^0.4.0", - "@mapbox/polyline": "^1.2.1", - "@maplibre/maplibre-gl-leaflet": "^0.1.1", - "@maptiler/maplibre-gl-omt-language": "^0.0.3", + "@mapbox/mapbox-gl-rtl-text": "*", + "@mapbox/polyline": "*", + "@maplibre/maplibre-gl-leaflet": "*", + "@maptiler/maplibre-gl-omt-language": "*", "@openstreetmap/id": "2.41.2", - "bootstrap-icons": "^1.13.1", - "i18n-js": "^4.5.1", - "js-cookie": "^3.0.0", - "leaflet": "^1.8.0", - "leaflet.locatecontrol": "^0.90.0", - "make-plural": "^8.1.0", - "maplibre-gl": "^5.22.0", - "osm-community-index": "^6.0.0", - "tag2link": "^2026.1.21", - "terra-draw": "^1.30.1", - "terra-draw-maplibre-gl-adapter": "^1.4.1" + "bootstrap-icons": "*", + "i18n-js": "*", + "js-cookie": "*", + "leaflet": "*", + "leaflet.locatecontrol": "*", + "make-plural": "*", + "maplibre-gl": "< 6.0.0", + "osm-community-index": "*", + "tag2link": "*", + "terra-draw": "*", + "terra-draw-maplibre-gl-adapter": "*" }, "devDependencies": { - "@eslint/js": "^10.0.1", - "@herb-tools/linter": "^0.10.1", - "@stylistic/eslint-plugin": "^5.2.3", - "@types/jquery": "^4.0.0", - "@types/leaflet": "^1.9.0", - "eslint": "^10.0.0", - "eslint-formatter-compact": "^9.0.1", - "eslint-plugin-erb": "^2.1.0", - "globals": "^17.3.0" + "@eslint/js": "*", + "@herb-tools/linter": "*", + "@stylistic/eslint-plugin": "*", + "@types/jquery": "*", + "@types/leaflet": "*", + "eslint": "*", + "eslint-formatter-compact": "*", + "eslint-plugin-erb": "*", + "globals": "*" } } diff --git a/yarn.lock b/yarn.lock index 86f594f52..59e521d5f 100644 --- a/yarn.lock +++ b/yarn.lock @@ -56,7 +56,7 @@ dependencies: "@types/json-schema" "^7.0.15" -"@eslint/js@^10.0.1": +"@eslint/js@*": version "10.0.1" resolved "https://registry.yarnpkg.com/@eslint/js/-/js-10.0.1.tgz#1e8a876f50117af8ab67e47d5ad94d38d6622583" integrity sha512-zeR9k5pd4gxjZ0abRoIaxdc7I3nDktoXZk2qOv9gCNWx3mVwEn32VRhyLaRsDiJjTs0xq/T8mfPtyuXu7GWBcA== @@ -97,7 +97,7 @@ "@herb-tools/core" "0.10.2" "@herb-tools/node-wasm" "0.10.2" -"@herb-tools/linter@^0.10.1": +"@herb-tools/linter@*": version "0.10.2" resolved "https://registry.yarnpkg.com/@herb-tools/linter/-/linter-0.10.2.tgz#51a8a350b47e3e6c8a7a679eabbc196e3bfaf6c8" integrity sha512-0B8kT3jrSJwwmjjW0IFOreloF/9yrGm9ti931TxVG54u0PYDNI8ONRLub0sSzbPlKqPFtJXhjN7lPRqQdGz3Ow== @@ -186,7 +186,7 @@ resolved "https://registry.yarnpkg.com/@mapbox/jsonlint-lines-primitives/-/jsonlint-lines-primitives-2.0.2.tgz#ce56e539f83552b58d10d672ea4d6fc9adc7b234" integrity sha512-rY0o9A5ECsTQRVhv7tL/OyDpGAoUB4tTvLiW1DSzQGq4bvTPhNw1VpSNjDJc5GFZ2XuyOtSWSVN05qOtcD71qQ== -"@mapbox/mapbox-gl-rtl-text@^0.4.0": +"@mapbox/mapbox-gl-rtl-text@*": version "0.4.0" resolved "https://registry.yarnpkg.com/@mapbox/mapbox-gl-rtl-text/-/mapbox-gl-rtl-text-0.4.0.tgz#eb02e379aac1bffb91c83489658e6077b683bf47" integrity sha512-WNSgEFxXd2a15Eh2GwZNWBiV7Z8leq8JEGcoHpfrgaBDmFQMW4a1MO5Ol9BNv6APqTbHZ8uq7L8H5q2KCVt1kg== @@ -196,7 +196,7 @@ resolved "https://registry.yarnpkg.com/@mapbox/point-geometry/-/point-geometry-1.1.0.tgz#3328fb54b3a1273bc619bf0a6baad8de37181749" integrity sha512-YGcBz1cg4ATXDCM/71L9xveh4dynfGmcLDqufR+nQQy3fKwsAZsWd/x4621/6uJaeB9mwOHE6hPeDgXz9uViUQ== -"@mapbox/polyline@^1.2.1": +"@mapbox/polyline@*": version "1.2.1" resolved "https://registry.yarnpkg.com/@mapbox/polyline/-/polyline-1.2.1.tgz#1eecce5e8c0d9e6dfc718b225e8e9f03591ea636" integrity sha512-sn0V18O3OzW4RCcPoUIVDWvEGQaBNH9a0y5lgqrf5hUycyw1CzrhEoxV5irzrMNXKCkw1xRsZXcaVbsVZggHXA== @@ -253,7 +253,7 @@ dependencies: kdbush "^4.0.2" -"@maplibre/maplibre-gl-leaflet@^0.1.1": +"@maplibre/maplibre-gl-leaflet@*": version "0.1.3" resolved "https://registry.yarnpkg.com/@maplibre/maplibre-gl-leaflet/-/maplibre-gl-leaflet-0.1.3.tgz#ad132c4ca406d5fdbbb9d67a7114d05539e1ee52" integrity sha512-9+hp1PSJcxuuj5/Zta9zbQ8+ZvN4doWXPtlY7ikNtUZY1VbkamY0uTqzHp9kxRPqpgeKGrI7MjzXvwzU88wWCw== @@ -291,7 +291,7 @@ pbf "^4.0.1" supercluster "^8.0.1" -"@maptiler/maplibre-gl-omt-language@^0.0.3": +"@maptiler/maplibre-gl-omt-language@*": version "0.0.3" resolved "https://registry.yarnpkg.com/@maptiler/maplibre-gl-omt-language/-/maplibre-gl-omt-language-0.0.3.tgz#3069f4522e911e341d6b79b09ce2943c71b6ffd7" integrity sha512-Rv5IaFyh9GuFu2BEAGvVvlVGmXt5Jbjd0XhIu0D4Tek81DPQEQryIIwDFTDR27W4NyAtozy8QltB+8SFr2C7mQ== @@ -348,7 +348,7 @@ polyclip-ts "~0.16.8" which-polygon "^2.2.1" -"@stylistic/eslint-plugin@^5.2.3": +"@stylistic/eslint-plugin@*": version "5.10.0" resolved "https://registry.yarnpkg.com/@stylistic/eslint-plugin/-/eslint-plugin-5.10.0.tgz#471bbd9f7a27ceaac4a217e7f5b3890855e5640c" integrity sha512-nPK52ZHvot8Ju/0A4ucSX1dcPV2/1clx0kLcH5wDmrE4naKso7TUC/voUyU1O9OTKTrR6MYip6LP0ogEMQ9jPQ== @@ -425,7 +425,7 @@ resolved "https://registry.yarnpkg.com/@types/geojson/-/geojson-7946.0.16.tgz#8ebe53d69efada7044454e3305c19017d97ced2a" integrity sha512-6C8nqWur3j98U6+lXDfTUWIfgvZU+EumvpHKcYjujKH7woYyLj2sUmff0tRhrqM7BohUw7Pz3ZB1jj2gW9Fvmg== -"@types/jquery@^4.0.0": +"@types/jquery@*": version "4.0.1" resolved "https://registry.yarnpkg.com/@types/jquery/-/jquery-4.0.1.tgz#7c08ca6492876b70e11e4724af35b347069038cd" integrity sha512-9a59A/tycXgYuPABcp6/3spSShn0NT2UOM4EfHvMumjYi4lJWTsK5SZWjhx3yRm9IHGCeWXdV2YfNsrWrft/CA== @@ -435,7 +435,7 @@ resolved "https://registry.yarnpkg.com/@types/json-schema/-/json-schema-7.0.15.tgz#596a1747233694d50f6ad8a7869fcb6f56cf5841" integrity sha512-5+fP8P8MFNC+AyZCDxrB2pkZFPGzqQWUzpSeuuVLvm8VMcorNYavBqoFcxK8bQz4Qsbn4oUEEem4wDLfcysGHA== -"@types/leaflet@^1.9.0": +"@types/leaflet@*": version "1.9.21" resolved "https://registry.yarnpkg.com/@types/leaflet/-/leaflet-1.9.21.tgz#542e8f91250bc444f8a1416d472f5b518d83e979" integrity sha512-TbAd9DaPGSnzp6QvtYngntMZgcRk+igFELwR2N99XZn7RXUdKgsXMR+28bUO0rPsWp8MIu/f47luLIQuSLYv/w== @@ -514,7 +514,7 @@ bignumber.js@*, bignumber.js@^9.1.0: resolved "https://registry.yarnpkg.com/bignumber.js/-/bignumber.js-9.3.1.tgz#759c5aaddf2ffdc4f154f7b493e1c8770f88c4d7" integrity sha512-Ko0uX15oIUS7wJ3Rb30Fs6SkVbLmPBAKdlm7q9+ak9bbIeFf0MwuBsQV6z7+X768/cHsfg+WlysDWJcmthjsjQ== -bootstrap-icons@^1.13.1: +bootstrap-icons@*: version "1.13.1" resolved "https://registry.yarnpkg.com/bootstrap-icons/-/bootstrap-icons-1.13.1.tgz#0aad3f5b55b67402990e729ce3883416f9cef6c5" integrity sha512-ijombt4v6bv5CLeXvRWKy7CuM3TRTuPEuGaGKvTV5cz65rQSY8RQ2JcHt6b90cBBAC7s8fsf2EkQDldzCoXUjw== @@ -634,12 +634,12 @@ escape-string-regexp@^4.0.0: resolved "https://registry.yarnpkg.com/escape-string-regexp/-/escape-string-regexp-4.0.0.tgz#14ba83a5d373e3d311e5afca29cf5bfad965bf34" integrity sha512-TtpcNJ3XAzx3Gq8sWRzJaVajRs0uVxA2YAkdb1jm2YkPz4G6egUFAyA3n5vtEIZefPk5Wa4UXbKuS5fKkJWdgA== -eslint-formatter-compact@^9.0.1: +eslint-formatter-compact@*: version "9.0.1" resolved "https://registry.yarnpkg.com/eslint-formatter-compact/-/eslint-formatter-compact-9.0.1.tgz#358cd433216095bd825b49a53409de3fb0ff5b19" integrity sha512-mBAti2tb403dQGMyilQTYHU80stem3N7jdtKW+tmn5gj3JNF7ki0rgCZtJFw4iMayTH862FTUIqCdp70ug0S0Q== -eslint-plugin-erb@^2.1.0: +eslint-plugin-erb@*: version "2.1.1" resolved "https://registry.yarnpkg.com/eslint-plugin-erb/-/eslint-plugin-erb-2.1.1.tgz#8a0a6c2bcaf3a8573c381b595969145aff93cfc6" integrity sha512-AhznaVwRpQqR8NADjN4SZnKNbaIdAbGxTjCg6cj3UhwGyQOUJ6kXwhYrl1LYrGDNx7Ouyd8xuEG7wepFZyPgFw== @@ -669,7 +669,7 @@ eslint-visitor-keys@^5.0.1: resolved "https://registry.yarnpkg.com/eslint-visitor-keys/-/eslint-visitor-keys-5.0.1.tgz#9e3c9489697824d2d4ce3a8ad12628f91e9f59be" integrity sha512-tD40eHxA35h0PEIZNeIjkHoDR4YjjJp34biM0mDvplBe//mB+IHCqHDGV7pxF+7MklTvighcCPPZC7ynWyjdTA== -eslint@^10.0.0: +eslint@*: version "10.7.0" resolved "https://registry.yarnpkg.com/eslint/-/eslint-10.7.0.tgz#cd3b8022f3b1e3b183760d90dfc58e9d3644106b" integrity sha512-GVTD7s1vdIl6UYvAfriOPeY1Df8LIZjfofLvHwde+erDHGGuHyuM6xoxRxmHiebhYuD2p1vN4wWh0XzPARSGDQ== @@ -837,7 +837,7 @@ glob-parent@^6.0.2: dependencies: is-glob "^4.0.3" -globals@^17.3.0: +globals@*: version "17.7.0" resolved "https://registry.yarnpkg.com/globals/-/globals-17.7.0.tgz#553d55090b4dde8209ec2da42580d6e7e7d8b10d" integrity sha512-Czmyns5dUsq4seFBR/Kdydhmo8y9kC79hiSkPn0YcGtNnYWnrgt0vjrSjx9tspoDGWm2CMarffRuLjM4xUz8xg== @@ -866,7 +866,7 @@ hosted-git-info@^4.0.1: dependencies: lru-cache "^6.0.0" -i18n-js@^4.5.1: +i18n-js@*: version "4.5.3" resolved "https://registry.yarnpkg.com/i18n-js/-/i18n-js-4.5.3.tgz#b86c5e6b8d1f09e15952edd7fb7d07445e8d5475" integrity sha512-5/tT6R9t9qlYqGhxGq9I9Ap3WKUaAMq5aRuO1gqAcUqm6xGbL0jwTAjSFjgbx935BAV8QbEzvQOzE796dUlEfA== @@ -934,7 +934,7 @@ jiti@^2.7.0: resolved "https://registry.yarnpkg.com/jiti/-/jiti-2.7.0.tgz#974228f2f4ca2bc21885a1797b45fea68e950c64" integrity sha512-AC/7JofJvZGrrneWNaEnJeOLUx+JlGt7tNa0wZiRPT4MY1wmfKjt2+6O2p2uz2+skll8OZZmJMNqeke7kKbNgQ== -js-cookie@^3.0.0: +js-cookie@*: version "3.0.8" resolved "https://registry.yarnpkg.com/js-cookie/-/js-cookie-3.0.8.tgz#444e6f4b27a5d844594fef61c9d6bca5f0787688" integrity sha512-yeJd4aNAdYZQjaon2bpD/Gb0B/omw7HQOsynXXcOiWVCacbBcPlgn8S/d1X6blFSaHao7ozqtW7NZW19xpCtIw== @@ -986,12 +986,12 @@ kind-of@^6.0.3: resolved "https://registry.yarnpkg.com/kind-of/-/kind-of-6.0.3.tgz#07c05034a6c349fa06e24fa35aa76db4580ce4dd" integrity sha512-dcS1ul+9tmeD95T+x28/ehLgd9mENa3LsvDTtzm3vyBEO7RPptvAD+t44WVXaUjTBRcrpFeFlC8WCruUR456hw== -leaflet.locatecontrol@^0.90.0: +leaflet.locatecontrol@*: version "0.90.0" resolved "https://registry.yarnpkg.com/leaflet.locatecontrol/-/leaflet.locatecontrol-0.90.0.tgz#8a126b69e0ba81c8f96e34ef25e15033674b5206" integrity sha512-yzgKyOXVRgALmo38ZhPf+2QgYE3pA/rrVSE0CyZhsSAzlnwPTZ1sfZLOFXTH20XLNNw1SX7AuMRLu0LZkWNakg== -leaflet@^1.8.0: +leaflet@*: version "1.9.4" resolved "https://registry.yarnpkg.com/leaflet/-/leaflet-1.9.4.tgz#23fae724e282fa25745aff82ca4d394748db7d8d" integrity sha512-nxS1ynzJOmOlHp+iL3FyWqK89GtNL8U8rvlMOsQdTTssxZwCXh8N2NB3GDQOL+YR3XnWyZAxwQixURb+FA74PA== @@ -1040,16 +1040,16 @@ lru-cache@^6.0.0: dependencies: yallist "^4.0.0" +make-plural@*: + version "8.1.0" + resolved "https://registry.yarnpkg.com/make-plural/-/make-plural-8.1.0.tgz#cc7ee2fb10d764fd958051102267c058d768414a" + integrity sha512-p8EfQ2LFxnU4KGc82hOYdUplQw0eoWJLzJVKyv2GR9sd4zkjA8bLSXLEmp/qE08c/cFTZOK8j6Ex80+Wey+4PA== + make-plural@7.5.0: version "7.5.0" resolved "https://registry.yarnpkg.com/make-plural/-/make-plural-7.5.0.tgz#ff99598640d82ec7a69bea15d34ecc50152fc0db" integrity sha512-0booA+aVYyVFoR67JBHdfVk0U08HmrBH2FrtmBqBa+NldlqXv/G2Z9VQuQq6Wgp2jDWdybEWGfBkk1cq5264WA== -make-plural@^8.1.0: - version "8.1.0" - resolved "https://registry.yarnpkg.com/make-plural/-/make-plural-8.1.0.tgz#cc7ee2fb10d764fd958051102267c058d768414a" - integrity sha512-p8EfQ2LFxnU4KGc82hOYdUplQw0eoWJLzJVKyv2GR9sd4zkjA8bLSXLEmp/qE08c/cFTZOK8j6Ex80+Wey+4PA== - map-obj@^1.0.0: version "1.0.1" resolved "https://registry.yarnpkg.com/map-obj/-/map-obj-1.0.1.tgz#d933ceb9205d82bdcf4886f6742bdc2b4dea146d" @@ -1060,7 +1060,7 @@ map-obj@^4.0.0: resolved "https://registry.yarnpkg.com/map-obj/-/map-obj-4.3.0.tgz#9304f906e93faae70880da102a9f1df0ea8bb05a" integrity sha512-hdN1wVrZbb29eBGiGjJbeP8JbKjq1urkHJ/LIP/NY48MZ1QVXUsQBV1G1zvYFHn1XE06cwjBsOI2K3Ulnj1YXQ== -maplibre-gl@^5.22.0: +"maplibre-gl@< 6.0.0": version "5.24.0" resolved "https://registry.yarnpkg.com/maplibre-gl/-/maplibre-gl-5.24.0.tgz#a8059371cdbeb04a62850ccc22cb37783928a10d" integrity sha512-ALyFxgtd5R+65UqZ/++lOqwWcC0SNho9c27fYSyLmG7AfnAul2o46F05aDJGPbFU57wos9dgcIySHs0Xe6ia3A== @@ -1196,7 +1196,7 @@ osm-auth@^3.1.1: resolved "https://registry.yarnpkg.com/osm-auth/-/osm-auth-3.1.1.tgz#2c56ec466a30c2a99e2e6cebfcf0020668687981" integrity sha512-Y9TVlM6NkQl/Td5NhKLYZTeS9qKJCWXrrGRCbrHDMzTd1AD4S20RU8CRB64KzV328Yk8+Gf+KQf4iZT1OOhhZg== -osm-community-index@^6.0.0: +osm-community-index@*: version "6.0.0" resolved "https://registry.yarnpkg.com/osm-community-index/-/osm-community-index-6.0.0.tgz#67a5233ad39cda37c5a790b54956dd910c1f8414" integrity sha512-OUnO6uc4moMig7MbZ+tuskjSxv2wHMuogXv3/V01N7D6Ug4NpPheJtUFEGbVHMBhCWcDB0WfiftN/XUPYYyoUg== @@ -1529,17 +1529,17 @@ supports-preserve-symlinks-flag@^1.0.0: resolved "https://registry.yarnpkg.com/supports-preserve-symlinks-flag/-/supports-preserve-symlinks-flag-1.0.0.tgz#6eda4bd344a3c94aea376d4cc31bc77311039e09" integrity sha512-ot0WnXS9fgdkgIcePe6RHNk1WA8+muPa6cSjeR3V8K27q9BB1rTE3R1p7Hv0z1ZyAc8s6Vvv8DIyWf681MAt0w== -tag2link@^2026.1.21: +tag2link@*: version "2026.6.26" resolved "https://registry.yarnpkg.com/tag2link/-/tag2link-2026.6.26.tgz#2d37fe961a73f8e469e6103d47d2d7f3c3a4388e" integrity sha512-3HXYkASxzeCidEnbY6b3LZ+oN6tKFOK1kHWgaxpLt2zONwn64r7EEInRxmBXGMreMJm2OJH0TMBFwqjdaIDNZA== -terra-draw-maplibre-gl-adapter@^1.4.1: +terra-draw-maplibre-gl-adapter@*: version "1.4.1" resolved "https://registry.yarnpkg.com/terra-draw-maplibre-gl-adapter/-/terra-draw-maplibre-gl-adapter-1.4.1.tgz#ba346d0f7ba4a08a30bd978485482f41b02abc3d" integrity sha512-qZ/bc9bVPnyt0keLVTofV8xiTPkdkbO6RzqrfNLe9zH/edW5PsjvJw97m1EksPZeXNJtFxsVbhi12cPaoNiWfg== -terra-draw@^1.30.1: +terra-draw@*: version "1.30.1" resolved "https://registry.yarnpkg.com/terra-draw/-/terra-draw-1.30.1.tgz#194e620b12621c763d59f5817a362aa9a894d578" integrity sha512-EvX2iQANF6/c4HIbVJ5XCdWus/rRv9onwIpqWU4iaWkQHAjqQAh2RtH+OicUXVRrAFyELjYbZBh9iWlsYnUzoA== -- 2.47.3