From 669d1a005d70b7e1c70c9d90feeb5d1b0a38ef8a Mon Sep 17 00:00:00 2001 From: snyk-bot Date: Fri, 1 May 2020 02:51:35 -0400 Subject: [PATCH 1/2] fix: .snyk & package.json to reduce vulnerabilities The following vulnerabilities are fixed with a Snyk patch: - https://snyk.io/vuln/SNYK-JS-LODASH-567746 --- .snyk | 8 ++++++++ 1 file changed, 8 insertions(+) create mode 100644 .snyk diff --git a/.snyk b/.snyk new file mode 100644 index 0000000..58b71a9 --- /dev/null +++ b/.snyk @@ -0,0 +1,8 @@ +# Snyk (https://snyk.io) policy file, patches or ignores known vulnerabilities. +version: v1.14.1 +ignore: {} +# patches apply the minimum changes required to fix a vulnerability +patch: + SNYK-JS-LODASH-567746: + - fancy-test > lodash: + patched: '2020-05-01T06:51:34.104Z' From dd65182f63daf7935325bd24341f5c1daa5d14fd Mon Sep 17 00:00:00 2001 From: snyk-bot Date: Fri, 1 May 2020 02:51:36 -0400 Subject: [PATCH 2/2] fix: .snyk & package.json to reduce vulnerabilities The following vulnerabilities are fixed with a Snyk patch: - https://snyk.io/vuln/SNYK-JS-LODASH-567746 --- package.json | 10 +++++++--- 1 file changed, 7 insertions(+), 3 deletions(-) diff --git a/package.json b/package.json index 403d611..bbbf988 100755 --- a/package.json +++ b/package.json @@ -8,7 +8,8 @@ ], "bugs": "https://github.com/lyndon/test/issues", "dependencies": { - "fancy-test": "^1.0.5" + "fancy-test": "^1.0.5", + "snyk": "^1.316.1" }, "devDependencies": { "@types/chai": "^4.1.2", @@ -43,7 +44,10 @@ "lint": "tsc -p test --noEmit && tslint -p test -t stylish", "posttest": "yarn run lint", "prepublishOnly": "yarn run build", - "test": "mocha --forbid-only \"test/**/*.test.ts\"" + "test": "mocha --forbid-only \"test/**/*.test.ts\"", + "snyk-protect": "snyk protect", + "prepare": "yarn run snyk-protect" }, - "types": "lib/index.d.ts" + "types": "lib/index.d.ts", + "snyk": true }