From a5df0d907f1b40aef200740d59f16182b5620ad9 Mon Sep 17 00:00:00 2001 From: snyk-bot Date: Wed, 19 Jan 2022 11:39:26 +0000 Subject: [PATCH] fix: infinite-scroll-component/package.json & infinite-scroll-component/package-lock.json to reduce vulnerabilities The following vulnerabilities are fixed with an upgrade: - https://snyk.io/vuln/SNYK-JS-NODEFETCH-2342118 --- infinite-scroll-component/package-lock.json | 28 +++------------------ infinite-scroll-component/package.json | 2 +- 2 files changed, 4 insertions(+), 26 deletions(-) diff --git a/infinite-scroll-component/package-lock.json b/infinite-scroll-component/package-lock.json index 9ddfe01..99b2e32 100644 --- a/infinite-scroll-component/package-lock.json +++ b/infinite-scroll-component/package-lock.json @@ -4,37 +4,15 @@ "lockfileVersion": 1, "requires": true, "dependencies": { - "cross-fetch": { - "version": "2.2.2", - "resolved": "https://registry.npmjs.org/cross-fetch/-/cross-fetch-2.2.2.tgz", - "integrity": "sha1-pH/09/xxLauo9qaVoRyUhEDUVyM=", - "requires": { - "node-fetch": "2.1.2", - "whatwg-fetch": "2.0.4" - } - }, "graphql-request": { - "version": "1.8.2", - "resolved": "https://registry.npmjs.org/graphql-request/-/graphql-request-1.8.2.tgz", - "integrity": "sha512-dDX2M+VMsxXFCmUX0Vo0TopIZIX4ggzOtiCsThgtrKR4niiaagsGTDIHj3fsOMFETpa064vzovI+4YV4QnMbcg==", - "requires": { - "cross-fetch": "2.2.2" - } - }, - "node-fetch": { - "version": "2.1.2", - "resolved": "https://registry.npmjs.org/node-fetch/-/node-fetch-2.1.2.tgz", - "integrity": "sha1-q4hOjn5X44qUR1POxwb3iNF2i7U=" + "version": "2.0.0", + "resolved": "https://registry.npmjs.org/graphql-request/-/graphql-request-2.0.0.tgz", + "integrity": "sha512-Ww3Ax+G3l2d+mPT8w7HC9LfrKjutnCKtnDq7ZZp2ghVk5IQDjwAk3/arRF1ix17Ky15rm0hrSKVKxRhIVlSuoQ==" }, "vue": { "version": "2.6.10", "resolved": "https://registry.npmjs.org/vue/-/vue-2.6.10.tgz", "integrity": "sha512-ImThpeNU9HbdZL3utgMCq0oiMzAkt1mcgy3/E6zWC/G6AaQoeuFdsl9nDhTDU3X1R6FK7nsIUuRACVcjI+A2GQ==" - }, - "whatwg-fetch": { - "version": "2.0.4", - "resolved": "https://registry.npmjs.org/whatwg-fetch/-/whatwg-fetch-2.0.4.tgz", - "integrity": "sha512-dcQ1GWpOD/eEQ97k66aiEVpNnapVj90/+R+SXTPYGHpYBBypfKJEQjLrvMZ7YXbKm21gXd4NcuxUTjiv1YtLng==" } } } diff --git a/infinite-scroll-component/package.json b/infinite-scroll-component/package.json index ff3408d..d944298 100644 --- a/infinite-scroll-component/package.json +++ b/infinite-scroll-component/package.json @@ -12,7 +12,7 @@ "author": "", "license": "ISC", "dependencies": { - "graphql-request": "^1.8.2", + "graphql-request": "^2.0.0", "vue": "^2.6.10" } }