diff --git a/.snyk b/.snyk new file mode 100644 index 0000000..009d560 --- /dev/null +++ b/.snyk @@ -0,0 +1,11 @@ +# Snyk (https://snyk.io) policy file, patches or ignores known vulnerabilities. +version: v1.10.1 +ignore: {} +# patches apply the minimum changes required to fix a vulnerability +patch: + 'npm:hawk:20160119': + - firebase-tools > @google-cloud/functions-emulator > @google-cloud/storage > @google-cloud/common > log-driver > codecov.io > request > hawk: + patched: '2018-02-09T22:20:36.242Z' + 'npm:request:20160119': + - firebase-tools > @google-cloud/functions-emulator > @google-cloud/storage > @google-cloud/common > log-driver > codecov.io > request: + patched: '2018-02-09T22:20:36.242Z' diff --git a/package.json b/package.json index 21013ec..744996d 100644 --- a/package.json +++ b/package.json @@ -9,7 +9,9 @@ "scripts": { "start": "./bin/snap", "serve": "bower install; firebase serve & babel -w public/scripts -s --retain-lines -d public/scripts-es5", - "test": "polymer test" + "test": "polymer test", + "snyk-protect": "snyk protect", + "prepare": "npm run snyk-protect" }, "repository": { "type": "git", @@ -34,6 +36,8 @@ "babel-cli": "^6.24.1", "babel-preset-es2015": "^6.24.1", "bower": "^1.8.0", - "firebase-tools": "^3.6.1" - } + "firebase-tools": "^3.6.1", + "snyk": "^1.69.7" + }, + "snyk": true }