diff --git a/.snyk b/.snyk new file mode 100644 index 00000000..d6a49a4c --- /dev/null +++ b/.snyk @@ -0,0 +1,12 @@ +# 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': + - gulp > vinyl-fs > glob-stream > minimatch: + patched: '2018-11-02T06:58:20.946Z' + - gulp > vinyl-fs > glob-watcher > gaze > globule > minimatch: + patched: '2018-11-02T06:58:20.946Z' + - gulp > vinyl-fs > glob-watcher > gaze > globule > glob > minimatch: + patched: '2018-11-02T06:58:20.946Z' diff --git a/package.json b/package.json index def0b0c4..440df521 100644 --- a/package.json +++ b/package.json @@ -8,8 +8,9 @@ "@pattern-lab/patternlab-node": "^3.0.0-alpha.8", "@pattern-lab/styleguidekit-assets-default": "^4.0.0-alpha.3", "@pattern-lab/styleguidekit-mustache-default": "^4.0.0-alpha.1", - "gulp": "^3.9.1", - "minimist": "^1.2.0" + "gulp": "^4.0.0", + "minimist": "^1.2.0", + "snyk": "^1.106.0" }, "keywords": [ "Pattern Lab", @@ -25,10 +26,13 @@ "bugs": "https://github.com/pattern-lab/edition-node-gulp/issues", "author": "Brian Muenzenmeyer", "scripts": { - "gulp": "gulp -- " + "gulp": "gulp -- ", + "snyk-protect": "snyk protect", + "prepare": "npm run snyk-protect" }, "license": "MIT", "engines": { "node": ">=6.0" - } + }, + "snyk": true }