diff --git a/examples/feed/.snyk b/examples/feed/.snyk new file mode 100644 index 0000000000000..203cd4f62f706 --- /dev/null +++ b/examples/feed/.snyk @@ -0,0 +1,94 @@ +# 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 > lodash: + patched: '2020-05-22T08:16:52.039Z' + - gatsby > @babel/core > lodash: + patched: '2020-05-22T08:16:52.039Z' + - gatsby > css-loader > lodash: + patched: '2020-05-22T08:16:52.039Z' + - gatsby > devcert > lodash: + patched: '2020-05-22T08:16:52.039Z' + - gatsby > eslint > lodash: + patched: '2020-05-22T08:16:52.039Z' + - gatsby > eslint-plugin-flowtype > lodash: + patched: '2020-05-22T08:16:52.039Z' + - gatsby > eslint-plugin-graphql > lodash: + patched: '2020-05-22T08:16:52.039Z' + - gatsby > gatsby-plugin-page-creator > lodash: + patched: '2020-05-22T08:16:52.039Z' + - gatsby > gatsby-telemetry > lodash: + patched: '2020-05-22T08:16:52.039Z' + - gatsby > webpack-merge > lodash: + patched: '2020-05-22T08:16:52.039Z' + - gatsby > @typescript-eslint/parser > @typescript-eslint/typescript-estree > lodash: + patched: '2020-05-22T08:16:52.039Z' + - gatsby > babel-eslint > @babel/traverse > lodash: + patched: '2020-05-22T08:16:52.039Z' + - gatsby > gatsby-plugin-typescript > @babel/core > lodash: + patched: '2020-05-22T08:16:52.039Z' + - gatsby > eslint > inquirer > lodash: + patched: '2020-05-22T08:16:52.039Z' + - gatsby > eslint > table > lodash: + patched: '2020-05-22T08:16:52.039Z' + - gatsby > eslint-plugin-graphql > graphql-config > lodash: + patched: '2020-05-22T08:16:52.039Z' + - gatsby > gatsby-plugin-page-creator > gatsby-page-utils > lodash: + patched: '2020-05-22T08:16:52.039Z' + - gatsby > optimize-css-assets-webpack-plugin > last-call-webpack-plugin > lodash: + patched: '2020-05-22T08:16:52.039Z' + - gatsby > react-dev-utils > inquirer > lodash: + patched: '2020-05-22T08:16:52.039Z' + - gatsby > webpack-dev-server > http-proxy-middleware > lodash: + patched: '2020-05-22T08:16:52.039Z' + - gatsby > @typescript-eslint/parser > @typescript-eslint/experimental-utils > @typescript-eslint/typescript-estree > lodash: + patched: '2020-05-22T08:16:52.039Z' + - gatsby > babel-eslint > @babel/traverse > @babel/generator > lodash: + patched: '2020-05-22T08:16:52.039Z' + - gatsby > gatsby-plugin-typescript > @babel/core > @babel/helper-module-transforms > lodash: + patched: '2020-05-22T08:16:52.039Z' + - gatsby > babel-preset-gatsby > @babel/preset-env > @babel/plugin-transform-block-scoping > lodash: + patched: '2020-05-22T08:16:52.039Z' + - gatsby > eslint-plugin-graphql > graphql-config > graphql-import > lodash: + patched: '2020-05-22T08:16:52.039Z' + - gatsby > webpack-dev-server > portfinder > async > lodash: + patched: '2020-05-22T08:16:52.039Z' + - gatsby > @babel/core > @babel/helper-module-transforms > @babel/helper-replace-supers > @babel/traverse > lodash: + patched: '2020-05-22T08:16:52.039Z' + - gatsby > babel-eslint > @babel/traverse > @babel/helper-split-export-declaration > @babel/types > lodash: + patched: '2020-05-22T08:16:52.039Z' + - gatsby > gatsby-plugin-typescript > @babel/core > @babel/helpers > @babel/traverse > lodash: + patched: '2020-05-22T08:16:52.039Z' + - gatsby > babel-preset-gatsby > @babel/preset-env > @babel/plugin-transform-classes > @babel/helper-define-map > lodash: + patched: '2020-05-22T08:16:52.039Z' + - gatsby > @babel/core > @babel/helper-module-transforms > @babel/helper-replace-supers > @babel/traverse > @babel/generator > lodash: + patched: '2020-05-22T08:16:52.039Z' + - gatsby > gatsby-plugin-typescript > @babel/core > @babel/helper-module-transforms > @babel/helper-replace-supers > @babel/traverse > lodash: + patched: '2020-05-22T08:16:52.039Z' + - gatsby > babel-preset-gatsby > @babel/preset-env > @babel/plugin-transform-unicode-regex > @babel/helper-create-regexp-features-plugin > @babel/helper-regex > lodash: + patched: '2020-05-22T08:16:52.039Z' + - gatsby > babel-eslint > @babel/traverse > @babel/helper-function-name > @babel/template > @babel/types > lodash: + patched: '2020-05-22T08:16:52.039Z' + - gatsby > @babel/core > @babel/helper-module-transforms > @babel/helper-replace-supers > @babel/traverse > @babel/helper-split-export-declaration > @babel/types > lodash: + patched: '2020-05-22T08:16:52.039Z' + - 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-22T08:16:52.039Z' + - 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-05-22T08:16:52.039Z' + - 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-22T08:16:52.039Z' + - 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-05-22T08:16:52.039Z' + - gatsby > @babel/core > @babel/helper-module-transforms > @babel/helper-replace-supers > @babel/traverse > @babel/helper-function-name > @babel/template > @babel/types > lodash: + patched: '2020-05-22T08:16:52.039Z' + - 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-05-22T08:16:52.039Z' + - 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-22T08:16:52.039Z' + - 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-05-22T08:16:52.039Z' + - 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-22T08:16:52.039Z' diff --git a/examples/feed/package.json b/examples/feed/package.json index 2b4b8b71d2be6..e5c962f34408b 100644 --- a/examples/feed/package.json +++ b/examples/feed/package.json @@ -10,7 +10,8 @@ "gatsby-source-filesystem": "^2.0.1", "gatsby-transformer-remark": "^2.1.1", "react": "^16.4.1", - "react-dom": "^16.4.1" + "react-dom": "^16.4.1", + "snyk": "^1.323.2" }, "keywords": [ "gatsby" @@ -20,6 +21,9 @@ "scripts": { "develop": "gatsby develop", "build": "gatsby build", - "start": "npm run develop" - } + "start": "npm run develop", + "snyk-protect": "snyk protect", + "prepublish": "npm run snyk-protect" + }, + "snyk": true }