-
Notifications
You must be signed in to change notification settings - Fork 161
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Patch undici to workaround nodejs/undici#3959
Not spec-compliant, might break a few things, but we will see
- Loading branch information
Showing
3 changed files
with
28 additions
and
5 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -74,5 +74,10 @@ | |
"packageManager": "[email protected]", | ||
"resolutions": { | ||
"has": "npm:@nolyfill/has@latest" | ||
}, | ||
"pnpm": { | ||
"patchedDependencies": { | ||
"undici": "patches/undici.patch" | ||
} | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,13 @@ | ||
diff --git a/lib/util/cache.js b/lib/util/cache.js | ||
index 35c53512b2acea09657b888e42dbfd04e45d7dbe..6ebce36bf7f3c50d6afabe5b3ab0e692605403dd 100644 | ||
--- a/lib/util/cache.js | ||
+++ b/lib/util/cache.js | ||
@@ -270,8 +270,6 @@ function parseVaryHeader (varyHeader, headers) { | ||
|
||
if (headers[trimmedHeader]) { | ||
output[trimmedHeader] = headers[trimmedHeader] | ||
- } else { | ||
- return undefined | ||
} | ||
} | ||
|
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.