diff --git a/.snyk b/.snyk new file mode 100644 index 0000000..5b9b6dc --- /dev/null +++ b/.snyk @@ -0,0 +1,19 @@ +# Snyk (https://snyk.io) policy file, patches or ignores known vulnerabilities. +version: v1.19.0 +ignore: {} +# patches apply the minimum changes required to fix a vulnerability +patch: + 'npm:mime:20170907': + - rsj > feedparser > request > mime: + patched: '2020-11-14T04:37:34.488Z' + - rsj > feedparser > request > form-data > mime: + patched: '2020-11-14T04:37:34.488Z' + 'npm:qs:20140806-1': + - rsj > feedparser > request > qs: + patched: '2020-11-14T04:37:34.488Z' + 'npm:request:20160119': + - rsj > feedparser > request: + patched: '2020-11-14T04:37:34.488Z' + 'npm:validator:20130705-1': + - rsj > feedparser > resanitize > validator: + patched: '2020-11-14T04:37:34.488Z' diff --git a/package.json b/package.json index 254f921..a847761 100644 --- a/package.json +++ b/package.json @@ -4,7 +4,9 @@ "description": "Ofertas de empleo de calidad para desarrolladores de calidad", "main": "server.js", "scripts": { - "start": "node server.js" + "start": "node server.js", + "snyk-protect": "snyk protect", + "prepublish": "npm run snyk-protect" }, "author": "Ulises Gascón", "contributors": [ @@ -26,7 +28,9 @@ "sentiment-spanish": "0.0.8", "slack-node": "0.2.0", "socket.io": "1.4.8", - "twitter": "1.3.0", - "x-ray": "2.3.0" - } + "twitter": "1.7.1", + "x-ray": "2.3.0", + "snyk": "^1.426.0" + }, + "snyk": true }