From de9d16ce535118c56b423d7c138a5f7067670a02 Mon Sep 17 00:00:00 2001 From: BOUILLAGUET Quentin Date: Wed, 24 Jul 2024 11:11:50 +0200 Subject: [PATCH] chore(deps): bump @mapbox/vector-tile from 1.3.1 to 2.0.3 @mapbox/vector-tile is now distributed as an ESM only package --- package-lock.json | 35 ++++++++++++++++++++++++++--------- package.json | 2 +- 2 files changed, 27 insertions(+), 10 deletions(-) diff --git a/package-lock.json b/package-lock.json index 86aa49a106..7f7fe5eebf 100644 --- a/package-lock.json +++ b/package-lock.json @@ -10,7 +10,7 @@ "license": "(CECILL-B OR MIT)", "dependencies": { "@mapbox/mapbox-gl-style-spec": "^13.28.0", - "@mapbox/vector-tile": "^1.3.1", + "@mapbox/vector-tile": "^2.0.3", "@tmcw/togeojson": "^5.8.1", "@tweenjs/tween.js": "^23.1.2", "brotli-compress": "^1.3.3", @@ -2402,12 +2402,29 @@ "license": "BSD-2-Clause" }, "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==", - "license": "BSD-3-Clause", + "version": "2.0.3", + "resolved": "https://registry.npmjs.org/@mapbox/vector-tile/-/vector-tile-2.0.3.tgz", + "integrity": "sha512-Fq8PzBAaBeG3sEZA7Bomlv+8ZJcS5KCD6MRlCqiFrroOLnwZFFSJVydk1J9sneScJq9q4yyGfxKa+i7x2TLG8A==", + "dependencies": { + "@mapbox/point-geometry": "~1.1.0", + "@types/geojson": "^7946.0.14", + "pbf": "^4.0.1" + } + }, + "node_modules/@mapbox/vector-tile/node_modules/@mapbox/point-geometry": { + "version": "1.1.0", + "resolved": "https://registry.npmjs.org/@mapbox/point-geometry/-/point-geometry-1.1.0.tgz", + "integrity": "sha512-YGcBz1cg4ATXDCM/71L9xveh4dynfGmcLDqufR+nQQy3fKwsAZsWd/x4621/6uJaeB9mwOHE6hPeDgXz9uViUQ==" + }, + "node_modules/@mapbox/vector-tile/node_modules/pbf": { + "version": "4.0.1", + "resolved": "https://registry.npmjs.org/pbf/-/pbf-4.0.1.tgz", + "integrity": "sha512-SuLdBvS42z33m8ejRbInMapQe8n0D3vN/Xd5fmWM3tufNgRQFBpaW2YVJxQZV4iPNqb0vEFvssMEo5w9c6BTIA==", "dependencies": { - "@mapbox/point-geometry": "~0.1.0" + "resolve-protobuf-schema": "^2.1.0" + }, + "bin": { + "pbf": "bin/pbf" } }, "node_modules/@nicolo-ribaudo/chokidar-2": { @@ -2717,9 +2734,9 @@ } }, "node_modules/@types/geojson": { - "version": "7946.0.10", - "license": "MIT", - "peer": true + "version": "7946.0.14", + "resolved": "https://registry.npmjs.org/@types/geojson/-/geojson-7946.0.14.tgz", + "integrity": "sha512-WCfD5Ht3ZesJUsONdhvm84dmzWOiOzOAqOncN0++w0lBw1o8OuDNJF2McvvCef/yBqb/HYRahp1BYtODFQ8bRg==" }, "node_modules/@types/http-errors": { "version": "2.0.4", diff --git a/package.json b/package.json index 3e4e192f59..b70ace41aa 100644 --- a/package.json +++ b/package.json @@ -58,7 +58,7 @@ "homepage": "https://itowns.github.io/", "dependencies": { "@mapbox/mapbox-gl-style-spec": "^13.28.0", - "@mapbox/vector-tile": "^1.3.1", + "@mapbox/vector-tile": "^2.0.3", "@tmcw/togeojson": "^5.8.1", "@tweenjs/tween.js": "^23.1.2", "brotli-compress": "^1.3.3",