From e809f0031bbb093b036f9e474f9c4fd31d8dd362 Mon Sep 17 00:00:00 2001 From: snyk-bot Date: Wed, 6 May 2020 03:13:15 +0530 Subject: [PATCH 1/2] fix: examples/using-redirects/package.json & examples/using-redirects/.snyk to reduce vulnerabilities The following vulnerabilities are fixed with a Snyk patch: - https://snyk.io/vuln/SNYK-JS-LODASH-567746 --- examples/using-redirects/package.json | 10 +++++++--- 1 file changed, 7 insertions(+), 3 deletions(-) diff --git a/examples/using-redirects/package.json b/examples/using-redirects/package.json index d3212f6b017f0..62f11864047f5 100644 --- a/examples/using-redirects/package.json +++ b/examples/using-redirects/package.json @@ -8,7 +8,8 @@ "gatsby-plugin-react-helmet": "^3.0.0", "react": "^16.3.2", "react-dom": "^16.3.2", - "react-helmet": "^5.2.0" + "react-helmet": "^5.2.0", + "snyk": "^1.319.0" }, "keywords": [ "gatsby" @@ -18,6 +19,9 @@ "scripts": { "build": "gatsby build", "develop": "gatsby develop", - "start": "npm run develop" - } + "start": "npm run develop", + "snyk-protect": "snyk protect", + "prepublish": "npm run snyk-protect" + }, + "snyk": true } From a17544d1f6cb3635711be5998ba2fc6838303b04 Mon Sep 17 00:00:00 2001 From: snyk-bot Date: Wed, 6 May 2020 03:13:16 +0530 Subject: [PATCH 2/2] fix: examples/using-redirects/package.json & examples/using-redirects/.snyk to reduce vulnerabilities The following vulnerabilities are fixed with a Snyk patch: - https://snyk.io/vuln/SNYK-JS-LODASH-567746 --- examples/using-redirects/.snyk | 22 ++++++++++++++++++++++ 1 file changed, 22 insertions(+) create mode 100644 examples/using-redirects/.snyk diff --git a/examples/using-redirects/.snyk b/examples/using-redirects/.snyk new file mode 100644 index 0000000000000..9c4f098882261 --- /dev/null +++ b/examples/using-redirects/.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-05T21:43:07.463Z' + - gatsby > gatsby-plugin-typescript > @babel/core > @babel/helper-module-transforms > lodash: + patched: '2020-05-05T21:43:07.463Z' + - gatsby > gatsby-plugin-typescript > @babel/core > @babel/helpers > @babel/traverse > lodash: + patched: '2020-05-05T21:43:07.463Z' + - gatsby > gatsby-plugin-typescript > @babel/core > @babel/helper-module-transforms > @babel/helper-replace-supers > @babel/traverse > lodash: + patched: '2020-05-05T21:43:07.463Z' + - 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-05T21:43:07.463Z' + - 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-05T21:43:07.463Z' + - 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-05T21:43:07.463Z' + - 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-05T21:43:07.463Z'