Find Duplex.toWeb() calls passing options.type

Proprietary

Passing options.type to stream.Duplex.toWeb() is runtime-deprecated in Node.js 26 (DEP0201). The type field controls the readable-side ReadableStream chunk type; drop it from the options and set the type on the resulting ReadableStream instead.

org.openrewrite.node.migrate.stream.find-duplex-to-web-type
mod run . --recipe=org.openrewrite.node.migrate.stream.find-duplex-to-web-type

Install it once, then run it on every repository under the current directory. New to the Moderne CLI? Set it up.