From 5143cd098dfa7a1d9979de2e09ee951a437e0a91 Mon Sep 17 00:00:00 2001 From: Philipp Kunz Date: Sat, 8 Jun 2024 12:44:40 +0200 Subject: [PATCH] fix(core): update --- ts/00_commitinfo_data.ts | 2 +- ts/classes.smartarchive.ts | 2 +- ts/classes.tartools.ts | 6 +----- 3 files changed, 3 insertions(+), 7 deletions(-) diff --git a/ts/00_commitinfo_data.ts b/ts/00_commitinfo_data.ts index 3e2f30b..35b0e87 100644 --- a/ts/00_commitinfo_data.ts +++ b/ts/00_commitinfo_data.ts @@ -3,6 +3,6 @@ */ export const commitinfo = { 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.' } diff --git a/ts/classes.smartarchive.ts b/ts/classes.smartarchive.ts index dd92b8b..f3865e6 100644 --- a/ts/classes.smartarchive.ts +++ b/ts/classes.smartarchive.ts @@ -35,7 +35,7 @@ export class SmartArchive { // INSTANCE public gzipTools = new GzipTools(this); public bzip2Tools = new Bzip2Tools(this); - public tarTools = new TarTools(this); + public tarTools = new TarTools(); public zipTools = new ZipTools(this); public archiveAnalyzer = new ArchiveAnalyzer(this); diff --git a/ts/classes.tartools.ts b/ts/classes.tartools.ts index 07a297d..c50ee6a 100644 --- a/ts/classes.tartools.ts +++ b/ts/classes.tartools.ts @@ -3,11 +3,7 @@ import * as plugins from './plugins.js'; export class TarTools { // INSTANCE - smartArchiveRef: SmartArchive; - - constructor(smartArchiveRefArg: SmartArchive) { - this.smartArchiveRef = smartArchiveRefArg; - } + constructor() {} // packing public async addFileToPack(