diff --git a/package-lock.json b/package-lock.json index 2ab2461..d089155 100644 --- a/package-lock.json +++ b/package-lock.json @@ -13,7 +13,7 @@ "@mapbox/mbtiles": "0.12.1", "@mapbox/polyline": "^1.2.1", "@mapbox/sphericalmercator": "1.2.0", - "@mapbox/vector-tile": "1.3.1", + "@mapbox/vector-tile": "2.0.1", "@maplibre/maplibre-gl-native": "5.4.0", "@maplibre/maplibre-gl-style-spec": "20.3.0", "@sindresorhus/fnv1a": "3.1.0", @@ -1251,9 +1251,9 @@ } }, "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==" + "version": "1.0.0", + "resolved": "https://registry.npmjs.org/@mapbox/point-geometry/-/point-geometry-1.0.0.tgz", + "integrity": "sha512-1EPbCrZvs+eBayaMcPeDmwsbgG/b7vQxtYlzLI/5dA2SHctbUxFr13OE4+AdozoF8EtvbaFcfQIzWetOfooz/w==" }, "node_modules/@mapbox/polyline": { "version": "1.2.1", @@ -1291,11 +1291,13 @@ "integrity": "sha512-nMkuDXFv60aBr9soUG5q+GvZYL+2KZHVvsqFCzqnkGEf46U2fvmytHaEVc1/YZbiLn8X+eR3QzX1+dwDO1lxlw==" }, "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==", + "version": "2.0.1", + "resolved": "https://registry.npmjs.org/@mapbox/vector-tile/-/vector-tile-2.0.1.tgz", + "integrity": "sha512-sHjD7RWxfaGpwUgjS1vxfvu+w06haJZKjN1XYHBKm3w/pM3xVSGrmtxLVgNsotjDILmFS4hEjWiA3Rl/tw5egw==", "dependencies": { - "@mapbox/point-geometry": "~0.1.0" + "@mapbox/point-geometry": "~1.0.0", + "@types/geojson": "^7946.0.14", + "pbf": "^4.0.1" } }, "node_modules/@maplibre/maplibre-gl-native": { diff --git a/package.json b/package.json index 5cf93e4..d456063 100644 --- a/package.json +++ b/package.json @@ -22,7 +22,7 @@ "@mapbox/mbtiles": "0.12.1", "@mapbox/polyline": "^1.2.1", "@mapbox/sphericalmercator": "1.2.0", - "@mapbox/vector-tile": "1.3.1", + "@mapbox/vector-tile": "2.0.1", "@maplibre/maplibre-gl-native": "5.4.0", "@maplibre/maplibre-gl-style-spec": "20.3.0", "@sindresorhus/fnv1a": "3.1.0",