Compare commits

...

2 Commits

Author SHA1 Message Date
120fd0b321 4.0.34 2024-06-08 13:47:39 +02:00
e6192c418e fix(core): update 2024-06-08 13:47:38 +02:00
3 changed files with 3 additions and 3 deletions

View File

@ -1,6 +1,6 @@
{
"name": "@push.rocks/smartarchive",
"version": "4.0.33",
"version": "4.0.34",
"description": "A library for working with archive files, providing utilities for compressing and decompressing data.",
"main": "dist_ts/index.js",
"typings": "dist_ts/index.d.ts",

View File

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

View File

@ -104,7 +104,7 @@ export class TarTools {
const fileStat = await plugins.smartfile.fs.stat(absolutePath);
await this.addFileToPack(pack, {
byteLength: fileStat.size,
filePath: filePath,
filePath: absolutePath,
fileName: filePath,
content: plugins.smartfile.fsStream.createReadStream(absolutePath),
});