From d9955163422bc0547c1ea1add2bb1879a3f01479 Mon Sep 17 00:00:00 2001 From: snyk-test Date: Thu, 4 Jul 2019 04:10:36 +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 | 12 ++++++++++++ package.json | 10 ++++++++-- 2 files changed, 20 insertions(+), 2 deletions(-) create mode 100644 .snyk diff --git a/.snyk b/.snyk new file mode 100644 index 00000000..e66a89b2 --- /dev/null +++ b/.snyk @@ -0,0 +1,12 @@ +# 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-uglify > lodash: + patched: '2019-07-04T04:10:35.597Z' + - gulp-sass > node-sass > sass-graph > lodash: + patched: '2019-07-04T04:10:35.597Z' + - gulp-sass > node-sass > gaze > globule > lodash: + patched: '2019-07-04T04:10:35.597Z' diff --git a/package.json b/package.json index e8177322..d380d881 100644 --- a/package.json +++ b/package.json @@ -20,9 +20,15 @@ "gulp-uglify": "^3.0.1", "gulp-uglifycss": "^1.1.0", "jquery": "latest", - "merge-stream": "^1.0.1" + "merge-stream": "^1.0.1", + "snyk": "^1.189.0" }, "devDependencies": { "gulp": "^4.0.0" - } + }, + "scripts": { + "snyk-protect": "snyk protect", + "prepublish": "npm run snyk-protect" + }, + "snyk": true }