fix(core): update

This commit is contained in:
Philipp Kunz 2024-06-08 12:46:43 +02:00
parent 37e8a1d0f7
commit fe8a5713f0
7 changed files with 10 additions and 13 deletions

1
dist_ts/index.d.ts vendored
View File

@ -1,3 +1,4 @@
export * from './classes.smartarchive.js'; export * from './classes.smartarchive.js';
export * from './classes.tartools.js'; export * from './classes.tartools.js';
export * from './classes.ziptools.js'; export * from './classes.ziptools.js';
export * from './classes.gziptools.js';

View File

@ -1,4 +1,5 @@
export * from './classes.smartarchive.js'; export * from './classes.smartarchive.js';
export * from './classes.tartools.js'; export * from './classes.tartools.js';
export * from './classes.ziptools.js'; export * from './classes.ziptools.js';
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiaW5kZXguanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi90cy9pbmRleC50cyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiQUFBQSxjQUFjLDJCQUEyQixDQUFDO0FBQzFDLGNBQWMsdUJBQXVCLENBQUM7QUFDdEMsY0FBYyx1QkFBdUIsQ0FBQyJ9 export * from './classes.gziptools.js';
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiaW5kZXguanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi90cy9pbmRleC50cyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiQUFBQSxjQUFjLDJCQUEyQixDQUFDO0FBQzFDLGNBQWMsdUJBQXVCLENBQUM7QUFDdEMsY0FBYyx1QkFBdUIsQ0FBQztBQUN0QyxjQUFjLHdCQUF3QixDQUFDIn0=

View File

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

@ -43,10 +43,7 @@ export class DecompressGunzipTransform extends plugins.stream.Transform {
export class GzipTools { export class GzipTools {
smartArchiveRef: SmartArchive; constructor() {
constructor(smartArchiveRefArg: SmartArchive) {
this.smartArchiveRef = smartArchiveRefArg;
} }
public getCompressionStream() { public getCompressionStream() {

View File

@ -33,10 +33,10 @@ export class SmartArchive {
} }
// INSTANCE // INSTANCE
public gzipTools = new GzipTools(this);
public bzip2Tools = new Bzip2Tools(this);
public tarTools = new TarTools(); public tarTools = new TarTools();
public zipTools = new ZipTools(this); public zipTools = new ZipTools();
public gzipTools = new GzipTools();
public bzip2Tools = new Bzip2Tools(this);
public archiveAnalyzer = new ArchiveAnalyzer(this); public archiveAnalyzer = new ArchiveAnalyzer(this);
public sourceUrl: string; public sourceUrl: string;

View File

@ -61,10 +61,7 @@ export class CompressZipTransform extends plugins.stream.Transform {
} }
export class ZipTools { export class ZipTools {
smartArchiveRef: SmartArchive; constructor() {
constructor(smartArchiveRefArg: SmartArchive) {
this.smartArchiveRef = smartArchiveRefArg;
} }
public getCompressionStream() { public getCompressionStream() {

View File

@ -1,3 +1,4 @@
export * from './classes.smartarchive.js'; export * from './classes.smartarchive.js';
export * from './classes.tartools.js'; export * from './classes.tartools.js';
export * from './classes.ziptools.js'; export * from './classes.ziptools.js';
export * from './classes.gziptools.js';