Compare commits

..

No commits in common. "b9645dfb993074530429f530b81ed24b1e14db94" and "39fb6e8ad188ef52629c517d63459d0a3c261ff1" have entirely different histories.

3 changed files with 4 additions and 5 deletions

View File

@ -1,6 +1,6 @@
{ {
"name": "@push.rocks/smartarchive", "name": "@push.rocks/smartarchive",
"version": "4.0.23", "version": "4.0.22",
"description": "A library for working with archive files, providing utilities for compressing and decompressing data.", "description": "A library for working with archive files, providing utilities for compressing and decompressing data.",
"main": "dist_ts/index.js", "main": "dist_ts/index.js",
"typings": "dist_ts/index.d.ts", "typings": "dist_ts/index.d.ts",
@ -67,4 +67,4 @@
"bzip2", "bzip2",
"gzip" "gzip"
] ]
} }

View File

@ -3,6 +3,6 @@
*/ */
export const commitinfo = { export const commitinfo = {
name: '@push.rocks/smartarchive', name: '@push.rocks/smartarchive',
version: '4.0.23', version: '4.0.22',
description: 'A library for working with archive files, providing utilities for compressing and decompressing data.' description: 'work with archives'
} }

View File

@ -122,7 +122,6 @@ export class SmartArchive {
if (analyzedResultChunk.fileType?.mime === 'application/x-tar') { if (analyzedResultChunk.fileType?.mime === 'application/x-tar') {
const tarStream = analyzedResultChunk.decompressionStream as plugins.tarStream.Extract; const tarStream = analyzedResultChunk.decompressionStream as plugins.tarStream.Extract;
tarStream.on('entry', async (header, stream, next) => { tarStream.on('entry', async (header, stream, next) => {
console.log(`tar stream file: ${header.name}`);
const streamfile = plugins.smartfile.StreamFile.fromStream(stream, header.name); const streamfile = plugins.smartfile.StreamFile.fromStream(stream, header.name);
streamFileIntake.push(streamfile); streamFileIntake.push(streamfile);
stream.on('end', function () { stream.on('end', function () {