diff --git a/.snyk b/.snyk new file mode 100644 index 0000000..f66504c --- /dev/null +++ b/.snyk @@ -0,0 +1,8 @@ +# Snyk (https://snyk.io) policy file, patches or ignores known vulnerabilities. +version: v1.12.0 +ignore: {} +# patches apply the minimum changes required to fix a vulnerability +patch: + 'npm:tunnel-agent:20170305': + - nodeos-cross-toolchain > prebuild-install > tunnel-agent: + patched: '2018-06-27T01:24:28.517Z' diff --git a/package.json b/package.json index 80da5fd..7e3707d 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", + "prepare": "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.85.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 }