From 18e7eb56b105017c6de89052746c0047f2d58977 Mon Sep 17 00:00:00 2001 From: snyk-bot Date: Wed, 6 May 2020 08:39:05 +0200 Subject: [PATCH 1/2] fix: examples/using-sass/package.json & examples/using-sass/.snyk to reduce vulnerabilities The following vulnerabilities are fixed with a Snyk patch: - https://snyk.io/vuln/SNYK-JS-LODASH-567746 --- examples/using-sass/package.json | 10 +++++++--- 1 file changed, 7 insertions(+), 3 deletions(-) diff --git a/examples/using-sass/package.json b/examples/using-sass/package.json index 233a00cfdbe01..c760d6ecb87c2 100644 --- a/examples/using-sass/package.json +++ b/examples/using-sass/package.json @@ -5,7 +5,9 @@ "main": "index.js", "scripts": { "develop": "gatsby develop", - "build": "gatsby build" + "build": "gatsby build", + "snyk-protect": "snyk protect", + "prepublish": "npm run snyk-protect" }, "author": "Daniel Farrell ", "license": "MIT", @@ -17,6 +19,8 @@ "gatsby-plugin-sass": "latest", "react-typography": "^0.15.10", "tachyons-sass": "^4.7.1", - "typography": "^0.15.10" - } + "typography": "^0.15.10", + "snyk": "^1.319.0" + }, + "snyk": true } From c3cdafb75bc4488a749a45d67d58553d72b22def Mon Sep 17 00:00:00 2001 From: snyk-bot Date: Wed, 6 May 2020 08:39:06 +0200 Subject: [PATCH 2/2] fix: examples/using-sass/package.json & examples/using-sass/.snyk to reduce vulnerabilities The following vulnerabilities are fixed with a Snyk patch: - https://snyk.io/vuln/SNYK-JS-LODASH-567746 --- examples/using-sass/.snyk | 22 ++++++++++++++++++++++ 1 file changed, 22 insertions(+) create mode 100644 examples/using-sass/.snyk diff --git a/examples/using-sass/.snyk b/examples/using-sass/.snyk new file mode 100644 index 0000000000000..c515bc9839152 --- /dev/null +++ b/examples/using-sass/.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-06T06:39:03.451Z' + - gatsby > gatsby-plugin-typescript > @babel/core > @babel/helper-module-transforms > lodash: + patched: '2020-05-06T06:39:03.451Z' + - gatsby > gatsby-plugin-typescript > @babel/core > @babel/helpers > @babel/traverse > lodash: + patched: '2020-05-06T06:39:03.451Z' + - gatsby > gatsby-plugin-typescript > @babel/core > @babel/helper-module-transforms > @babel/helper-replace-supers > @babel/traverse > lodash: + patched: '2020-05-06T06:39:03.451Z' + - 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-06T06:39:03.451Z' + - 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-06T06:39:03.451Z' + - 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-06T06:39:03.451Z' + - 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-06T06:39:03.451Z'