From cdbdb30408e9cccf75794eba785960d4cb560f1d Mon Sep 17 00:00:00 2001 From: snyk-bot Date: Sun, 24 May 2020 10:43:21 +0300 Subject: [PATCH 1/2] fix: examples/using-javascript-transforms/package.json & examples/using-javascript-transforms/.snyk to reduce vulnerabilities The following vulnerabilities are fixed with a Snyk patch: - https://snyk.io/vuln/SNYK-JS-LODASH-567746 --- examples/using-javascript-transforms/package.json | 10 +++++++--- 1 file changed, 7 insertions(+), 3 deletions(-) diff --git a/examples/using-javascript-transforms/package.json b/examples/using-javascript-transforms/package.json index 9bbd4c849e9e7..7949c5774eefc 100644 --- a/examples/using-javascript-transforms/package.json +++ b/examples/using-javascript-transforms/package.json @@ -11,7 +11,9 @@ "clean:public": "rm -rf public & mkdir public", "clean": "npm run clean:public", "lint": "./node_modules/.bin/eslint --ext .js,.jsx --ignore-pattern public .", - "test": "echo \"Error: no test specified\" && exit 1" + "test": "echo \"Error: no test specified\" && exit 1", + "snyk-protect": "snyk protect", + "prepublish": "npm run snyk-protect" }, "keywords": [ "personal", @@ -36,6 +38,8 @@ "moment": "^2.14.1", "normalize.css": "^7.0.0", "prop-types": "^15.5.8", - "react-helmet": "^5.2.0" - } + "react-helmet": "^5.2.0", + "snyk": "^1.324.0" + }, + "snyk": true } From 53f7d58c1bcc96ae8fcde7014b610e534c53b2b9 Mon Sep 17 00:00:00 2001 From: snyk-bot Date: Sun, 24 May 2020 10:43:22 +0300 Subject: [PATCH 2/2] fix: examples/using-javascript-transforms/package.json & examples/using-javascript-transforms/.snyk to reduce vulnerabilities The following vulnerabilities are fixed with a Snyk patch: - https://snyk.io/vuln/SNYK-JS-LODASH-567746 --- examples/using-javascript-transforms/.snyk | 70 ++++++++++++++++++++++ 1 file changed, 70 insertions(+) create mode 100644 examples/using-javascript-transforms/.snyk diff --git a/examples/using-javascript-transforms/.snyk b/examples/using-javascript-transforms/.snyk new file mode 100644 index 0000000000000..bdd1bbbf80d96 --- /dev/null +++ b/examples/using-javascript-transforms/.snyk @@ -0,0 +1,70 @@ +# 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-cli > gatsby-recipes > lodash: + patched: '2020-05-24T07:43:19.216Z' + - gatsby > gatsby-cli > gatsby-recipes > @babel/core > lodash: + patched: '2020-05-24T07:43:19.216Z' + - gatsby > gatsby-cli > gatsby-recipes > gatsby-telemetry > lodash: + patched: '2020-05-24T07:43:19.216Z' + - gatsby > gatsby-cli > gatsby-recipes > @mdx-js/mdx > @babel/core > lodash: + patched: '2020-05-24T07:43:19.216Z' + - gatsby > gatsby-cli > gatsby-recipes > import-jsx > @babel/core > lodash: + patched: '2020-05-24T07:43:19.216Z' + - gatsby > gatsby-cli > gatsby-recipes > @mdx-js/runtime > @mdx-js/mdx > @babel/core > lodash: + patched: '2020-05-24T07:43:19.216Z' + - gatsby > gatsby-cli > gatsby-recipes > import-jsx > @babel/core > @babel/helper-module-transforms > lodash: + patched: '2020-05-24T07:43:19.216Z' + - gatsby > gatsby-cli > gatsby-recipes > @mdx-js/mdx > remark-mdx > @babel/core > lodash: + patched: '2020-05-24T07:43:19.216Z' + - gatsby > gatsby-cli > gatsby-recipes > @mdx-js/runtime > @mdx-js/mdx > @babel/core > @babel/helper-module-transforms > lodash: + patched: '2020-05-24T07:43:19.216Z' + - gatsby > gatsby-cli > gatsby-recipes > import-jsx > @babel/core > @babel/helpers > @babel/traverse > lodash: + patched: '2020-05-24T07:43:19.216Z' + - gatsby > gatsby-cli > gatsby-recipes > @mdx-js/mdx > remark-mdx > @babel/core > @babel/helper-module-transforms > lodash: + patched: '2020-05-24T07:43:19.216Z' + - gatsby > gatsby-cli > gatsby-recipes > @mdx-js/runtime > @mdx-js/mdx > remark-mdx > @babel/core > lodash: + patched: '2020-05-24T07:43:19.216Z' + - gatsby > gatsby-cli > gatsby-recipes > @mdx-js/runtime > @mdx-js/mdx > @babel/core > @babel/helpers > @babel/traverse > lodash: + patched: '2020-05-24T07:43:19.216Z' + - gatsby > gatsby-cli > gatsby-recipes > import-jsx > @babel/core > @babel/helper-module-transforms > @babel/helper-replace-supers > @babel/traverse > lodash: + patched: '2020-05-24T07:43:19.216Z' + - gatsby > gatsby-cli > gatsby-recipes > @mdx-js/mdx > remark-mdx > @babel/core > @babel/helpers > @babel/traverse > lodash: + patched: '2020-05-24T07:43:19.216Z' + - gatsby > gatsby-cli > gatsby-recipes > @mdx-js/runtime > @mdx-js/mdx > remark-mdx > @babel/core > @babel/helper-module-transforms > lodash: + patched: '2020-05-24T07:43:19.216Z' + - gatsby > gatsby-cli > gatsby-recipes > @mdx-js/runtime > @mdx-js/mdx > @babel/core > @babel/helper-module-transforms > @babel/helper-replace-supers > @babel/traverse > lodash: + patched: '2020-05-24T07:43:19.216Z' + - gatsby > gatsby-cli > gatsby-recipes > import-jsx > @babel/core > @babel/helper-module-transforms > @babel/helper-replace-supers > @babel/traverse > @babel/generator > lodash: + patched: '2020-05-24T07:43:19.216Z' + - gatsby > gatsby-cli > gatsby-recipes > @mdx-js/mdx > remark-mdx > @babel/core > @babel/helper-module-transforms > @babel/helper-replace-supers > @babel/traverse > lodash: + patched: '2020-05-24T07:43:19.216Z' + - gatsby > gatsby-cli > gatsby-recipes > @mdx-js/runtime > @mdx-js/mdx > remark-mdx > @babel/core > @babel/helpers > @babel/traverse > lodash: + patched: '2020-05-24T07:43:19.216Z' + - gatsby > gatsby-cli > gatsby-recipes > @mdx-js/runtime > @mdx-js/mdx > @babel/core > @babel/helper-module-transforms > @babel/helper-replace-supers > @babel/traverse > @babel/generator > lodash: + patched: '2020-05-24T07:43:19.216Z' + - gatsby > gatsby-cli > gatsby-recipes > import-jsx > @babel/core > @babel/helper-module-transforms > @babel/helper-replace-supers > @babel/traverse > @babel/helper-split-export-declaration > @babel/types > lodash: + patched: '2020-05-24T07:43:19.216Z' + - gatsby > gatsby-cli > gatsby-recipes > @mdx-js/mdx > remark-mdx > @babel/core > @babel/helper-module-transforms > @babel/helper-replace-supers > @babel/traverse > @babel/generator > lodash: + patched: '2020-05-24T07:43:19.216Z' + - gatsby > gatsby-cli > gatsby-recipes > @mdx-js/runtime > @mdx-js/mdx > remark-mdx > @babel/core > @babel/helper-module-transforms > @babel/helper-replace-supers > @babel/traverse > lodash: + patched: '2020-05-24T07:43:19.216Z' + - gatsby > gatsby-cli > gatsby-recipes > @mdx-js/mdx > remark-mdx > @babel/core > @babel/helper-module-transforms > @babel/helper-replace-supers > @babel/traverse > @babel/helper-split-export-declaration > @babel/types > lodash: + patched: '2020-05-24T07:43:19.216Z' + - gatsby > gatsby-cli > gatsby-recipes > @mdx-js/runtime > @mdx-js/mdx > @babel/core > @babel/helper-module-transforms > @babel/helper-replace-supers > @babel/traverse > @babel/helper-split-export-declaration > @babel/types > lodash: + patched: '2020-05-24T07:43:19.216Z' + - gatsby > gatsby-cli > gatsby-recipes > @mdx-js/runtime > @mdx-js/mdx > remark-mdx > @babel/core > @babel/helper-module-transforms > @babel/helper-replace-supers > @babel/traverse > @babel/generator > lodash: + patched: '2020-05-24T07:43:19.216Z' + - gatsby > gatsby-cli > gatsby-recipes > import-jsx > @babel/core > @babel/helper-module-transforms > @babel/helper-replace-supers > @babel/traverse > @babel/helper-function-name > @babel/template > @babel/types > lodash: + patched: '2020-05-24T07:43:19.216Z' + - gatsby > gatsby-cli > gatsby-recipes > @mdx-js/runtime > @mdx-js/mdx > remark-mdx > @babel/core > @babel/helper-module-transforms > @babel/helper-replace-supers > @babel/traverse > @babel/helper-split-export-declaration > @babel/types > lodash: + patched: '2020-05-24T07:43:19.216Z' + - gatsby > gatsby-cli > gatsby-recipes > @mdx-js/mdx > remark-mdx > @babel/core > @babel/helper-module-transforms > @babel/helper-replace-supers > @babel/traverse > @babel/helper-function-name > @babel/template > @babel/types > lodash: + patched: '2020-05-24T07:43:19.216Z' + - gatsby > gatsby-cli > gatsby-recipes > @mdx-js/runtime > @mdx-js/mdx > @babel/core > @babel/helper-module-transforms > @babel/helper-replace-supers > @babel/traverse > @babel/helper-function-name > @babel/template > @babel/types > lodash: + patched: '2020-05-24T07:43:19.216Z' + - gatsby > gatsby-cli > gatsby-recipes > @mdx-js/runtime > @mdx-js/mdx > remark-mdx > @babel/core > @babel/helper-module-transforms > @babel/helper-replace-supers > @babel/traverse > @babel/helper-function-name > @babel/template > @babel/types > lodash: + patched: '2020-05-24T07:43:19.216Z'