From e1a873f8b15cc823b32c494afb383b4cfb490f44 Mon Sep 17 00:00:00 2001 From: snyk-bot Date: Wed, 6 May 2020 11:21:09 +0300 Subject: [PATCH 1/2] fix: examples/no-plugins/package.json & examples/no-plugins/.snyk to reduce vulnerabilities The following vulnerabilities are fixed with a Snyk patch: - https://snyk.io/vuln/SNYK-JS-LODASH-567746 --- examples/no-plugins/package.json | 14 ++++++++++---- 1 file changed, 10 insertions(+), 4 deletions(-) diff --git a/examples/no-plugins/package.json b/examples/no-plugins/package.json index d45b6f556e81c..3074a4cd11e8e 100644 --- a/examples/no-plugins/package.json +++ b/examples/no-plugins/package.json @@ -8,13 +8,19 @@ "gatsby": "latest", "gatsby-link": "latest", "lodash": "^4.16.4", - "slash": "^1.0.0" + "slash": "^1.0.0", + "snyk": "^1.319.0" }, - "keywords": ["gatsby"], + "keywords": [ + "gatsby" + ], "license": "MIT", "main": "n/a", "scripts": { "develop": "gatsby develop", - "build": "gatsby build" - } + "build": "gatsby build", + "snyk-protect": "snyk protect", + "prepublish": "npm run snyk-protect" + }, + "snyk": true } From 95836d9dacb492275e44164d0fce79cd56a4f948 Mon Sep 17 00:00:00 2001 From: snyk-bot Date: Wed, 6 May 2020 11:21:10 +0300 Subject: [PATCH 2/2] fix: examples/no-plugins/package.json & examples/no-plugins/.snyk to reduce vulnerabilities The following vulnerabilities are fixed with a Snyk patch: - https://snyk.io/vuln/SNYK-JS-LODASH-567746 --- examples/no-plugins/.snyk | 22 ++++++++++++++++++++++ 1 file changed, 22 insertions(+) create mode 100644 examples/no-plugins/.snyk diff --git a/examples/no-plugins/.snyk b/examples/no-plugins/.snyk new file mode 100644 index 0000000000000..872ec5f6a4c2c --- /dev/null +++ b/examples/no-plugins/.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-06T08:21:07.239Z' + - gatsby > gatsby-plugin-typescript > @babel/core > @babel/helper-module-transforms > lodash: + patched: '2020-05-06T08:21:07.239Z' + - gatsby > gatsby-plugin-typescript > @babel/core > @babel/helpers > @babel/traverse > lodash: + patched: '2020-05-06T08:21:07.239Z' + - gatsby > gatsby-plugin-typescript > @babel/core > @babel/helper-module-transforms > @babel/helper-replace-supers > @babel/traverse > lodash: + patched: '2020-05-06T08:21:07.239Z' + - 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-06T08:21:07.239Z' + - 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-06T08:21:07.239Z' + - 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-06T08:21:07.239Z' + - 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-06T08:21:07.239Z'