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 }