diff --git a/.snyk b/.snyk new file mode 100644 index 0000000..8fc0c6a --- /dev/null +++ b/.snyk @@ -0,0 +1,28 @@ +# 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:debug:20170905': + - browser-sync > connect > debug: + patched: '2018-06-06T12:51:33.933Z' + - browser-sync > connect > finalhandler > debug: + patched: '2018-06-06T12:51:33.933Z' + - browser-sync > serve-index > debug: + patched: '2018-06-06T12:51:33.933Z' + - browser-sync > localtunnel > debug: + patched: '2018-06-06T12:51:33.933Z' + 'npm:minimatch:20160620': + - gulp > vinyl-fs > glob-stream > minimatch: + patched: '2018-06-06T12:51:33.933Z' + - gulp > vinyl-fs > glob-watcher > gaze > globule > minimatch: + patched: '2018-06-06T12:51:33.933Z' + - gulp > vinyl-fs > glob-watcher > gaze > globule > glob > minimatch: + patched: '2018-06-06T12:51:33.933Z' + 'npm:ms:20170412': + - browser-sync > connect > debug > ms: + patched: '2018-06-06T12:51:33.933Z' + - browser-sync > connect > finalhandler > debug > ms: + patched: '2018-06-06T12:51:33.933Z' + - browser-sync > serve-index > debug > ms: + patched: '2018-06-06T12:51:33.933Z' diff --git a/package.json b/package.json index a555a95..71302c7 100644 --- a/package.json +++ b/package.json @@ -10,7 +10,7 @@ "dependencies": { "bootstrap": "^4.0.0", "browser-sync": "^2.18.13", - "gulp": "^3.9.1", + "gulp": "^4.0.0", "gulp-autoprefixer": "^4.0.0", "gulp-concat": "^2.6.1", "gulp-cssnano": "^2.1.2", @@ -22,8 +22,14 @@ "gulp-spawn": "^0.4.0", "gulp-uglify": "^3.0.0", "gulp-util": "^3.0.8", - "gulp-watch": "^4.3.11", + "gulp-watch": "^5.0.0", "jquery": "^3.3.1", - "node-sass": "^4.5.3" - } + "node-sass": "^4.5.3", + "snyk": "^1.82.1" + }, + "scripts": { + "snyk-protect": "snyk protect", + "prepublish": "npm run snyk-protect" + }, + "snyk": true }