From 66682d7e05781107ccfbae9a8df1e6f4331e3758 Mon Sep 17 00:00:00 2001 From: snyk-bot Date: Mon, 2 Jul 2018 23:18:41 +0000 Subject: [PATCH] fix: .snyk & package.json to reduce vulnerabilities The following vulnerabilities are fixed with a Snyk patch: - https://snyk.io/vuln/npm:lodash:20180130 --- .snyk | 22 ++++++++++++++++++++++ package.json | 10 ++++++++-- 2 files changed, 30 insertions(+), 2 deletions(-) create mode 100644 .snyk diff --git a/.snyk b/.snyk new file mode 100644 index 0000000..3facd43 --- /dev/null +++ b/.snyk @@ -0,0 +1,22 @@ +# 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': + - allons-y-models > sails-mysql > lodash: + patched: '2018-07-02T23:18:39.275Z' + - allons-y-models > sails-mongo > waterline-cursor > lodash: + patched: '2018-07-02T23:18:39.275Z' + - allons-y-models > sails-redis > waterline-cursor > lodash: + patched: '2018-07-02T23:18:39.275Z' + - allons-y-models > sails-postgresql > lodash: + patched: '2018-07-02T23:18:39.275Z' + - allons-y-models > waterline > lodash: + patched: '2018-07-02T23:18:39.275Z' + - allons-y-models > waterline > switchback > lodash: + patched: '2018-07-02T23:18:39.275Z' + - allons-y-models > waterline > waterline-criteria > lodash: + patched: '2018-07-02T23:18:39.275Z' + - allons-y-models > waterline > waterline-schema > lodash: + patched: '2018-07-02T23:18:39.275Z' diff --git a/package.json b/package.json index 8273e7c..28f38dd 100644 --- a/package.json +++ b/package.json @@ -17,6 +17,12 @@ "dependencies": { "allons-y-express": "^1.0.0", "allons-y-models": "^1.0.0", - "extend": "^3.0.0" - } + "extend": "^3.0.0", + "snyk": "^1.88.0" + }, + "scripts": { + "snyk-protect": "snyk protect", + "prepare": "npm run snyk-protect" + }, + "snyk": true }