Skip to content

Commit 1a5ef5b

Browse files
snyk-bottimoa
authored andcommitted
fix: package.json, package-lock.json & .snyk to reduce vulnerabilities
The following vulnerabilities are fixed with a Snyk patch: - https://snyk.io/vuln/SNYK-JS-LODASH-567746
1 parent 0a8fb95 commit 1a5ef5b

1 file changed

Lines changed: 7 additions & 3 deletions

File tree

package.json

Lines changed: 7 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,9 @@
1010
"test:coverage": "./node_modules/.bin/nyc npm test",
1111
"test:functional": "./node_modules/.bin/mocha --reporter spec ./test/functional",
1212
"test:all": "./node_modules/.bin/run-s test:functional test:coverage",
13-
"docker:status": "node src/healthcheck"
13+
"docker:status": "node src/healthcheck",
14+
"snyk-protect": "snyk protect",
15+
"prepare": "npm run snyk-protect"
1416
},
1517
"repository": {
1618
"type": "git",
@@ -42,7 +44,8 @@
4244
"lodash": "^4.17.13",
4345
"mongoose": "^5.7.5",
4446
"uuid": "^3.3.2",
45-
"winston": "^3.2.1"
47+
"winston": "^3.2.1",
48+
"snyk": "^1.316.1"
4649
},
4750
"engines": {
4851
"node": ">=8.0"
@@ -88,5 +91,6 @@
8891
"data/**/*"
8992
],
9093
"all": true
91-
}
94+
},
95+
"snyk": true
9296
}

0 commit comments

Comments
 (0)