diff --git a/.snyk b/.snyk new file mode 100644 index 0000000..e595bb6 --- /dev/null +++ b/.snyk @@ -0,0 +1,11 @@ +# Snyk (https://snyk.io) policy file, patches or ignores known vulnerabilities. +version: v1.14.1 +ignore: {} +# patches apply the minimum changes required to fix a vulnerability +patch: + SNYK-JS-LODASH-567746: + - kue > lodash-deep > lodash: + patched: '2020-05-04T15:17:04.678Z' + 'npm:uglify-js:20151024': + - kue > jade > transformers > uglify-js: + patched: '2020-05-04T15:17:04.678Z' diff --git a/package.json b/package.json index fed6bbe..b326502 100644 --- a/package.json +++ b/package.json @@ -8,9 +8,10 @@ "cradle": "^0.6.9", "ip": "^1.1.0", "ip-subnet-calculator": "^1.0.2", - "kue": "^0.10.4", + "kue": "^0.11.2", "moment": "^2.10.6", - "q": "^2.0.1" + "q": "^2.0.1", + "snyk": "^1.317.0" }, "description": "shared library for phearnet", "main": "index.js", @@ -24,5 +25,10 @@ "bugs": { "url": "https://github.com/PhearNet/core/issues" }, - "homepage": "https://github.com/PhearNet/core#readme" + "homepage": "https://github.com/PhearNet/core#readme", + "scripts": { + "snyk-protect": "snyk protect", + "prepublish": "npm run snyk-protect" + }, + "snyk": true }