fix(SmartDuplex): Fix stream termination when reading from a web readable stream
This commit is contained in:
parent
4fc82d0dc6
commit
a225188e24
@ -1,5 +1,10 @@
|
||||
# Changelog
|
||||
|
||||
## 2024-10-16 - 3.2.4 - fix(SmartDuplex)
|
||||
Fix stream termination when reading from a web readable stream
|
||||
|
||||
- Resolved an issue in SmartDuplex where the stream did not properly terminate after reaching the end of a web readable stream.
|
||||
|
||||
## 2024-10-16 - 3.2.3 - fix(smartduplex)
|
||||
Enhance documentation for read function in SmartDuplex
|
||||
|
||||
|
@ -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);
|
||||
}
|
||||
},
|
||||
});
|
||||
|
@ -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.'
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user