tileserver-gl-light 4.11.1 → 4.12.0

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.
@@ -60,7 +60,7 @@ jobs:
60
60
  uses: docker/setup-buildx-action@v3
61
61
 
62
62
  - name: Test Docker Build
63
- uses: docker/build-push-action@v5
63
+ uses: docker/build-push-action@v6
64
64
  with:
65
65
  context: .
66
66
  push: false
@@ -80,7 +80,7 @@ jobs:
80
80
  password: ${{ github.event.inputs.docker_token }}
81
81
 
82
82
  - name: Build and publish Full Version to Docker Hub
83
- uses: docker/build-push-action@v5
83
+ uses: docker/build-push-action@v6
84
84
  with:
85
85
  context: .
86
86
  push: true
@@ -106,7 +106,7 @@ jobs:
106
106
  NPM_TOKEN: ${{ github.event.inputs.npm_token }}
107
107
 
108
108
  - name: Build and publish Light Version to Docker Hub
109
- uses: docker/build-push-action@v5
109
+ uses: docker/build-push-action@v6
110
110
  with:
111
111
  context: ./light
112
112
  file: ./light/Dockerfile
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "tileserver-gl-light",
3
- "version": "4.11.1",
3
+ "version": "4.12.0",
4
4
  "description": "Map tile server for JSON GL styles - serving vector tiles",
5
5
  "main": "src/main.js",
6
6
  "bin": "src/main.js",
@@ -17,26 +17,26 @@
17
17
  "docker": "docker build . && docker run --rm -i -p 8080:8080 $(docker build -q .)"
18
18
  },
19
19
  "dependencies": {
20
- "@mapbox/glyph-pbf-composite": "0.0.3",
20
+ "@jsse/pbfont": "^0.1.2",
21
21
  "@mapbox/mbtiles": "0.12.1",
22
22
  "@mapbox/polyline": "^1.2.1",
23
23
  "@mapbox/sphericalmercator": "1.2.0",
24
24
  "@mapbox/vector-tile": "1.3.1",
25
- "@maplibre/maplibre-gl-style-spec": "20.2.0",
25
+ "@maplibre/maplibre-gl-style-spec": "20.3.0",
26
26
  "@sindresorhus/fnv1a": "3.1.0",
27
27
  "advanced-pool": "0.3.3",
28
- "axios": "^1.6.8",
28
+ "axios": "^1.7.2",
29
29
  "chokidar": "3.6.0",
30
30
  "clone": "2.1.2",
31
31
  "color": "4.2.3",
32
- "commander": "12.0.0",
32
+ "commander": "12.1.0",
33
33
  "cors": "2.8.5",
34
34
  "express": "4.19.2",
35
35
  "handlebars": "4.7.8",
36
36
  "http-shutdown": "1.2.2",
37
37
  "morgan": "1.10.0",
38
38
  "pbf": "3.2.1",
39
- "pmtiles": "3.0.5",
39
+ "pmtiles": "3.0.6",
40
40
  "proj4": "2.11.0",
41
41
  "sanitize-filename": "1.6.3",
42
42
  "tileserver-gl-styles": "2.0.0"
@@ -849,7 +849,7 @@
849
849
  length = result.length;
850
850
 
851
851
  for (var key in value) {
852
- if ((inherited || hasOwnProperty.call(value, key)) &&
852
+ if ((hasOwnProperty.call(value, key)) &&
853
853
  !(skipIndexes && (
854
854
  // Safari 9 has enumerable `arguments.length` in strict mode.
855
855
  key == 'length' ||
@@ -2055,9 +2055,10 @@
2055
2055
  }
2056
2056
  function renderProperties(feature) {
2057
2057
  const sourceProperty = renderLayer(feature.layer['source-layer'] || feature.layer.source);
2058
+ const idProperty = renderProperty('$id', feature.id);
2058
2059
  const typeProperty = renderProperty('$type', feature.geometry.type);
2059
2060
  const properties = Object.keys(feature.properties).map(propertyName => renderProperty(propertyName, feature.properties[propertyName]));
2060
- return [sourceProperty, typeProperty].concat(properties).join('');
2061
+ return [sourceProperty, idProperty, typeProperty].concat(properties).join('');
2061
2062
  }
2062
2063
  function renderFeatures(features) {
2063
2064
  return features.map(ft => `<div class="maplibregl-inspect_feature">${renderProperties(ft)}</div>`).join('');