diff --git a/.snyk b/.snyk new file mode 100644 index 0000000..8446c9c --- /dev/null +++ b/.snyk @@ -0,0 +1,24 @@ +# 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-05T04:37:19.172Z' + - x-ray > cheerio > lodash: + patched: '2019-07-05T04:37:19.172Z' + - pillars > textualization > jshint > lodash: + patched: '2019-07-05T04:37:19.172Z' + - scheduled > textualization > jshint > lodash: + patched: '2019-07-05T04:37:19.172Z' + - pillars > scheduled > textualization > jshint > lodash: + patched: '2019-07-05T04:37:19.172Z' + - pillars > templated > textualization > jshint > lodash: + patched: '2019-07-05T04:37:19.172Z' + - pillars > templated > pug > pug-code-gen > constantinople > babel-types > lodash: + patched: '2019-07-05T04:37:19.172Z' + - pillars > templated > pug > pug-filters > constantinople > babel-types > lodash: + patched: '2019-07-05T04:37:19.172Z' + - pillars > templated > pug > pug-code-gen > pug-attrs > constantinople > babel-types > lodash: + patched: '2019-07-05T04:37:19.172Z' diff --git a/package.json b/package.json index 254f921..4312cf5 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": [ @@ -27,6 +29,8 @@ "slack-node": "0.2.0", "socket.io": "1.4.8", "twitter": "1.3.0", - "x-ray": "2.3.0" - } + "x-ray": "2.3.0", + "snyk": "^1.192.0" + }, + "snyk": true }