From f94702e0a975d90da2a661af8af4b531c8cf2bfb Mon Sep 17 00:00:00 2001 From: snyk-bot Date: Wed, 6 May 2020 06:30:28 +0530 Subject: [PATCH 1/2] fix: examples/using-page-transitions/package.json & examples/using-page-transitions/.snyk to reduce vulnerabilities The following vulnerabilities are fixed with a Snyk patch: - https://snyk.io/vuln/SNYK-JS-LODASH-567746 --- examples/using-page-transitions/package.json | 10 +++++++--- 1 file changed, 7 insertions(+), 3 deletions(-) diff --git a/examples/using-page-transitions/package.json b/examples/using-page-transitions/package.json index 1422d0834fe49..f2a9e3e144ded 100644 --- a/examples/using-page-transitions/package.json +++ b/examples/using-page-transitions/package.json @@ -10,7 +10,8 @@ "react": "^16.4.1", "react-dom": "^16.4.1", "react-helmet": "^5.2.0", - "react-transition-group": "^2.4.0" + "react-transition-group": "^2.4.0", + "snyk": "^1.319.0" }, "keywords": [ "gatsby" @@ -22,6 +23,9 @@ "develop": "gatsby develop", "format": "prettier --trailing-comma es5 --no-semi --single-quote --write 'src/**/*.js'", "start": "npm run develop", - "test": "echo \"Error: no test specified\" && exit 1" - } + "test": "echo \"Error: no test specified\" && exit 1", + "snyk-protect": "snyk protect", + "prepublish": "npm run snyk-protect" + }, + "snyk": true } From 91c82c2e36e6790cac8d65fb147d11ffcdc34564 Mon Sep 17 00:00:00 2001 From: snyk-bot Date: Wed, 6 May 2020 06:30:30 +0530 Subject: [PATCH 2/2] fix: examples/using-page-transitions/package.json & examples/using-page-transitions/.snyk to reduce vulnerabilities The following vulnerabilities are fixed with a Snyk patch: - https://snyk.io/vuln/SNYK-JS-LODASH-567746 --- examples/using-page-transitions/.snyk | 22 ++++++++++++++++++++++ 1 file changed, 22 insertions(+) create mode 100644 examples/using-page-transitions/.snyk diff --git a/examples/using-page-transitions/.snyk b/examples/using-page-transitions/.snyk new file mode 100644 index 0000000000000..b61093417caa2 --- /dev/null +++ b/examples/using-page-transitions/.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-06T01:00:26.346Z' + - gatsby > gatsby-plugin-typescript > @babel/core > @babel/helper-module-transforms > lodash: + patched: '2020-05-06T01:00:26.346Z' + - gatsby > gatsby-plugin-typescript > @babel/core > @babel/helpers > @babel/traverse > lodash: + patched: '2020-05-06T01:00:26.346Z' + - gatsby > gatsby-plugin-typescript > @babel/core > @babel/helper-module-transforms > @babel/helper-replace-supers > @babel/traverse > lodash: + patched: '2020-05-06T01:00:26.346Z' + - 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-06T01:00:26.346Z' + - 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-06T01:00:26.346Z' + - 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-06T01:00:26.346Z' + - 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-06T01:00:26.346Z'