From 74b5574e698f4cda8d2829a8d5a141a93fa62596 Mon Sep 17 00:00:00 2001 From: snyk-bot Date: Wed, 6 May 2020 08:52:34 +0200 Subject: [PATCH 1/2] fix: examples/using-path-prefix/package.json & examples/using-path-prefix/.snyk to reduce vulnerabilities The following vulnerabilities are fixed with a Snyk patch: - https://snyk.io/vuln/SNYK-JS-LODASH-567746 --- examples/using-path-prefix/package.json | 10 +++++++--- 1 file changed, 7 insertions(+), 3 deletions(-) diff --git a/examples/using-path-prefix/package.json b/examples/using-path-prefix/package.json index dff988c4ca50b..a45974c3e2c38 100644 --- a/examples/using-path-prefix/package.json +++ b/examples/using-path-prefix/package.json @@ -5,13 +5,17 @@ "author": "Kyle Mathews <mathews.kyle@gmail.com>", "dependencies": { "gatsby": "latest", - "gatsby-link": "latest" + "gatsby-link": "latest", + "snyk": "^1.319.0" }, "license": "MIT", "main": "n/a", "scripts": { "develop": "gatsby develop", "build": "gatsby build", - "serve": "gatsby serve" - } + "serve": "gatsby serve", + "snyk-protect": "snyk protect", + "prepublish": "npm run snyk-protect" + }, + "snyk": true } From a566d830b139037b3e6914db564e836ebc36a1d4 Mon Sep 17 00:00:00 2001 From: snyk-bot Date: Wed, 6 May 2020 08:52:35 +0200 Subject: [PATCH 2/2] fix: examples/using-path-prefix/package.json & examples/using-path-prefix/.snyk to reduce vulnerabilities The following vulnerabilities are fixed with a Snyk patch: - https://snyk.io/vuln/SNYK-JS-LODASH-567746 --- examples/using-path-prefix/.snyk | 22 ++++++++++++++++++++++ 1 file changed, 22 insertions(+) create mode 100644 examples/using-path-prefix/.snyk diff --git a/examples/using-path-prefix/.snyk b/examples/using-path-prefix/.snyk new file mode 100644 index 0000000000000..964fe93a7b2dd --- /dev/null +++ b/examples/using-path-prefix/.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-06T06:52:32.219Z' + - gatsby > gatsby-plugin-typescript > @babel/core > @babel/helper-module-transforms > lodash: + patched: '2020-05-06T06:52:32.219Z' + - gatsby > gatsby-plugin-typescript > @babel/core > @babel/helpers > @babel/traverse > lodash: + patched: '2020-05-06T06:52:32.219Z' + - gatsby > gatsby-plugin-typescript > @babel/core > @babel/helper-module-transforms > @babel/helper-replace-supers > @babel/traverse > lodash: + patched: '2020-05-06T06:52:32.219Z' + - 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-06T06:52:32.219Z' + - 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-06T06:52:32.219Z' + - 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-06T06:52:32.219Z' + - 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-06T06:52:32.219Z'