From ec0ff6415a887a4ad6df4abf3a01b887b2073f8a Mon Sep 17 00:00:00 2001 From: snyk-bot Date: Wed, 6 May 2020 05:47:54 +0200 Subject: [PATCH 1/2] fix: examples/feed/package.json & examples/feed/.snyk to reduce vulnerabilities The following vulnerabilities are fixed with a Snyk patch: - https://snyk.io/vuln/SNYK-JS-LODASH-567746 --- examples/feed/package.json | 14 ++++++++++---- 1 file changed, 10 insertions(+), 4 deletions(-) diff --git a/examples/feed/package.json b/examples/feed/package.json index ea2a51b728b58..35055797cbd7f 100644 --- a/examples/feed/package.json +++ b/examples/feed/package.json @@ -8,13 +8,19 @@ "gatsby": "latest", "gatsby-source-filesystem": "latest", "gatsby-transformer-remark": "latest", - "gatsby-plugin-feed": "latest" + "gatsby-plugin-feed": "latest", + "snyk": "^1.319.0" }, - "keywords": ["gatsby"], + "keywords": [ + "gatsby" + ], "license": "MIT", "main": "index.js", "scripts": { "develop": "gatsby develop", - "build": "gatsby build" - } + "build": "gatsby build", + "snyk-protect": "snyk protect", + "prepublish": "npm run snyk-protect" + }, + "snyk": true } From 5a12b0884cdf3361fcd7768d9569ca34310c95c4 Mon Sep 17 00:00:00 2001 From: snyk-bot Date: Wed, 6 May 2020 05:47:55 +0200 Subject: [PATCH 2/2] fix: examples/feed/package.json & examples/feed/.snyk to reduce vulnerabilities The following vulnerabilities are fixed with a Snyk patch: - https://snyk.io/vuln/SNYK-JS-LODASH-567746 --- examples/feed/.snyk | 22 ++++++++++++++++++++++ 1 file changed, 22 insertions(+) create mode 100644 examples/feed/.snyk diff --git a/examples/feed/.snyk b/examples/feed/.snyk new file mode 100644 index 0000000000000..7f68436b7145b --- /dev/null +++ b/examples/feed/.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-06T03:47:52.015Z' + - gatsby > gatsby-plugin-typescript > @babel/core > @babel/helper-module-transforms > lodash: + patched: '2020-05-06T03:47:52.015Z' + - gatsby > gatsby-plugin-typescript > @babel/core > @babel/helpers > @babel/traverse > lodash: + patched: '2020-05-06T03:47:52.015Z' + - gatsby > gatsby-plugin-typescript > @babel/core > @babel/helper-module-transforms > @babel/helper-replace-supers > @babel/traverse > lodash: + patched: '2020-05-06T03:47:52.015Z' + - 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-06T03:47:52.015Z' + - 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-06T03:47:52.015Z' + - 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-06T03:47:52.015Z' + - 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-06T03:47:52.015Z'