diff --git a/.snyk b/.snyk new file mode 100644 index 0000000..42997af --- /dev/null +++ b/.snyk @@ -0,0 +1,12 @@ +# 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: + - pug > pug-code-gen > constantinople > babel-types > lodash: + patched: '2020-05-01T00:05:43.230Z' + - pug > pug-filters > constantinople > babel-types > lodash: + patched: '2020-05-01T00:05:43.230Z' + - pug > pug-code-gen > pug-attrs > constantinople > babel-types > lodash: + patched: '2020-05-01T00:05:43.230Z' diff --git a/package.json b/package.json index 08c88ed..d907bcb 100644 --- a/package.json +++ b/package.json @@ -4,7 +4,9 @@ "description": "proyecto sobre ADN usando genome.js ", "main": "server.js", "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", @@ -37,6 +39,8 @@ "express-fileupload": "0.0.5", "gql": "^1.1.0", "method-override": "^2.3.6", - "pug": "^2.0.0-beta6" - } + "pug": "^2.0.0-beta6", + "snyk": "^1.316.1" + }, + "snyk": true }