From 44cfae5ad0c04a5ebde3015ad12e858e611e0631 Mon Sep 17 00:00:00 2001 From: snyk-bot Date: Tue, 5 May 2020 22:07:28 +0100 Subject: [PATCH 1/2] fix: examples/using-emotion/package.json & examples/using-emotion/.snyk to reduce vulnerabilities The following vulnerabilities are fixed with a Snyk patch: - https://snyk.io/vuln/SNYK-JS-LODASH-567746 --- examples/using-emotion/package.json | 10 +++++++--- 1 file changed, 7 insertions(+), 3 deletions(-) diff --git a/examples/using-emotion/package.json b/examples/using-emotion/package.json index b5393e431368a..4854d68470d5c 100644 --- a/examples/using-emotion/package.json +++ b/examples/using-emotion/package.json @@ -14,12 +14,16 @@ "react": "^16.4.0", "react-dom": "^16.4.0", "react-emotion": "^9.1.3", - "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 33f54e471c6d03d0c6e319bfec63078b6c0bd9ef Mon Sep 17 00:00:00 2001 From: snyk-bot Date: Tue, 5 May 2020 22:07:29 +0100 Subject: [PATCH 2/2] fix: examples/using-emotion/package.json & examples/using-emotion/.snyk to reduce vulnerabilities The following vulnerabilities are fixed with a Snyk patch: - https://snyk.io/vuln/SNYK-JS-LODASH-567746 --- examples/using-emotion/.snyk | 22 ++++++++++++++++++++++ 1 file changed, 22 insertions(+) create mode 100644 examples/using-emotion/.snyk diff --git a/examples/using-emotion/.snyk b/examples/using-emotion/.snyk new file mode 100644 index 0000000000000..59fa16f907a53 --- /dev/null +++ b/examples/using-emotion/.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-05T21:07:25.671Z' + - gatsby > gatsby-plugin-typescript > @babel/core > @babel/helper-module-transforms > lodash: + patched: '2020-05-05T21:07:25.671Z' + - gatsby > gatsby-plugin-typescript > @babel/core > @babel/helpers > @babel/traverse > lodash: + patched: '2020-05-05T21:07:25.671Z' + - gatsby > gatsby-plugin-typescript > @babel/core > @babel/helper-module-transforms > @babel/helper-replace-supers > @babel/traverse > lodash: + patched: '2020-05-05T21:07:25.671Z' + - 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-05T21:07:25.671Z' + - 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-05T21:07:25.671Z' + - 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-05T21:07:25.671Z' + - 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-05T21:07:25.671Z'