fix(core): update

This commit is contained in:
2023-11-13 20:11:10 +01:00
parent f709421621
commit 3206738da5
3 changed files with 2 additions and 4 deletions

View File

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

View File

@ -66,7 +66,6 @@ export function unbzip2Stream() {
while (!broken && hasBytes - bitReader.bytesRead + 1 >= (25000 + 100000 * blockSize || 4)) {
//console.error('decompressing with', hasBytes - bitReader.bytesRead + 1, 'bytes in buffer');
const result = await decompressAndPush();
console.log('pushing...');
await streamTools.push(result);
}
},
@ -74,7 +73,6 @@ export function unbzip2Stream() {
//console.error(x,'last compressing with', hasBytes, 'bytes in buffer');
while (!broken && bitReader && hasBytes > bitReader.bytesRead) {
const result = await decompressAndPush();
console.log('pushing final...');
streamTools.push(result);
}
if (!broken) {