From 2c31427bb0875c331ca74aa3500de9cdddf6143f Mon Sep 17 00:00:00 2001 From: snyk-bot Date: Thu, 26 Oct 2017 22:17:10 +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 feicc/atom: https://snyk.io/test/github/feicc/atom --- .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 00000000000..bc8faf62cbd --- /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-10-26T22:17:10.047Z' diff --git a/package.json b/package.json index 416bbf6c8b9..ec0ec823b1a 100644 --- a/package.json +++ b/package.json @@ -74,7 +74,8 @@ "typescript-simple": "1.0.0", "underscore-plus": "^1.6.6", "winreg": "^1.2.1", - "yargs": "^3.23.0" + "yargs": "^3.23.0", + "snyk": "^1.46.0" }, "packageDependencies": { "atom-dark-syntax": "0.28.0", @@ -173,7 +174,9 @@ "private": true, "scripts": { "preinstall": "node -e 'process.exit(0)'", - "test": "node script/test" + "test": "node script/test", + "snyk-protect": "snyk protect", + "prepublish": "npm run snyk-protect" }, "standard": { "env": { @@ -186,5 +189,6 @@ "atom", "snapshotResult" ] - } + }, + "snyk": true }