fix(core): update

This commit is contained in:
Philipp Kunz 2023-11-14 13:17:05 +01:00
parent 2cd0846c74
commit cc0ecb3f16
2 changed files with 4 additions and 1 deletions

View File

@ -3,6 +3,6 @@
*/ */
export const commitinfo = { export const commitinfo = {
name: '@push.rocks/smartarchive', name: '@push.rocks/smartarchive',
version: '4.0.18', version: '4.0.19',
description: 'work with archives' description: 'work with archives'
} }

View File

@ -80,6 +80,9 @@ export function unbzip2Stream() {
//console.error(x,'last compressing with', hasBytes, 'bytes in buffer'); //console.error(x,'last compressing with', hasBytes, 'bytes in buffer');
while (!broken && bitReader && hasBytes > bitReader.bytesRead) { while (!broken && bitReader && hasBytes > bitReader.bytesRead) {
const result = await decompressAndPush(); const result = await decompressAndPush();
if (!result) {
continue;
}
await streamTools.push(result); await streamTools.push(result);
} }
if (!broken) { if (!broken) {