diff --git a/.snyk b/.snyk new file mode 100644 index 0000000..3b244e6 --- /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: + - mongoose > async > lodash: + patched: '2020-04-30T22:15:21.307Z' diff --git a/package.json b/package.json index 7118255..4b571ff 100644 --- a/package.json +++ b/package.json @@ -19,7 +19,9 @@ "test": "concurrently \"npm run build:watch\" \"karma start karma.conf.js\"", "pretest:once": "npm run build", "test:once": "karma start karma.conf.js --single-run", - "lint": "tslint ./src/**/*.ts -t verbose" + "lint": "tslint ./src/**/*.ts -t verbose", + "snyk-protect": "snyk protect", + "prepublish": "npm run snyk-protect" }, "keywords": [], "author": "", @@ -41,7 +43,8 @@ "mongoosefromclass": "^0.1.1", "rxjs": "5.0.1", "systemjs": "0.19.40", - "zone.js": "^0.8.4" + "zone.js": "^0.8.4", + "snyk": "^1.316.1" }, "devDependencies": { "concurrently": "^3.2.0", @@ -61,5 +64,6 @@ "@types/node": "^6.0.46", "@types/jasmine": "2.5.36" }, - "repository": {} + "repository": {}, + "snyk": true }