From bc0b52c7bddbebd6abc2a77561876fdbbdfd035e Mon Sep 17 00:00:00 2001 From: snyk-bot Date: Tue, 3 Jul 2018 01:47:29 +0000 Subject: [PATCH] fix: .snyk & package.json to reduce vulnerabilities The following vulnerabilities are fixed with an upgrade: - https://snyk.io/vuln/npm:lodash:20180130 The following vulnerabilities are fixed with a Snyk patch: - https://snyk.io/vuln/npm:lodash:20180130 --- .snyk | 12 ++++++++++++ package.json | 13 +++++++++---- 2 files changed, 21 insertions(+), 4 deletions(-) create mode 100644 .snyk diff --git a/.snyk b/.snyk new file mode 100644 index 0000000..09ec668 --- /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:lodash:20180130': + - laravel-elixir > browser-sync > easy-extender > lodash: + patched: '2018-07-03T01:47:27.993Z' + - laravel-elixir > gulp-phpunit > gulp-messenger > lodash: + patched: '2018-07-03T01:47:27.993Z' + - laravel-elixir > gulp-phpspec > lodash: + patched: '2018-07-03T01:47:27.993Z' diff --git a/package.json b/package.json index e592e29..914f4dc 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": "^2.1.4", + "snyk": "^1.88.0" + }, + "scripts": { + "snyk-protect": "snyk protect", + "prepare": "npm run snyk-protect" + }, + "snyk": true }