tileserver-gl 4.10.3 → 4.11.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/.husky/commit-msg CHANGED
@@ -1,6 +1,3 @@
1
- #!/bin/sh
2
- . "$(dirname "$0")/_/husky.sh"
3
-
4
1
  NAME=$(git config user.name)
5
2
  EMAIL=$(git config user.email)
6
3
 
package/.husky/pre-push CHANGED
@@ -1,4 +1 @@
1
- #!/bin/sh
2
- . "$(dirname "$0")/_/husky.sh"
3
-
4
1
  npm exec --no -- lint-staged --no-stash
package/README.md CHANGED
@@ -1,6 +1,5 @@
1
1
  ![tileserver-gl](https://cloud.githubusercontent.com/assets/59284/18173467/fa3aa2ca-7069-11e6-86b1-0f1266befeb6.jpeg)
2
2
 
3
-
4
3
  # TileServer GL
5
4
  [![GitHub Workflow Status](https://img.shields.io/github/actions/workflow/status/maptiler/tileserver-gl/pipeline.yml)](https://github.com/maptiler/tileserver-gl/actions/workflows/pipeline.yml)
6
5
  [![Docker Hub](https://img.shields.io/badge/docker-hub-blue.svg)](https://hub.docker.com/r/maptiler/tileserver-gl/)
@@ -8,7 +8,7 @@ Styles
8
8
  ======
9
9
  * Styles are served at ``/styles/{id}/style.json`` (+ array at ``/styles.json``)
10
10
 
11
- * Sprites at ``/styles/{id}/sprite[@2x].{format}``
11
+ * Sprites at ``/styles/{id}/sprite[/spriteID][@2x].{format}``
12
12
  * Fonts at ``/fonts/{fontstack}/{start}-{end}.pbf``
13
13
 
14
14
  Rendered tiles
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "tileserver-gl",
3
- "version": "4.10.3",
3
+ "version": "4.11.1",
4
4
  "description": "Map tile server for JSON GL styles - vector and server side generated raster tiles",
5
5
  "main": "src/main.js",
6
6
  "bin": "src/main.js",
@@ -15,7 +15,7 @@
15
15
  "lint:prettier": "prettier --check \"{,!(node_modules|dist|static|public)/**/}*.{js,ts,cjs,mjs,json}\" --ignore-path .gitignore",
16
16
  "lint:prettier:fix": "prettier --write \"{,!(node_modules|dist|static|public)/**/}*.{js,ts,cjs,mjs,json}\" --ignore-path .gitignore",
17
17
  "docker": "docker build . && docker run --rm -i -p 8080:8080 $(docker build -q .)",
18
- "prepare": "node -e \"if (process.env.NODE_ENV !== 'production'){ process.exit(1) } \" || husky install"
18
+ "prepare": "node -e \"if (process.env.NODE_ENV !== 'production'){ process.exit(1) } \" || husky"
19
19
  },
20
20
  "dependencies": {
21
21
  "@mapbox/glyph-pbf-composite": "0.0.3",
@@ -23,46 +23,46 @@
23
23
  "@mapbox/polyline": "^1.2.1",
24
24
  "@mapbox/sphericalmercator": "1.2.0",
25
25
  "@mapbox/vector-tile": "1.3.1",
26
- "@maplibre/maplibre-gl-native": "5.3.1",
27
- "@maplibre/maplibre-gl-style-spec": "20.1.1",
26
+ "@maplibre/maplibre-gl-native": "5.4.0",
27
+ "@maplibre/maplibre-gl-style-spec": "20.2.0",
28
28
  "@sindresorhus/fnv1a": "3.1.0",
29
29
  "advanced-pool": "0.3.3",
30
- "axios": "^1.6.7",
30
+ "axios": "^1.6.8",
31
31
  "canvas": "2.11.2",
32
32
  "chokidar": "3.6.0",
33
33
  "clone": "2.1.2",
34
34
  "color": "4.2.3",
35
35
  "commander": "12.0.0",
36
36
  "cors": "2.8.5",
37
- "express": "4.18.2",
37
+ "express": "4.19.2",
38
38
  "handlebars": "4.7.8",
39
39
  "http-shutdown": "1.2.2",
40
40
  "morgan": "1.10.0",
41
41
  "pbf": "3.2.1",
42
- "pmtiles": "3.0.4",
43
- "proj4": "2.10.0",
42
+ "pmtiles": "3.0.5",
43
+ "proj4": "2.11.0",
44
44
  "sanitize-filename": "1.6.3",
45
- "sharp": "0.33.2",
45
+ "sharp": "0.33.4",
46
46
  "tileserver-gl-styles": "2.0.0"
47
47
  },
48
48
  "devDependencies": {
49
- "@commitlint/cli": "^18.6.1",
50
- "@commitlint/config-conventional": "^18.6.2",
51
- "@typescript-eslint/eslint-plugin": "^7.0.0",
52
- "@typescript-eslint/parser": "^6.21.0",
53
- "chai": "5.1.0",
49
+ "@commitlint/cli": "^19.3.0",
50
+ "@commitlint/config-conventional": "^19.2.2",
51
+ "@typescript-eslint/eslint-plugin": "^7.9.0",
52
+ "@typescript-eslint/parser": "^7.9.0",
53
+ "chai": "5.1.1",
54
54
  "eslint": "^8.57.0",
55
55
  "eslint-config-prettier": "^9.1.0",
56
- "eslint-plugin-jsdoc": "^48.2.0",
56
+ "eslint-plugin-jsdoc": "^48.2.5",
57
57
  "eslint-plugin-prettier": "^5.1.3",
58
58
  "eslint-plugin-security": "^1.7.1",
59
59
  "husky": "^9.0.11",
60
60
  "lint-staged": "^15.2.2",
61
- "mocha": "^10.3.0",
62
- "node-addon-api": "^7",
61
+ "mocha": "^10.4.0",
62
+ "node-addon-api": "^8",
63
63
  "prettier": "^3.2.5",
64
64
  "should": "^13.2.3",
65
- "supertest": "^6.3.4",
65
+ "supertest": "^7.0.0",
66
66
  "yaml-lint": "^1.7.0"
67
67
  },
68
68
  "keywords": [
@@ -1,40 +1,40 @@
1
1
  .maplibregl-inspect_popup {
2
- color: #333;
3
- display: table;
4
- }
5
-
6
- .maplibregl-inspect_feature:not(:last-child) {
7
- border-bottom: 1px solid #ccc;
8
- }
9
-
10
- .maplibregl-inspect_layer:before {
11
- content: '#';
12
- }
13
-
14
- .maplibregl-inspect_layer {
15
- display: block;
16
- font-weight: bold;
17
- }
18
-
19
- .maplibregl-inspect_property {
20
- display: table-row;
21
- }
22
-
23
- .maplibregl-inspect_property-value {
24
- display: table-cell;
25
- word-break: break-all;
26
- }
27
-
28
- .maplibregl-inspect_property-name {
29
- display: table-cell;
30
- padding-right: 10px;
31
- word-break: break-all;
32
- }
33
-
34
- .maplibregl-ctrl-inspect {
35
- background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='%23333333' preserveAspectRatio='xMidYMid meet' viewBox='-10 -10 60 60'%3E%3Cg%3E%3Cpath d='m15 21.6q0-2 1.5-3.5t3.5-1.5 3.5 1.5 1.5 3.5-1.5 3.6-3.5 1.4-3.5-1.4-1.5-3.6z m18.4 11.1l-6.4-6.5q1.4-2.1 1.4-4.6 0-3.4-2.5-5.8t-5.9-2.4-5.9 2.4-2.5 5.8 2.5 5.9 5.9 2.5q2.4 0 4.6-1.4l7.4 7.4q-0.9 0.6-2 0.6h-20q-1.3 0-2.3-0.9t-1.1-2.3l0.1-26.8q0-1.3 1-2.3t2.3-0.9h13.4l10 10v19.3z'%3E%3C/path%3E%3C/g%3E%3C/svg%3E");
36
- }
37
-
38
- .maplibregl-ctrl-map {
39
- background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='%23333333' viewBox='-10 -10 60 60' preserveAspectRatio='xMidYMid meet'%3E%3Cg%3E%3Cpath d='m25 31.640000000000004v-19.766666666666673l-10-3.511666666666663v19.766666666666666z m9.140000000000008-26.640000000000004q0.8599999999999923 0 0.8599999999999923 0.8600000000000003v25.156666666666666q0 0.625-0.625 0.783333333333335l-9.375 3.1999999999999993-10-3.5133333333333354-8.906666666666668 3.4383333333333326-0.2333333333333334 0.07833333333333314q-0.8616666666666664 0-0.8616666666666664-0.8599999999999994v-25.156666666666663q0-0.625 0.6233333333333331-0.7833333333333332l9.378333333333334-3.198333333333334 10 3.5133333333333336 8.905000000000001-3.4383333333333344z'%3E%3C/path%3E%3C/g%3E%3C/svg%3E");
40
- }
2
+ color: #333;
3
+ display: table;
4
+ }
5
+
6
+ .maplibregl-inspect_feature:not(:last-child) {
7
+ border-bottom: 1px solid #ccc;
8
+ }
9
+
10
+ .maplibregl-inspect_layer:before {
11
+ content: '#';
12
+ }
13
+
14
+ .maplibregl-inspect_layer {
15
+ display: block;
16
+ font-weight: bold;
17
+ }
18
+
19
+ .maplibregl-inspect_property {
20
+ display: table-row;
21
+ }
22
+
23
+ .maplibregl-inspect_property-value {
24
+ display: table-cell;
25
+ word-break: break-all;
26
+ }
27
+
28
+ .maplibregl-inspect_property-name {
29
+ display: table-cell;
30
+ padding-right: 10px;
31
+ word-break: break-all;
32
+ }
33
+
34
+ .maplibregl-ctrl-inspect {
35
+ background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='%23333333' preserveAspectRatio='xMidYMid meet' viewBox='-10 -10 60 60'%3E%3Cg%3E%3Cpath d='m15 21.6q0-2 1.5-3.5t3.5-1.5 3.5 1.5 1.5 3.5-1.5 3.6-3.5 1.4-3.5-1.4-1.5-3.6z m18.4 11.1l-6.4-6.5q1.4-2.1 1.4-4.6 0-3.4-2.5-5.8t-5.9-2.4-5.9 2.4-2.5 5.8 2.5 5.9 5.9 2.5q2.4 0 4.6-1.4l7.4 7.4q-0.9 0.6-2 0.6h-20q-1.3 0-2.3-0.9t-1.1-2.3l0.1-26.8q0-1.3 1-2.3t2.3-0.9h13.4l10 10v19.3z'%3E%3C/path%3E%3C/g%3E%3C/svg%3E");
36
+ }
37
+
38
+ .maplibregl-ctrl-map {
39
+ background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='%23333333' viewBox='-10 -10 60 60' preserveAspectRatio='xMidYMid meet'%3E%3Cg%3E%3Cpath d='m25 31.640000000000004v-19.766666666666673l-10-3.511666666666663v19.766666666666666z m9.140000000000008-26.640000000000004q0.8599999999999923 0 0.8599999999999923 0.8600000000000003v25.156666666666666q0 0.625-0.625 0.783333333333335l-9.375 3.1999999999999993-10-3.5133333333333354-8.906666666666668 3.4383333333333326-0.2333333333333334 0.07833333333333314q-0.8616666666666664 0-0.8616666666666664-0.8599999999999994v-25.156666666666663q0-0.625 0.6233333333333331-0.7833333333333332l9.378333333333334-3.198333333333334 10 3.5133333333333336 8.905000000000001-3.4383333333333344z'%3E%3C/path%3E%3C/g%3E%3C/svg%3E");
40
+ }