diff --git a/examples/using-styled-components/.snyk b/examples/using-styled-components/.snyk new file mode 100644 index 0000000000000..987ad064423b4 --- /dev/null +++ b/examples/using-styled-components/.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-06T03:53:31.477Z' + - gatsby > gatsby-plugin-typescript > @babel/core > @babel/helper-module-transforms > lodash: + patched: '2020-05-06T03:53:31.477Z' + - gatsby > gatsby-plugin-typescript > @babel/core > @babel/helpers > @babel/traverse > lodash: + patched: '2020-05-06T03:53:31.477Z' + - gatsby > gatsby-plugin-typescript > @babel/core > @babel/helper-module-transforms > @babel/helper-replace-supers > @babel/traverse > lodash: + patched: '2020-05-06T03:53:31.477Z' + - 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-06T03:53:31.477Z' + - 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-06T03:53:31.477Z' + - 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-06T03:53:31.477Z' + - 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-06T03:53:31.477Z' diff --git a/examples/using-styled-components/package.json b/examples/using-styled-components/package.json index cf534a3ba6b3b..b460a9451963f 100644 --- a/examples/using-styled-components/package.json +++ b/examples/using-styled-components/package.json @@ -20,7 +20,8 @@ "slash": "^1.0.0", "styled-components": "^4.0.2", "typography": "^0.16.17", - "typography-breakpoint-constants": "^0.15.10" + "typography-breakpoint-constants": "^0.15.10", + "snyk": "^1.319.0" }, "keywords": [ "gatsby" @@ -30,6 +31,9 @@ "scripts": { "develop": "gatsby develop", "build": "gatsby build", - "start": "npm run develop" - } + "start": "npm run develop", + "snyk-protect": "snyk protect", + "prepublish": "npm run snyk-protect" + }, + "snyk": true }