tileserver-gl-light 5.5.0-pre.1 → 5.5.0-pre.2

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.
Files changed (32) hide show
  1. package/CHANGELOG.md +4 -2
  2. package/package.json +9 -9
  3. package/public/resources/maplibre-gl-inspect.js +2823 -2770
  4. package/public/resources/maplibre-gl-inspect.js.map +1 -1
  5. package/public/resources/maplibre-gl.css +1 -1
  6. package/public/resources/maplibre-gl.js +4 -4
  7. package/public/resources/maplibre-gl.js.map +1 -1
  8. package/src/main.js +16 -17
  9. package/src/pmtiles_adapter.js +3 -3
  10. package/src/promises.js +1 -1
  11. package/src/render.js +270 -93
  12. package/src/serve_data.js +6 -8
  13. package/src/serve_light.js +0 -1
  14. package/src/serve_rendered.js +372 -205
  15. package/src/server.js +22 -27
  16. package/src/utils.js +17 -18
  17. package/test/fixtures/visual/encoded-path-auto.png +0 -0
  18. package/test/fixtures/visual/linecap-linejoin-bevel-square.png +0 -0
  19. package/test/fixtures/visual/linecap-linejoin-round-round.png +0 -0
  20. package/test/fixtures/visual/path-auto.png +0 -0
  21. package/test/fixtures/visual/static-bbox.png +0 -0
  22. package/test/fixtures/visual/static-bearing-pitch.png +0 -0
  23. package/test/fixtures/visual/static-bearing.png +0 -0
  24. package/test/fixtures/visual/static-border-global.png +0 -0
  25. package/test/fixtures/visual/static-lat-lng.png +0 -0
  26. package/test/fixtures/visual/static-markers.png +0 -0
  27. package/test/fixtures/visual/static-multiple-paths.png +0 -0
  28. package/test/fixtures/visual/static-path-border-isolated.png +0 -0
  29. package/test/fixtures/visual/static-path-border-stroke.png +0 -0
  30. package/test/fixtures/visual/static-path-latlng.png +0 -0
  31. package/test/fixtures/visual/static-pixel-ratio-2x.png +0 -0
  32. package/test/static_images.js +241 -0
package/CHANGELOG.md CHANGED
@@ -1,8 +1,10 @@
1
1
  # tileserver-gl changelog
2
2
 
3
- ## 5.5.0-pre.1
3
+ ## 5.5.0-pre.2
4
4
  * Add S3 support for PMTiles with multiple AWS credential profiles (https://github.com/maptiler/tileserver-gl/pull/1779) by @acalcutt
5
- * Create .aws directory passthrough folder in Dockerfile (https://github.com/maptiler/tileserver-gl/pull/1784)
5
+ * Create .aws directory passthrough folder in Dockerfile (https://github.com/maptiler/tileserver-gl/pull/1784) by @acalcutt
6
+ * Update eslint to v9 (https://github.com/maptiler/tileserver-gl/pull/1473) by @acalcutt
7
+ * Fix Renderer Crashes from Failed Fetches (https://github.com/maptiler/tileserver-gl/pull/1798) by @acalcutt
6
8
 
7
9
  ## 5.4.0
8
10
  * Fix the issue where the tile URL cannot be correctly parsed with the HTTPS protocol when using an nginx proxy service (https://github.com/maptiler/tileserver-gl/pull/1578) by @dakanggo
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "tileserver-gl-light",
3
- "version": "5.5.0-pre.1",
3
+ "version": "5.5.0-pre.2",
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",
@@ -24,28 +24,28 @@
24
24
  "copy:leaflet-hash": "copyfiles -EVf node_modules/leaflet-hash/leaflet-hash.js public/resources/",
25
25
  "test": "mocha test/**.js --timeout 10000 --exit",
26
26
  "test-docker": "xvfb-run npm test",
27
+ "test:visual:generate": "cross-env GENERATE_FIXTURES=true mocha test/setup.js test/static_images.js --timeout 10000 --exit",
27
28
  "lint:yml": "yamllint --schema=CORE_SCHEMA *.{yml,yaml}",
28
29
  "lint:js": "npm run lint:eslint && npm run lint:prettier",
29
30
  "lint:js:fix": "npm run lint:eslint:fix && npm run lint:prettier:fix",
30
- "lint:eslint": "eslint \"{,!(node_modules|dist|static|public)/**/}*.{js,ts,cjs,mjs}\" --ignore-path .gitignore",
31
- "lint:eslint:fix": "eslint --fix \"{,!(node_modules|dist|static|public)/**/}*.{js,ts,cjs,mjs}\" --ignore-path .gitignore",
31
+ "lint:eslint": "eslint \"{,!(node_modules|dist|static|public)/**/}*.{js,ts,cjs,mjs}\" --ignore-pattern '.gitignore'",
32
+ "lint:eslint:fix": "eslint --fix \"{,!(node_modules|dist|static|public)/**/}*.{js,ts,cjs,mjs}\" --ignore-pattern '.gitignore'",
32
33
  "lint:prettier": "prettier --check \"{,!(node_modules|dist|static|public)/**/}*.{js,ts,cjs,mjs,json}\" --ignore-path .gitignore",
33
34
  "lint:prettier:fix": "prettier --write \"{,!(node_modules|dist|static|public)/**/}*.{js,ts,cjs,mjs,json}\" --ignore-path .gitignore",
34
35
  "docker": "docker build . && docker run --rm -i -p 8080:8080 $(docker build -q .)"
35
36
  },
36
37
  "dependencies": {
37
- "@aws-sdk/client-s3": "^3.922.0",
38
+ "@aws-sdk/client-s3": "^3.927.0",
38
39
  "@jsse/pbfont": "^0.3.0",
39
40
  "@mapbox/mapbox-gl-rtl-text": "0.3.0",
40
41
  "@mapbox/mbtiles": "0.12.1",
41
42
  "@mapbox/polyline": "^1.2.1",
42
43
  "@mapbox/sphericalmercator": "2.0.2",
43
44
  "@mapbox/vector-tile": "2.0.4",
44
- "@maplibre/maplibre-gl-inspect": "1.7.1",
45
- "@maplibre/maplibre-gl-style-spec": "24.2.0",
45
+ "@maplibre/maplibre-gl-inspect": "1.8.0",
46
+ "@maplibre/maplibre-gl-style-spec": "24.3.1",
46
47
  "@sindresorhus/fnv1a": "3.1.0",
47
48
  "advanced-pool": "0.3.3",
48
- "axios": "^1.13.1",
49
49
  "chokidar": "4.0.3",
50
50
  "clone": "2.1.2",
51
51
  "color": "5.0.0",
@@ -57,13 +57,13 @@
57
57
  "http-shutdown": "1.2.2",
58
58
  "leaflet": "1.9.4",
59
59
  "leaflet-hash": "0.2.1",
60
- "maplibre-gl": "5.8.0",
60
+ "maplibre-gl": "5.11.0",
61
61
  "morgan": "1.10.1",
62
62
  "pbf": "4.0.1",
63
63
  "pmtiles": "4.3.0",
64
64
  "proj4": "2.19.10",
65
65
  "sanitize-filename": "1.6.3",
66
- "semver": "^7.7.2",
66
+ "semver": "^7.7.3",
67
67
  "tileserver-gl-styles": "2.0.0"
68
68
  },
69
69
  "keywords": [