From 2bd6ad7de1246b34cdaa5ec59f58bc7639500d36 Mon Sep 17 00:00:00 2001 From: snyk-bot Date: Fri, 1 May 2020 02:11:14 +0200 Subject: [PATCH] fix: package.json, package-lock.json & .snyk to reduce vulnerabilities The following vulnerabilities are fixed with a Snyk patch: - https://snyk.io/vuln/SNYK-JS-LODASH-567746 --- package.json | 10 +++++++--- 1 file changed, 7 insertions(+), 3 deletions(-) diff --git a/package.json b/package.json index fb5cedf..3e0fd40 100644 --- a/package.json +++ b/package.json @@ -13,12 +13,15 @@ "build": "DEPLOY_ENV=GH_PAGES nuxt build", "generate": "DEPLOY_ENV=GH_PAGES nuxt generate", "lint": "eslint --ext .js,.vue --ignore-path .gitignore .", - "lintfix": "eslint --fix --ext .js,.vue --ignore-path .gitignore ." + "lintfix": "eslint --fix --ext .js,.vue --ignore-path .gitignore .", + "snyk-protect": "snyk protect", + "prepare": "npm run snyk-protect" }, "dependencies": { "element-ui": "^2.4.11", "nuxt": "^2.10.0", - "vue-github-buttons": "^3.1.0" + "vue-github-buttons": "^3.1.0", + "snyk": "^1.316.1" }, "devDependencies": { "@commitlint/cli": "^8.2.0", @@ -51,5 +54,6 @@ "pre-push": "npm test", "commit-msg": "commitlint -E HUSKY_GIT_PARAMS" } - } + }, + "snyk": true }