Skip to content
This repository has been archived by the owner on Aug 4, 2020. It is now read-only.

[Snyk] Fix for 1 vulnerabilities #143

Open
wants to merge 2 commits into
base: master
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 8 additions & 0 deletions packages/backend/.snyk
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
# Snyk (https://snyk.io) policy file, patches or ignores known vulnerabilities.
version: v1.14.1
ignore: {}
# patches apply the minimum changes required to fix a vulnerability
patch:
SNYK-JS-LODASH-567746:
- winston > async > lodash:
patched: '2020-05-01T04:32:28.351Z'
10 changes: 7 additions & 3 deletions packages/backend/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,9 @@
"lint": "tslint -p . --fix",
"start": "tsc && cross-env SESSION_SECRET=secret PORT=3000 NODE_ENV=development node dist/main.js",
"test": "jest --logHeapUsage --coverage --maxWorkers=4 --forceExit",
"test:watch": "jest --watch --maxWorkers=2"
"test:watch": "jest --watch --maxWorkers=2",
"snyk-protect": "snyk protect",
"prepublish": "npm run snyk-protect"
},
"dependencies": {
"@masterthesis/shared": "1.0.0",
Expand Down Expand Up @@ -38,7 +40,8 @@
"promises-all": "^1.0.0",
"raven": "^2.6.4",
"uuid": "^3.2.1",
"winston": "^3.0.0"
"winston": "^3.0.0",
"snyk": "^1.316.1"
},
"devDependencies": {
"@types/bcrypt": "^3.0.0",
Expand Down Expand Up @@ -96,5 +99,6 @@
"nohoist": [
"**"
]
}
},
"snyk": true
}