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

[Snyk] Fix for 14 vulnerable dependencies #17

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
30 changes: 30 additions & 0 deletions examples/create-react-app/.snyk
Original file line number Diff line number Diff line change
@@ -0,0 +1,30 @@
# Snyk (https://snyk.io) policy file, patches or ignores known vulnerabilities.
version: v1.13.1
ignore: {}
# patches apply the minimum changes required to fix a vulnerability
patch:
'npm:hoek:20180212':
- react-scripts > webpack-dev-server > chokidar > fsevents > node-pre-gyp > hawk > sntp > hoek:
patched: '2018-12-05T04:39:06.092Z'
- react-scripts > fsevents > node-pre-gyp > hawk > hoek:
patched: '2018-12-05T04:39:06.092Z'
- react-scripts > fsevents > node-pre-gyp > hawk > boom > hoek:
patched: '2018-12-05T04:39:06.092Z'
- react-scripts > webpack-dev-server > chokidar > fsevents > node-pre-gyp > hawk > hoek:
patched: '2018-12-05T04:39:06.092Z'
- react-scripts > fsevents > node-pre-gyp > hawk > cryptiles > boom > hoek:
patched: '2018-12-05T04:39:06.092Z'
- react-scripts > webpack-dev-server > chokidar > fsevents > node-pre-gyp > hawk > boom > hoek:
patched: '2018-12-05T04:39:06.092Z'
- react-scripts > fsevents > node-pre-gyp > hawk > sntp > hoek:
patched: '2018-12-05T04:39:06.092Z'
- react-scripts > webpack > watchpack > chokidar > fsevents > node-pre-gyp > hawk > hoek:
patched: '2018-12-05T04:39:06.092Z'
- react-scripts > webpack > watchpack > chokidar > fsevents > node-pre-gyp > hawk > boom > hoek:
patched: '2018-12-05T04:39:06.092Z'
- react-scripts > webpack > watchpack > chokidar > fsevents > node-pre-gyp > hawk > sntp > hoek:
patched: '2018-12-05T04:39:06.092Z'
- react-scripts > webpack-dev-server > chokidar > fsevents > node-pre-gyp > hawk > cryptiles > boom > hoek:
patched: '2018-12-05T04:39:06.092Z'
- react-scripts > webpack > watchpack > chokidar > fsevents > node-pre-gyp > hawk > cryptiles > boom > hoek:
patched: '2018-12-05T04:39:06.092Z'
21 changes: 15 additions & 6 deletions examples/create-react-app/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -8,25 +8,34 @@
"prettier": "^1.12.1",
"react": "^16.3.2",
"react-dip": "^0.0.3-beta.8",
"react-dom": "^16.3.2",
"react-dom": "^16.3.3",
"react-router-dom": "^4.2.2",
"react-scripts": "^1.1.4",
"web-animations-js": "^2.3.1"
"react-scripts": "^1.1.5",
"web-animations-js": "^2.3.1",
"snyk": "^1.114.0"
},
"scripts": {
"start": "react-scripts start",
"build": "react-scripts build",
"test": "react-scripts test --env=jsdom",
"eject": "react-scripts eject",
"flow": "flow"
"flow": "flow",
"snyk-protect": "snyk protect",
"prepare": "npm run snyk-protect"
},
"browserslist": {
"development": [
"last 2 chrome versions",
"last 2 firefox versions",
"last 2 edge versions"
],
"production": [">1%", "last 4 versions", "Firefox ESR", "not ie < 11"]
"production": [
">1%",
"last 4 versions",
"Firefox ESR",
"not ie < 11"
]
},
"devDependencies": {}
"devDependencies": {},
"snyk": true
}