diff --git a/.snyk b/.snyk new file mode 100644 index 0000000..b80daf5 --- /dev/null +++ b/.snyk @@ -0,0 +1,52 @@ +# Snyk (https://snyk.io) policy file, patches or ignores known vulnerabilities. +version: v1.13.5 +ignore: {} +# patches apply the minimum changes required to fix a vulnerability +patch: + SNYK-JS-LODASH-450202: + - ipld-resolver > ipld-git > multihashing-async > async > lodash: + patched: '2019-07-03T21:14:12.758Z' + - ipld-resolver > async > lodash: + patched: '2019-07-03T21:14:12.758Z' + - ipld-resolver > ipld-ethereum > async > lodash: + patched: '2019-07-03T21:14:12.758Z' + - ipld-resolver > interface-datastore > async > lodash: + patched: '2019-07-03T21:14:12.758Z' + - ipld-resolver > ipld-dag-pb > async > lodash: + patched: '2019-07-03T21:14:12.758Z' + - ipld-resolver > ipld-dag-cbor > async > lodash: + patched: '2019-07-03T21:14:12.758Z' + - ipld-resolver > ipfs-repo > async > lodash: + patched: '2019-07-03T21:14:12.758Z' + - ipld-resolver > ipld-ethereum > ethereumjs-block > async > lodash: + patched: '2019-07-03T21:14:12.758Z' + - ipld-resolver > ipfs-repo > interface-datastore > async > lodash: + patched: '2019-07-03T21:14:12.758Z' + - ipld-resolver > ipfs-repo > datastore-core > async > lodash: + patched: '2019-07-03T21:14:12.758Z' + - ipld-resolver > ipfs-repo > datastore-fs > async > lodash: + patched: '2019-07-03T21:14:12.758Z' + - ipld-resolver > ipld-git > async > lodash: + patched: '2019-07-03T21:14:12.758Z' + - ipld-resolver > ipfs-repo > lock-me > async > lodash: + patched: '2019-07-03T21:14:12.758Z' + - ipld-resolver > ipld-dag-cbor > multihashing-async > async > lodash: + patched: '2019-07-03T21:14:12.758Z' + - ipld-resolver > ipld-dag-pb > multihashing-async > async > lodash: + patched: '2019-07-03T21:14:12.758Z' + - ipld-resolver > ipld-ethereum > multihashing-async > async > lodash: + patched: '2019-07-03T21:14:12.758Z' + - ipld-resolver > ipfs-repo > datastore-level > datastore-core > async > lodash: + patched: '2019-07-03T21:14:12.758Z' + - ipld-resolver > ipfs-repo > datastore-fs > datastore-core > async > lodash: + patched: '2019-07-03T21:14:12.758Z' + - ipld-resolver > ipfs-repo > datastore-level > interface-datastore > async > lodash: + patched: '2019-07-03T21:14:12.758Z' + - ipld-resolver > ipfs-repo > datastore-fs > interface-datastore > async > lodash: + patched: '2019-07-03T21:14:12.758Z' + - ipld-resolver > ipfs-repo > datastore-core > interface-datastore > async > lodash: + patched: '2019-07-03T21:14:12.758Z' + - ipld-resolver > ipfs-repo > datastore-level > datastore-core > interface-datastore > async > lodash: + patched: '2019-07-03T21:14:12.758Z' + - ipld-resolver > ipfs-repo > datastore-fs > datastore-core > interface-datastore > async > lodash: + patched: '2019-07-03T21:14:12.758Z' diff --git a/package.json b/package.json index 8b93e04..cdd44b3 100644 --- a/package.json +++ b/package.json @@ -13,7 +13,9 @@ "release-minor": "aegir release --type minor", "release-major": "aegir release --type major", "coverage": "aegir coverage", - "coverage-publish": "aegir coverage -u" + "coverage-publish": "aegir coverage -u", + "snyk-protect": "snyk protect", + "prepublish": "npm run snyk-protect" }, "keywords": [ "zeronet", @@ -31,7 +33,8 @@ "homepage": "https://github.com/ZeroNetJS/zeronet-ipld#readme", "dependencies": { "ipld-resolver": "~0.14.1", - "multicodec": "github:mkg20001/js-multicodec#zeronet-ipld-test" + "multicodec": "github:mkg20001/js-multicodec#zeronet-ipld-test", + "snyk": "^1.189.0" }, "devDependencies": { "aegir": "^12.3.0" @@ -40,5 +43,6 @@ "test": "test", "src": "src", "lib": "src" - } + }, + "snyk": true }