From 865ea265a898a68757d586077c6003a6a1ba3f0d Mon Sep 17 00:00:00 2001 From: snyk-test Date: Thu, 4 Jul 2019 02:25:19 +0000 Subject: [PATCH] fix: examples/styleguide/.snyk & examples/styleguide/package.json to reduce vulnerabilities The following vulnerabilities are fixed with a Snyk patch: - https://snyk.io/vuln/SNYK-JS-LODASH-450202 --- examples/styleguide/.snyk | 164 +++++++++++++++++++++++++++++++ examples/styleguide/package.json | 10 +- 2 files changed, 171 insertions(+), 3 deletions(-) create mode 100644 examples/styleguide/.snyk diff --git a/examples/styleguide/.snyk b/examples/styleguide/.snyk new file mode 100644 index 0000000000000..d0c4b14f3b898 --- /dev/null +++ b/examples/styleguide/.snyk @@ -0,0 +1,164 @@ +# 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-source-filesystem > babel-cli > babel-core > babel-template > lodash: + patched: '2019-07-04T02:25:18.036Z' + - gatsby-transformer-remark > lodash: + patched: '2019-07-04T02:25:18.036Z' + - gatsby > @babel/core > lodash: + patched: '2019-07-04T02:25:18.036Z' + - gatsby > css-loader > lodash: + patched: '2019-07-04T02:25:18.036Z' + - gatsby > eslint > lodash: + patched: '2019-07-04T02:25:18.036Z' + - gatsby-transformer-react-docgen > babel-types > lodash: + patched: '2019-07-04T02:25:18.036Z' + - gatsby > eslint-plugin-flowtype > lodash: + patched: '2019-07-04T02:25:18.036Z' + - gatsby-source-filesystem > babel-cli > lodash: + patched: '2019-07-04T02:25:18.036Z' + - gatsby > eslint-plugin-import > lodash: + patched: '2019-07-04T02:25:18.036Z' + - gatsby > gatsby-telemetry > lodash: + patched: '2019-07-04T02:25:18.036Z' + - gatsby > gatsby-cli > lodash: + patched: '2019-07-04T02:25:18.036Z' + - gatsby > webpack-merge > lodash: + patched: '2019-07-04T02:25:18.036Z' + - gatsby > react-hot-loader > lodash: + patched: '2019-07-04T02:25:18.036Z' + - gatsby > gatsby-plugin-page-creator > lodash: + patched: '2019-07-04T02:25:18.036Z' + - gatsby > eslint-plugin-graphql > lodash: + patched: '2019-07-04T02:25:18.036Z' + - gatsby-source-filesystem > babel-cli > babel-core > lodash: + patched: '2019-07-04T02:25:18.036Z' + - gatsby-transformer-react-docgen > react-docgen > async > lodash: + patched: '2019-07-04T02:25:18.036Z' + - gatsby > eslint > table > lodash: + patched: '2019-07-04T02:25:18.036Z' + - gatsby-source-filesystem > babel-cli > babel-register > lodash: + patched: '2019-07-04T02:25:18.036Z' + - gatsby > @babel/core > @babel/types > lodash: + patched: '2019-07-04T02:25:18.036Z' + - gatsby > babel-eslint > @babel/traverse > lodash: + patched: '2019-07-04T02:25:18.036Z' + - gatsby > eslint-plugin-graphql > graphql-config > lodash: + patched: '2019-07-04T02:25:18.036Z' + - gatsby > gatsby-cli > gatsby-telemetry > lodash: + patched: '2019-07-04T02:25:18.036Z' + - gatsby > webpack-dev-server > http-proxy-middleware > lodash: + patched: '2019-07-04T02:25:18.036Z' + - gatsby > react-dev-utils > inquirer > lodash: + patched: '2019-07-04T02:25:18.036Z' + - gatsby > optimize-css-assets-webpack-plugin > last-call-webpack-plugin > lodash: + patched: '2019-07-04T02:25:18.036Z' + - gatsby > gatsby-plugin-page-creator > gatsby-page-utils > lodash: + patched: '2019-07-04T02:25:18.036Z' + - gatsby > eslint > inquirer > lodash: + patched: '2019-07-04T02:25:18.036Z' + - gatsby > @gatsbyjs/relay-compiler > @babel/traverse > @babel/types > lodash: + patched: '2019-07-04T02:25:18.036Z' + - gatsby > eslint-plugin-graphql > graphql-config > graphql-import > lodash: + patched: '2019-07-04T02:25:18.036Z' + - gatsby-source-filesystem > babel-cli > babel-core > babel-generator > lodash: + patched: '2019-07-04T02:25:18.036Z' + - gatsby > gatsby-cli > yurnalist > inquirer > lodash: + patched: '2019-07-04T02:25:18.036Z' + - gatsby > babel-preset-gatsby > @babel/preset-env > @babel/types > lodash: + patched: '2019-07-04T02:25:18.036Z' + - gatsby > @gatsbyjs/relay-compiler > babel-preset-fbjs > @babel/plugin-transform-block-scoping > lodash: + patched: '2019-07-04T02:25:18.036Z' + - gatsby-source-filesystem > babel-cli > babel-core > babel-traverse > lodash: + patched: '2019-07-04T02:25:18.036Z' + - gatsby-source-filesystem > babel-cli > babel-core > babel-types > lodash: + patched: '2019-07-04T02:25:18.036Z' + - gatsby > babel-eslint > @babel/traverse > @babel/types > lodash: + patched: '2019-07-04T02:25:18.036Z' + - gatsby-source-filesystem > babel-cli > babel-core > babel-register > lodash: + patched: '2019-07-04T02:25:18.036Z' + - gatsby-source-filesystem > babel-cli > babel-register > babel-core > lodash: + patched: '2019-07-04T02:25:18.036Z' + - gatsby > lodash: + patched: '2019-07-04T02:25:18.036Z' + - gatsby-source-filesystem > babel-cli > babel-register > babel-core > babel-types > lodash: + patched: '2019-07-04T02:25:18.036Z' + - gatsby > @babel/core > @babel/helpers > @babel/template > @babel/types > lodash: + patched: '2019-07-04T02:25:18.036Z' + - gatsby-source-filesystem > babel-cli > babel-register > babel-core > babel-generator > lodash: + patched: '2019-07-04T02:25:18.036Z' + - gatsby-source-filesystem > babel-cli > babel-core > babel-traverse > babel-types > lodash: + patched: '2019-07-04T02:25:18.036Z' + - gatsby-source-filesystem > babel-cli > babel-core > babel-helpers > babel-template > lodash: + patched: '2019-07-04T02:25:18.036Z' + - gatsby-source-filesystem > babel-cli > babel-core > babel-template > babel-traverse > lodash: + patched: '2019-07-04T02:25:18.036Z' + - gatsby > babel-eslint > @babel/traverse > @babel/helper-split-export-declaration > @babel/types > lodash: + patched: '2019-07-04T02:25:18.036Z' + - gatsby-source-filesystem > babel-cli > babel-core > babel-template > babel-types > lodash: + patched: '2019-07-04T02:25:18.036Z' + - gatsby > babel-preset-gatsby > @babel/preset-env > @babel/plugin-transform-classes > @babel/helper-define-map > lodash: + patched: '2019-07-04T02:25:18.036Z' + - gatsby-source-filesystem > babel-cli > babel-register > babel-core > babel-template > lodash: + patched: '2019-07-04T02:25:18.036Z' + - gatsby > @gatsbyjs/relay-compiler > babel-preset-fbjs > @babel/plugin-transform-classes > @babel/helper-define-map > lodash: + patched: '2019-07-04T02:25:18.036Z' + - gatsby-source-filesystem > babel-cli > babel-core > babel-generator > babel-types > lodash: + patched: '2019-07-04T02:25:18.036Z' + - gatsby-source-filesystem > babel-cli > babel-register > babel-core > babel-traverse > lodash: + patched: '2019-07-04T02:25:18.036Z' + - gatsby-source-filesystem > babel-cli > babel-register > babel-core > babel-traverse > babel-types > lodash: + patched: '2019-07-04T02:25:18.036Z' + - gatsby-source-filesystem > babel-cli > babel-register > babel-core > babel-template > babel-traverse > lodash: + patched: '2019-07-04T02:25:18.036Z' + - gatsby-source-filesystem > babel-cli > babel-core > babel-template > babel-traverse > babel-types > lodash: + patched: '2019-07-04T02:25:18.036Z' + - gatsby-source-filesystem > babel-cli > babel-register > babel-core > babel-generator > babel-types > lodash: + patched: '2019-07-04T02:25:18.036Z' + - gatsby > @babel/core > @babel/helpers > @babel/traverse > @babel/helper-function-name > @babel/types > lodash: + patched: '2019-07-04T02:25:18.036Z' + - gatsby > babel-eslint > @babel/traverse > @babel/helper-function-name > @babel/template > @babel/types > lodash: + patched: '2019-07-04T02:25:18.036Z' + - gatsby-source-filesystem > babel-cli > babel-register > babel-core > babel-helpers > babel-template > lodash: + patched: '2019-07-04T02:25:18.036Z' + - gatsby-source-filesystem > babel-cli > babel-core > babel-helpers > babel-template > babel-traverse > lodash: + patched: '2019-07-04T02:25:18.036Z' + - gatsby > babel-preset-gatsby > @babel/preset-env > @babel/plugin-transform-parameters > @babel/helper-get-function-arity > @babel/types > lodash: + patched: '2019-07-04T02:25:18.036Z' + - gatsby-source-filesystem > babel-cli > babel-register > babel-core > babel-template > babel-types > lodash: + patched: '2019-07-04T02:25:18.036Z' + - gatsby > @gatsbyjs/relay-compiler > babel-preset-fbjs > @babel/plugin-transform-parameters > @babel/helper-get-function-arity > @babel/types > lodash: + patched: '2019-07-04T02:25:18.036Z' + - gatsby-source-filesystem > babel-cli > babel-core > babel-helpers > babel-template > babel-types > lodash: + patched: '2019-07-04T02:25:18.036Z' + - gatsby > babel-preset-gatsby > @babel/preset-env > @babel/plugin-proposal-async-generator-functions > @babel/helper-remap-async-to-generator > @babel/traverse > @babel/generator > lodash: + patched: '2019-07-04T02:25:18.036Z' + - gatsby > @babel/core > @babel/helpers > @babel/traverse > @babel/helper-function-name > @babel/helper-get-function-arity > @babel/types > lodash: + patched: '2019-07-04T02:25:18.036Z' + - gatsby-source-filesystem > babel-cli > babel-register > babel-core > babel-helpers > babel-template > babel-traverse > lodash: + patched: '2019-07-04T02:25:18.036Z' + - gatsby-source-filesystem > babel-cli > babel-register > babel-core > babel-helpers > babel-template > babel-types > lodash: + patched: '2019-07-04T02:25:18.036Z' + - gatsby > @gatsbyjs/relay-compiler > babel-preset-fbjs > @babel/plugin-transform-parameters > @babel/helper-call-delegate > @babel/traverse > @babel/generator > lodash: + patched: '2019-07-04T02:25:18.036Z' + - gatsby-source-filesystem > babel-cli > babel-register > babel-core > babel-template > babel-traverse > babel-types > lodash: + patched: '2019-07-04T02:25:18.036Z' + - gatsby-source-filesystem > babel-cli > babel-core > babel-helpers > babel-template > babel-traverse > babel-types > lodash: + patched: '2019-07-04T02:25:18.036Z' + - 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-04T02:25:18.036Z' + - gatsby > @gatsbyjs/relay-compiler > babel-preset-fbjs > @babel/plugin-transform-classes > @babel/helper-replace-supers > @babel/traverse > @babel/helper-function-name > @babel/types > lodash: + patched: '2019-07-04T02:25:18.036Z' + - gatsby-source-filesystem > babel-cli > babel-register > babel-core > babel-helpers > babel-template > babel-traverse > babel-types > lodash: + patched: '2019-07-04T02:25:18.036Z' + - gatsby > babel-preset-gatsby > @babel/preset-env > @babel/plugin-transform-object-super > @babel/helper-replace-supers > @babel/traverse > @babel/helper-function-name > @babel/template > @babel/types > lodash: + patched: '2019-07-04T02:25:18.036Z' + - 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-04T02:25:18.036Z' + - 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: '2019-07-04T02:25:18.036Z' + - 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-04T02:25:18.036Z' diff --git a/examples/styleguide/package.json b/examples/styleguide/package.json index 1f699aa446c98..ca92df294f1bf 100644 --- a/examples/styleguide/package.json +++ b/examples/styleguide/package.json @@ -12,12 +12,16 @@ "gatsby-transformer-remark": "^1.7.25", "glamor": "^2.20.40", "html-to-react": "^1.3.1", - "react-live": "^1.7.1" + "react-live": "^1.7.1", + "snyk": "^1.189.0" }, "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 }