From 9226fa3c8d57a203ffff214e399e887f1c9b05e6 Mon Sep 17 00:00:00 2001 From: snyk-bot Date: Thu, 25 Oct 2018 23:02:51 +0000 Subject: [PATCH] fix: .snyk & package.json to reduce vulnerabilities The following vulnerabilities are fixed with an upgrade: - https://snyk.io/vuln/npm:minimatch:20160620 - https://snyk.io/vuln/npm:tunnel-agent:20170305 The following vulnerabilities are fixed with a Snyk patch: - https://snyk.io/vuln/npm:minimatch:20160620 --- .snyk | 14 ++++++++++++++ package.json | 14 +++++++++----- 2 files changed, 23 insertions(+), 5 deletions(-) create mode 100644 .snyk diff --git a/.snyk b/.snyk new file mode 100644 index 00000000000..6f4778f9b29 --- /dev/null +++ b/.snyk @@ -0,0 +1,14 @@ +# Snyk (https://snyk.io) policy file, patches or ignores known vulnerabilities. +version: v1.12.0 +ignore: {} +# patches apply the minimum changes required to fix a vulnerability +patch: + 'npm:minimatch:20160620': + - jasmine-tagged > jasmine-focused > jasmine-node > gaze > fileset > glob > minimatch: + patched: '2018-10-25T23:02:49.991Z' + - jasmine-tagged > jasmine-focused > jasmine-node > gaze > fileset > minimatch: + patched: '2018-10-25T23:02:49.991Z' + - jasmine-tagged > jasmine-focused > jasmine-node > gaze > minimatch: + patched: '2018-10-25T23:02:49.991Z' + - scandal > minimatch: + patched: '2018-10-25T23:02:49.991Z' diff --git a/package.json b/package.json index 9971a1a7e1e..81e9b0d361f 100644 --- a/package.json +++ b/package.json @@ -51,11 +51,11 @@ "jasmine-tagged": "^1.1.4", "jquery": "2.1.4", "key-path-helpers": "^0.4.0", - "less-cache": "0.23", + "less-cache": "0.24.0", "line-top-index": "0.2.0", "marked": "^0.3.6", "minimatch": "^3.0.3", - "mocha": "2.5.1", + "mocha": "3.0.0", "mock-spawn": "^0.2.6", "normalize-package-data": "^2.0.0", "nslog": "^3", @@ -80,7 +80,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.105.0" }, "packageDependencies": { "atom-dark-syntax": "0.28.0", @@ -177,7 +178,9 @@ "private": true, "scripts": { "preinstall": "node -e 'process.exit(0)'", - "test": "node script/test" + "test": "node script/test", + "snyk-protect": "snyk protect", + "prepare": "npm run snyk-protect" }, "standard": { "globals": [ @@ -198,5 +201,6 @@ "waitsForPromise", "indexedDB" ] - } + }, + "snyk": true }