From f98288c45d644d807eb5cd1ba231e37722badf84 Mon Sep 17 00:00:00 2001 From: snyk-bot Date: Mon, 2 Apr 2018 08:19:33 +0000 Subject: [PATCH] fix: package.json & .snyk to reduce vulnerabilities The following vulnerabilities are fixed with an upgrade: - https://snyk.io/vuln/npm:minimatch:20160620 - https://snyk.io/vuln/npm:cli:20160615 - https://snyk.io/vuln/npm:uglify-js:20151024 The following vulnerabilities are fixed with a Snyk patch: - https://snyk.io/vuln/npm:debug:20170905 - https://snyk.io/vuln/npm:minimatch:20160620 - https://snyk.io/vuln/npm:ms:20170412 - https://snyk.io/vuln/npm:qs:20170213 Latest report for rajat19/geosearch:package.json: https://snyk.io/test/github/rajat19/geosearch?targetFile=package.json --- .snyk | 41 +++++++++++++++++++++++++++++++++++++++++ package.json | 12 +++++++++--- 2 files changed, 50 insertions(+), 3 deletions(-) create mode 100644 .snyk diff --git a/.snyk b/.snyk new file mode 100644 index 0000000..8cccddc --- /dev/null +++ b/.snyk @@ -0,0 +1,41 @@ +# Snyk (https://snyk.io) policy file, patches or ignores known vulnerabilities. +version: v1.10.2 +ignore: {} +# patches apply the minimum changes required to fix a vulnerability +patch: + 'npm:debug:20170905': + - laravel-elixir > browser-sync > connect > debug: + patched: '2018-04-02T08:19:32.721Z' + - laravel-elixir > browser-sync > serve-index > debug: + patched: '2018-04-02T08:19:32.721Z' + - laravel-elixir > browser-sync > localtunnel > debug: + patched: '2018-04-02T08:19:32.721Z' + - laravel-elixir > browser-sync > serve-static > send > debug: + patched: '2018-04-02T08:19:32.721Z' + - laravel-elixir > browser-sync > connect > finalhandler > debug: + patched: '2018-04-02T08:19:32.721Z' + 'npm:minimatch:20160620': + - laravel-elixir > browserify > glob > minimatch: + patched: '2018-04-02T08:19:32.721Z' + - laravel-elixir > gulp-phpunit > gulp > vinyl-fs > glob-stream > minimatch: + patched: '2018-04-02T08:19:32.721Z' + - laravel-elixir > gulp-if > gulp-match > minimatch: + patched: '2018-04-02T08:19:32.721Z' + - laravel-elixir > gulp-phpunit > gulp > vinyl-fs > glob-watcher > gaze > globule > minimatch: + patched: '2018-04-02T08:19:32.721Z' + - laravel-elixir > gulp-phpunit > gulp > vinyl-fs > glob-watcher > gaze > globule > glob > minimatch: + patched: '2018-04-02T08:19:32.721Z' + 'npm:ms:20170412': + - laravel-elixir > browser-sync > connect > debug > ms: + patched: '2018-04-02T08:19:32.721Z' + - laravel-elixir > browser-sync > connect > finalhandler > debug > ms: + patched: '2018-04-02T08:19:32.721Z' + - laravel-elixir > browser-sync > serve-index > debug > ms: + patched: '2018-04-02T08:19:32.721Z' + - laravel-elixir > browser-sync > serve-static > send > ms: + patched: '2018-04-02T08:19:32.721Z' + - laravel-elixir > browser-sync > serve-static > send > debug > ms: + patched: '2018-04-02T08:19:32.721Z' + 'npm:qs:20170213': + - laravel-elixir > browser-sync > qs: + patched: '2018-04-02T08:19:32.721Z' diff --git a/package.json b/package.json index 8b7c633..4e15d13 100644 --- a/package.json +++ b/package.json @@ -4,7 +4,13 @@ "gulp": "^3.8.8" }, "dependencies": { - "laravel-elixir": "^3.0.0", - "bootstrap-sass": "^3.0.0" - } + "laravel-elixir": "^5.0.0", + "bootstrap-sass": "^3.0.0", + "snyk": "^1.70.3" + }, + "scripts": { + "snyk-protect": "snyk protect", + "prepublish": "npm run snyk-protect" + }, + "snyk": true }