From e129d0dd7d948d294251d6b67a234bcdb31e255b Mon Sep 17 00:00:00 2001 From: snyk-test Date: Thu, 4 Jul 2019 06:24:44 +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 | 22 ++++++++++++++++++++++ package.json | 12 ++++++++---- 2 files changed, 30 insertions(+), 4 deletions(-) create mode 100644 .snyk diff --git a/.snyk b/.snyk new file mode 100644 index 0000000..29ea792 --- /dev/null +++ b/.snyk @@ -0,0 +1,22 @@ +# 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: + - slack-node > requestretry > lodash: + patched: '2019-07-04T06:24:42.744Z' + - pillars > textualization > jshint > lodash: + patched: '2019-07-04T06:24:42.744Z' + - scheduled > textualization > jshint > lodash: + patched: '2019-07-04T06:24:42.744Z' + - pillars > scheduled > textualization > jshint > lodash: + patched: '2019-07-04T06:24:42.744Z' + - pillars > templated > textualization > jshint > lodash: + patched: '2019-07-04T06:24:42.744Z' + - pillars > templated > pug > pug-code-gen > constantinople > babel-types > lodash: + patched: '2019-07-04T06:24:42.744Z' + - pillars > templated > pug > pug-filters > constantinople > babel-types > lodash: + patched: '2019-07-04T06:24:42.744Z' + - pillars > templated > pug > pug-code-gen > pug-attrs > constantinople > babel-types > lodash: + patched: '2019-07-04T06:24:42.744Z' diff --git a/package.json b/package.json index 6e22f9b..fdfa17a 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.189.0" + }, + "snyk": true }