From 7d45a7ab1d376d343378f9d1697c3c8e1910fead Mon Sep 17 00:00:00 2001 From: snyk-test Date: Thu, 4 Jul 2019 01:36:58 +0000 Subject: [PATCH] fix: examples/using-postcss-sass/.snyk & examples/using-postcss-sass/package.json to reduce vulnerabilities The following vulnerabilities are fixed with a Snyk patch: - https://snyk.io/vuln/SNYK-JS-LODASH-450202 --- examples/using-postcss-sass/.snyk | 110 +++++++++++++++++++++++ examples/using-postcss-sass/package.json | 10 ++- 2 files changed, 117 insertions(+), 3 deletions(-) create mode 100644 examples/using-postcss-sass/.snyk diff --git a/examples/using-postcss-sass/.snyk b/examples/using-postcss-sass/.snyk new file mode 100644 index 0000000000000..216a8babb6970 --- /dev/null +++ b/examples/using-postcss-sass/.snyk @@ -0,0 +1,110 @@ +# 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 > react-dev-utils > inquirer > lodash: + patched: '2019-07-04T01:36:46.715Z' + - typography > lodash: + patched: '2019-07-04T01:36:46.715Z' + - gatsby-plugin-offline > lodash: + patched: '2019-07-04T01:36:46.715Z' + - gatsby > @babel/core > lodash: + patched: '2019-07-04T01:36:46.715Z' + - gatsby > webpack-merge > lodash: + patched: '2019-07-04T01:36:46.715Z' + - gatsby > react-hot-loader > lodash: + patched: '2019-07-04T01:36:46.715Z' + - gatsby > gatsby-plugin-page-creator > lodash: + patched: '2019-07-04T01:36:46.715Z' + - gatsby > gatsby-cli > lodash: + patched: '2019-07-04T01:36:46.715Z' + - gatsby-plugin-offline > cheerio > lodash: + patched: '2019-07-04T01:36:46.715Z' + - gatsby > eslint-plugin-import > lodash: + patched: '2019-07-04T01:36:46.715Z' + - gatsby > eslint-plugin-graphql > lodash: + patched: '2019-07-04T01:36:46.715Z' + - gatsby-plugin-postcss-sass > node-sass > lodash: + patched: '2019-07-04T01:36:46.715Z' + - gatsby > eslint-plugin-flowtype > lodash: + patched: '2019-07-04T01:36:46.715Z' + - gatsby > eslint > lodash: + patched: '2019-07-04T01:36:46.715Z' + - gatsby > css-loader > lodash: + patched: '2019-07-04T01:36:46.715Z' + - gatsby > gatsby-telemetry > lodash: + patched: '2019-07-04T01:36:46.715Z' + - gatsby > optimize-css-assets-webpack-plugin > last-call-webpack-plugin > lodash: + patched: '2019-07-04T01:36:46.715Z' + - gatsby-plugin-postcss-sass > node-sass > sass-graph > lodash: + patched: '2019-07-04T01:36:46.715Z' + - gatsby > gatsby-plugin-page-creator > gatsby-page-utils > lodash: + patched: '2019-07-04T01:36:46.715Z' + - gatsby > webpack-dev-server > http-proxy-middleware > lodash: + patched: '2019-07-04T01:36:46.715Z' + - gatsby > eslint > table > lodash: + patched: '2019-07-04T01:36:46.715Z' + - gatsby > eslint > inquirer > lodash: + patched: '2019-07-04T01:36:46.715Z' + - gatsby > @babel/core > @babel/generator > lodash: + patched: '2019-07-04T01:36:46.715Z' + - gatsby > babel-eslint > @babel/traverse > lodash: + patched: '2019-07-04T01:36:46.715Z' + - gatsby-plugin-postcss-sass > sass-loader > async > lodash: + patched: '2019-07-04T01:36:46.715Z' + - gatsby > gatsby-cli > gatsby-telemetry > lodash: + patched: '2019-07-04T01:36:46.715Z' + - gatsby > lodash: + patched: '2019-07-04T01:36:46.715Z' + - gatsby > eslint-plugin-graphql > graphql-config > lodash: + patched: '2019-07-04T01:36:46.715Z' + - gatsby > @gatsbyjs/relay-compiler > @babel/generator > @babel/types > lodash: + patched: '2019-07-04T01:36:46.715Z' + - gatsby > eslint-plugin-graphql > graphql-config > graphql-import > lodash: + patched: '2019-07-04T01:36:46.715Z' + - gatsby-plugin-postcss-sass > node-sass > gaze > globule > lodash: + patched: '2019-07-04T01:36:46.715Z' + - gatsby > babel-preset-gatsby > @babel/preset-env > @babel/plugin-transform-block-scoping > lodash: + patched: '2019-07-04T01:36:46.715Z' + - gatsby > babel-eslint > @babel/traverse > @babel/types > lodash: + patched: '2019-07-04T01:36:46.715Z' + - gatsby > @gatsbyjs/relay-compiler > babel-preset-fbjs > @babel/plugin-transform-block-scoping > lodash: + patched: '2019-07-04T01:36:46.715Z' + - gatsby > gatsby-cli > yurnalist > inquirer > lodash: + patched: '2019-07-04T01:36:46.715Z' + - gatsby > babel-preset-gatsby > @babel/preset-env > @babel/plugin-transform-unicode-regex > @babel/helper-regex > lodash: + patched: '2019-07-04T01:36:46.715Z' + - gatsby > @babel/core > @babel/helpers > @babel/traverse > @babel/types > lodash: + patched: '2019-07-04T01:36:46.715Z' + - gatsby > babel-eslint > @babel/traverse > @babel/helper-split-export-declaration > @babel/types > lodash: + patched: '2019-07-04T01:36:46.715Z' + - gatsby > @gatsbyjs/relay-compiler > babel-preset-fbjs > @babel/plugin-transform-modules-commonjs > @babel/helper-module-transforms > lodash: + patched: '2019-07-04T01:36:46.715Z' + - 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-04T01:36:46.715Z' + - gatsby > @gatsbyjs/relay-compiler > babel-preset-fbjs > @babel/plugin-transform-classes > @babel/helper-replace-supers > @babel/traverse > lodash: + patched: '2019-07-04T01:36:46.715Z' + - gatsby > @gatsbyjs/relay-compiler > @babel/traverse > @babel/helper-function-name > @babel/helper-get-function-arity > @babel/types > lodash: + patched: '2019-07-04T01:36:46.715Z' + - gatsby > babel-eslint > @babel/traverse > @babel/helper-function-name > @babel/helper-get-function-arity > @babel/types > lodash: + patched: '2019-07-04T01:36:46.715Z' + - gatsby > babel-preset-gatsby > @babel/preset-env > @babel/plugin-transform-function-name > @babel/helper-function-name > @babel/helper-get-function-arity > @babel/types > lodash: + patched: '2019-07-04T01:36:46.715Z' + - gatsby > @gatsbyjs/relay-compiler > babel-preset-fbjs > @babel/plugin-transform-parameters > @babel/helper-call-delegate > @babel/traverse > @babel/types > lodash: + patched: '2019-07-04T01:36:46.715Z' + - gatsby > @babel/core > @babel/helpers > @babel/traverse > @babel/helper-function-name > @babel/helper-get-function-arity > @babel/types > lodash: + patched: '2019-07-04T01:36:46.715Z' + - 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/types > lodash: + patched: '2019-07-04T01:36:46.715Z' + - gatsby > @gatsbyjs/relay-compiler > babel-preset-fbjs > @babel/plugin-transform-parameters > @babel/helper-call-delegate > @babel/traverse > @babel/helper-split-export-declaration > @babel/types > lodash: + patched: '2019-07-04T01:36:46.715Z' + - gatsby > babel-preset-gatsby > @babel/preset-env > @babel/plugin-proposal-async-generator-functions > @babel/helper-remap-async-to-generator > @babel/helper-wrap-function > @babel/helper-function-name > @babel/helper-get-function-arity > @babel/types > lodash: + patched: '2019-07-04T01:36:46.715Z' + - 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-04T01:36:46.715Z' + - 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-04T01:36:46.715Z' + - 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-04T01:36:46.715Z' diff --git a/examples/using-postcss-sass/package.json b/examples/using-postcss-sass/package.json index 2f17e6b11e744..9736a7d18260c 100644 --- a/examples/using-postcss-sass/package.json +++ b/examples/using-postcss-sass/package.json @@ -6,7 +6,9 @@ "scripts": { "develop": "gatsby develop", "build": "gatsby build", - "serve": "gatsby serve" + "serve": "gatsby serve", + "snyk-protect": "snyk protect", + "prepublish": "npm run snyk-protect" }, "author": "Kyle Mathews ", "license": "MIT", @@ -18,6 +20,8 @@ "gatsby-plugin-postcss-sass": "latest", "lost": "^8.0.0", "react-typography": "^0.15.10", - "typography": "^0.15.10" - } + "typography": "^0.15.10", + "snyk": "^1.189.0" + }, + "snyk": true }