diff --git a/.snyk b/.snyk new file mode 100644 index 0000000..678f791 --- /dev/null +++ b/.snyk @@ -0,0 +1,13 @@ +# Snyk (https://snyk.io) policy file, patches or ignores known vulnerabilities. +version: v1.21.5 +ignore: {} +# patches apply the minimum changes required to fix a vulnerability +patch: + 'npm:mime:20170907': + - noflo-couchdb > nano > request > mime: + patched: '2021-08-30T22:36:17.659Z' + - noflo-couchdb > nano > request > form-data > mime: + patched: '2021-08-30T22:36:17.659Z' + 'npm:request:20160119': + - noflo-couchdb > nano > follow > request: + patched: '2021-08-30T22:36:17.659Z' diff --git a/package.json b/package.json index b4d298d..eff3b8b 100644 --- a/package.json +++ b/package.json @@ -17,14 +17,16 @@ } ], "scripts": { - "test": "grunt test" + "test": "grunt test", + "prepublish": "npm run snyk-protect", + "snyk-protect": "snyk-protect" }, "dependencies": { "knockout": "^3.2.0", "knockout.mapping": "^2.4.3", "nano": "^6.0.2", "noflo": "~0.5.0", - "noflo-couchdb": "^1.0.1", + "noflo-couchdb": "^2.0.0", "noflo-filesystem": "^1.0.6", "noflo-flow": "^0.3.4", "noflo-handyman": "0.0.9", @@ -33,7 +35,8 @@ "noflo-strings": "^0.1.9", "signage-business": "git://github.com/dippyhippy/signage-business", "signage-comms": "git://github.com/dippyhippy/signage-comms", - "signage-data": "git://github.com/dippyhippy/signage-data" + "signage-data": "git://github.com/dippyhippy/signage-data", + "@snyk/protect": "latest" }, "devDependencies": { "grunt": "~0.4.1", @@ -58,5 +61,6 @@ "components": { "DefaultConfig": "components/DefaultConfig.coffee" } - } + }, + "snyk": true } \ No newline at end of file