diff --git a/package.json b/package.json index aac6ae2..f2193c7 100644 --- a/package.json +++ b/package.json @@ -92,7 +92,7 @@ "jest": "^21.2.1", "kapok-js": "^0.10.1", "mkdirp": "^0.5.1", - "node-fetch": "^1.7.1", + "node-fetch": "^2.6.7", "npm-run-all": "^4.0.2", "pify": "^3.0.0", "prettier-eslint-cli": "^4.7.0", diff --git a/yarn.lock b/yarn.lock index 1a547bc..54bb424 100644 --- a/yarn.lock +++ b/yarn.lock @@ -5464,13 +5464,20 @@ node-fetch-npm@^2.0.1: json-parse-helpfulerror "^1.0.3" safe-buffer "^5.0.1" -node-fetch@^1.0.1, node-fetch@^1.3.3, node-fetch@^1.7.1: +node-fetch@^1.0.1, node-fetch@^1.3.3: version "1.7.1" resolved "http://registry.npm.taobao.org/node-fetch/download/node-fetch-1.7.1.tgz#899cb3d0a3c92f952c47f1b876f4c8aeabd400d5" dependencies: encoding "^0.1.11" is-stream "^1.0.1" +node-fetch@^2.6.7: + version "2.6.7" + resolved "https://registry.yarnpkg.com/node-fetch/-/node-fetch-2.6.7.tgz#24de9fba827e3b4ae44dc8b20256a379160052ad" + integrity sha512-ZjMPFEfVx5j+y2yF35Kzx5sF7kDzxuDj6ziH4FFbOp87zKDZNx8yExJIb05OGF4Nlt9IHFIMBkRl41VdvcNdbQ== + dependencies: + whatwg-url "^5.0.0" + node-gyp@~3.6.0, node-gyp@~3.6.2: version "3.6.2" resolved "http://registry.npm.taobao.org/node-gyp/download/node-gyp-3.6.2.tgz#9bfbe54562286284838e750eac05295853fa1c60" @@ -8331,6 +8338,14 @@ whatwg-url@^4.3.0: tr46 "~0.0.3" webidl-conversions "^3.0.0" +whatwg-url@^5.0.0: + version "5.0.0" + resolved "https://registry.yarnpkg.com/whatwg-url/-/whatwg-url-5.0.0.tgz#966454e8765462e37644d3626f6742ce8b70965d" + integrity sha512-saE57nupxk6v3HY35+jzBwYa0rKSy0XR8JSxZPwgLr7ys0IBzhGviA1/TUGJLmSVqs8pb9AnvICXEuOHLprYTw== + dependencies: + tr46 "~0.0.3" + webidl-conversions "^3.0.0" + when@^3.7.7: version "3.7.8" resolved "http://registry.npm.taobao.org/when/download/when-3.7.8.tgz#c7130b6a7ea04693e842cdc9e7a1f2aa39a39f82"