diff --git a/.snyk b/.snyk new file mode 100644 index 0000000..e6cf46e --- /dev/null +++ b/.snyk @@ -0,0 +1,30 @@ +# 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:hoek:20180212': + - react-scripts > webpack-dev-server > chokidar > fsevents > node-pre-gyp > hawk > sntp > hoek: + patched: '2018-10-14T07:18:11.615Z' + - react-scripts > fsevents > node-pre-gyp > hawk > hoek: + patched: '2018-10-14T07:18:11.615Z' + - react-scripts > fsevents > node-pre-gyp > hawk > boom > hoek: + patched: '2018-10-14T07:18:11.615Z' + - react-scripts > webpack-dev-server > chokidar > fsevents > node-pre-gyp > hawk > hoek: + patched: '2018-10-14T07:18:11.615Z' + - react-scripts > fsevents > node-pre-gyp > hawk > cryptiles > boom > hoek: + patched: '2018-10-14T07:18:11.615Z' + - react-scripts > webpack-dev-server > chokidar > fsevents > node-pre-gyp > hawk > boom > hoek: + patched: '2018-10-14T07:18:11.615Z' + - react-scripts > fsevents > node-pre-gyp > hawk > sntp > hoek: + patched: '2018-10-14T07:18:11.615Z' + - react-scripts > webpack > watchpack > chokidar > fsevents > node-pre-gyp > hawk > hoek: + patched: '2018-10-14T07:18:11.615Z' + - react-scripts > webpack > watchpack > chokidar > fsevents > node-pre-gyp > hawk > boom > hoek: + patched: '2018-10-14T07:18:11.615Z' + - react-scripts > webpack > watchpack > chokidar > fsevents > node-pre-gyp > hawk > sntp > hoek: + patched: '2018-10-14T07:18:11.615Z' + - react-scripts > webpack-dev-server > chokidar > fsevents > node-pre-gyp > hawk > cryptiles > boom > hoek: + patched: '2018-10-14T07:18:11.615Z' + - react-scripts > webpack > watchpack > chokidar > fsevents > node-pre-gyp > hawk > cryptiles > boom > hoek: + patched: '2018-10-14T07:18:11.615Z' diff --git a/package.json b/package.json index 73e9655..61d4d7c 100644 --- a/package.json +++ b/package.json @@ -4,16 +4,20 @@ "private": true, "dependencies": { "react": "^16.3.1", - "react-dom": "^16.3.1", - "react-scripts": "1.1.4" + "react-dom": "^16.3.3", + "react-scripts": "1.1.4", + "snyk": "^1.103.4" }, "scripts": { "start": "react-scripts start", "build": "react-scripts build", "test": "react-scripts test --env=jsdom", - "eject": "react-scripts eject" + "eject": "react-scripts eject", + "snyk-protect": "snyk protect", + "prepare": "npm run snyk-protect" }, "devDependencies": { "webpack": "^4.8.1" - } + }, + "snyk": true }