From bfa02fc7330df45b678cf20668bc564b21a99985 Mon Sep 17 00:00:00 2001 From: Bartosz Wojtkowiak Date: Thu, 27 Sep 2018 13:53:54 +0200 Subject: [PATCH] Update `node-fetch` --- package-lock.json | 19 ++++--------------- package.json | 2 +- yarn.lock | 11 ++++------- 3 files changed, 9 insertions(+), 23 deletions(-) diff --git a/package-lock.json b/package-lock.json index c67a5cf8..de6360e1 100644 --- a/package-lock.json +++ b/package-lock.json @@ -3513,14 +3513,6 @@ "integrity": "sha1-rT/0yG7C0CkyL1oCw6mmBslbP1k=", "dev": true }, - "encoding": { - "version": "0.1.12", - "resolved": "https://registry.npmjs.org/encoding/-/encoding-0.1.12.tgz", - "integrity": "sha1-U4tm8+5izRq1HsMjgp0flIDHS+s=", - "requires": { - "iconv-lite": "~0.4.13" - } - }, "end-of-stream": { "version": "1.4.1", "resolved": "https://registry.npmjs.org/end-of-stream/-/end-of-stream-1.4.1.tgz", @@ -5119,6 +5111,7 @@ "version": "0.4.23", "resolved": "https://registry.npmjs.org/iconv-lite/-/iconv-lite-0.4.23.tgz", "integrity": "sha512-neyTUVFtahjf0mB3dZT77u+8O0QB89jFdnBkd5P1JgYPbPaia3gXXOVL2fq8VyU2gMMD7SaN7QukTB/pmXYvDA==", + "dev": true, "requires": { "safer-buffer": ">= 2.1.2 < 3" } @@ -6703,13 +6696,9 @@ "dev": true }, "node-fetch": { - "version": "1.6.3", - "resolved": "https://registry.npmjs.org/node-fetch/-/node-fetch-1.6.3.tgz", - "integrity": "sha1-3CNO3WSJmC1Y6PDbT2lQKavNjAQ=", - "requires": { - "encoding": "^0.1.11", - "is-stream": "^1.0.1" - } + "version": "2.2.0", + "resolved": "https://registry.npmjs.org/node-fetch/-/node-fetch-2.2.0.tgz", + "integrity": "sha512-OayFWziIxiHY8bCUyLX6sTpDH8Jsbp4FfYd1j1f7vZyfgkcOnAyM4oQR16f8a0s7Gl/viMGRey8eScYk4V4EZA==" }, "node-modules-regexp": { "version": "1.0.0", diff --git a/package.json b/package.json index 5ea1eb09..3f20b5d4 100644 --- a/package.json +++ b/package.json @@ -90,7 +90,7 @@ "isbinaryfile": "3.0.3", "lodash": "4.17.10", "md5": "2.2.1", - "node-fetch": "1.6.3", + "node-fetch": "2.2.0", "regenerator-runtime": "0.12.1", "rimraf": "2.6.2", "semver": "5.5.1", diff --git a/yarn.lock b/yarn.lock index 7746a3b6..c68a44e0 100644 --- a/yarn.lock +++ b/yarn.lock @@ -3880,7 +3880,7 @@ is-retry-allowed@^1.0.0: version "1.1.0" resolved "https://registry.yarnpkg.com/is-retry-allowed/-/is-retry-allowed-1.1.0.tgz#11a060568b67339444033d0125a61a20d564fb34" -is-stream@^1.0.0, is-stream@^1.0.1, is-stream@^1.1.0: +is-stream@^1.0.0, is-stream@^1.1.0: version "1.1.0" resolved "https://registry.yarnpkg.com/is-stream/-/is-stream-1.1.0.tgz#12d4a3dd4e68e0b79ceb8dbc84173ae80d91ca44" @@ -4924,12 +4924,9 @@ node-fetch-npm@^2.0.2: json-parse-better-errors "^1.0.0" safe-buffer "^5.1.1" -node-fetch@1.6.3: - version "1.6.3" - resolved "https://registry.yarnpkg.com/node-fetch/-/node-fetch-1.6.3.tgz#dc234edd6489982d58e8f0db4f695029abcd8c04" - dependencies: - encoding "^0.1.11" - is-stream "^1.0.1" +node-fetch@2.2.0: + version "2.2.0" + resolved "https://registry.yarnpkg.com/node-fetch/-/node-fetch-2.2.0.tgz#4ee79bde909262f9775f731e3656d0db55ced5b5" node-gyp@^3.8.0: version "3.8.0"