From 3af00ccea33427eb62d78d1f158f4d7dd1ea6105 Mon Sep 17 00:00:00 2001 From: snyk-bot Date: Tue, 26 May 2020 09:49:17 +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..9ebfde37f92d4 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.328.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 008e6b6544eb193d9a146213b4a30c125f8e6bb9 Mon Sep 17 00:00:00 2001 From: snyk-bot Date: Tue, 26 May 2020 09:49:18 +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 | 150 +++++++++++++++++++++++++++++++++++++++++ 1 file changed, 150 insertions(+) create mode 100644 examples/sitemap/.snyk diff --git a/examples/sitemap/.snyk b/examples/sitemap/.snyk new file mode 100644 index 0000000000000..91df61f52c44e --- /dev/null +++ b/examples/sitemap/.snyk @@ -0,0 +1,150 @@ +# 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 > lodash: + patched: '2020-05-26T07:49:14.676Z' + - gatsby > @babel/core > lodash: + patched: '2020-05-26T07:49:14.676Z' + - gatsby > css-loader > lodash: + patched: '2020-05-26T07:49:14.676Z' + - gatsby > devcert > lodash: + patched: '2020-05-26T07:49:14.676Z' + - gatsby > eslint > lodash: + patched: '2020-05-26T07:49:14.676Z' + - gatsby > eslint-plugin-flowtype > lodash: + patched: '2020-05-26T07:49:14.676Z' + - gatsby > eslint-plugin-graphql > lodash: + patched: '2020-05-26T07:49:14.676Z' + - gatsby > gatsby-telemetry > lodash: + patched: '2020-05-26T07:49:14.676Z' + - gatsby > gatsby-cli > lodash: + patched: '2020-05-26T07:49:14.676Z' + - gatsby > gatsby-plugin-page-creator > lodash: + patched: '2020-05-26T07:49:14.676Z' + - gatsby > webpack-merge > lodash: + patched: '2020-05-26T07:49:14.676Z' + - gatsby > @typescript-eslint/parser > @typescript-eslint/typescript-estree > lodash: + patched: '2020-05-26T07:49:14.676Z' + - gatsby > babel-eslint > @babel/traverse > lodash: + patched: '2020-05-26T07:49:14.676Z' + - gatsby > gatsby-plugin-typescript > @babel/core > lodash: + patched: '2020-05-26T07:49:14.676Z' + - gatsby > eslint > inquirer > lodash: + patched: '2020-05-26T07:49:14.676Z' + - gatsby > eslint > table > lodash: + patched: '2020-05-26T07:49:14.676Z' + - gatsby > eslint-plugin-graphql > graphql-config > lodash: + patched: '2020-05-26T07:49:14.676Z' + - gatsby > gatsby-cli > gatsby-telemetry > lodash: + patched: '2020-05-26T07:49:14.676Z' + - gatsby > gatsby-cli > gatsby-recipes > lodash: + patched: '2020-05-26T07:49:14.676Z' + - gatsby > gatsby-plugin-page-creator > gatsby-page-utils > lodash: + patched: '2020-05-26T07:49:14.676Z' + - gatsby > optimize-css-assets-webpack-plugin > last-call-webpack-plugin > lodash: + patched: '2020-05-26T07:49:14.676Z' + - gatsby > react-dev-utils > inquirer > lodash: + patched: '2020-05-26T07:49:14.676Z' + - gatsby > webpack-dev-server > http-proxy-middleware > lodash: + patched: '2020-05-26T07:49:14.676Z' + - gatsby > @typescript-eslint/parser > @typescript-eslint/experimental-utils > @typescript-eslint/typescript-estree > lodash: + patched: '2020-05-26T07:49:14.676Z' + - gatsby > babel-eslint > @babel/traverse > @babel/generator > lodash: + patched: '2020-05-26T07:49:14.676Z' + - gatsby > gatsby-plugin-typescript > @babel/core > @babel/helper-module-transforms > lodash: + patched: '2020-05-26T07:49:14.676Z' + - gatsby > babel-preset-gatsby > @babel/preset-env > @babel/plugin-transform-block-scoping > lodash: + patched: '2020-05-26T07:49:14.676Z' + - gatsby > gatsby-cli > gatsby-recipes > @babel/core > lodash: + patched: '2020-05-26T07:49:14.676Z' + - gatsby > gatsby-cli > yurnalist > inquirer > lodash: + patched: '2020-05-26T07:49:14.676Z' + - gatsby > eslint-plugin-graphql > graphql-config > graphql-import > lodash: + patched: '2020-05-26T07:49:14.676Z' + - gatsby > gatsby-cli > gatsby-recipes > gatsby-telemetry > lodash: + patched: '2020-05-26T07:49:14.676Z' + - gatsby > webpack-dev-server > portfinder > async > lodash: + patched: '2020-05-26T07:49:14.676Z' + - gatsby > @babel/core > @babel/helper-module-transforms > @babel/helper-replace-supers > @babel/traverse > lodash: + patched: '2020-05-26T07:49:14.676Z' + - gatsby > babel-eslint > @babel/traverse > @babel/helper-split-export-declaration > @babel/types > lodash: + patched: '2020-05-26T07:49:14.676Z' + - gatsby > gatsby-plugin-typescript > @babel/core > @babel/helpers > @babel/traverse > lodash: + patched: '2020-05-26T07:49:14.676Z' + - gatsby > gatsby-cli > gatsby-recipes > @mdx-js/mdx > @babel/core > lodash: + patched: '2020-05-26T07:49:14.676Z' + - gatsby > babel-preset-gatsby > @babel/preset-env > @babel/plugin-transform-classes > @babel/helper-define-map > lodash: + patched: '2020-05-26T07:49:14.676Z' + - gatsby > @babel/core > @babel/helper-module-transforms > @babel/helper-replace-supers > @babel/traverse > @babel/generator > lodash: + patched: '2020-05-26T07:49:14.676Z' + - gatsby > gatsby-plugin-typescript > @babel/core > @babel/helper-module-transforms > @babel/helper-replace-supers > @babel/traverse > lodash: + patched: '2020-05-26T07:49:14.676Z' + - gatsby > gatsby-cli > gatsby-recipes > @mdx-js/runtime > @mdx-js/mdx > @babel/core > lodash: + patched: '2020-05-26T07:49:14.676Z' + - gatsby > babel-preset-gatsby > @babel/preset-env > @babel/plugin-transform-unicode-regex > @babel/helper-create-regexp-features-plugin > @babel/helper-regex > lodash: + patched: '2020-05-26T07:49:14.676Z' + - gatsby > babel-eslint > @babel/traverse > @babel/helper-function-name > @babel/template > @babel/types > lodash: + patched: '2020-05-26T07:49:14.676Z' + - gatsby > gatsby-cli > gatsby-recipes > @mdx-js/mdx > remark-mdx > @babel/core > lodash: + patched: '2020-05-26T07:49:14.676Z' + - gatsby > @babel/core > @babel/helper-module-transforms > @babel/helper-replace-supers > @babel/traverse > @babel/helper-split-export-declaration > @babel/types > lodash: + patched: '2020-05-26T07:49:14.676Z' + - 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-26T07:49:14.676Z' + - gatsby > gatsby-cli > gatsby-recipes > @mdx-js/runtime > @mdx-js/mdx > @babel/core > @babel/helper-module-transforms > lodash: + patched: '2020-05-26T07:49:14.676Z' + - gatsby > 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-26T07:49:14.676Z' + - gatsby > gatsby-cli > gatsby-recipes > @mdx-js/mdx > remark-mdx > @babel/core > @babel/helper-module-transforms > lodash: + patched: '2020-05-26T07:49:14.676Z' + - gatsby > gatsby-cli > gatsby-recipes > @mdx-js/runtime > @mdx-js/mdx > remark-mdx > @babel/core > lodash: + patched: '2020-05-26T07:49:14.676Z' + - 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-26T07:49:14.676Z' + - gatsby > 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-26T07:49:14.676Z' + - gatsby > gatsby-cli > gatsby-recipes > @mdx-js/runtime > @mdx-js/mdx > @babel/core > @babel/helpers > @babel/traverse > lodash: + patched: '2020-05-26T07:49:14.676Z' + - gatsby > gatsby-cli > gatsby-recipes > @mdx-js/mdx > remark-mdx > @babel/core > @babel/helpers > @babel/traverse > lodash: + patched: '2020-05-26T07:49:14.676Z' + - gatsby > @babel/core > @babel/helper-module-transforms > @babel/helper-replace-supers > @babel/traverse > @babel/helper-function-name > @babel/template > @babel/types > lodash: + patched: '2020-05-26T07:49:14.676Z' + - gatsby > gatsby-cli > gatsby-recipes > @mdx-js/runtime > @mdx-js/mdx > remark-mdx > @babel/core > @babel/helper-module-transforms > lodash: + patched: '2020-05-26T07:49:14.676Z' + - gatsby > gatsby-cli > gatsby-recipes > @mdx-js/runtime > @mdx-js/mdx > @babel/core > @babel/helper-module-transforms > @babel/helper-replace-supers > @babel/traverse > lodash: + patched: '2020-05-26T07:49:14.676Z' + - gatsby > 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-26T07:49:14.676Z' + - 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-26T07:49:14.676Z' + - gatsby > gatsby-cli > gatsby-recipes > @mdx-js/mdx > remark-mdx > @babel/core > @babel/helper-module-transforms > @babel/helper-replace-supers > @babel/traverse > lodash: + patched: '2020-05-26T07:49:14.676Z' + - gatsby > gatsby-cli > gatsby-recipes > @mdx-js/runtime > @mdx-js/mdx > remark-mdx > @babel/core > @babel/helpers > @babel/traverse > lodash: + patched: '2020-05-26T07:49:14.676Z' + - gatsby > gatsby-cli > gatsby-recipes > @mdx-js/runtime > @mdx-js/mdx > @babel/core > @babel/helper-module-transforms > @babel/helper-replace-supers > @babel/traverse > @babel/generator > lodash: + patched: '2020-05-26T07:49:14.676Z' + - gatsby > gatsby-cli > gatsby-recipes > @mdx-js/mdx > remark-mdx > @babel/core > @babel/helper-module-transforms > @babel/helper-replace-supers > @babel/traverse > @babel/generator > lodash: + patched: '2020-05-26T07:49:14.676Z' + - gatsby > gatsby-cli > gatsby-recipes > @mdx-js/runtime > @mdx-js/mdx > remark-mdx > @babel/core > @babel/helper-module-transforms > @babel/helper-replace-supers > @babel/traverse > lodash: + patched: '2020-05-26T07:49:14.676Z' + - gatsby > 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-26T07:49:14.676Z' + - 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-26T07:49:14.676Z' + - gatsby > gatsby-cli > gatsby-recipes > @mdx-js/mdx > remark-mdx > @babel/core > @babel/helper-module-transforms > @babel/helper-replace-supers > @babel/traverse > @babel/helper-split-export-declaration > @babel/types > lodash: + patched: '2020-05-26T07:49:14.676Z' + - gatsby > gatsby-cli > gatsby-recipes > @mdx-js/runtime > @mdx-js/mdx > @babel/core > @babel/helper-module-transforms > @babel/helper-replace-supers > @babel/traverse > @babel/helper-split-export-declaration > @babel/types > lodash: + patched: '2020-05-26T07:49:14.676Z' + - gatsby > gatsby-cli > gatsby-recipes > @mdx-js/runtime > @mdx-js/mdx > remark-mdx > @babel/core > @babel/helper-module-transforms > @babel/helper-replace-supers > @babel/traverse > @babel/generator > lodash: + patched: '2020-05-26T07:49:14.676Z' + - gatsby > gatsby-cli > gatsby-recipes > @mdx-js/runtime > @mdx-js/mdx > remark-mdx > @babel/core > @babel/helper-module-transforms > @babel/helper-replace-supers > @babel/traverse > @babel/helper-split-export-declaration > @babel/types > lodash: + patched: '2020-05-26T07:49:14.676Z' + - gatsby > gatsby-cli > gatsby-recipes > @mdx-js/mdx > remark-mdx > @babel/core > @babel/helper-module-transforms > @babel/helper-replace-supers > @babel/traverse > @babel/helper-function-name > @babel/template > @babel/types > lodash: + patched: '2020-05-26T07:49:14.676Z' + - gatsby > gatsby-cli > gatsby-recipes > @mdx-js/runtime > @mdx-js/mdx > @babel/core > @babel/helper-module-transforms > @babel/helper-replace-supers > @babel/traverse > @babel/helper-function-name > @babel/template > @babel/types > lodash: + patched: '2020-05-26T07:49:14.676Z' + - gatsby > gatsby-cli > gatsby-recipes > @mdx-js/runtime > @mdx-js/mdx > remark-mdx > @babel/core > @babel/helper-module-transforms > @babel/helper-replace-supers > @babel/traverse > @babel/helper-function-name > @babel/template > @babel/types > lodash: + patched: '2020-05-26T07:49:14.676Z'