diff --git a/examples/hn/.snyk b/examples/hn/.snyk new file mode 100644 index 0000000000000..3675755faea44 --- /dev/null +++ b/examples/hn/.snyk @@ -0,0 +1,104 @@ +# 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 > babel-eslint > @babel/traverse > lodash: + patched: '2019-07-06T08:09:03.306Z' + - lodash: + patched: '2019-07-06T08:09:03.306Z' + - gatsby-plugin-offline > lodash: + patched: '2019-07-06T08:09:03.306Z' + - gatsby > lodash: + patched: '2019-07-06T08:09:03.306Z' + - gatsby > eslint-plugin-graphql > lodash: + patched: '2019-07-06T08:09:03.306Z' + - gatsby-plugin-offline > cheerio > lodash: + patched: '2019-07-06T08:09:03.306Z' + - gatsby > gatsby-plugin-page-creator > lodash: + patched: '2019-07-06T08:09:03.306Z' + - gatsby > gatsby-cli > lodash: + patched: '2019-07-06T08:09:03.306Z' + - gatsby > gatsby-telemetry > lodash: + patched: '2019-07-06T08:09:03.306Z' + - gatsby > eslint-plugin-import > lodash: + patched: '2019-07-06T08:09:03.306Z' + - gatsby > react-hot-loader > lodash: + patched: '2019-07-06T08:09:03.306Z' + - gatsby > eslint-plugin-flowtype > lodash: + patched: '2019-07-06T08:09:03.306Z' + - gatsby > eslint > lodash: + patched: '2019-07-06T08:09:03.306Z' + - gatsby > css-loader > lodash: + patched: '2019-07-06T08:09:03.306Z' + - gatsby > webpack-merge > lodash: + patched: '2019-07-06T08:09:03.306Z' + - gatsby > @babel/traverse > lodash: + patched: '2019-07-06T08:09:03.306Z' + - gatsby > gatsby-cli > gatsby-telemetry > lodash: + patched: '2019-07-06T08:09:03.306Z' + - gatsby > optimize-css-assets-webpack-plugin > last-call-webpack-plugin > lodash: + patched: '2019-07-06T08:09:03.306Z' + - gatsby > webpack-dev-server > http-proxy-middleware > lodash: + patched: '2019-07-06T08:09:03.306Z' + - gatsby > eslint-plugin-graphql > graphql-config > lodash: + patched: '2019-07-06T08:09:03.306Z' + - gatsby > @gatsbyjs/relay-compiler > @babel/traverse > lodash: + patched: '2019-07-06T08:09:03.306Z' + - gatsby > gatsby-plugin-page-creator > gatsby-page-utils > lodash: + patched: '2019-07-06T08:09:03.306Z' + - gatsby > eslint > table > lodash: + patched: '2019-07-06T08:09:03.306Z' + - gatsby > eslint > inquirer > lodash: + patched: '2019-07-06T08:09:03.306Z' + - gatsby-source-hacker-news > lodash: + patched: '2019-07-06T08:09:03.306Z' + - gatsby > react-dev-utils > inquirer > lodash: + patched: '2019-07-06T08:09:03.306Z' + - gatsby > babel-preset-gatsby > @babel/preset-env > @babel/plugin-transform-block-scoping > lodash: + patched: '2019-07-06T08:09:03.306Z' + - gatsby > @gatsbyjs/relay-compiler > babel-preset-fbjs > @babel/plugin-transform-block-scoping > lodash: + patched: '2019-07-06T08:09:03.306Z' + - gatsby > @babel/core > @babel/helpers > @babel/types > lodash: + patched: '2019-07-06T08:09:03.306Z' + - gatsby > gatsby-cli > yurnalist > inquirer > lodash: + patched: '2019-07-06T08:09:03.306Z' + - gatsby > eslint-plugin-graphql > graphql-config > graphql-import > lodash: + patched: '2019-07-06T08:09:03.306Z' + - gatsby > babel-eslint > @babel/traverse > @babel/types > lodash: + patched: '2019-07-06T08:09:03.306Z' + - gatsby > babel-preset-gatsby > @babel/preset-env > @babel/helper-module-imports > @babel/types > lodash: + patched: '2019-07-06T08:09:03.306Z' + - gatsby > babel-eslint > @babel/traverse > @babel/helper-split-export-declaration > @babel/types > lodash: + patched: '2019-07-06T08:09:03.306Z' + - gatsby > @gatsbyjs/relay-compiler > babel-preset-fbjs > @babel/plugin-transform-classes > @babel/helper-define-map > lodash: + patched: '2019-07-06T08:09:03.306Z' + - gatsby > @babel/core > @babel/helpers > @babel/template > @babel/types > lodash: + patched: '2019-07-06T08:09:03.306Z' + - gatsby > babel-preset-gatsby > @babel/preset-env > @babel/plugin-transform-modules-commonjs > @babel/helper-simple-access > @babel/types > lodash: + patched: '2019-07-06T08:09:03.306Z' + - gatsby > @gatsbyjs/relay-compiler > babel-preset-fbjs > @babel/plugin-transform-modules-commonjs > @babel/helper-module-transforms > @babel/types > lodash: + patched: '2019-07-06T08:09:03.306Z' + - gatsby > @gatsbyjs/relay-compiler > @babel/traverse > @babel/helper-function-name > @babel/template > @babel/types > lodash: + patched: '2019-07-06T08:09:03.306Z' + - gatsby > babel-eslint > @babel/traverse > @babel/helper-function-name > @babel/helper-get-function-arity > @babel/types > lodash: + patched: '2019-07-06T08:09:03.306Z' + - gatsby > babel-preset-gatsby > @babel/preset-env > @babel/plugin-proposal-async-generator-functions > @babel/helper-remap-async-to-generator > @babel/helper-wrap-function > @babel/traverse > lodash: + patched: '2019-07-06T08:09:03.306Z' + - gatsby > @gatsbyjs/relay-compiler > babel-preset-fbjs > @babel/plugin-transform-modules-commonjs > @babel/helper-module-transforms > @babel/helper-simple-access > @babel/types > lodash: + patched: '2019-07-06T08:09:03.306Z' + - gatsby > @babel/core > @babel/helpers > @babel/traverse > @babel/helper-function-name > @babel/helper-get-function-arity > @babel/types > lodash: + patched: '2019-07-06T08:09:03.306Z' + - gatsby > @gatsbyjs/relay-compiler > babel-preset-fbjs > @babel/plugin-proposal-class-properties > @babel/helper-create-class-features-plugin > @babel/helper-replace-supers > @babel/helper-member-expression-to-functions > @babel/types > lodash: + patched: '2019-07-06T08:09:03.306Z' + - gatsby > babel-preset-gatsby > @babel/preset-env > @babel/plugin-transform-async-to-generator > @babel/helper-remap-async-to-generator > @babel/helper-wrap-function > @babel/template > @babel/types > lodash: + patched: '2019-07-06T08:09:03.306Z' + - gatsby > babel-preset-gatsby > @babel/preset-env > @babel/plugin-transform-async-to-generator > @babel/helper-remap-async-to-generator > @babel/helper-wrap-function > @babel/traverse > @babel/generator > @babel/types > lodash: + patched: '2019-07-06T08:09:03.306Z' + - gatsby > @gatsbyjs/relay-compiler > babel-preset-fbjs > @babel/plugin-transform-classes > @babel/helper-replace-supers > @babel/traverse > @babel/helper-function-name > @babel/template > @babel/types > lodash: + patched: '2019-07-06T08:09:03.306Z' + - 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/helper-get-function-arity > @babel/types > lodash: + patched: '2019-07-06T08:09:03.306Z' + - gatsby > babel-preset-gatsby > @babel/preset-env > @babel/plugin-proposal-async-generator-functions > @babel/helper-remap-async-to-generator > @babel/helper-wrap-function > @babel/traverse > @babel/helper-function-name > @babel/template > @babel/types > lodash: + patched: '2019-07-06T08:09:03.306Z' diff --git a/examples/hn/package.json b/examples/hn/package.json index 9467a37b9d77c..f29908417cc65 100644 --- a/examples/hn/package.json +++ b/examples/hn/package.json @@ -13,13 +13,19 @@ "gatsby-plugin-offline": "latest", "gatsby-source-hacker-news": "latest", "lodash": "^4.16.4", - "slash": "^1.0.0" + "slash": "^1.0.0", + "snyk": "^1.192.3" }, - "keywords": ["gatsby"], + "keywords": [ + "gatsby" + ], "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 }