From 4347a0b66eb6b703e0d5843b9a7d56cee4b17fb9 Mon Sep 17 00:00:00 2001 From: snyk-bot Date: Wed, 6 May 2020 06:14:16 +0200 Subject: [PATCH 1/2] fix: examples/using-styled-jsx/package.json & examples/using-styled-jsx/.snyk to reduce vulnerabilities The following vulnerabilities are fixed with a Snyk patch: - https://snyk.io/vuln/SNYK-JS-LODASH-567746 --- examples/using-styled-jsx/package.json | 10 +++++++--- 1 file changed, 7 insertions(+), 3 deletions(-) diff --git a/examples/using-styled-jsx/package.json b/examples/using-styled-jsx/package.json index 1380628f02fc0..ffe6b84d66c8d 100644 --- a/examples/using-styled-jsx/package.json +++ b/examples/using-styled-jsx/package.json @@ -6,12 +6,16 @@ "dependencies": { "gatsby": "latest", "gatsby-link": "latest", - "gatsby-plugin-styled-jsx": "^1.0.7" + "gatsby-plugin-styled-jsx": "^1.0.7", + "snyk": "^1.319.0" }, "license": "MIT", "main": "n/a", "scripts": { "develop": "gatsby develop", - "build": "gatsby build" - } + "build": "gatsby build", + "snyk-protect": "snyk protect", + "prepublish": "npm run snyk-protect" + }, + "snyk": true } From 0e7a28c3383bd371db30f285e0d6baf70b9104fe Mon Sep 17 00:00:00 2001 From: snyk-bot Date: Wed, 6 May 2020 06:14:17 +0200 Subject: [PATCH 2/2] fix: examples/using-styled-jsx/package.json & examples/using-styled-jsx/.snyk to reduce vulnerabilities The following vulnerabilities are fixed with a Snyk patch: - https://snyk.io/vuln/SNYK-JS-LODASH-567746 --- examples/using-styled-jsx/.snyk | 22 ++++++++++++++++++++++ 1 file changed, 22 insertions(+) create mode 100644 examples/using-styled-jsx/.snyk diff --git a/examples/using-styled-jsx/.snyk b/examples/using-styled-jsx/.snyk new file mode 100644 index 0000000000000..7f118a0472c29 --- /dev/null +++ b/examples/using-styled-jsx/.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-06T04:14:14.479Z' + - gatsby > gatsby-plugin-typescript > @babel/core > @babel/helper-module-transforms > lodash: + patched: '2020-05-06T04:14:14.479Z' + - gatsby > gatsby-plugin-typescript > @babel/core > @babel/helpers > @babel/traverse > lodash: + patched: '2020-05-06T04:14:14.479Z' + - gatsby > gatsby-plugin-typescript > @babel/core > @babel/helper-module-transforms > @babel/helper-replace-supers > @babel/traverse > lodash: + patched: '2020-05-06T04:14:14.479Z' + - 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-06T04:14:14.479Z' + - 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-06T04:14:14.479Z' + - 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-06T04:14:14.479Z' + - 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-06T04:14:14.479Z'