From f300fb929f5e6d74e5c7ac55930c8c6d75358b10 Mon Sep 17 00:00:00 2001 From: snyk-bot Date: Wed, 6 May 2020 01:19:06 +0200 Subject: [PATCH 1/2] fix: examples/using-csv/package.json & examples/using-csv/.snyk to reduce vulnerabilities The following vulnerabilities are fixed with a Snyk patch: - https://snyk.io/vuln/SNYK-JS-LODASH-567746 --- examples/using-csv/package.json | 10 +++++++--- 1 file changed, 7 insertions(+), 3 deletions(-) diff --git a/examples/using-csv/package.json b/examples/using-csv/package.json index c1d2d080cd1d8..3e6f02721d369 100644 --- a/examples/using-csv/package.json +++ b/examples/using-csv/package.json @@ -8,12 +8,16 @@ "gatsby-link": "latest", "gatsby-plugin-google-analytics": "latest", "gatsby-source-filesystem": "latest", - "gatsby-transformer-csv": "latest" + "gatsby-transformer-csv": "latest", + "snyk": "^1.319.0" }, "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 41104ca1cdd3871cad01894b3748966ccdcf3296 Mon Sep 17 00:00:00 2001 From: snyk-bot Date: Wed, 6 May 2020 01:19:07 +0200 Subject: [PATCH 2/2] fix: examples/using-csv/package.json & examples/using-csv/.snyk to reduce vulnerabilities The following vulnerabilities are fixed with a Snyk patch: - https://snyk.io/vuln/SNYK-JS-LODASH-567746 --- examples/using-csv/.snyk | 22 ++++++++++++++++++++++ 1 file changed, 22 insertions(+) create mode 100644 examples/using-csv/.snyk diff --git a/examples/using-csv/.snyk b/examples/using-csv/.snyk new file mode 100644 index 0000000000000..bedde0b3ad82c --- /dev/null +++ b/examples/using-csv/.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:19:03.954Z' + - gatsby > gatsby-plugin-typescript > @babel/core > @babel/helper-module-transforms > lodash: + patched: '2020-05-05T23:19:03.954Z' + - gatsby > gatsby-plugin-typescript > @babel/core > @babel/helpers > @babel/traverse > lodash: + patched: '2020-05-05T23:19:03.954Z' + - gatsby > gatsby-plugin-typescript > @babel/core > @babel/helper-module-transforms > @babel/helper-replace-supers > @babel/traverse > lodash: + patched: '2020-05-05T23:19:03.954Z' + - 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:19:03.954Z' + - 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:19:03.954Z' + - 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:19:03.954Z' + - 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:19:03.954Z'