From 9ad75f577491f36a88de4562047292080440c95d Mon Sep 17 00:00:00 2001 From: snyk-bot Date: Wed, 6 May 2020 08:09:47 +0100 Subject: [PATCH 1/2] fix: examples/using-mongodb/package.json & examples/using-mongodb/.snyk to reduce vulnerabilities The following vulnerabilities are fixed with a Snyk patch: - https://snyk.io/vuln/SNYK-JS-LODASH-567746 --- examples/using-mongodb/package.json | 10 +++++++--- 1 file changed, 7 insertions(+), 3 deletions(-) diff --git a/examples/using-mongodb/package.json b/examples/using-mongodb/package.json index a9e22590316c8..7cde247b28637 100644 --- a/examples/using-mongodb/package.json +++ b/examples/using-mongodb/package.json @@ -10,12 +10,16 @@ "gatsby-transformer-remark": "^2.1.1", "react": "^16.4.1", "react-dom": "^16.4.1", - "react-helmet": "^5.2.0" + "react-helmet": "^5.2.0", + "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 } \ No newline at end of file From e1ece392a8b6c671e2d16d903f695bca0d31bb31 Mon Sep 17 00:00:00 2001 From: snyk-bot Date: Wed, 6 May 2020 08:09:48 +0100 Subject: [PATCH 2/2] fix: examples/using-mongodb/package.json & examples/using-mongodb/.snyk to reduce vulnerabilities The following vulnerabilities are fixed with a Snyk patch: - https://snyk.io/vuln/SNYK-JS-LODASH-567746 --- examples/using-mongodb/.snyk | 22 ++++++++++++++++++++++ 1 file changed, 22 insertions(+) create mode 100644 examples/using-mongodb/.snyk diff --git a/examples/using-mongodb/.snyk b/examples/using-mongodb/.snyk new file mode 100644 index 0000000000000..0656ce4e940ae --- /dev/null +++ b/examples/using-mongodb/.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-06T07:09:38.612Z' + - gatsby > gatsby-plugin-typescript > @babel/core > @babel/helper-module-transforms > lodash: + patched: '2020-05-06T07:09:38.612Z' + - gatsby > gatsby-plugin-typescript > @babel/core > @babel/helpers > @babel/traverse > lodash: + patched: '2020-05-06T07:09:38.612Z' + - gatsby > gatsby-plugin-typescript > @babel/core > @babel/helper-module-transforms > @babel/helper-replace-supers > @babel/traverse > lodash: + patched: '2020-05-06T07:09:38.612Z' + - 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-06T07:09:38.612Z' + - 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-06T07:09:38.612Z' + - 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-06T07:09:38.612Z' + - 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-06T07:09:38.612Z'