Skip to content

Commit 84925d3

Browse files
committed
Fix/error after vulnerabilities (#144)
* Revert "Merge pull request #139 from HSLdevcom/revert-138-fix/vulnerabilities" This reverts commit f96fb14, reversing changes made to 3f5c9cb. * try to change address for new noide version fix rest of vulnerabilities
1 parent 352fa4d commit 84925d3

4 files changed

Lines changed: 524 additions & 327 deletions

File tree

Dockerfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
FROM node:16-bullseye-slim
1+
FROM node:18-bullseye-slim
22

33
ENV WORK=/opt/hsl-map-server
44
ENV DATA_DIR=${WORK}/data

config.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@ const hslMapStyle = require("hsl-map-style");
22

33
const { DATA_DIR } = require("./constants");
44

5-
const sourcesUrl = "http://localhost:8080/";
5+
const sourcesUrl = "http://127.0.0.1:8080/";
66

77
const rasterHeaders = { "headers": { "Cache-Control": "public,max-age=604800" } };
88
const vectorHeaders = { "headers": { "Cache-Control": "public,max-age=43200" } };

package.json

Lines changed: 21 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "hsl-map-server",
3-
"version": "1.0.1",
3+
"version": "1.0.2",
44
"description": "HSL map server",
55
"main": "config.js",
66
"scripts": {
@@ -21,16 +21,34 @@
2121
"@turf/centroid": "^6.5.0",
2222
"forever": "^4.0.3",
2323
"hsl-map-style": "hsldevcom/hsl-map-style#master",
24-
"lodash": "^4.17.21",
24+
"lodash": "^4.18.1",
2525
"request": "^2.88.2",
2626
"requestretry": "^7.1.0",
2727
"tessera": "hsldevcom/tessera",
2828
"tilelive-geojson": "hsldevcom/tilelive-geojson",
2929
"tilelive-gl": "hsldevcom/tilelive-gl"
3030
},
3131
"devDependencies": {
32-
"eslint": "^8.33.0",
32+
"eslint": "^8.57.1",
3333
"eslint-config-airbnb-base": "^15.0.0",
3434
"eslint-plugin-import": "^2.27.5"
35+
},
36+
"resolutions": {
37+
"minimist": "^1.2.8",
38+
"form-data": "^4.0.5",
39+
"cross-spawn": "^7.0.6",
40+
"minimatch": "^9.0.5",
41+
"tar": "^7.5.11",
42+
"tar-fs": "^2.1.4",
43+
"semver": "^7.7.4",
44+
"body-parser": "^1.20.3",
45+
"path-to-regexp": ">=0.1.13",
46+
"flatted": "^3.4.2",
47+
"nconf": "^0.13.0",
48+
"braces": "^3.0.3",
49+
"sharp": "^0.32.6",
50+
"socks": "^2.8.7",
51+
"lodash": "^4.18.1",
52+
"handlebars": "^4.7.9"
3553
}
3654
}

0 commit comments

Comments
 (0)