diff --git a/examples/using-redux/.snyk b/examples/using-redux/.snyk new file mode 100644 index 0000000000000..9f8a218ecae57 --- /dev/null +++ b/examples/using-redux/.snyk @@ -0,0 +1,100 @@ +# Snyk (https://snyk.io) policy file, patches or ignores known vulnerabilities. +version: v1.13.5 +ignore: {} +# patches apply the minimum changes required to fix a vulnerability +patch: + SNYK-JS-LODASH-450202: + - gatsby > webpack-dev-server > http-proxy-middleware > lodash: + patched: '2019-07-03T23:25:43.917Z' + - redux > lodash: + patched: '2019-07-03T23:25:43.917Z' + - gatsby > lodash: + patched: '2019-07-03T23:25:43.917Z' + - gatsby > @babel/core > lodash: + patched: '2019-07-03T23:25:43.917Z' + - gatsby > react-hot-loader > lodash: + patched: '2019-07-03T23:25:43.917Z' + - gatsby > eslint > lodash: + patched: '2019-07-03T23:25:43.917Z' + - gatsby > gatsby-plugin-page-creator > lodash: + patched: '2019-07-03T23:25:43.917Z' + - gatsby > css-loader > lodash: + patched: '2019-07-03T23:25:43.917Z' + - gatsby > gatsby-cli > lodash: + patched: '2019-07-03T23:25:43.917Z' + - gatsby > gatsby-telemetry > lodash: + patched: '2019-07-03T23:25:43.917Z' + - gatsby > webpack-merge > lodash: + patched: '2019-07-03T23:25:43.917Z' + - gatsby > eslint-plugin-import > lodash: + patched: '2019-07-03T23:25:43.917Z' + - gatsby > eslint-plugin-graphql > lodash: + patched: '2019-07-03T23:25:43.917Z' + - gatsby > eslint-plugin-flowtype > lodash: + patched: '2019-07-03T23:25:43.917Z' + - gatsby > optimize-css-assets-webpack-plugin > last-call-webpack-plugin > lodash: + patched: '2019-07-03T23:25:43.917Z' + - gatsby > eslint-plugin-graphql > graphql-config > lodash: + patched: '2019-07-03T23:25:43.917Z' + - gatsby > eslint > table > lodash: + patched: '2019-07-03T23:25:43.917Z' + - gatsby > eslint > inquirer > lodash: + patched: '2019-07-03T23:25:43.917Z' + - gatsby > gatsby-plugin-page-creator > gatsby-page-utils > lodash: + patched: '2019-07-03T23:25:43.917Z' + - gatsby > @babel/core > @babel/generator > lodash: + patched: '2019-07-03T23:25:43.917Z' + - gatsby > babel-eslint > @babel/traverse > lodash: + patched: '2019-07-03T23:25:43.917Z' + - gatsby > gatsby-cli > gatsby-telemetry > lodash: + patched: '2019-07-03T23:25:43.917Z' + - gatsby > react-dev-utils > inquirer > lodash: + patched: '2019-07-03T23:25:43.917Z' + - react-redux > lodash: + patched: '2019-07-03T23:25:43.917Z' + - gatsby > @babel/traverse > @babel/helper-function-name > @babel/types > lodash: + patched: '2019-07-03T23:25:43.917Z' + - gatsby > babel-preset-gatsby > @babel/preset-env > @babel/plugin-transform-block-scoping > lodash: + patched: '2019-07-03T23:25:43.917Z' + - gatsby > babel-eslint > @babel/traverse > @babel/types > lodash: + patched: '2019-07-03T23:25:43.917Z' + - gatsby > @gatsbyjs/relay-compiler > babel-preset-fbjs > @babel/plugin-transform-block-scoping > lodash: + patched: '2019-07-03T23:25:43.917Z' + - gatsby > gatsby-cli > yurnalist > inquirer > lodash: + patched: '2019-07-03T23:25:43.917Z' + - gatsby > eslint-plugin-graphql > graphql-config > graphql-import > lodash: + patched: '2019-07-03T23:25:43.917Z' + - gatsby > @gatsbyjs/relay-compiler > @babel/traverse > @babel/helper-split-export-declaration > @babel/types > lodash: + patched: '2019-07-03T23:25:43.917Z' + - gatsby > babel-preset-gatsby > @babel/preset-env > @babel/plugin-transform-unicode-regex > @babel/helper-regex > lodash: + patched: '2019-07-03T23:25:43.917Z' + - gatsby > @gatsbyjs/relay-compiler > babel-preset-fbjs > @babel/plugin-transform-classes > @babel/helper-define-map > lodash: + patched: '2019-07-03T23:25:43.917Z' + - gatsby > babel-eslint > @babel/traverse > @babel/helper-function-name > @babel/types > lodash: + patched: '2019-07-03T23:25:43.917Z' + - gatsby > babel-preset-gatsby > @babel/plugin-proposal-class-properties > @babel/helper-create-class-features-plugin > @babel/helper-split-export-declaration > @babel/types > lodash: + patched: '2019-07-03T23:25:43.917Z' + - gatsby > @gatsbyjs/relay-compiler > babel-preset-fbjs > @babel/plugin-transform-classes > @babel/helper-replace-supers > @babel/traverse > lodash: + patched: '2019-07-03T23:25:43.917Z' + - gatsby > @gatsbyjs/relay-compiler > @babel/traverse > @babel/helper-function-name > @babel/helper-get-function-arity > @babel/types > lodash: + patched: '2019-07-03T23:25:43.917Z' + - gatsby > babel-eslint > @babel/traverse > @babel/helper-function-name > @babel/helper-get-function-arity > @babel/types > lodash: + patched: '2019-07-03T23:25:43.917Z' + - gatsby > babel-preset-gatsby > @babel/preset-env > @babel/plugin-transform-modules-commonjs > @babel/helper-simple-access > @babel/template > @babel/types > lodash: + patched: '2019-07-03T23:25:43.917Z' + - gatsby > @gatsbyjs/relay-compiler > babel-preset-fbjs > @babel/plugin-transform-modules-commonjs > @babel/helper-simple-access > @babel/template > @babel/types > lodash: + patched: '2019-07-03T23:25:43.917Z' + - gatsby > @babel/core > @babel/helpers > @babel/traverse > @babel/helper-function-name > @babel/helper-get-function-arity > @babel/types > lodash: + patched: '2019-07-03T23:25:43.917Z' + - gatsby > babel-preset-gatsby > @babel/preset-env > @babel/plugin-transform-modules-commonjs > @babel/helper-module-transforms > @babel/helper-simple-access > @babel/template > @babel/types > lodash: + patched: '2019-07-03T23:25:43.917Z' + - gatsby > @gatsbyjs/relay-compiler > babel-preset-fbjs > @babel/plugin-transform-classes > @babel/helper-replace-supers > @babel/traverse > @babel/helper-split-export-declaration > @babel/types > lodash: + patched: '2019-07-03T23:25:43.917Z' + - 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: '2019-07-03T23:25:43.917Z' + - gatsby > @gatsbyjs/relay-compiler > babel-preset-fbjs > @babel/plugin-proposal-class-properties > @babel/helper-create-class-features-plugin > @babel/helper-replace-supers > @babel/traverse > @babel/generator > @babel/types > lodash: + patched: '2019-07-03T23:25:43.917Z' + - 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/helper-get-function-arity > @babel/types > lodash: + patched: '2019-07-03T23:25:43.917Z' + - gatsby > @gatsbyjs/relay-compiler > babel-preset-fbjs > @babel/plugin-proposal-class-properties > @babel/helper-create-class-features-plugin > @babel/helper-replace-supers > @babel/traverse > @babel/helper-function-name > @babel/template > @babel/types > lodash: + patched: '2019-07-03T23:25:43.917Z' diff --git a/examples/using-redux/package.json b/examples/using-redux/package.json index 73381c7fcab95..fb5d1910b9c16 100644 --- a/examples/using-redux/package.json +++ b/examples/using-redux/package.json @@ -8,14 +8,20 @@ "gatsby": "latest", "gatsby-link": "latest", "react-redux": "5.0.5", - "redux": "3.6.0" + "redux": "3.6.0", + "snyk": "^1.189.0" }, - "keywords": ["gatsby"], + "keywords": [ + "gatsby" + ], "license": "MIT", "main": "n/a", "scripts": { "develop": "gatsby develop", "build": "gatsby build", - "serve": "gatsby serve" - } + "serve": "gatsby serve", + "snyk-protect": "snyk protect", + "prepublish": "npm run snyk-protect" + }, + "snyk": true }