Skip to content

Commit 1d4f364

Browse files
chore(deps): upgrade node-fetch (#33466)
Fixes #33462 Tried upgrading to v3, but we rely on the `timeout` property: https://github.com/vercel/next.js/blob/e5dee17f776dcc79ebb269f7b7341fa6e2b6c3f1/packages/next/telemetry/post-payload.ts#L12 Which was removed since it's non-standard: https://github.com/node-fetch/node-fetch/blob/main/docs/v3-UPGRADE-GUIDE.md#the-timeout-option-was-removed I wanted to keep this PR minimal, so I did not try to work around the above. ## Bug - [ ] Related issues linked using `fixes #number` - [ ] Integration tests added - [ ] Errors have helpful link attached, see `contributing.md` ## Feature - [ ] Implements an existing feature request or RFC. Make sure the feature request has been accepted for implementation before opening a PR. - [ ] Related issues linked using `fixes #number` - [ ] Integration tests added - [ ] Documentation added - [ ] Telemetry added. In case of a feature if it's used or not. - [ ] Errors have helpful link attached, see `contributing.md` ## Documentation / Examples - [ ] Make sure the linting passes by running `yarn lint`
1 parent 818f6b3 commit 1d4f364

File tree

3 files changed

+27
-2
lines changed

3 files changed

+27
-2
lines changed

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -123,7 +123,7 @@
123123
"lost": "8.3.1",
124124
"minimatch": "3.0.4",
125125
"moment": "^2.24.0",
126-
"node-fetch": "2.6.1",
126+
"node-fetch": "2.6.7",
127127
"node-notifier": "8.0.1",
128128
"node-sass": "6.0.1",
129129
"npm-run-all": "4.1.5",

packages/next/compiled/node-fetch/index.js

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

yarn.lock

Lines changed: 25 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -14411,6 +14411,13 @@ [email protected], node-fetch@^2.1.1, node-fetch@^2.2.0, node-fetch@^2.6.0, node-
1441114411
resolved "https://registry.yarnpkg.com/node-fetch/-/node-fetch-2.6.1.tgz#045bd323631f76ed2e2b55573394416b639a0052"
1441214412
integrity sha512-V4aYg89jEoVRxRb2fJdAg8FHvI7cEyYdVAh94HH0UIK8oJxUfkjlDQN9RbMx+bEjP7+ggMiFRprSti032Oipxw==
1441314413

14414+
14415+
version "2.6.7"
14416+
resolved "https://registry.yarnpkg.com/node-fetch/-/node-fetch-2.6.7.tgz#24de9fba827e3b4ae44dc8b20256a379160052ad"
14417+
integrity sha512-ZjMPFEfVx5j+y2yF35Kzx5sF7kDzxuDj6ziH4FFbOp87zKDZNx8yExJIb05OGF4Nlt9IHFIMBkRl41VdvcNdbQ==
14418+
dependencies:
14419+
whatwg-url "^5.0.0"
14420+
1441414421
node-fetch@^1.0.1:
1441514422
version "1.7.3"
1441614423
resolved "https://registry.yarnpkg.com/node-fetch/-/node-fetch-1.7.3.tgz#980f6f72d85211a5347c6b2bc18c5b84c3eb47ef"
@@ -19444,6 +19451,11 @@ tr46@^2.1.0:
1944419451
dependencies:
1944519452
punycode "^2.1.1"
1944619453

19454+
tr46@~0.0.3:
19455+
version "0.0.3"
19456+
resolved "https://registry.yarnpkg.com/tr46/-/tr46-0.0.3.tgz#8184fd347dac9cdc185992f3a6622e14b9d9ab6a"
19457+
integrity sha1-gYT9NH2snNwYWZLzpmIuFLnZq2o=
19458+
1944719459
1944819460
version "0.6.6"
1944919461
resolved "https://registry.yarnpkg.com/traverse/-/traverse-0.6.6.tgz#cbdf560fd7b9af632502fed40f918c157ea97137"
@@ -20478,6 +20490,11 @@ webcrypto-core@^1.2.0:
2047820490
pvtsutils "^1.2.0"
2047920491
tslib "^2.3.1"
2048020492

20493+
webidl-conversions@^3.0.0:
20494+
version "3.0.1"
20495+
resolved "https://registry.yarnpkg.com/webidl-conversions/-/webidl-conversions-3.0.1.tgz#24534275e2a7bc6be7bc86611cc16ae0a5654871"
20496+
integrity sha1-JFNCdeKnvGvnvIZhHMFq4KVlSHE=
20497+
2048120498
webidl-conversions@^4.0.2:
2048220499
version "4.0.2"
2048320500
resolved "https://registry.yarnpkg.com/webidl-conversions/-/webidl-conversions-4.0.2.tgz#a855980b1f0b6b359ba1d5d9fb39ae941faa63ad"
@@ -20617,6 +20634,14 @@ whatwg-mimetype@^2.3.0:
2061720634
version "2.3.0"
2061820635
resolved "https://registry.yarnpkg.com/whatwg-mimetype/-/whatwg-mimetype-2.3.0.tgz#3d4b1e0312d2079879f826aff18dbeeca5960fbf"
2061920636

20637+
whatwg-url@^5.0.0:
20638+
version "5.0.0"
20639+
resolved "https://registry.yarnpkg.com/whatwg-url/-/whatwg-url-5.0.0.tgz#966454e8765462e37644d3626f6742ce8b70965d"
20640+
integrity sha1-lmRU6HZUYuN2RNNib2dCzotwll0=
20641+
dependencies:
20642+
tr46 "~0.0.3"
20643+
webidl-conversions "^3.0.0"
20644+
2062020645
whatwg-url@^7.0.0:
2062120646
version "7.1.0"
2062220647
resolved "https://registry.yarnpkg.com/whatwg-url/-/whatwg-url-7.1.0.tgz#c2c492f1eca612988efd3d2266be1b9fc6170d06"

0 commit comments

Comments
 (0)