diff --git a/.snyk b/.snyk new file mode 100644 index 0000000..9033dba --- /dev/null +++ b/.snyk @@ -0,0 +1,14 @@ +# 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: + - pillars > textualization > jshint > lodash: + patched: '2020-05-19T21:26:35.558Z' + - scheduled > textualization > jshint > lodash: + patched: '2020-05-19T21:26:35.558Z' + - pillars > scheduled > textualization > jshint > lodash: + patched: '2020-05-19T21:26:35.558Z' + - pillars > templated > textualization > jshint > lodash: + patched: '2020-05-19T21:26:35.558Z' diff --git a/package.json b/package.json index 6e22f9b..92b42f6 100644 --- a/package.json +++ b/package.json @@ -4,7 +4,9 @@ "description": "Robot Open Source que utilizamos en OSWeekends para gestionar redes sociales, telepresencia, etc....", "main": "server", "scripts": { - "test": "echo \"Error: no test specified\" && exit 1" + "test": "echo \"Error: no test specified\" && exit 1", + "snyk-protect": "snyk protect", + "prepublish": "npm run snyk-protect" }, "repository": { "type": "git", @@ -19,7 +21,7 @@ "slack", "socialbot" ], - "author": "Open Source Weekends", + "author": "Open Source Weekends", "contributors": [ { "name": "Ulises Gascón", @@ -38,6 +40,8 @@ "hangouts-bot": "0.2.1", "scheduled": "0.4.5", "slack-node": "0.1.8", - "twitter": "1.4.0" - } + "twitter": "1.4.0", + "snyk": "^1.323.0" + }, + "snyk": true }