fix(SmartDuplex): Fix stream termination when reading from a web readable stream
This commit is contained in:
@ -3,6 +3,6 @@
|
||||
*/
|
||||
export const commitinfo = {
|
||||
name: '@push.rocks/smartstream',
|
||||
version: '3.2.3',
|
||||
version: '3.2.4',
|
||||
description: 'A library to simplify the creation and manipulation of Node.js streams, providing utilities for handling transform, duplex, and readable/writable streams effectively in TypeScript.'
|
||||
}
|
||||
|
@ -68,7 +68,7 @@ export class SmartDuplex<TInput = any, TOutput = any> extends Duplex {
|
||||
}
|
||||
reader.releaseLock();
|
||||
if (done) {
|
||||
smartDuplex.end();
|
||||
smartDuplex.push(null);
|
||||
}
|
||||
},
|
||||
});
|
||||
|
Reference in New Issue
Block a user