From 65f70b5bf826c21514c4e062c334cf1c06680f6a Mon Sep 17 00:00:00 2001 From: snyk-bot Date: Sun, 23 Feb 2020 02:41:14 +0000 Subject: [PATCH] fix: upgrade graphql-query-complexity from 0.2.2 to 0.4.1 Snyk has created this PR to upgrade graphql-query-complexity from 0.2.2 to 0.4.1. See this package in NPM: https://www.npmjs.com/package/graphql-query-complexity See this project in Snyk: https://app.snyk.io/org/saurabharch/project/267434cc-0ed0-4cb9-a2f2-ced883f0e8e9?utm_source=github&utm_medium=upgrade-pr --- package-lock.json | 13 ++++++++----- package.json | 2 +- 2 files changed, 9 insertions(+), 6 deletions(-) diff --git a/package-lock.json b/package-lock.json index 9dcdc7fa0..b14e46d90 100644 --- a/package-lock.json +++ b/package-lock.json @@ -2335,7 +2335,8 @@ "version": "1.1.0", "resolved": "https://registry.npmjs.org/console-control-strings/-/console-control-strings-1.1.0.tgz", "integrity": "sha1-PXz0Rk22RG6mRL9LOVB/mFEAjo4=", - "dev": true + "dev": true, + "optional": true }, "content-disposition": { "version": "0.5.2", @@ -4037,9 +4038,9 @@ } }, "graphql-query-complexity": { - "version": "0.2.2", - "resolved": "https://registry.npmjs.org/graphql-query-complexity/-/graphql-query-complexity-0.2.2.tgz", - "integrity": "sha512-Z2MEPILOZo7B6Tpa/Fct4h0cLZj7MwPRZftN+3x9my5IIEEh6BlOmPr74/wM3uaGrOWLCDXYPQ46Hvli2YM3eg==", + "version": "0.4.1", + "resolved": "https://registry.npmjs.org/graphql-query-complexity/-/graphql-query-complexity-0.4.1.tgz", + "integrity": "sha512-Uo87hNlnJ5jwoWBkVYITbJpTrlCVwgfG5Wrfel0K1/42G+3xvud31CpsprAwiSpFIP+gCqttAx7OVmw4eTqLQQ==", "requires": { "lodash.get": "^4.4.2" } @@ -7237,6 +7238,7 @@ "resolved": "https://registry.npmjs.org/minipass/-/minipass-2.2.4.tgz", "integrity": "sha512-hzXIWWet/BzWhYs2b+u7dRHlruXhwdgvlTMDKC6Cb1U7ps6Ac6yQlR39xsbjWJE377YTCtKwIXIpJ5oP+j5y8g==", "dev": true, + "optional": true, "requires": { "safe-buffer": "^5.1.1", "yallist": "^3.0.0" @@ -7246,7 +7248,8 @@ "version": "3.0.3", "resolved": "https://registry.npmjs.org/yallist/-/yallist-3.0.3.tgz", "integrity": "sha512-S+Zk8DEWE6oKpV+vI3qWkaK+jSbIK86pCwe2IF/xwIpQ8jEuxpw9NyaGjmp9+BoJv5FV2piqCDcoCtStppiq2A==", - "dev": true + "dev": true, + "optional": true } } }, diff --git a/package.json b/package.json index 92346327b..8a594e15e 100644 --- a/package.json +++ b/package.json @@ -49,7 +49,7 @@ "@types/semver": "^5.5.0", "class-validator": ">=0.9.1", "glob": "^7.1.3", - "graphql-query-complexity": "^0.2.2", + "graphql-query-complexity": "^0.4.1", "graphql-subscriptions": "^1.0.0", "semver": "^5.6.0", "tslib": "^1.9.3"