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 }