diff --git a/.snyk b/.snyk new file mode 100644 index 0000000..fb1b8eb --- /dev/null +++ b/.snyk @@ -0,0 +1,10 @@ +# Snyk (https://snyk.io) policy file, patches or ignores known vulnerabilities. +version: v1.14.1 +ignore: {} +# patches apply the minimum changes required to fix a vulnerability +patch: + SNYK-JS-LODASH-567746: + - vue-cli > async > lodash: + patched: '2020-05-01T01:11:22.049Z' + - vue-cli > inquirer > lodash: + patched: '2020-05-01T01:11:22.049Z' diff --git a/package.json b/package.json index 01dd91e..a4d289a 100644 --- a/package.json +++ b/package.json @@ -5,9 +5,15 @@ "description": "A full-featured Webpack setup with hot-reload, lint-on-save, unit testing & css extraction integrated into a django application.", "scripts": { "docs": "cd docs && gitbook serve", - "docs:deploy": "bash ./deploy-docs.sh" + "docs:deploy": "bash ./deploy-docs.sh", + "snyk-protect": "snyk protect", + "prepublish": "npm run snyk-protect" }, "devDependencies": { "vue-cli": "^2.8.1" + }, + "snyk": true, + "dependencies": { + "snyk": "^1.316.1" } }