From b37eed913b4adfaaedf6d89ac642dd88d5b74801 Mon Sep 17 00:00:00 2001 From: snyk-bot Date: Wed, 4 Jul 2018 01:59:02 +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 | 16 ++++++++++++++++ package.json | 10 ++++++++-- 2 files changed, 24 insertions(+), 2 deletions(-) create mode 100644 .snyk diff --git a/.snyk b/.snyk new file mode 100644 index 0000000..0e92252 --- /dev/null +++ b/.snyk @@ -0,0 +1,16 @@ +# 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': + - jscs > lodash: + patched: '2018-07-04T01:59:01.029Z' + - jscs > jscs-jsdoc > jsdoctypeparser > lodash: + patched: '2018-07-04T01:59:01.029Z' + - jscs > xmlbuilder > lodash: + patched: '2018-07-04T01:59:01.029Z' + - jscs > babel-jscs > babel-core > babel-plugin-proto-to-assign > lodash: + patched: '2018-07-04T01:59:01.029Z' + - jscs > babel-jscs > babel-core > lodash: + patched: '2018-07-04T01:59:01.029Z' diff --git a/package.json b/package.json index 76ac43e..733d557 100644 --- a/package.json +++ b/package.json @@ -4,6 +4,12 @@ "description": "a", "author": "Snyk Ltd.", "dependencies": { - "jscs": "2.11.0" - } + "jscs": "2.11.0", + "snyk": "^1.88.1" + }, + "scripts": { + "snyk-protect": "snyk protect", + "prepare": "npm run snyk-protect" + }, + "snyk": true }