From 0156d6c88de9bc750754332f8bb517b5c9e5377b Mon Sep 17 00:00:00 2001 From: snyk-bot Date: Wed, 6 May 2020 05:05:58 +0530 Subject: [PATCH 1/2] fix: benchmarks/markdown/package.json & benchmarks/markdown/.snyk to reduce vulnerabilities The following vulnerabilities are fixed with a Snyk patch: - https://snyk.io/vuln/SNYK-JS-LODASH-567746 --- benchmarks/markdown/package.json | 10 +++++++--- 1 file changed, 7 insertions(+), 3 deletions(-) diff --git a/benchmarks/markdown/package.json b/benchmarks/markdown/package.json index 93bbf38837461..1aa3a0ce3f9ea 100644 --- a/benchmarks/markdown/package.json +++ b/benchmarks/markdown/package.json @@ -5,16 +5,20 @@ "scripts": { "develop": "gatsby develop", "build": "gatsby build", - "serve": "gatsby serve" + "serve": "gatsby serve", + "snyk-protect": "snyk protect", + "prepublish": "npm run snyk-protect" }, "dependencies": { "gatsby": "^2.0.9", "gatsby-transformer-remark": "^2.1.4", "react": "^16.3.2", - "react-dom": "^16.3.2" + "react-dom": "^16.3.2", + "snyk": "^1.319.0" }, "devDependencies": { "faker": "^4.1.0", "gray-matter": "^4.0.1" - } + }, + "snyk": true } From 5dcd72344eadfae530b33511fd687ef5f683fa9c Mon Sep 17 00:00:00 2001 From: snyk-bot Date: Wed, 6 May 2020 05:05:59 +0530 Subject: [PATCH 2/2] fix: benchmarks/markdown/package.json & benchmarks/markdown/.snyk to reduce vulnerabilities The following vulnerabilities are fixed with a Snyk patch: - https://snyk.io/vuln/SNYK-JS-LODASH-567746 --- benchmarks/markdown/.snyk | 22 ++++++++++++++++++++++ 1 file changed, 22 insertions(+) create mode 100644 benchmarks/markdown/.snyk diff --git a/benchmarks/markdown/.snyk b/benchmarks/markdown/.snyk new file mode 100644 index 0000000000000..dc8fd5287e585 --- /dev/null +++ b/benchmarks/markdown/.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-05T23:35:56.715Z' + - gatsby > gatsby-plugin-typescript > @babel/core > @babel/helper-module-transforms > lodash: + patched: '2020-05-05T23:35:56.715Z' + - gatsby > gatsby-plugin-typescript > @babel/core > @babel/helpers > @babel/traverse > lodash: + patched: '2020-05-05T23:35:56.715Z' + - gatsby > gatsby-plugin-typescript > @babel/core > @babel/helper-module-transforms > @babel/helper-replace-supers > @babel/traverse > lodash: + patched: '2020-05-05T23:35:56.715Z' + - 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-05T23:35:56.715Z' + - 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-05T23:35:56.715Z' + - 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-05T23:35:56.715Z' + - 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-05T23:35:56.715Z'