diff --git a/.snyk b/.snyk new file mode 100644 index 0000000..2256be3 --- /dev/null +++ b/.snyk @@ -0,0 +1,8 @@ +# Snyk (https://snyk.io) policy file, patches or ignores known vulnerabilities. +version: v1.13.3 +ignore: {} +# patches apply the minimum changes required to fix a vulnerability +patch: + SNYK-JS-AXIOS-174505: + - steem-wise-core > axios: + patched: '2019-05-06T02:25:32.162Z' diff --git a/package.json b/package.json index 7a7a89a..e9a2eb1 100644 --- a/package.json +++ b/package.json @@ -7,7 +7,9 @@ "build": "rm -rf dist && webpack", "serve": "http-server ./", "build-and-serve": "npm run build & npm run serve", - "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": { "@fortawesome/fontawesome": "^1.1.8", @@ -28,7 +30,8 @@ "vue-property-decorator": "^6.1.0", "vue-router": "^3.0.1", "vuex": "^3.0.1", - "vuex-persistedstate": "^2.5.4" + "vuex-persistedstate": "^2.5.4", + "snyk": "^1.161.1" }, "devDependencies": { "@types/bluebird": "^3.5.24", @@ -65,5 +68,6 @@ "homepage": "https://wise.vote/", "engines": { "node": ">=10.15" - } + }, + "snyk": true }