fix(core): update

This commit is contained in:
Philipp Kunz 2024-06-08 12:44:40 +02:00
parent 4d5ea812af
commit 5143cd098d
3 changed files with 3 additions and 7 deletions

View File

@ -3,6 +3,6 @@
*/ */
export const commitinfo = { export const commitinfo = {
name: '@push.rocks/smartarchive', name: '@push.rocks/smartarchive',
version: '4.0.30', version: '4.0.31',
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.'
} }

View File

@ -35,7 +35,7 @@ export class SmartArchive {
// INSTANCE // INSTANCE
public gzipTools = new GzipTools(this); public gzipTools = new GzipTools(this);
public bzip2Tools = new Bzip2Tools(this); public bzip2Tools = new Bzip2Tools(this);
public tarTools = new TarTools(this); public tarTools = new TarTools();
public zipTools = new ZipTools(this); public zipTools = new ZipTools(this);
public archiveAnalyzer = new ArchiveAnalyzer(this); public archiveAnalyzer = new ArchiveAnalyzer(this);

View File

@ -3,11 +3,7 @@ import * as plugins from './plugins.js';
export class TarTools { export class TarTools {
// INSTANCE // INSTANCE
smartArchiveRef: SmartArchive; constructor() {}
constructor(smartArchiveRefArg: SmartArchive) {
this.smartArchiveRef = smartArchiveRefArg;
}
// packing // packing
public async addFileToPack( public async addFileToPack(