From 6d6a72cbc0acb4d817eadbafc5dfd3658e6bc49f Mon Sep 17 00:00:00 2001 From: snyk-test Date: Thu, 4 Jul 2019 02:04:48 +0000 Subject: [PATCH] fix: packages/gatsby/.snyk & packages/gatsby/package.json to reduce vulnerabilities The following vulnerabilities are fixed with a Snyk patch: - https://snyk.io/vuln/SNYK-JS-LODASH-450202 --- packages/gatsby/.snyk | 272 +++++++++++++++++++++++++++++++++++ packages/gatsby/package.json | 10 +- 2 files changed, 279 insertions(+), 3 deletions(-) create mode 100644 packages/gatsby/.snyk diff --git a/packages/gatsby/.snyk b/packages/gatsby/.snyk new file mode 100644 index 0000000000000..0596903385daf --- /dev/null +++ b/packages/gatsby/.snyk @@ -0,0 +1,272 @@ +# 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: + - relay-compiler > babel-preset-fbjs > babel-plugin-transform-es2015-modules-commonjs > babel-template > babel-traverse > lodash: + patched: '2019-07-04T02:04:46.853Z' + - lodash: + patched: '2019-07-04T02:04:46.853Z' + - redux > lodash: + patched: '2019-07-04T02:04:46.853Z' + - react-hot-loader > lodash: + patched: '2019-07-04T02:04:46.853Z' + - gatsby-plugin-page-creator > lodash: + patched: '2019-07-04T02:04:46.853Z' + - gatsby-cli > lodash: + patched: '2019-07-04T02:04:46.853Z' + - eslint-plugin-import > lodash: + patched: '2019-07-04T02:04:46.853Z' + - eslint-plugin-graphql > lodash: + patched: '2019-07-04T02:04:46.853Z' + - eslint-plugin-flowtype > lodash: + patched: '2019-07-04T02:04:46.853Z' + - eslint > lodash: + patched: '2019-07-04T02:04:46.853Z' + - css-loader > lodash: + patched: '2019-07-04T02:04:46.853Z' + - '@babel/traverse > lodash': + patched: '2019-07-04T02:04:46.853Z' + - react-dev-utils > inquirer > lodash: + patched: '2019-07-04T02:04:46.853Z' + - '@babel/traverse > @babel/types > lodash': + patched: '2019-07-04T02:04:46.853Z' + - relay-compiler > babel-traverse > lodash: + patched: '2019-07-04T02:04:46.853Z' + - relay-compiler > babel-generator > lodash: + patched: '2019-07-04T02:04:46.853Z' + - relay-compiler > babel-types > lodash: + patched: '2019-07-04T02:04:46.853Z' + - optimize-css-assets-webpack-plugin > last-call-webpack-plugin > lodash: + patched: '2019-07-04T02:04:46.853Z' + - gatsby-plugin-page-creator > gatsby-page-utils > lodash: + patched: '2019-07-04T02:04:46.853Z' + - gatsby-cli > gatsby-telemetry > lodash: + patched: '2019-07-04T02:04:46.853Z' + - eslint-plugin-graphql > graphql-config > lodash: + patched: '2019-07-04T02:04:46.853Z' + - eslint > table > lodash: + patched: '2019-07-04T02:04:46.853Z' + - webpack-dev-server > http-proxy-middleware > lodash: + patched: '2019-07-04T02:04:46.853Z' + - eslint > inquirer > lodash: + patched: '2019-07-04T02:04:46.853Z' + - babel-eslint > @babel/types > lodash: + patched: '2019-07-04T02:04:46.853Z' + - '@babel/traverse > @babel/helper-function-name > @babel/types > lodash': + patched: '2019-07-04T02:04:46.853Z' + - relay-compiler > babel-generator > babel-types > lodash: + patched: '2019-07-04T02:04:46.853Z' + - babel-eslint > @babel/traverse > @babel/generator > lodash: + patched: '2019-07-04T02:04:46.853Z' + - eslint-plugin-graphql > graphql-config > graphql-import > lodash: + patched: '2019-07-04T02:04:46.853Z' + - relay-compiler > babel-preset-fbjs > babel-plugin-transform-es2015-block-scoping > lodash: + patched: '2019-07-04T02:04:46.853Z' + - gatsby-cli > yurnalist > inquirer > lodash: + patched: '2019-07-04T02:04:46.853Z' + - relay-compiler > babel-traverse > babel-types > lodash: + patched: '2019-07-04T02:04:46.853Z' + - '@babel/core > @babel/traverse > @babel/generator > @babel/types > lodash': + patched: '2019-07-04T02:04:46.853Z' + - babel-eslint > @babel/traverse > @babel/helper-function-name > @babel/template > lodash: + patched: '2019-07-04T02:04:46.853Z' + - relay-compiler > babel-preset-fbjs > babel-plugin-transform-es2015-classes > babel-helper-define-map > lodash: + patched: '2019-07-04T02:04:46.853Z' + - relay-compiler > babel-preset-fbjs > babel-plugin-transform-es2015-parameters > babel-template > lodash: + patched: '2019-07-04T02:04:46.853Z' + - relay-compiler > babel-preset-fbjs > babel-plugin-transform-es2015-modules-commonjs > babel-template > lodash: + patched: '2019-07-04T02:04:46.853Z' + - relay-compiler > babel-preset-fbjs > babel-plugin-transform-es2015-computed-properties > babel-template > lodash: + patched: '2019-07-04T02:04:46.853Z' + - relay-compiler > babel-preset-fbjs > babel-plugin-transform-es2015-classes > babel-template > lodash: + patched: '2019-07-04T02:04:46.853Z' + - relay-compiler > babel-preset-fbjs > babel-plugin-transform-es2015-block-scoping > babel-template > lodash: + patched: '2019-07-04T02:04:46.853Z' + - relay-compiler > babel-preset-fbjs > babel-plugin-transform-class-properties > babel-template > lodash: + patched: '2019-07-04T02:04:46.853Z' + - relay-compiler > babel-preset-fbjs > babel-plugin-transform-es2015-parameters > babel-traverse > lodash: + patched: '2019-07-04T02:04:46.853Z' + - relay-compiler > babel-preset-fbjs > babel-plugin-transform-es2015-classes > babel-traverse > lodash: + patched: '2019-07-04T02:04:46.853Z' + - relay-compiler > babel-preset-fbjs > babel-plugin-transform-es2015-block-scoping > babel-traverse > lodash: + patched: '2019-07-04T02:04:46.853Z' + - relay-compiler > babel-preset-fbjs > babel-plugin-transform-es2015-shorthand-properties > babel-types > lodash: + patched: '2019-07-04T02:04:46.853Z' + - relay-compiler > babel-preset-fbjs > babel-plugin-transform-es2015-parameters > babel-types > lodash: + patched: '2019-07-04T02:04:46.853Z' + - relay-compiler > babel-preset-fbjs > babel-plugin-transform-es2015-modules-commonjs > babel-types > lodash: + patched: '2019-07-04T02:04:46.853Z' + - relay-compiler > babel-preset-fbjs > babel-plugin-transform-es2015-function-name > babel-types > lodash: + patched: '2019-07-04T02:04:46.853Z' + - relay-compiler > babel-preset-fbjs > babel-plugin-transform-es2015-classes > babel-types > lodash: + patched: '2019-07-04T02:04:46.853Z' + - relay-compiler > babel-preset-fbjs > babel-plugin-transform-es2015-block-scoping > babel-types > lodash: + patched: '2019-07-04T02:04:46.853Z' + - '@babel/preset-env > @babel/plugin-transform-classes > @babel/helper-replace-supers > @babel/helper-optimise-call-expression > @babel/types > lodash': + patched: '2019-07-04T02:04:46.853Z' + - relay-compiler > babel-preset-fbjs > babel-plugin-transform-es2015-object-super > babel-helper-replace-supers > babel-template > lodash: + patched: '2019-07-04T02:04:46.853Z' + - relay-compiler > babel-preset-fbjs > babel-plugin-transform-react-jsx > babel-helper-builder-react-jsx > babel-types > lodash: + patched: '2019-07-04T02:04:46.853Z' + - relay-compiler > babel-preset-fbjs > babel-plugin-transform-class-properties > babel-helper-function-name > babel-template > lodash: + patched: '2019-07-04T02:04:46.853Z' + - relay-compiler > babel-preset-fbjs > babel-plugin-transform-es2015-classes > babel-helper-replace-supers > babel-template > lodash: + patched: '2019-07-04T02:04:46.853Z' + - relay-compiler > babel-preset-fbjs > babel-plugin-transform-es2015-parameters > babel-helper-call-delegate > babel-traverse > lodash: + patched: '2019-07-04T02:04:46.853Z' + - relay-compiler > babel-preset-fbjs > babel-plugin-transform-es2015-object-super > babel-helper-replace-supers > babel-traverse > lodash: + patched: '2019-07-04T02:04:46.853Z' + - relay-compiler > babel-preset-fbjs > babel-plugin-transform-es2015-classes > babel-helper-replace-supers > babel-traverse > lodash: + patched: '2019-07-04T02:04:46.853Z' + - relay-compiler > babel-preset-fbjs > babel-plugin-transform-es2015-function-name > babel-helper-function-name > babel-traverse > lodash: + patched: '2019-07-04T02:04:46.853Z' + - relay-compiler > babel-preset-fbjs > babel-plugin-transform-es2015-classes > babel-helper-function-name > babel-traverse > lodash: + patched: '2019-07-04T02:04:46.853Z' + - relay-compiler > babel-preset-fbjs > babel-plugin-transform-es2015-function-name > babel-helper-function-name > babel-template > lodash: + patched: '2019-07-04T02:04:46.853Z' + - relay-compiler > babel-preset-fbjs > babel-plugin-transform-class-properties > babel-helper-function-name > babel-traverse > lodash: + patched: '2019-07-04T02:04:46.853Z' + - relay-compiler > babel-preset-fbjs > babel-plugin-transform-es2015-classes > babel-helper-function-name > babel-template > lodash: + patched: '2019-07-04T02:04:46.853Z' + - relay-compiler > babel-preset-fbjs > babel-plugin-transform-es2015-parameters > babel-helper-call-delegate > babel-types > lodash: + patched: '2019-07-04T02:04:46.853Z' + - relay-compiler > babel-preset-fbjs > babel-plugin-transform-es2015-parameters > babel-template > babel-traverse > lodash: + patched: '2019-07-04T02:04:46.853Z' + - relay-compiler > babel-preset-fbjs > babel-plugin-transform-es2015-modules-commonjs > babel-plugin-transform-strict-mode > babel-types > lodash: + patched: '2019-07-04T02:04:46.853Z' + - webpack-merge > lodash: + patched: '2019-07-04T02:04:46.853Z' + - relay-compiler > babel-preset-fbjs > babel-plugin-transform-es2015-object-super > babel-helper-replace-supers > babel-types > lodash: + patched: '2019-07-04T02:04:46.853Z' + - relay-compiler > babel-preset-fbjs > babel-plugin-transform-es2015-classes > babel-helper-replace-supers > babel-types > lodash: + patched: '2019-07-04T02:04:46.853Z' + - relay-compiler > babel-preset-fbjs > babel-plugin-transform-es2015-computed-properties > babel-template > babel-traverse > lodash: + patched: '2019-07-04T02:04:46.853Z' + - relay-compiler > babel-preset-fbjs > babel-plugin-transform-es2015-classes > babel-template > babel-traverse > lodash: + patched: '2019-07-04T02:04:46.853Z' + - relay-compiler > babel-preset-fbjs > babel-plugin-transform-es2015-block-scoping > babel-template > babel-traverse > lodash: + patched: '2019-07-04T02:04:46.853Z' + - relay-compiler > babel-preset-fbjs > babel-plugin-transform-class-properties > babel-template > babel-traverse > lodash: + patched: '2019-07-04T02:04:46.853Z' + - relay-compiler > babel-preset-fbjs > babel-plugin-transform-es2015-classes > babel-helper-optimise-call-expression > babel-types > lodash: + patched: '2019-07-04T02:04:46.853Z' + - relay-compiler > babel-preset-fbjs > babel-plugin-transform-es2015-classes > babel-helper-define-map > babel-types > lodash: + patched: '2019-07-04T02:04:46.853Z' + - relay-compiler > babel-preset-fbjs > babel-plugin-transform-es2015-function-name > babel-helper-function-name > babel-types > lodash: + patched: '2019-07-04T02:04:46.853Z' + - relay-compiler > babel-preset-fbjs > babel-plugin-transform-es2015-classes > babel-helper-function-name > babel-types > lodash: + patched: '2019-07-04T02:04:46.853Z' + - babel-eslint > @babel/traverse > @babel/helper-function-name > @babel/template > @babel/types > lodash: + patched: '2019-07-04T02:04:46.853Z' + - relay-compiler > babel-preset-fbjs > babel-plugin-transform-class-properties > babel-helper-function-name > babel-types > lodash: + patched: '2019-07-04T02:04:46.853Z' + - relay-compiler > babel-preset-fbjs > babel-plugin-transform-es2015-parameters > babel-template > babel-types > lodash: + patched: '2019-07-04T02:04:46.853Z' + - relay-compiler > babel-preset-fbjs > babel-plugin-transform-es2015-modules-commonjs > babel-template > babel-types > lodash: + patched: '2019-07-04T02:04:46.853Z' + - relay-compiler > babel-preset-fbjs > babel-plugin-transform-es2015-computed-properties > babel-template > babel-types > lodash: + patched: '2019-07-04T02:04:46.853Z' + - relay-compiler > babel-preset-fbjs > babel-plugin-transform-es2015-classes > babel-template > babel-types > lodash: + patched: '2019-07-04T02:04:46.853Z' + - relay-compiler > babel-preset-fbjs > babel-plugin-transform-es2015-block-scoping > babel-template > babel-types > lodash: + patched: '2019-07-04T02:04:46.853Z' + - relay-compiler > babel-preset-fbjs > babel-plugin-transform-class-properties > babel-template > babel-types > lodash: + patched: '2019-07-04T02:04:46.853Z' + - relay-compiler > babel-preset-fbjs > babel-plugin-transform-es2015-parameters > babel-traverse > babel-types > lodash: + patched: '2019-07-04T02:04:46.853Z' + - relay-compiler > babel-preset-fbjs > babel-plugin-transform-es2015-classes > babel-traverse > babel-types > lodash: + patched: '2019-07-04T02:04:46.853Z' + - relay-compiler > babel-preset-fbjs > babel-plugin-transform-es2015-block-scoping > babel-traverse > babel-types > lodash: + patched: '2019-07-04T02:04:46.853Z' + - relay-compiler > babel-preset-fbjs > babel-plugin-transform-es2015-parameters > babel-helper-get-function-arity > babel-types > lodash: + patched: '2019-07-04T02:04:46.853Z' + - '@babel/preset-env > @babel/plugin-proposal-async-generator-functions > @babel/helper-remap-async-to-generator > @babel/traverse > @babel/helper-function-name > @babel/types > lodash': + patched: '2019-07-04T02:04:46.853Z' + - relay-compiler > babel-preset-fbjs > babel-plugin-transform-es2015-object-super > babel-helper-replace-supers > babel-helper-optimise-call-expression > babel-types > lodash: + patched: '2019-07-04T02:04:46.853Z' + - relay-compiler > babel-preset-fbjs > babel-plugin-transform-class-properties > babel-helper-function-name > babel-helper-get-function-arity > babel-types > lodash: + patched: '2019-07-04T02:04:46.853Z' + - relay-compiler > babel-preset-fbjs > babel-plugin-transform-es2015-classes > babel-helper-function-name > babel-helper-get-function-arity > babel-types > lodash: + patched: '2019-07-04T02:04:46.853Z' + - relay-compiler > babel-preset-fbjs > babel-plugin-transform-es2015-function-name > babel-helper-function-name > babel-helper-get-function-arity > babel-types > lodash: + patched: '2019-07-04T02:04:46.853Z' + - relay-compiler > babel-preset-fbjs > babel-plugin-transform-class-properties > babel-template > babel-traverse > babel-types > lodash: + patched: '2019-07-04T02:04:46.853Z' + - relay-compiler > babel-preset-fbjs > babel-plugin-transform-es2015-block-scoping > babel-template > babel-traverse > babel-types > lodash: + patched: '2019-07-04T02:04:46.853Z' + - relay-compiler > babel-preset-fbjs > babel-plugin-transform-es2015-classes > babel-template > babel-traverse > babel-types > lodash: + patched: '2019-07-04T02:04:46.853Z' + - relay-compiler > babel-preset-fbjs > babel-plugin-transform-es2015-computed-properties > babel-template > babel-traverse > babel-types > lodash: + patched: '2019-07-04T02:04:46.853Z' + - relay-compiler > babel-preset-fbjs > babel-plugin-transform-es2015-modules-commonjs > babel-template > babel-traverse > babel-types > lodash: + patched: '2019-07-04T02:04:46.853Z' + - relay-compiler > babel-preset-fbjs > babel-plugin-transform-es2015-parameters > babel-template > babel-traverse > babel-types > lodash: + patched: '2019-07-04T02:04:46.853Z' + - relay-compiler > babel-preset-fbjs > babel-plugin-transform-class-properties > babel-helper-function-name > babel-traverse > babel-types > lodash: + patched: '2019-07-04T02:04:46.853Z' + - relay-compiler > babel-preset-fbjs > babel-plugin-transform-es2015-classes > babel-helper-function-name > babel-traverse > babel-types > lodash: + patched: '2019-07-04T02:04:46.853Z' + - relay-compiler > babel-preset-fbjs > babel-plugin-transform-es2015-function-name > babel-helper-function-name > babel-traverse > babel-types > lodash: + patched: '2019-07-04T02:04:46.853Z' + - relay-compiler > babel-preset-fbjs > babel-plugin-transform-es2015-classes > babel-helper-replace-supers > babel-traverse > babel-types > lodash: + patched: '2019-07-04T02:04:46.853Z' + - relay-compiler > babel-preset-fbjs > babel-plugin-transform-es2015-object-super > babel-helper-replace-supers > babel-traverse > babel-types > lodash: + patched: '2019-07-04T02:04:46.853Z' + - relay-compiler > babel-preset-fbjs > babel-plugin-transform-es2015-parameters > babel-helper-call-delegate > babel-traverse > babel-types > lodash: + patched: '2019-07-04T02:04:46.853Z' + - relay-compiler > babel-preset-fbjs > babel-plugin-transform-class-properties > babel-helper-function-name > babel-template > babel-types > lodash: + patched: '2019-07-04T02:04:46.853Z' + - relay-compiler > babel-preset-fbjs > babel-plugin-transform-es2015-classes > babel-helper-function-name > babel-template > babel-types > lodash: + patched: '2019-07-04T02:04:46.853Z' + - relay-compiler > babel-preset-fbjs > babel-plugin-transform-es2015-function-name > babel-helper-function-name > babel-template > babel-types > lodash: + patched: '2019-07-04T02:04:46.853Z' + - relay-compiler > babel-preset-fbjs > babel-plugin-transform-es2015-classes > babel-helper-replace-supers > babel-template > babel-types > lodash: + patched: '2019-07-04T02:04:46.853Z' + - relay-compiler > babel-preset-fbjs > babel-plugin-transform-es2015-object-super > babel-helper-replace-supers > babel-template > babel-types > lodash: + patched: '2019-07-04T02:04:46.853Z' + - relay-compiler > babel-preset-fbjs > babel-plugin-transform-es2015-classes > babel-helper-define-map > babel-helper-function-name > babel-types > lodash: + patched: '2019-07-04T02:04:46.853Z' + - relay-compiler > babel-preset-fbjs > babel-plugin-transform-es2015-classes > babel-helper-replace-supers > babel-helper-optimise-call-expression > babel-types > lodash: + patched: '2019-07-04T02:04:46.853Z' + - relay-compiler > babel-preset-fbjs > babel-plugin-transform-es2015-parameters > babel-helper-call-delegate > babel-helper-hoist-variables > babel-types > lodash: + patched: '2019-07-04T02:04:46.853Z' + - relay-compiler > babel-preset-fbjs > babel-plugin-transform-class-properties > babel-helper-function-name > babel-template > babel-traverse > lodash: + patched: '2019-07-04T02:04:46.853Z' + - relay-compiler > babel-preset-fbjs > babel-plugin-transform-es2015-classes > babel-helper-function-name > babel-template > babel-traverse > lodash: + patched: '2019-07-04T02:04:46.853Z' + - relay-compiler > babel-preset-fbjs > babel-plugin-transform-es2015-function-name > babel-helper-function-name > babel-template > babel-traverse > lodash: + patched: '2019-07-04T02:04:46.853Z' + - relay-compiler > babel-preset-fbjs > babel-plugin-transform-es2015-classes > babel-helper-replace-supers > babel-template > babel-traverse > lodash: + patched: '2019-07-04T02:04:46.853Z' + - relay-compiler > babel-preset-fbjs > babel-plugin-transform-es2015-object-super > babel-helper-replace-supers > babel-template > babel-traverse > lodash: + patched: '2019-07-04T02:04:46.853Z' + - relay-compiler > babel-preset-fbjs > babel-plugin-transform-es2015-classes > babel-helper-define-map > babel-helper-function-name > babel-traverse > lodash: + patched: '2019-07-04T02:04:46.853Z' + - relay-compiler > babel-preset-fbjs > babel-plugin-transform-es2015-classes > babel-helper-define-map > babel-helper-function-name > babel-template > lodash: + patched: '2019-07-04T02:04:46.853Z' + - '@babel/preset-env > @babel/plugin-transform-async-to-generator > @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-04T02:04:46.853Z' + - relay-compiler > babel-preset-fbjs > babel-plugin-transform-es2015-object-super > babel-helper-replace-supers > babel-template > babel-traverse > babel-types > lodash: + patched: '2019-07-04T02:04:46.853Z' + - relay-compiler > babel-preset-fbjs > babel-plugin-transform-es2015-classes > babel-helper-define-map > babel-helper-function-name > babel-template > babel-traverse > lodash: + patched: '2019-07-04T02:04:46.853Z' + - relay-compiler > babel-preset-fbjs > babel-plugin-transform-class-properties > babel-helper-function-name > babel-template > babel-traverse > babel-types > lodash: + patched: '2019-07-04T02:04:46.853Z' + - relay-compiler > babel-preset-fbjs > babel-plugin-transform-es2015-classes > babel-helper-define-map > babel-helper-function-name > babel-template > babel-types > lodash: + patched: '2019-07-04T02:04:46.853Z' + - relay-compiler > babel-preset-fbjs > babel-plugin-transform-es2015-classes > babel-helper-function-name > babel-template > babel-traverse > babel-types > lodash: + patched: '2019-07-04T02:04:46.853Z' + - relay-compiler > babel-preset-fbjs > babel-plugin-transform-es2015-classes > babel-helper-define-map > babel-helper-function-name > babel-traverse > babel-types > lodash: + patched: '2019-07-04T02:04:46.853Z' + - relay-compiler > babel-preset-fbjs > babel-plugin-transform-es2015-function-name > babel-helper-function-name > babel-template > babel-traverse > babel-types > lodash: + patched: '2019-07-04T02:04:46.853Z' + - relay-compiler > babel-preset-fbjs > babel-plugin-transform-es2015-classes > babel-helper-define-map > babel-helper-function-name > babel-helper-get-function-arity > babel-types > lodash: + patched: '2019-07-04T02:04:46.853Z' + - relay-compiler > babel-preset-fbjs > babel-plugin-transform-es2015-classes > babel-helper-replace-supers > babel-template > babel-traverse > babel-types > lodash: + patched: '2019-07-04T02:04:46.853Z' + - '@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:04:46.853Z' + - relay-compiler > babel-preset-fbjs > babel-plugin-transform-es2015-classes > babel-helper-define-map > babel-helper-function-name > babel-template > babel-traverse > babel-types > lodash: + patched: '2019-07-04T02:04:46.853Z' diff --git a/packages/gatsby/package.json b/packages/gatsby/package.json index 5f4eb36c390e3..dc71e7bf4434c 100644 --- a/packages/gatsby/package.json +++ b/packages/gatsby/package.json @@ -123,7 +123,8 @@ "webpack-hot-middleware": "^2.21.0", "webpack-merge": "^4.1.0", "webpack-stats-plugin": "^0.1.5", - "yaml-loader": "^0.5.0" + "yaml-loader": "^0.5.0", + "snyk": "^1.189.0" }, "devDependencies": { "@babel/cli": "^7.0.0", @@ -178,10 +179,13 @@ "clean-test-bundles": "find test/ -type f -name bundle.js* -exec rm -rf {} +", "prepare": "cross-env NODE_ENV=production npm run build", "test-coverage": "node_modules/.bin/nyc --reporter=lcov --reporter=text npm test", - "watch": "rimraf dist && mkdir dist && npm run build:internal-plugins && npm run build:rawfiles && npm run build:src -- --watch" + "watch": "rimraf dist && mkdir dist && npm run build:internal-plugins && npm run build:rawfiles && npm run build:src -- --watch", + "snyk-protect": "snyk protect", + "prepublish": "npm run snyk-protect" }, "types": "index.d.ts", "yargs": { "boolean-negation": false - } + }, + "snyk": true }