From 0648125b6d8826f363bffa8befdf03671d621976 Mon Sep 17 00:00:00 2001 From: snyk-bot Date: Fri, 1 May 2020 02:05:45 +0200 Subject: [PATCH 1/2] fix: package.json & .snyk to reduce vulnerabilities The following vulnerabilities are fixed with a Snyk patch: - https://snyk.io/vuln/SNYK-JS-LODASH-567746 --- package.json | 10 +++++++--- 1 file changed, 7 insertions(+), 3 deletions(-) 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 } From a64538284b0a64a095d1e0155a09cb94d7a95c15 Mon Sep 17 00:00:00 2001 From: snyk-bot Date: Fri, 1 May 2020 02:05:46 +0200 Subject: [PATCH 2/2] fix: package.json & .snyk to reduce vulnerabilities The following vulnerabilities are fixed with a Snyk patch: - https://snyk.io/vuln/SNYK-JS-LODASH-567746 --- .snyk | 12 ++++++++++++ 1 file changed, 12 insertions(+) create mode 100644 .snyk 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'