diff --git a/.snyk b/.snyk new file mode 100644 index 0000000..e00350f --- /dev/null +++ b/.snyk @@ -0,0 +1,8 @@ +# 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: + - nodeos-mount > async > lodash: + patched: '2020-05-06T07:48:21.173Z' diff --git a/package.json b/package.json index 73eb010..c605650 100644 --- a/package.json +++ b/package.json @@ -7,7 +7,9 @@ "test": "mocha", "test:watch": "npm run test -- -w", "clean": "rm -rf coverage", - "coverage": "npm run clean && istanbul cover _mocha -- -R spec" + "coverage": "npm run clean && istanbul cover _mocha -- -R spec", + "snyk-protect": "snyk protect", + "prepublish": "npm run snyk-protect" }, "repository": { "type": "git", @@ -26,7 +28,8 @@ "homepage": "https://github.com/NodeOS/nodeos-mount-utils", "dependencies": { "mkdirp": "^0.5.1", - "nodeos-mount": "^0.3.1" + "nodeos-mount": "^0.3.1", + "snyk": "^1.319.0" }, "devDependencies": { "chai": "^3.5.0", @@ -37,5 +40,6 @@ "rimraf": "^2.5.4", "sinon": "^1.17.6", "sinon-chai": "^2.8.0" - } + }, + "snyk": true }