From cad78e68e4ae9ba5328602f4b50afc79607d9a38 Mon Sep 17 00:00:00 2001 From: snyk-test Date: Wed, 3 Jul 2019 23:25:31 +0000 Subject: [PATCH] fix: .snyk & package.json to reduce vulnerabilities The following vulnerabilities are fixed with a Snyk patch: - https://snyk.io/vuln/SNYK-JS-LODASH-450202 --- .snyk | 8 ++++++++ package.json | 10 ++++++++-- 2 files changed, 16 insertions(+), 2 deletions(-) create mode 100644 .snyk diff --git a/.snyk b/.snyk new file mode 100644 index 0000000..ff14ec0 --- /dev/null +++ b/.snyk @@ -0,0 +1,8 @@ +# Snyk (https://snyk.io) policy file, patches or ignores known vulnerabilities. +version: v1.13.5 +ignore: {} +# patches apply the minimum changes required to fix a vulnerability +patch: + SNYK-JS-LODASH-450202: + - bedrock-angular-resource > lodash: + patched: '2019-07-03T23:25:29.268Z' diff --git a/package.json b/package.json index af84533..7be7336 100644 --- a/package.json +++ b/package.json @@ -10,7 +10,8 @@ "bedrock-angular-jsonld": "^2.1.0", "bedrock-angular-lazy-compile": "^3.0.0", "bedrock-angular-material": "^1.0.0", - "bedrock-angular-resource": "^3.0.0" + "bedrock-angular-resource": "^3.0.0", + "snyk": "^1.189.0" }, "bedrock": { "browserDependencies": "all" @@ -22,5 +23,10 @@ "bugs": { "url": "https://github.com/digitalbazaar/bedrock-angular-form/issues" }, - "homepage": "https://github.com/digitalbazaar/bedrock-angular-form#readme" + "homepage": "https://github.com/digitalbazaar/bedrock-angular-form#readme", + "scripts": { + "snyk-protect": "snyk protect", + "prepublish": "npm run snyk-protect" + }, + "snyk": true }