Update 'maplibre-gl-js' to v4.5.0. Update 'maplibre-gl-inspect' to v1.7.0. Update package. (#1300)

* Update package-lock.json

run npm audit fix

* chore: Update maplibre-gl-js to v4.5.0

* chore: Update maplibre-gl-inspect to v1.7.0

* Update package-lock.json

run npm audit fix

* chore: put back old docs url which now works

* chore: Update version
This commit is contained in:
Andrew Calcutt 2024-07-04 12:13:00 -04:00 committed by GitHub
parent a72f74d3a7
commit 416d78356e
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
8 changed files with 43 additions and 23 deletions

View File

@ -80,7 +80,7 @@ xvfb-run --server-args="-screen 0 1024x768x24" node .
## Documentation
You can read the full documentation of this project at https://maptiler-tileserver.readthedocs.io/.
You can read the full documentation of this project at https://tileserver.readthedocs.io/en/latest/.
## Alternative

43
package-lock.json generated
View File

@ -1,12 +1,12 @@
{
"name": "tileserver-gl",
"version": "4.11.1",
"version": "4.12.0",
"lockfileVersion": 3,
"requires": true,
"packages": {
"": {
"name": "tileserver-gl",
"version": "4.11.1",
"version": "4.12.0",
"license": "BSD-2-Clause",
"dependencies": {
"@jsse/pbfont": "^0.1.2",
@ -4493,11 +4493,18 @@
"node": ">= 0.4"
}
},
"node_modules/ip": {
"version": "2.0.1",
"resolved": "https://registry.npmjs.org/ip/-/ip-2.0.1.tgz",
"integrity": "sha512-lJUL9imLTNi1ZfXT+DU6rBBdbiKGBuay9B6xGSPVjUeQwaH1RIGqef8RZkUtHioLmSNpPR5M4HVKJGm1j8FWVQ==",
"optional": true
"node_modules/ip-address": {
"version": "9.0.5",
"resolved": "https://registry.npmjs.org/ip-address/-/ip-address-9.0.5.tgz",
"integrity": "sha512-zHtQzGojZXTwZTHQqra+ETKd4Sn3vgi7uBmlPoXVWZqYvuKmtI0l/VZTjqGmJY9x88GGOaZ9+G9ES8hC4T4X8g==",
"optional": true,
"dependencies": {
"jsbn": "1.1.0",
"sprintf-js": "^1.1.3"
},
"engines": {
"node": ">= 12"
}
},
"node_modules/ipaddr.js": {
"version": "1.9.1",
@ -4868,6 +4875,12 @@
"js-yaml": "bin/js-yaml.js"
}
},
"node_modules/jsbn": {
"version": "1.1.0",
"resolved": "https://registry.npmjs.org/jsbn/-/jsbn-1.1.0.tgz",
"integrity": "sha512-4bYVV3aAMtDTTu4+xsDYa6sy9GyJ69/amsu9sYF2zqjiEoZA5xJi3BrfX3uY+/IekIu7MwdObdbDWpoZdBv3/A==",
"optional": true
},
"node_modules/jsdoc-type-pratt-parser": {
"version": "4.0.0",
"resolved": "https://registry.npmjs.org/jsdoc-type-pratt-parser/-/jsdoc-type-pratt-parser-4.0.0.tgz",
@ -7578,16 +7591,16 @@
}
},
"node_modules/socks": {
"version": "2.7.1",
"resolved": "https://registry.npmjs.org/socks/-/socks-2.7.1.tgz",
"integrity": "sha512-7maUZy1N7uo6+WVEX6psASxtNlKaNVMlGQKkG/63nEDdLOWNbiUMoLK7X4uYoLhQstau72mLgfEWcXcwsaHbYQ==",
"version": "2.8.3",
"resolved": "https://registry.npmjs.org/socks/-/socks-2.8.3.tgz",
"integrity": "sha512-l5x7VUUWbjVFbafGLxPWkYsHIhEvmF85tbIeFZWc8ZPtoMyybuEhL7Jye/ooC4/d48FgOjSJXgsF/AJPYCW8Zw==",
"optional": true,
"dependencies": {
"ip": "^2.0.0",
"ip-address": "^9.0.5",
"smart-buffer": "^4.2.0"
},
"engines": {
"node": ">= 10.13.0",
"node": ">= 10.0.0",
"npm": ">= 3.0.0"
}
},
@ -7727,6 +7740,12 @@
"node": ">= 10.x"
}
},
"node_modules/sprintf-js": {
"version": "1.1.3",
"resolved": "https://registry.npmjs.org/sprintf-js/-/sprintf-js-1.1.3.tgz",
"integrity": "sha512-Oo+0REFV59/rz3gfJNKQiBlwfHaSESl1pcGyABQsnnIfWOFt6JNj5gCog2U6MLZ//IGYD+nA8nI+mTShREReaA==",
"optional": true
},
"node_modules/sqlite3": {
"version": "5.1.5",
"resolved": "https://registry.npmjs.org/sqlite3/-/sqlite3-5.1.5.tgz",

View File

@ -1,6 +1,6 @@
{
"name": "tileserver-gl",
"version": "4.11.1",
"version": "4.12.0",
"description": "Map tile server for JSON GL styles - vector and server side generated raster tiles",
"main": "src/main.js",
"bin": "src/main.js",

View File

@ -849,7 +849,7 @@
length = result.length;
for (var key in value) {
if ((inherited || hasOwnProperty.call(value, key)) &&
if ((hasOwnProperty.call(value, key)) &&
!(skipIndexes && (
// Safari 9 has enumerable `arguments.length` in strict mode.
key == 'length' ||
@ -2055,9 +2055,10 @@
}
function renderProperties(feature) {
const sourceProperty = renderLayer(feature.layer['source-layer'] || feature.layer.source);
const idProperty = renderProperty('$id', feature.id);
const typeProperty = renderProperty('$type', feature.geometry.type);
const properties = Object.keys(feature.properties).map(propertyName => renderProperty(propertyName, feature.properties[propertyName]));
return [sourceProperty, typeProperty].concat(properties).join('');
return [sourceProperty, idProperty, typeProperty].concat(properties).join('');
}
function renderFeatures(features) {
return features.map(ft => `<div class="maplibregl-inspect_feature">${renderProperties(ft)}</div>`).join('');

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long