diff --git a/examples/using-multiple-providers/.snyk b/examples/using-multiple-providers/.snyk new file mode 100644 index 0000000000000..244212c5c6b42 --- /dev/null +++ b/examples/using-multiple-providers/.snyk @@ -0,0 +1,22 @@ +# Snyk (https://snyk.io) policy file, patches or ignores known vulnerabilities. +version: v1.14.1 +ignore: {} +# patches apply the minimum changes required to fix a vulnerability +patch: + SNYK-JS-LODASH-567746: + - gatsby > gatsby-plugin-typescript > @babel/core > lodash: + patched: '2020-05-06T07:13:44.685Z' + - gatsby > gatsby-plugin-typescript > @babel/core > @babel/helper-module-transforms > lodash: + patched: '2020-05-06T07:13:44.685Z' + - gatsby > gatsby-plugin-typescript > @babel/core > @babel/helpers > @babel/traverse > lodash: + patched: '2020-05-06T07:13:44.685Z' + - gatsby > gatsby-plugin-typescript > @babel/core > @babel/helper-module-transforms > @babel/helper-replace-supers > @babel/traverse > lodash: + patched: '2020-05-06T07:13:44.685Z' + - gatsby > gatsby-plugin-typescript > @babel/preset-typescript > @babel/plugin-transform-typescript > @babel/helper-create-class-features-plugin > @babel/helper-replace-supers > @babel/traverse > lodash: + patched: '2020-05-06T07:13:44.685Z' + - gatsby > gatsby-plugin-typescript > @babel/preset-typescript > @babel/plugin-transform-typescript > @babel/helper-create-class-features-plugin > @babel/helper-replace-supers > @babel/traverse > @babel/generator > lodash: + patched: '2020-05-06T07:13:44.685Z' + - gatsby > gatsby-plugin-typescript > @babel/preset-typescript > @babel/plugin-transform-typescript > @babel/helper-create-class-features-plugin > @babel/helper-replace-supers > @babel/traverse > @babel/helper-split-export-declaration > @babel/types > lodash: + patched: '2020-05-06T07:13:44.685Z' + - gatsby > gatsby-plugin-typescript > @babel/preset-typescript > @babel/plugin-transform-typescript > @babel/helper-create-class-features-plugin > @babel/helper-replace-supers > @babel/traverse > @babel/helper-function-name > @babel/template > @babel/types > lodash: + patched: '2020-05-06T07:13:44.685Z' diff --git a/examples/using-multiple-providers/package.json b/examples/using-multiple-providers/package.json index 95be48bf18a66..a5253fcf47f7b 100644 --- a/examples/using-multiple-providers/package.json +++ b/examples/using-multiple-providers/package.json @@ -17,7 +17,8 @@ "react-jss": "^8.6.1", "react-redux": "^5.0.7", "redux": "^4.0.0", - "styled-components": "^3.4.2" + "styled-components": "^3.4.2", + "snyk": "^1.319.0" }, "keywords": [ "gatsby" @@ -27,6 +28,9 @@ "scripts": { "develop": "gatsby develop", "build": "gatsby build", - "serve": "gatsby serve" - } + "serve": "gatsby serve", + "snyk-protect": "snyk protect", + "prepublish": "npm run snyk-protect" + }, + "snyk": true } \ No newline at end of file