-
-
Notifications
You must be signed in to change notification settings - Fork 32.2k
Closed
Labels
fetchIssues and PRs related to the Fetch APIIssues and PRs related to the Fetch APItsc-agendaIssues and PRs to discuss during the meetings of the TSC.Issues and PRs to discuss during the meetings of the TSC.
Description
#48395 which shipped in Node v20.6.0 broke part of the fetch()
spec and was caught by CITGM with some of the undici test failing everywhere.
This stopped working:
const asyncIterable = {
async * [Symbol.asyncIterator] () {
yield 'a'
yield 'b'
yield 'c'
}
}
const response = new Response(asyncIterable)
await response.text()
I'm shipping a fix in undici in nodejs/undici#2251.
Ref. nodejs/citgm#959
(FWIW we should have caught this before release)
Metadata
Metadata
Assignees
Labels
fetchIssues and PRs related to the Fetch APIIssues and PRs related to the Fetch APItsc-agendaIssues and PRs to discuss during the meetings of the TSC.Issues and PRs to discuss during the meetings of the TSC.