diff --git a/.snyk b/.snyk new file mode 100644 index 0000000..39b3447 --- /dev/null +++ b/.snyk @@ -0,0 +1,36 @@ +# 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: + - async > lodash: + patched: '2020-05-06T08:17:47.483Z' + - exclfs > async > lodash: + patched: '2020-05-06T08:17:47.483Z' + - jocker > async > lodash: + patched: '2020-05-06T08:17:47.483Z' + - nodeos-boot-singleUser > async > lodash: + patched: '2020-05-06T08:17:47.483Z' + - nodeos-boot-singleUserMount > async > lodash: + patched: '2020-05-06T08:17:47.483Z' + - nodeos-mount-utils > nodeos-mount > async > lodash: + patched: '2020-05-06T08:17:47.483Z' + - nodeos-boot-singleUser > jocker > async > lodash: + patched: '2020-05-06T08:17:47.483Z' + - nodeos-boot-singleUserMount > jocker > async > lodash: + patched: '2020-05-06T08:17:47.483Z' + - nodeos-boot-singleUserMount > nodeos-boot-singleUser > async > lodash: + patched: '2020-05-06T08:17:47.483Z' + - jocker > nodeos-mount-utils > nodeos-mount > async > lodash: + patched: '2020-05-06T08:17:47.483Z' + - nodeos-boot-singleUserMount > nodeos-mount-utils > nodeos-mount > async > lodash: + patched: '2020-05-06T08:17:47.483Z' + - nodeos-boot-singleUserMount > nodeos-boot-singleUser > jocker > async > lodash: + patched: '2020-05-06T08:17:47.483Z' + - nodeos-boot-singleUser > jocker > nodeos-mount-utils > nodeos-mount > async > lodash: + patched: '2020-05-06T08:17:47.483Z' + - nodeos-boot-singleUserMount > jocker > nodeos-mount-utils > nodeos-mount > async > lodash: + patched: '2020-05-06T08:17:47.483Z' + - nodeos-boot-singleUserMount > nodeos-boot-singleUser > jocker > nodeos-mount-utils > nodeos-mount > async > lodash: + patched: '2020-05-06T08:17:47.483Z' diff --git a/package.json b/package.json index 123a68b..b2558df 100644 --- a/package.json +++ b/package.json @@ -5,7 +5,9 @@ "main": "lib", "bin": "server.js", "scripts": { - "test": "echo \"Error: no test specified\" && exit 1" + "test": "echo \"Error: no test specified\" && exit 1", + "snyk-protect": "snyk protect", + "prepublish": "npm run snyk-protect" }, "repository": { "type": "git", @@ -29,6 +31,8 @@ "nodeos-boot-singleUser": "^0.5.2", "nodeos-boot-singleUserMount": "^0.5.2", "nodeos-mount-utils": "^0.2.0", - "rimraf": "^2.6.1" - } + "rimraf": "^2.6.1", + "snyk": "^1.319.0" + }, + "snyk": true }