Compare commits

...

2 Commits

Author SHA1 Message Date
2c1d9f05ce 3.0.7 2023-11-04 00:17:04 +01:00
34cbf28972 fix(core): update 2023-11-04 00:17:03 +01:00
3 changed files with 5 additions and 3 deletions

View File

@ -1,6 +1,6 @@
{
"name": "@push.rocks/smartstream",
"version": "3.0.6",
"version": "3.0.7",
"private": false,
"description": "simplifies access to node streams",
"main": "dist_ts/index.js",

View File

@ -3,6 +3,6 @@
*/
export const commitinfo = {
name: '@push.rocks/smartstream',
version: '3.0.6',
version: '3.0.7',
description: 'simplifies access to node streams'
}

View File

@ -13,7 +13,9 @@ export class PassThrough extends plugins.stream.Duplex {
if (this.push(chunk, encoding)) {
callback();
} else {
this.once('drain', callback);
this.once('drain', () => {
callback();
});
}
}
}