Skip to content
This repository has been archived by the owner on Feb 7, 2019. It is now read-only.

[Snyk] Fix for 1 vulnerable dependencies #2

Open
wants to merge 1 commit 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 .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.12.0
ignore: {}
# patches apply the minimum changes required to fix a vulnerability
patch:
'npm:tunnel-agent:20170305':
- node-sass-chokidar > node-sass > request > tunnel-agent:
patched: '2018-06-26T00:36:24.967Z'
10 changes: 7 additions & 3 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,8 @@
"react-slick": "^0.15.4",
"react-toastr": "^3.0.0",
"socket.io-client": "^2.0.4",
"toastr": "^2.1.2"
"toastr": "^2.1.2",
"snyk": "^1.85.0"
},
"scripts": {
"start-js": "react-scripts start",
Expand All @@ -26,6 +27,9 @@
"test": "react-scripts test --env=jsdom",
"eject": "react-scripts eject",
"build-css": "node-sass-chokidar src/ -o src/",
"watch-css": "npm run build-css && node-sass-chokidar src/ -o src/ --watch --recursive"
}
"watch-css": "npm run build-css && node-sass-chokidar src/ -o src/ --watch --recursive",
"snyk-protect": "snyk protect",
"prepare": "npm run snyk-protect"
},
"snyk": true
}