From ae684a4470a19013359c37d6e2a4d57e310e4b62 Mon Sep 17 00:00:00 2001 From: snyk-bot Date: Thu, 2 Nov 2017 05:02:04 +0000 Subject: [PATCH] fix: package.json & .snyk to reduce vulnerabilities The following vulnerabilities are fixed with a Snyk patch: - https://snyk.io/vuln/npm:marked:20170907 Latest report for admindevelopment/sheetsee.js: https://snyk.io/test/github/admindevelopment/sheetsee.js --- .snyk | 8 ++++++++ package.json | 10 +++++++--- 2 files changed, 15 insertions(+), 3 deletions(-) create mode 100644 .snyk diff --git a/.snyk b/.snyk new file mode 100644 index 00000000..7fabac8f --- /dev/null +++ b/.snyk @@ -0,0 +1,8 @@ +# Snyk (https://snyk.io) policy file, patches or ignores known vulnerabilities. +version: v1.8.0 +ignore: {} +# patches apply the minimum changes required to fix a vulnerability +patch: + 'npm:marked:20170907': + - marked: + patched: '2017-11-02T05:02:04.816Z' diff --git a/package.json b/package.json index f3641bf1..752c2439 100644 --- a/package.json +++ b/package.json @@ -7,7 +7,9 @@ "doc": "docs" }, "scripts": { - "test": "echo \"Error: no test specified\" && exit 1" + "test": "echo \"Error: no test specified\" && exit 1", + "snyk-protect": "snyk protect", + "prepublish": "npm run snyk-protect" }, "repository": { "type": "git", @@ -30,6 +32,8 @@ "handlebars": "~1.3.0", "mkdirp": "~0.3.5", "path": "~0.4.9", - "cpr": "~0.1.1" - } + "cpr": "~0.1.1", + "snyk": "^1.47.0" + }, + "snyk": true } \ No newline at end of file