diff --git a/examples/next/.snyk b/examples/next/.snyk new file mode 100644 index 0000000..5bd28c3 --- /dev/null +++ b/examples/next/.snyk @@ -0,0 +1,14 @@ +# 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': + - next > webpack > watchpack > chokidar > fsevents > node-pre-gyp > hawk > hoek: + patched: '2018-12-04T22:13:23.246Z' + - next > webpack > watchpack > chokidar > fsevents > node-pre-gyp > hawk > boom > hoek: + patched: '2018-12-04T22:13:23.246Z' + - next > webpack > watchpack > chokidar > fsevents > node-pre-gyp > hawk > sntp > hoek: + patched: '2018-12-04T22:13:23.246Z' + - next > webpack > watchpack > chokidar > fsevents > node-pre-gyp > hawk > cryptiles > boom > hoek: + patched: '2018-12-04T22:13:23.246Z' diff --git a/examples/next/package.json b/examples/next/package.json index 202e758..c73f25a 100644 --- a/examples/next/package.json +++ b/examples/next/package.json @@ -8,11 +8,15 @@ "next": "^5.1.0", "react": "^16.3.2", "react-dip": "^0.0.3-beta.9", - "react-dom": "^16.3.2" + "react-dom": "^16.3.3", + "snyk": "^1.114.0" }, "scripts": { "dev": "next", "build": "next build", - "start": "next start" - } + "start": "next start", + "snyk-protect": "snyk protect", + "prepare": "npm run snyk-protect" + }, + "snyk": true }