diff --git a/examples/svg-components/.snyk b/examples/svg-components/.snyk new file mode 100644 index 0000000000000..a0fab2b422515 --- /dev/null +++ b/examples/svg-components/.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-05T01:51:53.644Z' + - next > autodll-webpack-plugin > lodash: + patched: '2019-07-05T01:51:53.644Z' + - next > @babel/plugin-transform-modules-commonjs > @babel/helper-module-transforms > lodash: + patched: '2019-07-05T01:51:53.644Z' + - next > styled-jsx > babel-types > lodash: + patched: '2019-07-05T01:51:53.644Z' + - next > autodll-webpack-plugin > webpack-merge > lodash: + patched: '2019-07-05T01:51:53.644Z' + - next > @babel/core > lodash: + patched: '2019-07-05T01:51:53.644Z' + - next > @babel/preset-react > @babel/plugin-transform-react-jsx > @babel/helper-builder-react-jsx > @babel/types > lodash: + patched: '2019-07-05T01:51:53.644Z' + - next > @babel/preset-env > @babel/plugin-transform-object-super > @babel/helper-replace-supers > @babel/traverse > @babel/generator > lodash: + patched: '2019-07-05T01:51:53.644Z' + - 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-05T01:51:53.644Z' + - 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-05T01:51:53.644Z' + - 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-05T01:51:53.644Z' diff --git a/examples/svg-components/package.json b/examples/svg-components/package.json index 46e131f116150..fc47695fb4fc0 100644 --- a/examples/svg-components/package.json +++ b/examples/svg-components/package.json @@ -4,14 +4,18 @@ "scripts": { "dev": "next", "build": "next build", - "start": "next start" + "start": "next start", + "snyk-protect": "snyk protect", + "prepublish": "npm run snyk-protect" }, "dependencies": { "next": "latest", "react": "latest", - "react-dom": "latest" + "react-dom": "latest", + "snyk": "^1.192.0" }, "devDependencies": { "babel-plugin-inline-react-svg": "^0.2.0" - } + }, + "snyk": true }