Compare commits

..

No commits in common. "37e8a1d0f76edfeaa93b8d19fb3cac4ca0f87054" and "4d5ea812afa244416cda397aafb5cebce8e5cbe1" have entirely different histories.

4 changed files with 8 additions and 4 deletions

View File

@ -1,6 +1,6 @@
{
"name": "@push.rocks/smartarchive",
"version": "4.0.31",
"version": "4.0.30",
"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.31',
version: '4.0.30',
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
public gzipTools = new GzipTools(this);
public bzip2Tools = new Bzip2Tools(this);
public tarTools = new TarTools();
public tarTools = new TarTools(this);
public zipTools = new ZipTools(this);
public archiveAnalyzer = new ArchiveAnalyzer(this);

View File

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