From ca55a090ad7d6d40636f832b385512da91e12c70 Mon Sep 17 00:00:00 2001 From: snyk-test Date: Thu, 4 Jul 2019 05:57:33 +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 | 20 ++++++++++++++++++++ package.json | 10 ++++++++-- 2 files changed, 28 insertions(+), 2 deletions(-) create mode 100644 .snyk diff --git a/.snyk b/.snyk new file mode 100644 index 0000000..d2a1289 --- /dev/null +++ b/.snyk @@ -0,0 +1,20 @@ +# 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: + - wd > lodash: + patched: '2019-07-04T05:57:27.107Z' + - wd > archiver > lodash: + patched: '2019-07-04T05:57:27.107Z' + - wd > async > lodash: + patched: '2019-07-04T05:57:27.107Z' + - wd > archiver > archiver-utils > lodash: + patched: '2019-07-04T05:57:27.107Z' + - wd > archiver > async > lodash: + patched: '2019-07-04T05:57:27.107Z' + - wd > archiver > zip-stream > lodash: + patched: '2019-07-04T05:57:27.107Z' + - wd > archiver > zip-stream > archiver-utils > lodash: + patched: '2019-07-04T05:57:27.107Z' diff --git a/package.json b/package.json index 516ed06..c0c6074 100644 --- a/package.json +++ b/package.json @@ -37,12 +37,18 @@ "selenium-standalone": "^5.4.1", "string": "1.2.0", "wd": ">= 0.0.28", - "yargs": "^6.3.0" + "yargs": "^6.3.0", + "snyk": "^1.189.0" }, "devDependencies": { "qunit-cli": "^0.2.0" }, "publishConfig": { "registry": "https://nexus.addteq.com/content/repositories/addteq-npm/" - } + }, + "scripts": { + "snyk-protect": "snyk protect", + "prepublish": "npm run snyk-protect" + }, + "snyk": true }