From 6ba29ff55919c3b482729a4772f5663a80bf21a0 Mon Sep 17 00:00:00 2001 From: snyk-test Date: Thu, 4 Jul 2019 02:48:55 +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 | 40 ++++++++++++++++++++++++++++++++++++++++ package.json | 10 +++++++--- 2 files changed, 47 insertions(+), 3 deletions(-) create mode 100644 .snyk diff --git a/.snyk b/.snyk new file mode 100644 index 0000000..e6a7c1d --- /dev/null +++ b/.snyk @@ -0,0 +1,40 @@ +# 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: + - gulp-eslint > eslint > inquirer > lodash: + patched: '2019-07-04T02:48:53.823Z' + - browser-sync > easy-extender > lodash: + patched: '2019-07-04T02:48:53.823Z' + - eyeglass > node-sass > lodash: + patched: '2019-07-04T02:48:53.823Z' + - gulp-sass > node-sass > lodash: + patched: '2019-07-04T02:48:53.823Z' + - gulp-sass-lint > sass-lint > eslint > lodash: + patched: '2019-07-04T02:48:53.823Z' + - gulp-eslint > eslint > table > lodash: + patched: '2019-07-04T02:48:53.823Z' + - gulp-sass-lint > sass-lint > globule > lodash: + patched: '2019-07-04T02:48:53.823Z' + - eyeglass > node-sass > sass-graph > lodash: + patched: '2019-07-04T02:48:53.823Z' + - gulp-eslint > eslint > lodash: + patched: '2019-07-04T02:48:53.823Z' + - eslint-config-punchcard > babel-eslint > babel-types > lodash: + patched: '2019-07-04T02:48:53.823Z' + - eslint-config-punchcard > babel-eslint > babel-traverse > lodash: + patched: '2019-07-04T02:48:53.823Z' + - gulp-sass > node-sass > sass-graph > lodash: + patched: '2019-07-04T02:48:53.823Z' + - eslint-config-punchcard > babel-eslint > babel-traverse > babel-types > lodash: + patched: '2019-07-04T02:48:53.823Z' + - gulp-sass-lint > sass-lint > eslint > inquirer > lodash: + patched: '2019-07-04T02:48:53.823Z' + - gulp-sass > node-sass > gaze > globule > lodash: + patched: '2019-07-04T02:48:53.823Z' + - gulp-sass-lint > sass-lint > eslint > table > lodash: + patched: '2019-07-04T02:48:53.823Z' + - eyeglass > node-sass > gaze > globule > lodash: + patched: '2019-07-04T02:48:53.823Z' diff --git a/package.json b/package.json index 5250a53..e407e50 100644 --- a/package.json +++ b/package.json @@ -13,7 +13,9 @@ "ava:watch": "ava --watch | tap-diff", "coverage": "nyc report --reporter=text-lcov | coveralls", "semantic-release": "semantic-release pre && npm publish && semantic-release post", - "reparo": "reparo -b master" + "reparo": "reparo -b master", + "snyk-protect": "snyk protect", + "prepublish": "npm run snyk-protect" }, "repository": { "type": "git", @@ -42,7 +44,8 @@ "gulp-task-listing": "^1.0", "merge": "^1.2.0", "minimatch": "^3.0.4", - "run-sequence": "^1.2" + "run-sequence": "^1.2", + "snyk": "^1.189.0" }, "devDependencies": { "ava": "^0.19.1", @@ -82,5 +85,6 @@ }, "engines": { "node": "^6" - } + }, + "snyk": true }