diff --git a/lib/stream/web.js b/lib/stream/web.js index fb05a7a91cc79dc..b9f46e14cf91187 100644 --- a/lib/stream/web.js +++ b/lib/stream/web.js @@ -37,7 +37,7 @@ const { newStreamWritableFromWritableStream, newStreamReadableFromReadableStream, newReadableWritablePairFromDuplex, - newDuplexFromReadableWritablePair, + newStreamDuplexFromReadableWritablePair, } = require('internal/webstreams/adapters'); module.exports = { @@ -61,5 +61,5 @@ module.exports = { newStreamWritableFromWritableStream, newStreamReadableFromReadableStream, newReadableWritablePairFromDuplex, - newDuplexFromReadableWritablePair, + newStreamDuplexFromReadableWritablePair, };