pmtiles js 4.3.0 (#531)

* pmtiles js 4.3.0

* bump dependents

* update lockfiles
This commit is contained in:
Brandon Liu
2025-02-21 15:52:39 +08:00
committed by GitHub
parent d4595793ad
commit 534a66b5c0
13 changed files with 31 additions and 28 deletions

View File

@@ -1,3 +1,6 @@
4.3.0
* improve ZXY to HilbertID conversion by @ciscorn [#527]
4.2.1 4.2.1
* MapLibre adapter detects erroneous tileset bounds and shows console error [#508] * MapLibre adapter detects erroneous tileset bounds and shows console error [#508]

View File

@@ -4,7 +4,7 @@
<meta charset="utf-8"/> <meta charset="utf-8"/>
<link rel="stylesheet" href="https://unpkg.com/leaflet@1.9.0/dist/leaflet.css" /> <link rel="stylesheet" href="https://unpkg.com/leaflet@1.9.0/dist/leaflet.css" />
<script src="https://unpkg.com/leaflet@1.9.0/dist/leaflet.js"></script> <script src="https://unpkg.com/leaflet@1.9.0/dist/leaflet.js"></script>
<script src="https://unpkg.com/pmtiles@4.2.1/dist/pmtiles.js"></script> <script src="https://unpkg.com/pmtiles@4.3.0/dist/pmtiles.js"></script>
<style> <style>
body, #map { body, #map {
height:100vh; height:100vh;

View File

@@ -4,7 +4,7 @@
<meta charset="utf-8"/> <meta charset="utf-8"/>
<link rel="stylesheet" href="https://unpkg.com/maplibre-gl@4.7.0/dist/maplibre-gl.css" crossorigin="anonymous"> <link rel="stylesheet" href="https://unpkg.com/maplibre-gl@4.7.0/dist/maplibre-gl.css" crossorigin="anonymous">
<script src="https://unpkg.com/maplibre-gl@4.7.0/dist/maplibre-gl.js" crossorigin="anonymous"></script> <script src="https://unpkg.com/maplibre-gl@4.7.0/dist/maplibre-gl.js" crossorigin="anonymous"></script>
<script src="https://unpkg.com/pmtiles@4.2.1/dist/pmtiles.js"></script> <script src="https://unpkg.com/pmtiles@4.3.0/dist/pmtiles.js"></script>
<style> <style>
body { body {
margin: 0; margin: 0;

View File

@@ -4,7 +4,7 @@
<meta charset="utf-8"/> <meta charset="utf-8"/>
<link rel="stylesheet" href="https://unpkg.com/maplibre-gl@4.7.0/dist/maplibre-gl.css" crossorigin="anonymous"> <link rel="stylesheet" href="https://unpkg.com/maplibre-gl@4.7.0/dist/maplibre-gl.css" crossorigin="anonymous">
<script src="https://unpkg.com/maplibre-gl@4.7.0/dist/maplibre-gl.js" crossorigin="anonymous"></script> <script src="https://unpkg.com/maplibre-gl@4.7.0/dist/maplibre-gl.js" crossorigin="anonymous"></script>
<script src="https://unpkg.com/pmtiles@4.2.1/dist/pmtiles.js"></script> <script src="https://unpkg.com/pmtiles@4.3.0/dist/pmtiles.js"></script>
<style> <style>
body { body {
margin: 0; margin: 0;

View File

@@ -4,7 +4,7 @@
<meta charset="utf-8"/> <meta charset="utf-8"/>
<link rel="stylesheet" href="https://unpkg.com/maplibre-gl@4.7.0/dist/maplibre-gl.css" crossorigin="anonymous"> <link rel="stylesheet" href="https://unpkg.com/maplibre-gl@4.7.0/dist/maplibre-gl.css" crossorigin="anonymous">
<script src="https://unpkg.com/maplibre-gl@4.7.0/dist/maplibre-gl.js" crossorigin="anonymous"></script> <script src="https://unpkg.com/maplibre-gl@4.7.0/dist/maplibre-gl.js" crossorigin="anonymous"></script>
<script src="https://unpkg.com/pmtiles@4.2.1/dist/pmtiles.js"></script> <script src="https://unpkg.com/pmtiles@4.3.0/dist/pmtiles.js"></script>
<style> <style>
body { body {
margin: 0; margin: 0;

4
js/package-lock.json generated
View File

@@ -1,12 +1,12 @@
{ {
"name": "pmtiles", "name": "pmtiles",
"version": "4.2.1", "version": "4.3.0",
"lockfileVersion": 2, "lockfileVersion": 2,
"requires": true, "requires": true,
"packages": { "packages": {
"": { "": {
"name": "pmtiles", "name": "pmtiles",
"version": "4.2.1", "version": "4.3.0",
"license": "BSD-3-Clause", "license": "BSD-3-Clause",
"dependencies": { "dependencies": {
"fflate": "^0.8.2" "fflate": "^0.8.2"

View File

@@ -1,6 +1,6 @@
{ {
"name": "pmtiles", "name": "pmtiles",
"version": "4.2.1", "version": "4.3.0",
"description": "PMTiles archive decoder for browsers", "description": "PMTiles archive decoder for browsers",
"type": "module", "type": "module",
"main": "dist/cjs/index.cjs", "main": "dist/cjs/index.cjs",

View File

@@ -9,7 +9,7 @@
"version": "2.0.1", "version": "2.0.1",
"license": "BSD-3-Clause", "license": "BSD-3-Clause",
"dependencies": { "dependencies": {
"pmtiles": "^4.2.1" "pmtiles": "^4.3.0"
}, },
"devDependencies": { "devDependencies": {
"tsup": "^8.2.3", "tsup": "^8.2.3",
@@ -1750,9 +1750,9 @@
} }
}, },
"node_modules/pmtiles": { "node_modules/pmtiles": {
"version": "4.2.1", "version": "4.3.0",
"resolved": "https://registry.npmjs.org/pmtiles/-/pmtiles-4.2.1.tgz", "resolved": "https://registry.npmjs.org/pmtiles/-/pmtiles-4.3.0.tgz",
"integrity": "sha512-Z73aph49f7KpU7JPb+zDWr+62wPv9jF3p+tvvL26/XeECnzUHnQ0nGopXGPYnq+OQXqyaXZPrsNdKxSD+2HlLA==", "integrity": "sha512-wnzQeSiYT/MyO63o7AVxwt7+uKqU0QUy2lHrivM7GvecNy0m1A4voVyGey7bujnEW5Hn+ZzLdvHPoFaqrOzbPA==",
"license": "BSD-3-Clause", "license": "BSD-3-Clause",
"dependencies": { "dependencies": {
"fflate": "^0.8.2" "fflate": "^0.8.2"

View File

@@ -42,7 +42,7 @@
"prettier-check": "prettier --check *.js" "prettier-check": "prettier --check *.js"
}, },
"dependencies": { "dependencies": {
"pmtiles": "^4.2.1" "pmtiles": "^4.3.0"
}, },
"devDependencies": { "devDependencies": {
"tsup": "^8.2.3", "tsup": "^8.2.3",

View File

@@ -10,7 +10,7 @@
"dependencies": { "dependencies": {
"@aws-sdk/client-s3": "^3.637.0", "@aws-sdk/client-s3": "^3.637.0",
"@smithy/node-http-handler": "^3.1.4", "@smithy/node-http-handler": "^3.1.4",
"pmtiles": "^4.2.1" "pmtiles": "^4.3.0"
}, },
"devDependencies": { "devDependencies": {
"@biomejs/biome": "^1.5.3", "@biomejs/biome": "^1.5.3",
@@ -2618,9 +2618,9 @@
} }
}, },
"node_modules/pmtiles": { "node_modules/pmtiles": {
"version": "4.2.1", "version": "4.3.0",
"resolved": "https://registry.npmjs.org/pmtiles/-/pmtiles-4.2.1.tgz", "resolved": "https://registry.npmjs.org/pmtiles/-/pmtiles-4.3.0.tgz",
"integrity": "sha512-Z73aph49f7KpU7JPb+zDWr+62wPv9jF3p+tvvL26/XeECnzUHnQ0nGopXGPYnq+OQXqyaXZPrsNdKxSD+2HlLA==", "integrity": "sha512-wnzQeSiYT/MyO63o7AVxwt7+uKqU0QUy2lHrivM7GvecNy0m1A4voVyGey7bujnEW5Hn+ZzLdvHPoFaqrOzbPA==",
"license": "BSD-3-Clause", "license": "BSD-3-Clause",
"dependencies": { "dependencies": {
"fflate": "^0.8.2" "fflate": "^0.8.2"
@@ -4972,9 +4972,9 @@
} }
}, },
"pmtiles": { "pmtiles": {
"version": "4.2.1", "version": "4.3.0",
"resolved": "https://registry.npmjs.org/pmtiles/-/pmtiles-4.2.1.tgz", "resolved": "https://registry.npmjs.org/pmtiles/-/pmtiles-4.3.0.tgz",
"integrity": "sha512-Z73aph49f7KpU7JPb+zDWr+62wPv9jF3p+tvvL26/XeECnzUHnQ0nGopXGPYnq+OQXqyaXZPrsNdKxSD+2HlLA==", "integrity": "sha512-wnzQeSiYT/MyO63o7AVxwt7+uKqU0QUy2lHrivM7GvecNy0m1A4voVyGey7bujnEW5Hn+ZzLdvHPoFaqrOzbPA==",
"requires": { "requires": {
"fflate": "^0.8.2" "fflate": "^0.8.2"
} }

View File

@@ -22,6 +22,6 @@
"dependencies": { "dependencies": {
"@aws-sdk/client-s3": "^3.637.0", "@aws-sdk/client-s3": "^3.637.0",
"@smithy/node-http-handler": "^3.1.4", "@smithy/node-http-handler": "^3.1.4",
"pmtiles": "^4.2.1" "pmtiles": "^4.3.0"
} }
} }

View File

@@ -8,7 +8,7 @@
"name": "pmtiles-cloudflare", "name": "pmtiles-cloudflare",
"version": "0.0.1", "version": "0.0.1",
"dependencies": { "dependencies": {
"pmtiles": "^4.2.1" "pmtiles": "^4.3.0"
}, },
"devDependencies": { "devDependencies": {
"@biomejs/biome": "^1.5.3", "@biomejs/biome": "^1.5.3",
@@ -1324,9 +1324,9 @@
} }
}, },
"node_modules/pmtiles": { "node_modules/pmtiles": {
"version": "4.2.1", "version": "4.3.0",
"resolved": "https://registry.npmjs.org/pmtiles/-/pmtiles-4.2.1.tgz", "resolved": "https://registry.npmjs.org/pmtiles/-/pmtiles-4.3.0.tgz",
"integrity": "sha512-Z73aph49f7KpU7JPb+zDWr+62wPv9jF3p+tvvL26/XeECnzUHnQ0nGopXGPYnq+OQXqyaXZPrsNdKxSD+2HlLA==", "integrity": "sha512-wnzQeSiYT/MyO63o7AVxwt7+uKqU0QUy2lHrivM7GvecNy0m1A4voVyGey7bujnEW5Hn+ZzLdvHPoFaqrOzbPA==",
"license": "BSD-3-Clause", "license": "BSD-3-Clause",
"dependencies": { "dependencies": {
"fflate": "^0.8.2" "fflate": "^0.8.2"
@@ -2818,9 +2818,9 @@
"dev": true "dev": true
}, },
"pmtiles": { "pmtiles": {
"version": "4.2.1", "version": "4.3.0",
"resolved": "https://registry.npmjs.org/pmtiles/-/pmtiles-4.2.1.tgz", "resolved": "https://registry.npmjs.org/pmtiles/-/pmtiles-4.3.0.tgz",
"integrity": "sha512-Z73aph49f7KpU7JPb+zDWr+62wPv9jF3p+tvvL26/XeECnzUHnQ0nGopXGPYnq+OQXqyaXZPrsNdKxSD+2HlLA==", "integrity": "sha512-wnzQeSiYT/MyO63o7AVxwt7+uKqU0QUy2lHrivM7GvecNy0m1A4voVyGey7bujnEW5Hn+ZzLdvHPoFaqrOzbPA==",
"requires": { "requires": {
"fflate": "^0.8.2" "fflate": "^0.8.2"
} }

View File

@@ -19,6 +19,6 @@
"biome-check": "biome check --config-path=../../js src/index.ts" "biome-check": "biome check --config-path=../../js src/index.ts"
}, },
"dependencies": { "dependencies": {
"pmtiles": "^4.2.1" "pmtiles": "^4.3.0"
} }
} }