From 9509516fb69f4bc1b836a0e6950305d823da8b00 Mon Sep 17 00:00:00 2001 From: snyk-bot Date: Wed, 6 May 2020 07:25:31 +0300 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 a0068cf2c60cf..3c6a2c60f4a65 100644 --- a/examples/using-redirects/package.json +++ b/examples/using-redirects/package.json @@ -7,12 +7,16 @@ "gatsby": "latest", "gatsby-link": "latest", "gatsby-plugin-react-helmet": "latest", - "react-helmet": "^5.2.0" + "react-helmet": "^5.2.0", + "snyk": "^1.319.0" }, "license": "MIT", "main": "n/a", "scripts": { "build": "gatsby build", - "develop": "gatsby develop" - } + "develop": "gatsby develop", + "snyk-protect": "snyk protect", + "prepublish": "npm run snyk-protect" + }, + "snyk": true } From 196032435b6116a29e215629ef4eac03b9e2a468 Mon Sep 17 00:00:00 2001 From: snyk-bot Date: Wed, 6 May 2020 07:25:32 +0300 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..0897594b23a3e --- /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-06T04:25:29.340Z' + - gatsby > gatsby-plugin-typescript > @babel/core > @babel/helper-module-transforms > lodash: + patched: '2020-05-06T04:25:29.340Z' + - gatsby > gatsby-plugin-typescript > @babel/core > @babel/helpers > @babel/traverse > lodash: + patched: '2020-05-06T04:25:29.340Z' + - gatsby > gatsby-plugin-typescript > @babel/core > @babel/helper-module-transforms > @babel/helper-replace-supers > @babel/traverse > lodash: + patched: '2020-05-06T04:25:29.340Z' + - 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:25:29.340Z' + - 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:25:29.340Z' + - 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:25:29.340Z' + - 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:25:29.340Z'