From 17a083e917d298d89cdefa84dd2e58923db72b47 Mon Sep 17 00:00:00 2001 From: snyk-test Date: Fri, 5 Jul 2019 06:55:37 +0000 Subject: [PATCH] fix: examples/using-javascript-transforms/.snyk & examples/using-javascript-transforms/package.json to reduce vulnerabilities The following vulnerabilities are fixed with a Snyk patch: - https://snyk.io/vuln/SNYK-JS-LODASH-450202 --- examples/using-javascript-transforms/.snyk | 112 ++++++++++++++++++ .../using-javascript-transforms/package.json | 10 +- 2 files changed, 119 insertions(+), 3 deletions(-) create mode 100644 examples/using-javascript-transforms/.snyk diff --git a/examples/using-javascript-transforms/.snyk b/examples/using-javascript-transforms/.snyk new file mode 100644 index 0000000000000..1eea0930340df --- /dev/null +++ b/examples/using-javascript-transforms/.snyk @@ -0,0 +1,112 @@ +# 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 > eslint-plugin-graphql > graphql-config > lodash: + patched: '2019-07-05T06:55:35.786Z' + - node-sass > lodash: + patched: '2019-07-05T06:55:35.786Z' + - gatsby-transformer-remark > lodash: + patched: '2019-07-05T06:55:35.786Z' + - gatsby > webpack-merge > lodash: + patched: '2019-07-05T06:55:35.786Z' + - gatsby > react-hot-loader > lodash: + patched: '2019-07-05T06:55:35.786Z' + - gatsby > gatsby-plugin-page-creator > lodash: + patched: '2019-07-05T06:55:35.786Z' + - gatsby > gatsby-cli > lodash: + patched: '2019-07-05T06:55:35.786Z' + - gatsby > gatsby-telemetry > lodash: + patched: '2019-07-05T06:55:35.786Z' + - gatsby > @babel/core > lodash: + patched: '2019-07-05T06:55:35.786Z' + - gatsby > eslint-plugin-graphql > lodash: + patched: '2019-07-05T06:55:35.786Z' + - gatsby > eslint-plugin-flowtype > lodash: + patched: '2019-07-05T06:55:35.786Z' + - gatsby > eslint > lodash: + patched: '2019-07-05T06:55:35.786Z' + - gatsby > css-loader > lodash: + patched: '2019-07-05T06:55:35.786Z' + - node-sass > sass-graph > lodash: + patched: '2019-07-05T06:55:35.786Z' + - gatsby-transformer-javascript-frontmatter > @babel/traverse > lodash: + patched: '2019-07-05T06:55:35.786Z' + - gatsby > eslint-plugin-import > lodash: + patched: '2019-07-05T06:55:35.786Z' + - gatsby > gatsby-plugin-page-creator > gatsby-page-utils > lodash: + patched: '2019-07-05T06:55:35.786Z' + - gatsby > @babel/core > @babel/generator > lodash: + patched: '2019-07-05T06:55:35.786Z' + - node-sass > gaze > globule > lodash: + patched: '2019-07-05T06:55:35.786Z' + - gatsby > eslint > inquirer > lodash: + patched: '2019-07-05T06:55:35.786Z' + - gatsby > react-dev-utils > inquirer > lodash: + patched: '2019-07-05T06:55:35.786Z' + - gatsby-transformer-javascript-frontmatter > @babel/traverse > @babel/generator > lodash: + patched: '2019-07-05T06:55:35.786Z' + - gatsby > babel-eslint > @babel/traverse > lodash: + patched: '2019-07-05T06:55:35.786Z' + - gatsby > gatsby-cli > gatsby-telemetry > lodash: + patched: '2019-07-05T06:55:35.786Z' + - gatsby > optimize-css-assets-webpack-plugin > last-call-webpack-plugin > lodash: + patched: '2019-07-05T06:55:35.786Z' + - gatsby > webpack-dev-server > http-proxy-middleware > lodash: + patched: '2019-07-05T06:55:35.786Z' + - gatsby > lodash: + patched: '2019-07-05T06:55:35.786Z' + - gatsby > eslint > table > lodash: + patched: '2019-07-05T06:55:35.786Z' + - gatsby > @babel/core > @babel/helpers > @babel/types > lodash: + patched: '2019-07-05T06:55:35.786Z' + - gatsby-transformer-javascript-frontmatter > @babel/traverse > @babel/helper-function-name > @babel/types > lodash: + patched: '2019-07-05T06:55:35.786Z' + - gatsby > babel-preset-gatsby > @babel/preset-env > @babel/plugin-transform-block-scoping > lodash: + patched: '2019-07-05T06:55:35.786Z' + - gatsby > gatsby-cli > yurnalist > inquirer > lodash: + patched: '2019-07-05T06:55:35.786Z' + - gatsby > babel-eslint > @babel/traverse > @babel/generator > lodash: + patched: '2019-07-05T06:55:35.786Z' + - gatsby > eslint-plugin-graphql > graphql-config > graphql-import > lodash: + patched: '2019-07-05T06:55:35.786Z' + - gatsby > @gatsbyjs/relay-compiler > babel-preset-fbjs > @babel/plugin-transform-block-scoping > lodash: + patched: '2019-07-05T06:55:35.786Z' + - gatsby > @gatsbyjs/relay-compiler > @babel/traverse > @babel/generator > @babel/types > lodash: + patched: '2019-07-05T06:55:35.786Z' + - gatsby > babel-preset-gatsby > @babel/preset-env > @babel/plugin-transform-modules-umd > @babel/helper-module-transforms > lodash: + patched: '2019-07-05T06:55:35.786Z' + - gatsby > @gatsbyjs/relay-compiler > babel-preset-fbjs > @babel/plugin-transform-classes > @babel/helper-define-map > lodash: + patched: '2019-07-05T06:55:35.786Z' + - gatsby-transformer-javascript-frontmatter > @babel/traverse > @babel/helper-function-name > @babel/template > @babel/types > lodash: + patched: '2019-07-05T06:55:35.786Z' + - gatsby > babel-eslint > @babel/traverse > @babel/generator > @babel/types > lodash: + patched: '2019-07-05T06:55:35.786Z' + - 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-05T06:55:35.786Z' + - gatsby > @gatsbyjs/relay-compiler > babel-preset-fbjs > @babel/plugin-transform-react-jsx > @babel/helper-builder-react-jsx > @babel/types > lodash: + patched: '2019-07-05T06:55:35.786Z' + - gatsby > @babel/core > @babel/helpers > @babel/traverse > @babel/generator > @babel/types > lodash: + patched: '2019-07-05T06:55:35.786Z' + - gatsby > babel-eslint > @babel/traverse > @babel/helper-function-name > @babel/template > @babel/types > lodash: + patched: '2019-07-05T06:55:35.786Z' + - gatsby > @gatsbyjs/relay-compiler > babel-preset-fbjs > @babel/plugin-transform-parameters > @babel/helper-call-delegate > @babel/helper-hoist-variables > @babel/types > lodash: + patched: '2019-07-05T06:55:35.786Z' + - 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-05T06:55:35.786Z' + - gatsby > @babel/core > @babel/helpers > @babel/traverse > @babel/helper-function-name > @babel/helper-get-function-arity > @babel/types > lodash: + patched: '2019-07-05T06:55:35.786Z' + - gatsby > @gatsbyjs/relay-compiler > babel-preset-fbjs > @babel/plugin-transform-parameters > @babel/helper-call-delegate > @babel/traverse > @babel/generator > @babel/types > lodash: + patched: '2019-07-05T06:55:35.786Z' + - gatsby > babel-preset-gatsby > @babel/preset-env > @babel/plugin-transform-parameters > @babel/helper-call-delegate > @babel/traverse > @babel/generator > @babel/types > lodash: + patched: '2019-07-05T06:55:35.786Z' + - 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/types > lodash: + patched: '2019-07-05T06:55:35.786Z' + - gatsby > babel-preset-gatsby > @babel/preset-env > @babel/plugin-transform-classes > @babel/helper-replace-supers > @babel/traverse > @babel/helper-function-name > @babel/helper-get-function-arity > @babel/types > lodash: + patched: '2019-07-05T06:55:35.786Z' + - 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-05T06:55:35.786Z' + - 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-05T06:55:35.786Z' diff --git a/examples/using-javascript-transforms/package.json b/examples/using-javascript-transforms/package.json index 23f436efbfa2a..d75754f987d61 100644 --- a/examples/using-javascript-transforms/package.json +++ b/examples/using-javascript-transforms/package.json @@ -7,7 +7,9 @@ "develop": "gatsby develop", "build": "gatsby build", "serve": "gatsby serve", - "test": "echo \"Error: no test specified\" && exit 1" + "test": "echo \"Error: no test specified\" && exit 1", + "snyk-protect": "snyk protect", + "prepublish": "npm run snyk-protect" }, "keywords": [ "personal", @@ -33,6 +35,8 @@ "normalize.css": "^7.0.0", "prismjs": "^1.13.0", "prop-types": "^15.5.8", - "react-helmet": "^5.2.0" - } + "react-helmet": "^5.2.0", + "snyk": "^1.192.0" + }, + "snyk": true } \ No newline at end of file