From d7696e70b60faef6d1a57f5ca550701401a1ab55 Mon Sep 17 00:00:00 2001 From: snyk-bot Date: Thu, 11 Apr 2019 04:29:35 +0000 Subject: [PATCH] fix: .snyk & package.json to reduce vulnerabilities The following vulnerabilities are fixed with an upgrade: - https://snyk.io/vuln/SNYK-JS-MARKED-174116 - https://snyk.io/vuln/npm:debug:20170905 - https://snyk.io/vuln/npm:growl:20160721 - https://snyk.io/vuln/npm:hawk:20160119 - https://snyk.io/vuln/npm:hoek:20180212 - https://snyk.io/vuln/npm:http-signature:20150122 - https://snyk.io/vuln/npm:jquery:20150627 - https://snyk.io/vuln/npm:mime:20170907 - https://snyk.io/vuln/npm:minimatch:20160620 - https://snyk.io/vuln/npm:ms:20170412 - https://snyk.io/vuln/npm:qs:20170213 - https://snyk.io/vuln/npm:request:20160119 - https://snyk.io/vuln/npm:tunnel-agent:20170305 The following vulnerabilities are fixed with a Snyk patch: - https://snyk.io/vuln/npm:mime:20170907 - https://snyk.io/vuln/npm:minimatch:20160620 --- .snyk | 17 +++++++++++++++++ package.json | 18 +++++++++++------- 2 files changed, 28 insertions(+), 7 deletions(-) create mode 100644 .snyk diff --git a/.snyk b/.snyk new file mode 100644 index 00000000000..62308737913 --- /dev/null +++ b/.snyk @@ -0,0 +1,17 @@ +# Snyk (https://snyk.io) policy file, patches or ignores known vulnerabilities. +version: v1.13.3 +ignore: {} +# patches apply the minimum changes required to fix a vulnerability +patch: + 'npm:mime:20170907': + - less-cache > less > request > form-data > mime: + patched: '2019-04-11T04:29:33.673Z' + 'npm:minimatch:20160620': + - jasmine-tagged > jasmine-focused > jasmine-node > gaze > fileset > glob > minimatch: + patched: '2019-04-11T04:29:33.673Z' + - jasmine-tagged > jasmine-focused > jasmine-node > gaze > fileset > minimatch: + patched: '2019-04-11T04:29:33.673Z' + - jasmine-tagged > jasmine-focused > jasmine-node > gaze > minimatch: + patched: '2019-04-11T04:29:33.673Z' + - scandal > minimatch: + patched: '2019-04-11T04:29:33.673Z' diff --git a/package.json b/package.json index 9971a1a7e1e..f68330f863b 100644 --- a/package.json +++ b/package.json @@ -49,13 +49,13 @@ "grim": "1.5.0", "jasmine-json": "~0.0", "jasmine-tagged": "^1.1.4", - "jquery": "2.1.4", + "jquery": "2.2.2", "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", + "marked": "^0.6.2", "minimatch": "^3.0.3", - "mocha": "2.5.1", + "mocha": "4.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.150.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", + "prepublish": "npm run snyk-protect" }, "standard": { "globals": [ @@ -198,5 +201,6 @@ "waitsForPromise", "indexedDB" ] - } + }, + "snyk": true }