From 99676887f038c5f968a80ba62948c1c3be4be8a1 Mon Sep 17 00:00:00 2001 From: snyk-test Date: Thu, 4 Jul 2019 04:26:26 +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 | 24 ++++++++++++++++++++++++ package.json | 10 +++++++--- 2 files changed, 31 insertions(+), 3 deletions(-) create mode 100644 .snyk diff --git a/.snyk b/.snyk new file mode 100644 index 00000000..53580dcb --- /dev/null +++ b/.snyk @@ -0,0 +1,24 @@ +# 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: + - ampersand-view > ampersand-dom-bindings > lodash: + patched: '2019-07-04T04:26:24.895Z' + - mailgun-js > async > lodash: + patched: '2019-07-04T04:26:24.895Z' + - ampersand-array-checkbox-view > ampersand-view > ampersand-dom-bindings > lodash: + patched: '2019-07-04T04:26:24.895Z' + - ampersand-array-input-view > ampersand-view > ampersand-dom-bindings > lodash: + patched: '2019-07-04T04:26:24.895Z' + - ampersand-fullcalendar-view > ampersand-view > ampersand-dom-bindings > lodash: + patched: '2019-07-04T04:26:24.895Z' + - ampersand-input-view > ampersand-view > ampersand-dom-bindings > lodash: + patched: '2019-07-04T04:26:24.895Z' + - ampersand-pikaday-view > ampersand-view > ampersand-dom-bindings > lodash: + patched: '2019-07-04T04:26:24.895Z' + - ampersand-infinite-scroll > ampersand-view > ampersand-dom-bindings > lodash: + patched: '2019-07-04T04:26:24.895Z' + - ampersand-array-input-view > ampersand-input-view > ampersand-view > ampersand-dom-bindings > lodash: + patched: '2019-07-04T04:26:24.895Z' diff --git a/package.json b/package.json index 1be7c42b..71d2ae60 100644 --- a/package.json +++ b/package.json @@ -9,7 +9,9 @@ "pretest": "touch client/css/app.css && echo \"module.exports={}\" >> client/js/templates.js", "test": "./node_modules/.bin/lab server/test -l -m 4000 --verbose", "test-cov": "lab server/test -c", - "lint": "standard | snazzy" + "lint": "standard | snazzy", + "snyk-protect": "snyk protect", + "prepublish": "npm run snyk-protect" }, "standard": { "ignore": [ @@ -98,7 +100,8 @@ "socket.io-client": "^1.2.0", "stylizer": "^1.2.0", "templatizer": "^1.5.2", - "underscore": "^1.6.0" + "underscore": "^1.6.0", + "snyk": "^1.189.0" }, "devDependencies": { "bunyan": "~1.2.1", @@ -109,5 +112,6 @@ "pre-commit": "^1.1.3", "snazzy": "^4.0.0", "standard": "^7.1.2" - } + }, + "snyk": true }