From b57165bfc522cc70820adea4dc974a9dd811ab45 Mon Sep 17 00:00:00 2001 From: snyk-bot Date: Wed, 4 Jul 2018 08:45:16 +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 | 8 ++++++++ package.json | 10 +++++++--- 2 files changed, 15 insertions(+), 3 deletions(-) create mode 100644 .snyk diff --git a/.snyk b/.snyk new file mode 100644 index 0000000..1274af3 --- /dev/null +++ b/.snyk @@ -0,0 +1,8 @@ +# 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': + - doxdox > doxdox-parser-dox > dox > jsdoctypeparser > lodash: + patched: '2018-07-04T08:45:14.619Z' diff --git a/package.json b/package.json index c9ac42f..9a447c1 100644 --- a/package.json +++ b/package.json @@ -7,7 +7,8 @@ }, "license": "MIT", "dependencies": { - "doxdox": "~2.0.3" + "doxdox": "~2.0.3", + "snyk": "^1.88.1" }, "devDependencies": { "@neogeek/eslint-config-standards": "^1.15.0", @@ -22,7 +23,9 @@ }, "scripts": { "test": "npm run lint && grunt test", - "lint": "eslint ." + "lint": "eslint .", + "snyk-protect": "snyk protect", + "prepare": "npm run snyk-protect" }, "keywords": [ "gruntplugin", @@ -44,5 +47,6 @@ "repository": { "type": "git", "url": "git://github.com/neogeek/grunt-doxdox.git" - } + }, + "snyk": true }