From 6eebbb6f177a2a1bf6b3d978c4790b3681c27ac2 Mon Sep 17 00:00:00 2001 From: snyk-bot Date: Fri, 1 May 2020 07:16:57 +0300 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 ba01e2a..3af3f44 100644 --- a/package.json +++ b/package.json @@ -11,7 +11,9 @@ "lint": "echo", "pretest": "npm run lint", "test": "echo", - "ammend": "git add . && git commit --amend && git push -f && git push -f git@github.com:Stradivario/gapi-core.git" + "ammend": "git add . && git commit --amend && git push -f && git push -f git@github.com:Stradivario/gapi-core.git", + "snyk-protect": "snyk protect", + "prepublish": "npm run snyk-protect" }, "keywords": [ "graphql", @@ -31,7 +33,8 @@ "@rxdi/graphql-pubsub": "0.7.38", "@rxdi/hapi": "0.7.38", "graphql-geojson": "^1.0.0", - "graphql-tools": "^3.0.2" + "graphql-tools": "^3.0.2", + "snyk": "^1.316.1" }, "jest": { "testEnvironment": "node", @@ -62,5 +65,6 @@ "devDependencies": { "@types/hapi": "^18.0.2", "typescript": "^3.0.1" - } + }, + "snyk": true } From 8e15703373db818bfb33af311405765d33adf583 Mon Sep 17 00:00:00 2001 From: snyk-bot Date: Fri, 1 May 2020 07:16:58 +0300 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 | 8 ++++++++ 1 file changed, 8 insertions(+) create mode 100644 .snyk diff --git a/.snyk b/.snyk new file mode 100644 index 0000000..05880e0 --- /dev/null +++ b/.snyk @@ -0,0 +1,8 @@ +# 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: + - '@rxdi/graphql-pubsub > @rxdi/graphql-rabbitmq-subscriptions > async > lodash': + patched: '2020-05-01T04:16:55.447Z'