From f1e4f2cc0ee9344b25a9ffbeb9106567ec1108e3 Mon Sep 17 00:00:00 2001 From: snyk-bot Date: Fri, 1 May 2020 00:03:16 +0100 Subject: [PATCH 1/2] fix: examples/using-remark-copy-linked-files/package.json & examples/using-remark-copy-linked-files/.snyk to reduce vulnerabilities The following vulnerabilities are fixed with a Snyk patch: - https://snyk.io/vuln/SNYK-JS-LODASH-567746 --- examples/using-remark-copy-linked-files/package.json | 10 +++++++--- 1 file changed, 7 insertions(+), 3 deletions(-) diff --git a/examples/using-remark-copy-linked-files/package.json b/examples/using-remark-copy-linked-files/package.json index d6861db2e8bd7..89634e4af9b48 100644 --- a/examples/using-remark-copy-linked-files/package.json +++ b/examples/using-remark-copy-linked-files/package.json @@ -27,7 +27,8 @@ "typeface-merriweather": "^0.0.35", "typeface-montserrat": "^0.0.37", "typography": "^0.16.17", - "typography-theme-wordpress-2016": "^0.15.1" + "typography-theme-wordpress-2016": "^0.15.1", + "snyk": "^1.316.1" }, "devDependencies": { "eslint": "^4.9.0", @@ -44,6 +45,9 @@ "develop": "gatsby develop", "build": "gatsby build", "deploy": "gatsby build --prefix-paths && gh-pages -d public", - "fix-semi": "eslint --quiet --ignore-pattern node_modules --ignore-pattern public --parser babel-eslint --no-eslintrc --rule '{\"semi\": [2, \"never\"], \"no-extra-semi\": [2]}' --fix gatsby-node.js" - } + "fix-semi": "eslint --quiet --ignore-pattern node_modules --ignore-pattern public --parser babel-eslint --no-eslintrc --rule '{\"semi\": [2, \"never\"], \"no-extra-semi\": [2]}' --fix gatsby-node.js", + "snyk-protect": "snyk protect", + "prepublish": "npm run snyk-protect" + }, + "snyk": true } \ No newline at end of file From 5aa438c91e899f8d0a74773ae4f2a664af36695c Mon Sep 17 00:00:00 2001 From: snyk-bot Date: Fri, 1 May 2020 00:03:17 +0100 Subject: [PATCH 2/2] fix: examples/using-remark-copy-linked-files/package.json & examples/using-remark-copy-linked-files/.snyk to reduce vulnerabilities The following vulnerabilities are fixed with a Snyk patch: - https://snyk.io/vuln/SNYK-JS-LODASH-567746 --- examples/using-remark-copy-linked-files/.snyk | 198 ++++++++++++++++++ 1 file changed, 198 insertions(+) create mode 100644 examples/using-remark-copy-linked-files/.snyk diff --git a/examples/using-remark-copy-linked-files/.snyk b/examples/using-remark-copy-linked-files/.snyk new file mode 100644 index 0000000000000..25b03dc0ec06d --- /dev/null +++ b/examples/using-remark-copy-linked-files/.snyk @@ -0,0 +1,198 @@ +# 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: + - lodash: + patched: '2020-04-30T23:03:11.953Z' + - gatsby > lodash: + patched: '2020-04-30T23:03:11.953Z' + - gatsby-plugin-offline > lodash: + patched: '2020-04-30T23:03:11.953Z' + - gatsby-plugin-sharp > lodash: + patched: '2020-04-30T23:03:11.953Z' + - gatsby-remark-copy-linked-files > lodash: + patched: '2020-04-30T23:03:11.953Z' + - gatsby-remark-images > lodash: + patched: '2020-04-30T23:03:11.953Z' + - gatsby-remark-responsive-iframe > lodash: + patched: '2020-04-30T23:03:11.953Z' + - gatsby-transformer-remark > lodash: + patched: '2020-04-30T23:03:11.953Z' + - typography > lodash: + patched: '2020-04-30T23:03:11.953Z' + - gatsby > @babel/core > lodash: + patched: '2020-04-30T23:03:11.953Z' + - gatsby > css-loader > lodash: + patched: '2020-04-30T23:03:11.953Z' + - gatsby > devcert > lodash: + patched: '2020-04-30T23:03:11.953Z' + - gatsby > eslint > lodash: + patched: '2020-04-30T23:03:11.953Z' + - gatsby > eslint-plugin-flowtype > lodash: + patched: '2020-04-30T23:03:11.953Z' + - gatsby > eslint-plugin-graphql > lodash: + patched: '2020-04-30T23:03:11.953Z' + - gatsby > gatsby-telemetry > lodash: + patched: '2020-04-30T23:03:11.953Z' + - gatsby > gatsby-cli > lodash: + patched: '2020-04-30T23:03:11.953Z' + - gatsby > gatsby-plugin-page-creator > lodash: + patched: '2020-04-30T23:03:11.953Z' + - gatsby-plugin-sharp > async > lodash: + patched: '2020-04-30T23:03:11.953Z' + - gatsby > webpack-merge > lodash: + patched: '2020-04-30T23:03:11.953Z' + - gatsby-plugin-offline > cheerio > lodash: + patched: '2020-04-30T23:03:11.953Z' + - gatsby-remark-copy-linked-files > cheerio > lodash: + patched: '2020-04-30T23:03:11.953Z' + - gatsby-remark-images > cheerio > lodash: + patched: '2020-04-30T23:03:11.953Z' + - gatsby-remark-responsive-iframe > cheerio > lodash: + patched: '2020-04-30T23:03:11.953Z' + - gatsby > @typescript-eslint/parser > @typescript-eslint/typescript-estree > lodash: + patched: '2020-04-30T23:03:11.953Z' + - gatsby > babel-eslint > @babel/traverse > lodash: + patched: '2020-04-30T23:03:11.953Z' + - gatsby > eslint > inquirer > lodash: + patched: '2020-04-30T23:03:11.953Z' + - gatsby > eslint > table > lodash: + patched: '2020-04-30T23:03:11.953Z' + - gatsby > eslint-plugin-graphql > graphql-config > lodash: + patched: '2020-04-30T23:03:11.953Z' + - gatsby > gatsby-cli > gatsby-telemetry > lodash: + patched: '2020-04-30T23:03:11.953Z' + - gatsby > gatsby-cli > gatsby-recipes > lodash: + patched: '2020-04-30T23:03:11.953Z' + - gatsby > gatsby-plugin-page-creator > gatsby-page-utils > lodash: + patched: '2020-04-30T23:03:11.953Z' + - gatsby > optimize-css-assets-webpack-plugin > last-call-webpack-plugin > lodash: + patched: '2020-04-30T23:03:11.953Z' + - gatsby > react-dev-utils > inquirer > lodash: + patched: '2020-04-30T23:03:11.953Z' + - gatsby > webpack-dev-server > http-proxy-middleware > lodash: + patched: '2020-04-30T23:03:11.953Z' + - gatsby > @typescript-eslint/parser > @typescript-eslint/experimental-utils > @typescript-eslint/typescript-estree > lodash: + patched: '2020-04-30T23:03:11.953Z' + - gatsby > babel-eslint > @babel/traverse > @babel/generator > lodash: + patched: '2020-04-30T23:03:11.953Z' + - gatsby > babel-preset-gatsby > @babel/preset-env > @babel/plugin-transform-block-scoping > lodash: + patched: '2020-04-30T23:03:11.953Z' + - gatsby > gatsby-cli > gatsby-recipes > @babel/core > lodash: + patched: '2020-04-30T23:03:11.953Z' + - gatsby > @pmmmwh/react-refresh-webpack-plugin > react-dev-utils > inquirer > lodash: + patched: '2020-04-30T23:03:11.953Z' + - gatsby > gatsby-cli > yurnalist > inquirer > lodash: + patched: '2020-04-30T23:03:11.953Z' + - gatsby > eslint-plugin-graphql > graphql-config > graphql-import > lodash: + patched: '2020-04-30T23:03:11.953Z' + - gatsby > gatsby-cli > gatsby-recipes > gatsby-telemetry > lodash: + patched: '2020-04-30T23:03:11.953Z' + - gatsby > webpack-dev-server > portfinder > async > lodash: + patched: '2020-04-30T23:03:11.953Z' + - gatsby > @babel/core > @babel/helper-module-transforms > @babel/helper-replace-supers > @babel/traverse > lodash: + patched: '2020-04-30T23:03:11.953Z' + - gatsby > babel-eslint > @babel/traverse > @babel/helper-split-export-declaration > @babel/types > lodash: + patched: '2020-04-30T23:03:11.953Z' + - gatsby > gatsby-cli > gatsby-recipes > @mdx-js/mdx > @babel/core > lodash: + patched: '2020-04-30T23:03:11.953Z' + - gatsby > babel-preset-gatsby > @babel/preset-env > @babel/plugin-transform-classes > @babel/helper-define-map > lodash: + patched: '2020-04-30T23:03:11.953Z' + - gatsby > gatsby-cli > gatsby-recipes > babel-eslint > @babel/traverse > lodash: + patched: '2020-04-30T23:03:11.953Z' + - gatsby > gatsby-cli > gatsby-recipes > import-jsx > @babel/core > lodash: + patched: '2020-04-30T23:03:11.953Z' + - gatsby > @babel/core > @babel/helper-module-transforms > @babel/helper-replace-supers > @babel/traverse > @babel/generator > lodash: + patched: '2020-04-30T23:03:11.953Z' + - gatsby > gatsby-cli > gatsby-recipes > @mdx-js/runtime > @mdx-js/mdx > @babel/core > lodash: + patched: '2020-04-30T23:03:11.953Z' + - gatsby > babel-preset-gatsby > @babel/preset-env > @babel/plugin-transform-unicode-regex > @babel/helper-create-regexp-features-plugin > @babel/helper-regex > lodash: + patched: '2020-04-30T23:03:11.953Z' + - gatsby > babel-eslint > @babel/traverse > @babel/helper-function-name > @babel/template > @babel/types > lodash: + patched: '2020-04-30T23:03:11.953Z' + - gatsby > gatsby-cli > gatsby-recipes > babel-eslint > @babel/traverse > @babel/generator > lodash: + patched: '2020-04-30T23:03:11.953Z' + - gatsby > gatsby-cli > gatsby-recipes > import-jsx > @babel/core > @babel/helper-module-transforms > lodash: + patched: '2020-04-30T23:03:11.953Z' + - gatsby > gatsby-cli > gatsby-recipes > babel-preset-gatsby > @babel/preset-env > @babel/plugin-transform-block-scoping > lodash: + patched: '2020-04-30T23:03:11.953Z' + - gatsby > gatsby-cli > gatsby-recipes > @mdx-js/mdx > remark-mdx > @babel/core > lodash: + patched: '2020-04-30T23:03:11.953Z' + - gatsby > @babel/core > @babel/helper-module-transforms > @babel/helper-replace-supers > @babel/traverse > @babel/helper-split-export-declaration > @babel/types > lodash: + patched: '2020-04-30T23:03:11.953Z' + - gatsby > gatsby-cli > gatsby-recipes > @mdx-js/runtime > @mdx-js/mdx > @babel/core > @babel/helper-module-transforms > lodash: + patched: '2020-04-30T23:03:11.953Z' + - gatsby > gatsby-cli > gatsby-recipes > babel-eslint > @babel/traverse > @babel/helper-split-export-declaration > @babel/types > lodash: + patched: '2020-04-30T23:03:11.953Z' + - gatsby > gatsby-cli > gatsby-recipes > import-jsx > @babel/core > @babel/helpers > @babel/traverse > lodash: + patched: '2020-04-30T23:03:11.953Z' + - 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-04-30T23:03:11.953Z' + - gatsby > gatsby-cli > gatsby-recipes > babel-preset-gatsby > @babel/preset-env > @babel/plugin-transform-classes > @babel/helper-define-map > lodash: + patched: '2020-04-30T23:03:11.953Z' + - gatsby > gatsby-cli > gatsby-recipes > @mdx-js/mdx > remark-mdx > @babel/core > @babel/helper-module-transforms > lodash: + patched: '2020-04-30T23:03:11.953Z' + - gatsby > gatsby-cli > gatsby-recipes > @mdx-js/runtime > @mdx-js/mdx > remark-mdx > @babel/core > lodash: + patched: '2020-04-30T23:03:11.953Z' + - 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-04-30T23:03:11.953Z' + - gatsby > gatsby-cli > gatsby-recipes > @mdx-js/runtime > @mdx-js/mdx > @babel/core > @babel/helpers > @babel/traverse > lodash: + patched: '2020-04-30T23:03:11.953Z' + - gatsby > gatsby-cli > gatsby-recipes > import-jsx > @babel/core > @babel/helper-module-transforms > @babel/helper-replace-supers > @babel/traverse > lodash: + patched: '2020-04-30T23:03:11.953Z' + - gatsby > gatsby-cli > gatsby-recipes > @mdx-js/mdx > remark-mdx > @babel/core > @babel/helpers > @babel/traverse > lodash: + patched: '2020-04-30T23:03:11.953Z' + - 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-04-30T23:03:11.953Z' + - gatsby > @babel/core > @babel/helper-module-transforms > @babel/helper-replace-supers > @babel/traverse > @babel/helper-function-name > @babel/template > @babel/types > lodash: + patched: '2020-04-30T23:03:11.953Z' + - gatsby > gatsby-cli > gatsby-recipes > babel-eslint > @babel/traverse > @babel/helper-function-name > @babel/template > @babel/types > lodash: + patched: '2020-04-30T23:03:11.953Z' + - gatsby > gatsby-cli > gatsby-recipes > @mdx-js/runtime > @mdx-js/mdx > remark-mdx > @babel/core > @babel/helper-module-transforms > lodash: + patched: '2020-04-30T23:03:11.953Z' + - 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-04-30T23:03:11.953Z' + - 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-04-30T23:03:11.953Z' + - gatsby > gatsby-cli > gatsby-recipes > import-jsx > @babel/core > @babel/helper-module-transforms > @babel/helper-replace-supers > @babel/traverse > @babel/generator > lodash: + patched: '2020-04-30T23:03:11.953Z' + - 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-04-30T23:03:11.953Z' + - gatsby > gatsby-cli > gatsby-recipes > @mdx-js/runtime > @mdx-js/mdx > remark-mdx > @babel/core > @babel/helpers > @babel/traverse > lodash: + patched: '2020-04-30T23:03:11.953Z' + - 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-04-30T23:03:11.953Z' + - 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-04-30T23:03:11.953Z' + - 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-04-30T23:03:11.953Z' + - 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-04-30T23:03:11.953Z' + - 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-04-30T23:03:11.953Z' + - 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-04-30T23:03:11.953Z' + - 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-04-30T23:03:11.953Z' + - 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-04-30T23:03:11.953Z' + - 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-04-30T23:03:11.953Z' + - 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-04-30T23:03:11.953Z' + - 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-04-30T23:03:11.953Z' + - 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-04-30T23:03:11.953Z' + - 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-04-30T23:03:11.953Z' + - 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-04-30T23:03:11.953Z' + - 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-04-30T23:03:11.953Z' + - 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-04-30T23:03:11.953Z' + - 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-04-30T23:03:11.953Z'