Skip to content

Commit 9cd9a9d

Browse files
author
snyk-test
committed
fix: server side/.snyk & server side/package.json to reduce vulnerabilities
The following vulnerabilities are fixed with a Snyk patch: - https://snyk.io/vuln/SNYK-JS-LODASH-450202
1 parent 398b599 commit 9cd9a9d

File tree

2 files changed

+15
-3
lines changed

2 files changed

+15
-3
lines changed

server side/.snyk

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,8 @@
1+
# Snyk (https://snyk.io) policy file, patches or ignores known vulnerabilities.
2+
version: v1.13.5
3+
ignore: {}
4+
# patches apply the minimum changes required to fix a vulnerability
5+
patch:
6+
SNYK-JS-LODASH-450202:
7+
- mongoose > async > lodash:
8+
patched: '2019-07-04T00:42:37.001Z'

server side/package.json

Lines changed: 7 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,9 @@
44
"description": "",
55
"main": "server.js",
66
"scripts": {
7-
"test": "echo \"Error: no test specified\" && exit 1"
7+
"test": "echo \"Error: no test specified\" && exit 1",
8+
"snyk-protect": "snyk protect",
9+
"prepublish": "npm run snyk-protect"
810
},
911
"author": "vivek",
1012
"license": "ISC",
@@ -15,6 +17,8 @@
1517
"express": "^4.16.3",
1618
"mongoose": "^5.2.13",
1719
"passport": "^0.4.0",
18-
"passport-jwt": "^4.0.0"
19-
}
20+
"passport-jwt": "^4.0.0",
21+
"snyk": "^1.189.0"
22+
},
23+
"snyk": true
2024
}

0 commit comments

Comments
 (0)