From 0d3e8d8577eee97dd805dc885b28275e4e74426a Mon Sep 17 00:00:00 2001 From: snyk-bot Date: Tue, 27 Nov 2018 04:06:47 +0000 Subject: [PATCH] fix: .snyk & package.json to reduce vulnerabilities The following vulnerabilities are fixed with an upgrade: - https://snyk.io/vuln/npm:jquery:20150627 - https://snyk.io/vuln/npm:lodash:20180130 The following vulnerabilities are fixed with a Snyk patch: - https://snyk.io/vuln/npm:hoek:20180212 - https://snyk.io/vuln/npm:lodash:20180130 - https://snyk.io/vuln/npm:minimatch:20160620 --- .snyk | 26 ++++++++++++++++++++++++++ package.json | 13 +++++++++---- 2 files changed, 35 insertions(+), 4 deletions(-) create mode 100644 .snyk diff --git a/.snyk b/.snyk new file mode 100644 index 0000000..85d1495 --- /dev/null +++ b/.snyk @@ -0,0 +1,26 @@ +# Snyk (https://snyk.io) policy file, patches or ignores known vulnerabilities. +version: v1.13.1 +ignore: {} +# patches apply the minimum changes required to fix a vulnerability +patch: + 'npm:hoek:20180212': + - laravel-elixir > gulp-phpunit > gulp-messenger > purdy > hoek: + patched: '2018-11-27T04:06:46.150Z' + - laravel-elixir > gulp-less > less > request > hawk > hoek: + patched: '2018-11-27T04:06:46.150Z' + - laravel-elixir > gulp-less > less > request > hawk > boom > hoek: + patched: '2018-11-27T04:06:46.150Z' + - laravel-elixir > gulp-less > less > request > hawk > sntp > hoek: + patched: '2018-11-27T04:06:46.150Z' + - laravel-elixir > gulp-less > less > request > hawk > cryptiles > boom > hoek: + patched: '2018-11-27T04:06:46.150Z' + 'npm:lodash:20180130': + - laravel-elixir > gulp-phpspec > lodash: + patched: '2018-11-27T04:06:46.150Z' + - laravel-elixir > gulp-phpunit > gulp-messenger > lodash: + patched: '2018-11-27T04:06:46.150Z' + 'npm:minimatch:20160620': + - laravel-elixir > browserify > glob > minimatch: + patched: '2018-11-27T04:06:46.150Z' + - laravel-elixir > gulp-if > gulp-match > minimatch: + patched: '2018-11-27T04:06:46.150Z' diff --git a/package.json b/package.json index e592e29..aab1411 100644 --- a/package.json +++ b/package.json @@ -4,12 +4,17 @@ "gulp": "^3.8.8" }, "dependencies": { - "laravel-elixir": "^4.0.0", + "laravel-elixir": "^5.0.0", "laravel-elixir-clean": "*", "laravel-elixir-uglify": "*", "angular": "^1.4", - "jquery": "^2.1.4" - - } + "jquery": "^3.0.0", + "snyk": "^1.110.2" + }, + "scripts": { + "snyk-protect": "snyk protect", + "prepare": "npm run snyk-protect" + }, + "snyk": true }