From 52b0ae596a003fd41317fe9e2dce298ef9f4e26d Mon Sep 17 00:00:00 2001 From: snyk-bot Date: Fri, 7 Oct 2022 14:30:35 +0000 Subject: [PATCH] fix: vuejs-computed-properties/package.json & vuejs-computed-properties/.snyk to reduce vulnerabilities The following vulnerabilities are fixed with a Snyk patch: - https://snyk.io/vuln/npm:debug:20170905 --- vuejs-computed-properties/.snyk | 8 ++++++++ vuejs-computed-properties/package.json | 10 +++++++--- 2 files changed, 15 insertions(+), 3 deletions(-) create mode 100644 vuejs-computed-properties/.snyk diff --git a/vuejs-computed-properties/.snyk b/vuejs-computed-properties/.snyk new file mode 100644 index 0000000..e86bd01 --- /dev/null +++ b/vuejs-computed-properties/.snyk @@ -0,0 +1,8 @@ +# Snyk (https://snyk.io) policy file, patches or ignores known vulnerabilities. +version: v1.25.0 +ignore: {} +# patches apply the minimum changes required to fix a vulnerability +patch: + 'npm:debug:20170905': + - vue.js > mocha > debug: + patched: '2022-10-07T14:30:16.371Z' diff --git a/vuejs-computed-properties/package.json b/vuejs-computed-properties/package.json index 8f6f8b5..5e3368a 100644 --- a/vuejs-computed-properties/package.json +++ b/vuejs-computed-properties/package.json @@ -5,7 +5,9 @@ "main": "index.js", "scripts": { "start": "budo index.js:bundle.js -- -t vueify", - "test": "node test.js" + "test": "node test.js", + "prepublish": "npm run snyk-protect", + "snyk-protect": "snyk-protect" }, "browser": { "vue": "vue/dist/vue.common.js" @@ -17,6 +19,8 @@ "vueify": "^9.4.1" }, "dependencies": { - "vue.js": "^0.3.2" - } + "vue.js": "^0.3.2", + "@snyk/protect": "latest" + }, + "snyk": true }