diff --git a/pusher/.snyk b/pusher/.snyk index fad8507..7adf05f 100644 --- a/pusher/.snyk +++ b/pusher/.snyk @@ -1,4 +1,8 @@ # Snyk (https://snyk.io) policy file, patches or ignores known vulnerabilities. version: v1.13.3 ignore: {} -patch: {} +# patches apply the minimum changes required to fix a vulnerability +patch: + SNYK-JS-AXIOS-174505: + - steem-wise-core > axios: + patched: '2019-05-06T02:27:02.429Z' diff --git a/pusher/package.json b/pusher/package.json index 8f9686f..8704b8c 100644 --- a/pusher/package.json +++ b/pusher/package.json @@ -10,7 +10,9 @@ "build": "rm -rf dist && tsc && npm run tslint", "tslint": "tslint -c tslint.json -p tsconfig.json", "start": "node dist/index.js", - "test": "echo \"Error: no test specified\" && exit 1" + "test": "echo \"Error: no test specified\" && exit 1", + "snyk-protect": "snyk protect", + "prepare": "npm run snyk-protect" }, "dependencies": { "@types/steem-js-alpha": "https://github.com/wise-team/types-for-steem-js/raw/master/bin/types-steem-js-alpha-3.1.2.tgz", @@ -20,7 +22,8 @@ "sequelize": "^4.39.0", "steem": "^0.7.2", "steem-wise-core": "^4.0.0", - "universe-log": "^0.1.0" + "universe-log": "^0.1.0", + "snyk": "^1.161.1" }, "devDependencies": { "@types/bluebird": "^3.5.24", @@ -48,5 +51,6 @@ "bugs": { "url": "https://github.com/wise-team/steem-wise-sql/issues" }, - "homepage": "https://wise.vote/" + "homepage": "https://wise.vote/", + "snyk": true }