diff --git a/.snyk b/.snyk new file mode 100644 index 0000000..a56f921 --- /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: + - axios: + patched: '2019-05-05T22:45:52.017Z' diff --git a/package.json b/package.json index 7592bb9..6ab5579 100644 --- a/package.json +++ b/package.json @@ -6,7 +6,9 @@ "serve": "vue-cli-service serve", "build": "vue-cli-service build", "lint": "vue-cli-service lint", - "test:unit": "vue-cli-service test:unit" + "test:unit": "vue-cli-service test:unit", + "snyk-protect": "snyk protect", + "prepare": "npm run snyk-protect" }, "dependencies": { "@fortawesome/fontawesome-svg-core": "^1.2.0", @@ -24,7 +26,8 @@ "vue-socket-io": "^0.3.2", "vue-socket.io": "^3.0.4", "vue-socket.io-extended": "^3.2.0", - "vuex": "^3.0.1" + "vuex": "^3.0.1", + "snyk": "^1.161.1" }, "devDependencies": { "@vue/cli-plugin-babel": "^3.0.0-rc.4", @@ -38,5 +41,6 @@ "node-sass": "^4.9.0", "sass-loader": "^7.0.1", "vue-template-compiler": "^2.5.16" - } + }, + "snyk": true }