diff --git a/.snyk b/.snyk new file mode 100644 index 0000000..59ea8c9 --- /dev/null +++ b/.snyk @@ -0,0 +1,10 @@ +# 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: + - download-manager > async > lodash: + patched: '2020-05-06T02:35:19.963Z' + - download-manager > download-checksum > async > lodash: + patched: '2020-05-06T02:35:19.963Z' diff --git a/package.json b/package.json index 80da5fd..72e74ff 100644 --- a/package.json +++ b/package.json @@ -3,14 +3,17 @@ "version": "1.0.0-RC3.0", "scripts": { "install": "scripts/install", - "test": "scripts/test" + "test": "scripts/test", + "snyk-protect": "snyk protect", + "prepublish": "npm run snyk-protect" }, "author": "Jesús Leganés Combarro 'piranna' ", "license": "MIT", "dependencies": { "nodeos-cross-toolchain": "^1.0.0-RC3.0", "download-manager": "^0.1.3", - "genfatfs": "^1.0.3" + "genfatfs": "^1.0.3", + "snyk": "^1.319.0" }, "description": "Generate a NodeOS `/boot` filesystem disk image", "bin": "scripts/build", @@ -21,5 +24,6 @@ "bugs": { "url": "https://github.com/NodeOS/nodeos-bootfs/issues" }, - "homepage": "https://github.com/NodeOS/nodeos-bootfs#readme" + "homepage": "https://github.com/NodeOS/nodeos-bootfs#readme", + "snyk": true }