@push.rocks/smartarchive 5.2.0 → 5.2.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist_ts/classes.smartarchive.d.ts +4 -4
- package/dist_ts/classes.smartarchive.js +3 -3
- package/dist_ts/classes.tartools.d.ts +2 -2
- package/dist_ts/classes.tartools.js +1 -1
- package/dist_ts/index.d.ts +1 -1
- package/dist_ts/index.js +1 -1
- package/dist_ts/plugins.d.ts +1 -1
- package/dist_ts/plugins.js +1 -1
- package/package.json +3 -3
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import * as plugins from './plugins.js';
|
|
2
|
-
import type { IArchiveEntryInfo, IArchiveInfo, TArchiveFormat, TCompressionLevel, TEntryFilter } from '../
|
|
3
|
-
import { Bzip2Tools } from '../
|
|
4
|
-
import { GzipTools } from '../
|
|
5
|
-
import { ZipTools } from '../
|
|
2
|
+
import type { IArchiveEntryInfo, IArchiveInfo, TArchiveFormat, TCompressionLevel, TEntryFilter } from '../dist_ts_shared/interfaces.js';
|
|
3
|
+
import { Bzip2Tools } from '../dist_ts_shared/classes.bzip2tools.js';
|
|
4
|
+
import { GzipTools } from '../dist_ts_shared/classes.gziptools.js';
|
|
5
|
+
import { ZipTools } from '../dist_ts_shared/classes.ziptools.js';
|
|
6
6
|
import { TarTools } from './classes.tartools.js';
|
|
7
7
|
import { ArchiveAnalyzer } from './classes.archiveanalyzer.js';
|
|
8
8
|
/**
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import * as plugins from './plugins.js';
|
|
2
2
|
// Import browser-compatible tools from ts_shared
|
|
3
|
-
import { Bzip2Tools } from '../
|
|
4
|
-
import { GzipTools } from '../
|
|
5
|
-
import { ZipTools } from '../
|
|
3
|
+
import { Bzip2Tools } from '../dist_ts_shared/classes.bzip2tools.js';
|
|
4
|
+
import { GzipTools } from '../dist_ts_shared/classes.gziptools.js';
|
|
5
|
+
import { ZipTools } from '../dist_ts_shared/classes.ziptools.js';
|
|
6
6
|
// Import Node.js-extended TarTools
|
|
7
7
|
import { TarTools } from './classes.tartools.js';
|
|
8
8
|
import { ArchiveAnalyzer } from './classes.archiveanalyzer.js';
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import * as plugins from './plugins.js';
|
|
2
|
-
import type { TCompressionLevel } from '../
|
|
3
|
-
import { TarTools as SharedTarTools } from '../
|
|
2
|
+
import type { TCompressionLevel } from '../dist_ts_shared/interfaces.js';
|
|
3
|
+
import { TarTools as SharedTarTools } from '../dist_ts_shared/classes.tartools.js';
|
|
4
4
|
/**
|
|
5
5
|
* Options for adding a file to a TAR pack stream
|
|
6
6
|
*/
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import * as plugins from './plugins.js';
|
|
2
|
-
import { TarTools as SharedTarTools } from '../
|
|
2
|
+
import { TarTools as SharedTarTools } from '../dist_ts_shared/classes.tartools.js';
|
|
3
3
|
/**
|
|
4
4
|
* Extended TAR archive utilities with Node.js streaming support
|
|
5
5
|
*
|
package/dist_ts/index.d.ts
CHANGED
package/dist_ts/index.js
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
// Re-export everything from ts_shared (browser-compatible)
|
|
2
|
-
export * from '../
|
|
2
|
+
export * from '../dist_ts_shared/index.js';
|
|
3
3
|
// Node.js-specific: Main archive class with filesystem support
|
|
4
4
|
export * from './classes.smartarchive.js';
|
|
5
5
|
// Node.js-specific: Archive analysis with SmartArchive integration
|
package/dist_ts/plugins.d.ts
CHANGED
|
@@ -7,7 +7,7 @@ export { path, stream, fs, fsPromises };
|
|
|
7
7
|
* List files in a directory recursively, returning relative paths
|
|
8
8
|
*/
|
|
9
9
|
export declare function listFileTree(dirPath: string, _pattern?: string): Promise<string[]>;
|
|
10
|
-
export * from '../
|
|
10
|
+
export * from '../dist_ts_shared/plugins.js';
|
|
11
11
|
import * as smartpath from '@push.rocks/smartpath';
|
|
12
12
|
import * as smartrequest from '@push.rocks/smartrequest';
|
|
13
13
|
import * as smartunique from '@push.rocks/smartunique';
|
package/dist_ts/plugins.js
CHANGED
|
@@ -26,7 +26,7 @@ export async function listFileTree(dirPath, _pattern = '**/*') {
|
|
|
26
26
|
return results;
|
|
27
27
|
}
|
|
28
28
|
// Re-export browser-compatible plugins from ts_shared
|
|
29
|
-
export * from '../
|
|
29
|
+
export * from '../dist_ts_shared/plugins.js';
|
|
30
30
|
// Additional Node.js-specific @pushrocks packages
|
|
31
31
|
import * as smartpath from '@push.rocks/smartpath';
|
|
32
32
|
import * as smartrequest from '@push.rocks/smartrequest';
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@push.rocks/smartarchive",
|
|
3
|
-
"version": "5.2.
|
|
3
|
+
"version": "5.2.1",
|
|
4
4
|
"description": "A library for working with archive files, providing utilities for compressing and decompressing data.",
|
|
5
5
|
"main": "dist_ts/index.js",
|
|
6
6
|
"typings": "dist_ts/index.d.ts",
|
|
@@ -35,12 +35,12 @@
|
|
|
35
35
|
"@push.rocks/smartunique": "^3.0.9",
|
|
36
36
|
"@push.rocks/smarturl": "^3.1.0",
|
|
37
37
|
"fflate": "^0.8.2",
|
|
38
|
-
"file-type": "^21.
|
|
38
|
+
"file-type": "^21.3.0",
|
|
39
39
|
"modern-tar": "^0.7.3",
|
|
40
40
|
"tar-stream": "^3.1.7"
|
|
41
41
|
},
|
|
42
42
|
"devDependencies": {
|
|
43
|
-
"@git.zone/tsbuild": "^4.
|
|
43
|
+
"@git.zone/tsbuild": "^4.1.2",
|
|
44
44
|
"@git.zone/tsrun": "^2.0.1",
|
|
45
45
|
"@git.zone/tstest": "^3.1.4",
|
|
46
46
|
"@types/tar-stream": "^3.1.3"
|