From b279eb913bf5cccd05a7205b3f29131ab47f2918 Mon Sep 17 00:00:00 2001 From: snyk-bot Date: Wed, 6 May 2020 01:11:27 +0200 Subject: [PATCH 1/2] fix: examples/using-medium/package.json & examples/using-medium/.snyk to reduce vulnerabilities The following vulnerabilities are fixed with a Snyk patch: - https://snyk.io/vuln/SNYK-JS-LODASH-567746 --- examples/using-medium/package.json | 10 +++++++--- 1 file changed, 7 insertions(+), 3 deletions(-) diff --git a/examples/using-medium/package.json b/examples/using-medium/package.json index e283146a4dff9..35fe70d71ec27 100644 --- a/examples/using-medium/package.json +++ b/examples/using-medium/package.json @@ -9,13 +9,17 @@ "dependencies": { "gatsby": "latest", "gatsby-link": "latest", - "gatsby-source-medium": "^1.0.1" + "gatsby-source-medium": "^1.0.1", + "snyk": "^1.319.0" }, "keywords": [ "gatsby" ], "scripts": { "develop": "gatsby develop", - "build": "gatsby build" - } + "build": "gatsby build", + "snyk-protect": "snyk protect", + "prepublish": "npm run snyk-protect" + }, + "snyk": true } From 3bc24c8a3be0496d59ce7b12a96983c08b6c08e5 Mon Sep 17 00:00:00 2001 From: snyk-bot Date: Wed, 6 May 2020 01:11:28 +0200 Subject: [PATCH 2/2] fix: examples/using-medium/package.json & examples/using-medium/.snyk to reduce vulnerabilities The following vulnerabilities are fixed with a Snyk patch: - https://snyk.io/vuln/SNYK-JS-LODASH-567746 --- examples/using-medium/.snyk | 22 ++++++++++++++++++++++ 1 file changed, 22 insertions(+) create mode 100644 examples/using-medium/.snyk diff --git a/examples/using-medium/.snyk b/examples/using-medium/.snyk new file mode 100644 index 0000000000000..892d59b35ccd7 --- /dev/null +++ b/examples/using-medium/.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-05T23:11:24.967Z' + - gatsby > gatsby-plugin-typescript > @babel/core > @babel/helper-module-transforms > lodash: + patched: '2020-05-05T23:11:24.967Z' + - gatsby > gatsby-plugin-typescript > @babel/core > @babel/helpers > @babel/traverse > lodash: + patched: '2020-05-05T23:11:24.967Z' + - gatsby > gatsby-plugin-typescript > @babel/core > @babel/helper-module-transforms > @babel/helper-replace-supers > @babel/traverse > lodash: + patched: '2020-05-05T23:11:24.967Z' + - 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-05T23:11:24.967Z' + - 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-05T23:11:24.967Z' + - 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-05T23:11:24.967Z' + - 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-05T23:11:24.967Z'