From 988efa9cb67f0532436fb93b32dff74fa4ae5a09 Mon Sep 17 00:00:00 2001 From: snyk-test Date: Thu, 4 Jul 2019 02:11:11 +0000 Subject: [PATCH] fix: .snyk & package.json to reduce vulnerabilities The following vulnerabilities are fixed with a Snyk patch: - https://snyk.io/vuln/SNYK-JS-LODASH-450202 --- .snyk | 138 +++++++++++++++++++++++++++++++++++++++++++++++++++ package.json | 10 ++-- 2 files changed, 145 insertions(+), 3 deletions(-) create mode 100644 .snyk diff --git a/.snyk b/.snyk new file mode 100644 index 0000000..79f4813 --- /dev/null +++ b/.snyk @@ -0,0 +1,138 @@ +# 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: + - babel-preset-stage-2 > babel-plugin-transform-decorators > babel-helper-explode-class > babel-helper-bindify-decorators > babel-traverse > lodash: + patched: '2019-07-04T02:11:09.337Z' + - babel-preset-stage-2 > babel-plugin-transform-class-properties > babel-template > lodash: + patched: '2019-07-04T02:11:09.337Z' + - babel-preset-stage-2 > babel-plugin-transform-decorators > babel-types > lodash: + patched: '2019-07-04T02:11:09.337Z' + - babel-preset-stage-2 > babel-plugin-transform-decorators > babel-template > babel-traverse > lodash: + patched: '2019-07-04T02:11:09.337Z' + - babel-jest > babel-plugin-istanbul > istanbul-lib-instrument > babel-template > lodash: + patched: '2019-07-04T02:11:09.337Z' + - babel-preset-stage-2 > babel-plugin-transform-decorators > babel-helper-explode-class > babel-traverse > lodash: + patched: '2019-07-04T02:11:09.337Z' + - babel-preset-stage-2 > babel-plugin-transform-class-properties > babel-helper-function-name > babel-traverse > lodash: + patched: '2019-07-04T02:11:09.337Z' + - babel-jest > babel-plugin-istanbul > istanbul-lib-instrument > babel-traverse > lodash: + patched: '2019-07-04T02:11:09.337Z' + - babel-preset-stage-2 > babel-plugin-transform-decorators > babel-helper-explode-class > babel-types > lodash: + patched: '2019-07-04T02:11:09.337Z' + - babel-preset-stage-2 > babel-plugin-transform-class-properties > babel-template > babel-traverse > lodash: + patched: '2019-07-04T02:11:09.337Z' + - babel-preset-stage-2 > babel-plugin-transform-class-properties > babel-template > babel-types > lodash: + patched: '2019-07-04T02:11:09.337Z' + - babel-preset-stage-2 > babel-plugin-transform-decorators > babel-template > babel-types > lodash: + patched: '2019-07-04T02:11:09.337Z' + - babel-jest > babel-plugin-istanbul > istanbul-lib-instrument > babel-types > lodash: + patched: '2019-07-04T02:11:09.337Z' + - babel-jest > babel-plugin-istanbul > istanbul-lib-instrument > babel-generator > lodash: + patched: '2019-07-04T02:11:09.337Z' + - babel-preset-stage-2 > babel-plugin-transform-class-properties > babel-helper-function-name > babel-types > lodash: + patched: '2019-07-04T02:11:09.337Z' + - babel-preset-stage-2 > babel-plugin-transform-class-properties > babel-helper-function-name > babel-template > lodash: + patched: '2019-07-04T02:11:09.337Z' + - babel-preset-stage-2 > babel-plugin-transform-decorators > babel-helper-explode-class > babel-helper-bindify-decorators > babel-types > lodash: + patched: '2019-07-04T02:11:09.337Z' + - babel-jest > babel-plugin-istanbul > istanbul-lib-instrument > babel-generator > babel-types > lodash: + patched: '2019-07-04T02:11:09.337Z' + - babel-jest > babel-plugin-istanbul > istanbul-lib-instrument > babel-template > babel-types > lodash: + patched: '2019-07-04T02:11:09.337Z' + - babel-preset-stage-2 > babel-plugin-transform-class-properties > babel-helper-function-name > babel-template > babel-types > lodash: + patched: '2019-07-04T02:11:09.337Z' + - babel-preset-stage-2 > babel-preset-stage-3 > babel-plugin-transform-async-generator-functions > babel-helper-remap-async-to-generator > babel-template > lodash: + patched: '2019-07-04T02:11:09.337Z' + - babel-jest > babel-plugin-istanbul > istanbul-lib-instrument > babel-traverse > babel-types > lodash: + patched: '2019-07-04T02:11:09.337Z' + - babel-preset-stage-2 > babel-plugin-transform-class-properties > babel-helper-function-name > babel-traverse > babel-types > lodash: + patched: '2019-07-04T02:11:09.337Z' + - babel-preset-stage-2 > babel-preset-stage-3 > babel-plugin-transform-async-to-generator > babel-helper-remap-async-to-generator > babel-traverse > lodash: + patched: '2019-07-04T02:11:09.337Z' + - babel-preset-stage-2 > babel-plugin-transform-class-properties > babel-helper-function-name > babel-template > babel-traverse > lodash: + patched: '2019-07-04T02:11:09.337Z' + - babel-jest > babel-plugin-istanbul > istanbul-lib-instrument > babel-template > babel-traverse > lodash: + patched: '2019-07-04T02:11:09.337Z' + - babel-preset-stage-2 > babel-preset-stage-3 > babel-plugin-transform-async-generator-functions > babel-helper-remap-async-to-generator > babel-traverse > lodash: + patched: '2019-07-04T02:11:09.337Z' + - babel-preset-stage-2 > babel-plugin-transform-class-properties > babel-helper-function-name > babel-helper-get-function-arity > babel-types > lodash: + patched: '2019-07-04T02:11:09.337Z' + - babel-preset-stage-2 > babel-plugin-transform-class-properties > babel-template > babel-traverse > babel-types > lodash: + patched: '2019-07-04T02:11:09.337Z' + - babel-preset-stage-2 > babel-preset-stage-3 > babel-plugin-transform-exponentiation-operator > babel-helper-builder-binary-assignment-operator-visitor > babel-types > lodash: + patched: '2019-07-04T02:11:09.337Z' + - babel-preset-stage-2 > babel-plugin-transform-decorators > babel-helper-explode-class > babel-traverse > babel-types > lodash: + patched: '2019-07-04T02:11:09.337Z' + - babel-preset-stage-2 > babel-preset-stage-3 > babel-plugin-transform-async-to-generator > babel-helper-remap-async-to-generator > babel-types > lodash: + patched: '2019-07-04T02:11:09.337Z' + - babel-preset-stage-2 > babel-preset-stage-3 > babel-plugin-transform-async-generator-functions > babel-helper-remap-async-to-generator > babel-types > lodash: + patched: '2019-07-04T02:11:09.337Z' + - babel-preset-stage-2 > babel-plugin-transform-decorators > babel-template > lodash: + patched: '2019-07-04T02:11:09.337Z' + - babel-preset-stage-2 > babel-plugin-transform-decorators > babel-template > babel-traverse > babel-types > lodash: + patched: '2019-07-04T02:11:09.337Z' + - babel-preset-stage-2 > babel-preset-stage-3 > babel-plugin-transform-async-to-generator > babel-helper-remap-async-to-generator > babel-template > lodash: + patched: '2019-07-04T02:11:09.337Z' + - babel-jest > babel-plugin-istanbul > istanbul-lib-instrument > babel-template > babel-traverse > babel-types > lodash: + patched: '2019-07-04T02:11:09.337Z' + - babel-preset-stage-2 > babel-preset-stage-3 > babel-plugin-transform-async-generator-functions > babel-helper-remap-async-to-generator > babel-helper-function-name > babel-types > lodash: + patched: '2019-07-04T02:11:09.337Z' + - babel-preset-stage-2 > babel-preset-stage-3 > babel-plugin-transform-exponentiation-operator > babel-helper-builder-binary-assignment-operator-visitor > babel-helper-explode-assignable-expression > babel-types > lodash: + patched: '2019-07-04T02:11:09.337Z' + - babel-preset-stage-2 > babel-plugin-transform-class-properties > babel-helper-function-name > babel-template > babel-traverse > babel-types > lodash: + patched: '2019-07-04T02:11:09.337Z' + - babel-preset-stage-2 > babel-preset-stage-3 > babel-plugin-transform-async-to-generator > babel-helper-remap-async-to-generator > babel-helper-function-name > babel-template > lodash: + patched: '2019-07-04T02:11:09.337Z' + - babel-preset-stage-2 > babel-preset-stage-3 > babel-plugin-transform-async-to-generator > babel-helper-remap-async-to-generator > babel-template > babel-types > lodash: + patched: '2019-07-04T02:11:09.337Z' + - babel-preset-stage-2 > babel-preset-stage-3 > babel-plugin-transform-async-generator-functions > babel-helper-remap-async-to-generator > babel-template > babel-types > lodash: + patched: '2019-07-04T02:11:09.337Z' + - babel-preset-stage-2 > babel-preset-stage-3 > babel-plugin-transform-async-generator-functions > babel-helper-remap-async-to-generator > babel-helper-function-name > babel-template > lodash: + patched: '2019-07-04T02:11:09.337Z' + - babel-preset-stage-2 > babel-preset-stage-3 > babel-plugin-transform-exponentiation-operator > babel-helper-builder-binary-assignment-operator-visitor > babel-helper-explode-assignable-expression > babel-traverse > lodash: + patched: '2019-07-04T02:11:09.337Z' + - babel-preset-stage-2 > babel-plugin-transform-decorators > babel-helper-explode-class > babel-helper-bindify-decorators > babel-traverse > babel-types > lodash: + patched: '2019-07-04T02:11:09.337Z' + - babel-preset-stage-2 > babel-preset-stage-3 > babel-plugin-transform-async-generator-functions > babel-helper-remap-async-to-generator > babel-traverse > babel-types > lodash: + patched: '2019-07-04T02:11:09.337Z' + - babel-preset-stage-2 > babel-preset-stage-3 > babel-plugin-transform-async-generator-functions > babel-helper-remap-async-to-generator > babel-template > babel-traverse > lodash: + patched: '2019-07-04T02:11:09.337Z' + - babel-preset-stage-2 > babel-preset-stage-3 > babel-plugin-transform-async-to-generator > babel-helper-remap-async-to-generator > babel-template > babel-traverse > lodash: + patched: '2019-07-04T02:11:09.337Z' + - babel-preset-stage-2 > babel-preset-stage-3 > babel-plugin-transform-async-to-generator > babel-helper-remap-async-to-generator > babel-helper-function-name > babel-traverse > lodash: + patched: '2019-07-04T02:11:09.337Z' + - babel-preset-stage-2 > babel-preset-stage-3 > babel-plugin-transform-async-to-generator > babel-helper-remap-async-to-generator > babel-helper-function-name > babel-types > lodash: + patched: '2019-07-04T02:11:09.337Z' + - babel-preset-stage-2 > babel-preset-stage-3 > babel-plugin-transform-async-generator-functions > babel-helper-remap-async-to-generator > babel-helper-function-name > babel-traverse > lodash: + patched: '2019-07-04T02:11:09.337Z' + - babel-preset-stage-2 > babel-preset-stage-3 > babel-plugin-transform-async-to-generator > babel-helper-remap-async-to-generator > babel-traverse > babel-types > lodash: + patched: '2019-07-04T02:11:09.337Z' + - babel-preset-stage-2 > babel-preset-stage-3 > babel-plugin-transform-exponentiation-operator > babel-helper-builder-binary-assignment-operator-visitor > babel-helper-explode-assignable-expression > babel-traverse > babel-types > lodash: + patched: '2019-07-04T02:11:09.337Z' + - babel-preset-stage-2 > babel-preset-stage-3 > babel-plugin-transform-async-to-generator > babel-helper-remap-async-to-generator > babel-helper-function-name > babel-template > babel-types > lodash: + patched: '2019-07-04T02:11:09.337Z' + - babel-preset-stage-2 > babel-preset-stage-3 > babel-plugin-transform-async-to-generator > babel-helper-remap-async-to-generator > babel-helper-function-name > babel-traverse > babel-types > lodash: + patched: '2019-07-04T02:11:09.337Z' + - babel-preset-stage-2 > babel-preset-stage-3 > babel-plugin-transform-async-generator-functions > babel-helper-remap-async-to-generator > babel-helper-function-name > babel-traverse > babel-types > lodash: + patched: '2019-07-04T02:11:09.337Z' + - babel-preset-stage-2 > babel-preset-stage-3 > babel-plugin-transform-async-to-generator > babel-helper-remap-async-to-generator > babel-helper-function-name > babel-template > babel-traverse > lodash: + patched: '2019-07-04T02:11:09.337Z' + - babel-preset-stage-2 > babel-preset-stage-3 > babel-plugin-transform-async-to-generator > babel-helper-remap-async-to-generator > babel-template > babel-traverse > babel-types > lodash: + patched: '2019-07-04T02:11:09.337Z' + - babel-preset-stage-2 > babel-preset-stage-3 > babel-plugin-transform-async-generator-functions > babel-helper-remap-async-to-generator > babel-helper-function-name > babel-template > babel-types > lodash: + patched: '2019-07-04T02:11:09.337Z' + - babel-preset-stage-2 > babel-preset-stage-3 > babel-plugin-transform-async-generator-functions > babel-helper-remap-async-to-generator > babel-helper-function-name > babel-template > babel-traverse > lodash: + patched: '2019-07-04T02:11:09.337Z' + - babel-preset-stage-2 > babel-preset-stage-3 > babel-plugin-transform-async-generator-functions > babel-helper-remap-async-to-generator > babel-helper-function-name > babel-helper-get-function-arity > babel-types > lodash: + patched: '2019-07-04T02:11:09.337Z' + - babel-preset-stage-2 > babel-preset-stage-3 > babel-plugin-transform-async-to-generator > babel-helper-remap-async-to-generator > babel-helper-function-name > babel-helper-get-function-arity > babel-types > lodash: + patched: '2019-07-04T02:11:09.337Z' + - babel-preset-stage-2 > babel-preset-stage-3 > babel-plugin-transform-async-generator-functions > babel-helper-remap-async-to-generator > babel-template > babel-traverse > babel-types > lodash: + patched: '2019-07-04T02:11:09.337Z' + - babel-preset-stage-2 > babel-preset-stage-3 > babel-plugin-transform-async-generator-functions > babel-helper-remap-async-to-generator > babel-helper-function-name > babel-template > babel-traverse > babel-types > lodash: + patched: '2019-07-04T02:11:09.337Z' + - babel-preset-stage-2 > babel-preset-stage-3 > babel-plugin-transform-async-to-generator > babel-helper-remap-async-to-generator > babel-helper-function-name > babel-template > babel-traverse > babel-types > lodash: + patched: '2019-07-04T02:11:09.337Z' diff --git a/package.json b/package.json index c16ed29..5866a9f 100644 --- a/package.json +++ b/package.json @@ -19,7 +19,9 @@ "dev": "webpack-dev-server", "server": "nodemon server/index.js", "start": "nodemon server/index.js", - "test": "jest" + "test": "jest", + "snyk-protect": "snyk protect", + "prepublish": "npm run snyk-protect" }, "devDependencies": { "babel-core": "^6.26.3", @@ -52,6 +54,8 @@ "react-transition-group": "^2.4.0", "redux": "^4.0.0", "regenerator-runtime": "^0.12.1", - "zip-local": "^0.3.4" - } + "zip-local": "^0.3.4", + "snyk": "^1.189.0" + }, + "snyk": true }