diff --git a/examples/with-asset-imports/.snyk b/examples/with-asset-imports/.snyk new file mode 100644 index 0000000000000..9bfa32cbda2ed --- /dev/null +++ b/examples/with-asset-imports/.snyk @@ -0,0 +1,28 @@ +# Snyk (https://snyk.io) policy file, patches or ignores known vulnerabilities. +version: v1.13.5 +ignore: {} +# patches apply the minimum changes required to fix a vulnerability +patch: + SNYK-JS-LODASH-450202: + - next > @babel/plugin-proposal-class-properties > @babel/helper-function-name > @babel/types > lodash: + patched: '2019-07-06T01:44:17.296Z' + - next > autodll-webpack-plugin > lodash: + patched: '2019-07-06T01:44:17.296Z' + - next > @babel/plugin-transform-modules-commonjs > @babel/helper-module-transforms > lodash: + patched: '2019-07-06T01:44:17.296Z' + - next > styled-jsx > babel-types > lodash: + patched: '2019-07-06T01:44:17.296Z' + - next > autodll-webpack-plugin > webpack-merge > lodash: + patched: '2019-07-06T01:44:17.296Z' + - next > @babel/core > lodash: + patched: '2019-07-06T01:44:17.296Z' + - next > @babel/preset-react > @babel/plugin-transform-react-jsx > @babel/helper-builder-react-jsx > @babel/types > lodash: + patched: '2019-07-06T01:44:17.296Z' + - next > @babel/preset-env > @babel/plugin-transform-object-super > @babel/helper-replace-supers > @babel/traverse > @babel/generator > lodash: + patched: '2019-07-06T01:44:17.296Z' + - next > @babel/plugin-proposal-class-properties > @babel/helper-replace-supers > @babel/traverse > @babel/helper-function-name > @babel/helper-get-function-arity > @babel/types > lodash: + patched: '2019-07-06T01:44:17.296Z' + - next > @babel/preset-env > @babel/plugin-transform-object-super > @babel/helper-replace-supers > @babel/traverse > @babel/helper-function-name > @babel/template > @babel/types > lodash: + patched: '2019-07-06T01:44:17.296Z' + - next > @babel/preset-env > @babel/plugin-proposal-async-generator-functions > @babel/helper-remap-async-to-generator > @babel/helper-wrap-function > @babel/traverse > @babel/helper-function-name > @babel/helper-get-function-arity > @babel/types > lodash: + patched: '2019-07-06T01:44:17.296Z' diff --git a/examples/with-asset-imports/package.json b/examples/with-asset-imports/package.json index 6509f49446cd3..80647f4887014 100644 --- a/examples/with-asset-imports/package.json +++ b/examples/with-asset-imports/package.json @@ -4,13 +4,17 @@ "scripts": { "dev": "next dev", "build": "next build", - "start": "next start" + "start": "next start", + "snyk-protect": "snyk protect", + "prepublish": "npm run snyk-protect" }, "dependencies": { "next": "latest", "next-images": "0.10.5", "react": "^16.0.0", - "react-dom": "^16.0.0" + "react-dom": "^16.0.0", + "snyk": "^1.192.3" }, - "license": "ISC" + "license": "ISC", + "snyk": true }