Find Duplex.toWeb() calls passing options.type
ProprietaryPassing 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-typemod run . --recipe= org. openrewrite. node. migrate. stream. find-duplex-to-web-typeInstall it once, then run it on every repository under the current directory. New to the Moderne CLI? Set it up.