From 7deb52376b736b07db8eeb7c490056cd940e00e6 Mon Sep 17 00:00:00 2001 From: snyk-bot Date: Thu, 14 May 2020 11:24:16 +0300 Subject: [PATCH 1/2] fix: examples/using-excel/package.json & examples/using-excel/.snyk to reduce vulnerabilities The following vulnerabilities are fixed with a Snyk patch: - https://snyk.io/vuln/SNYK-JS-LODASH-567746 --- examples/using-excel/package.json | 10 +++++++--- 1 file changed, 7 insertions(+), 3 deletions(-) diff --git a/examples/using-excel/package.json b/examples/using-excel/package.json index 2f57523a71306..d8e09f953e2fe 100644 --- a/examples/using-excel/package.json +++ b/examples/using-excel/package.json @@ -7,12 +7,16 @@ "gatsby": "latest", "gatsby-link": "latest", "gatsby-source-filesystem": "latest", - "gatsby-transformer-excel": "latest" + "gatsby-transformer-excel": "latest", + "snyk": "^1.320.3" }, "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 ea0feaee61c8c5e03a04deeaa827613092852955 Mon Sep 17 00:00:00 2001 From: snyk-bot Date: Thu, 14 May 2020 11:24:21 +0300 Subject: [PATCH 2/2] fix: examples/using-excel/package.json & examples/using-excel/.snyk to reduce vulnerabilities The following vulnerabilities are fixed with a Snyk patch: - https://snyk.io/vuln/SNYK-JS-LODASH-567746 --- examples/using-excel/.snyk | 44 ++++++++++++++++++++++++++++++++++++++ 1 file changed, 44 insertions(+) create mode 100644 examples/using-excel/.snyk diff --git a/examples/using-excel/.snyk b/examples/using-excel/.snyk new file mode 100644 index 0000000000000..3f864846cf166 --- /dev/null +++ b/examples/using-excel/.snyk @@ -0,0 +1,44 @@ +# 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-telemetry > lodash: + patched: '2020-05-14T08:24:14.382Z' + - gatsby > gatsby-plugin-page-creator > lodash: + patched: '2020-05-14T08:24:14.382Z' + - gatsby > gatsby-cli > gatsby-telemetry > lodash: + patched: '2020-05-14T08:24:14.382Z' + - gatsby > gatsby-plugin-page-creator > gatsby-page-utils > lodash: + patched: '2020-05-14T08:24:14.382Z' + - gatsby > babel-preset-gatsby > @babel/preset-env > @babel/plugin-transform-block-scoping > lodash: + patched: '2020-05-14T08:24:14.382Z' + - gatsby > gatsby-cli > gatsby-recipes > gatsby-telemetry > lodash: + patched: '2020-05-14T08:24:14.382Z' + - gatsby > babel-preset-gatsby > @babel/preset-env > @babel/plugin-transform-classes > @babel/helper-define-map > lodash: + patched: '2020-05-14T08:24:14.382Z' + - 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-14T08:24:14.382Z' + - gatsby > gatsby-cli > gatsby-recipes > babel-preset-gatsby > @babel/preset-env > @babel/plugin-transform-block-scoping > lodash: + patched: '2020-05-14T08:24:14.382Z' + - 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-14T08:24:14.382Z' + - gatsby > gatsby-cli > gatsby-recipes > babel-preset-gatsby > @babel/preset-env > @babel/plugin-transform-classes > @babel/helper-define-map > lodash: + patched: '2020-05-14T08:24:14.382Z' + - 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-14T08:24:14.382Z' + - 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-14T08:24:14.382Z' + - 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-14T08:24:14.382Z' + - 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-14T08:24:14.382Z' + - 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-14T08:24:14.382Z' + - 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-14T08:24:14.382Z' + - 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-14T08:24:14.382Z' + - 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-14T08:24:14.382Z'