From b0bc059b1c6e2b98bd9d6cd165e74e0e9c57870e Mon Sep 17 00:00:00 2001 From: snyk-bot Date: Thu, 21 May 2020 09:51:36 +0200 Subject: [PATCH 1/2] fix: examples/sitemap/package.json & examples/sitemap/.snyk to reduce vulnerabilities The following vulnerabilities are fixed with a Snyk patch: - https://snyk.io/vuln/SNYK-JS-LODASH-567746 --- examples/sitemap/package.json | 14 ++++++++++---- 1 file changed, 10 insertions(+), 4 deletions(-) diff --git a/examples/sitemap/package.json b/examples/sitemap/package.json index 87965d9ba2730..3d76d868561b4 100644 --- a/examples/sitemap/package.json +++ b/examples/sitemap/package.json @@ -8,13 +8,19 @@ "gatsby": "latest", "gatsby-source-filesystem": "latest", "gatsby-transformer-remark": "latest", - "gatsby-plugin-sitemap": "latest" + "gatsby-plugin-sitemap": "latest", + "snyk": "^1.323.1" }, - "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 e191f49dc1c602b782540483bb203ce0ddd0f3cd Mon Sep 17 00:00:00 2001 From: snyk-bot Date: Thu, 21 May 2020 09:51:37 +0200 Subject: [PATCH 2/2] fix: examples/sitemap/package.json & examples/sitemap/.snyk to reduce vulnerabilities The following vulnerabilities are fixed with a Snyk patch: - https://snyk.io/vuln/SNYK-JS-LODASH-567746 --- examples/sitemap/.snyk | 20 ++++++++++++++++++++ 1 file changed, 20 insertions(+) create mode 100644 examples/sitemap/.snyk diff --git a/examples/sitemap/.snyk b/examples/sitemap/.snyk new file mode 100644 index 0000000000000..e4132a0461b6b --- /dev/null +++ b/examples/sitemap/.snyk @@ -0,0 +1,20 @@ +# 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-cli > gatsby-recipes > babel-preset-gatsby > @babel/preset-env > @babel/plugin-transform-block-scoping > lodash: + patched: '2020-05-21T07:51:34.928Z' + - gatsby > gatsby-cli > gatsby-recipes > babel-preset-gatsby > @babel/preset-env > @babel/plugin-transform-classes > @babel/helper-define-map > lodash: + patched: '2020-05-21T07:51:34.928Z' + - gatsby > gatsby-cli > gatsby-recipes > babel-preset-gatsby > @babel/preset-env > @babel/plugin-transform-unicode-regex > @babel/helper-create-regexp-features-plugin > @babel/helper-regex > lodash: + patched: '2020-05-21T07:51:34.928Z' + - gatsby > gatsby-cli > gatsby-recipes > babel-preset-gatsby > @babel/preset-env > @babel/preset-modules > @babel/plugin-transform-dotall-regex > @babel/helper-create-regexp-features-plugin > @babel/helper-regex > lodash: + patched: '2020-05-21T07:51:34.928Z' + - gatsby > gatsby-cli > gatsby-recipes > babel-preset-gatsby > @babel/preset-env > @babel/plugin-transform-exponentiation-operator > @babel/helper-builder-binary-assignment-operator-visitor > @babel/helper-explode-assignable-expression > @babel/traverse > @babel/generator > lodash: + patched: '2020-05-21T07:51:34.928Z' + - gatsby > gatsby-cli > gatsby-recipes > babel-preset-gatsby > @babel/preset-env > @babel/plugin-transform-exponentiation-operator > @babel/helper-builder-binary-assignment-operator-visitor > @babel/helper-explode-assignable-expression > @babel/traverse > @babel/helper-split-export-declaration > @babel/types > lodash: + patched: '2020-05-21T07:51:34.928Z' + - gatsby > gatsby-cli > gatsby-recipes > babel-preset-gatsby > @babel/preset-env > @babel/plugin-transform-exponentiation-operator > @babel/helper-builder-binary-assignment-operator-visitor > @babel/helper-explode-assignable-expression > @babel/traverse > @babel/helper-function-name > @babel/template > @babel/types > lodash: + patched: '2020-05-21T07:51:34.928Z'