next/node-polyfill-web-streams: fix web stream polyfill for Node v16 (#51901)
### What? Slack thread: https://vercel.slack.com/archives/C050WU03V3N/p1687889719318819 In Node 16, the ReadableStream is not on the global but instead under the `stream` package. We should polyfill the global with that implementation, if available ### Why? Fixes passing ReadableStream from the Node.js runtime to the vercel/ai SDK.
Showing
Please
register
or
sign in
to comment