@stacksjs/storage 0.68.1 → 0.69.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/copy.d.ts +2 -2
- package/dist/files.d.ts +3 -3
- package/dist/fs.d.ts +3 -2
- package/dist/glob.d.ts +3 -4
- package/dist/index.js +66165 -29210
- package/dist/move.d.ts +2 -2
- package/dist/zip.d.ts +1 -1
- package/package.json +15 -15
package/dist/move.d.ts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
declare interface MoveOptions {
|
|
2
2
|
overwrite?: boolean
|
|
3
3
|
}
|
|
4
|
-
export declare function move(src: string | string[], dest: string, options?: MoveOptions
|
|
5
|
-
export declare function rename(from: string, to: string, options?: MoveOptions
|
|
4
|
+
export declare function move(src: string | string[], dest: string, options?: MoveOptions): Promise<Result<{ message: string }, Error>>;
|
|
5
|
+
export declare function rename(from: string, to: string, options?: MoveOptions): Promise<Result<{ message: string }, Error>>;
|
package/dist/zip.d.ts
CHANGED
|
@@ -4,7 +4,7 @@ import type { ZlibCompressionOptions } from 'bun';
|
|
|
4
4
|
declare interface ZipOptions {
|
|
5
5
|
cwd?: string
|
|
6
6
|
}
|
|
7
|
-
export declare function zip(from: string | string[], to?: string, options?: ZipOptions
|
|
7
|
+
export declare function zip(from: string | string[], to?: string, options?: ZipOptions): Promise<Result<Subprocess, CommandError>>;
|
|
8
8
|
export declare function unzip(paths: string | string[]): Promise<Result<Subprocess, CommandError>>;
|
|
9
9
|
export declare function archive(paths: string | string[]): Promise<Result<Subprocess, CommandError>>;
|
|
10
10
|
export declare function unarchive(paths: string | string[]): Promise<Result<Subprocess, CommandError>>;
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@stacksjs/storage",
|
|
3
3
|
"type": "module",
|
|
4
|
-
"version": "0.
|
|
4
|
+
"version": "0.69.1",
|
|
5
5
|
"description": "The Stacks file system.",
|
|
6
6
|
"author": "Chris Breuer",
|
|
7
7
|
"contributors": [
|
|
@@ -48,21 +48,21 @@
|
|
|
48
48
|
"prepublishOnly": "bun run build"
|
|
49
49
|
},
|
|
50
50
|
"devDependencies": {
|
|
51
|
-
"@aws-sdk/client-s3": "^3.
|
|
52
|
-
"@flystorage/aws-s3": "^0.1
|
|
53
|
-
"@flystorage/chaos": "^0.
|
|
54
|
-
"@flystorage/file-storage": "^0.1
|
|
55
|
-
"@flystorage/in-memory": "^0.
|
|
56
|
-
"@flystorage/local-fs": "^0.
|
|
57
|
-
"@stacksjs/arrays": "0.
|
|
58
|
-
"@stacksjs/development": "0.
|
|
59
|
-
"@stacksjs/error-handling": "0.
|
|
60
|
-
"@stacksjs/path": "0.
|
|
61
|
-
"@stacksjs/strings": "0.
|
|
62
|
-
"@stacksjs/types": "0.
|
|
51
|
+
"@aws-sdk/client-s3": "^3.750.0",
|
|
52
|
+
"@flystorage/aws-s3": "^1.0.1",
|
|
53
|
+
"@flystorage/chaos": "^1.0.0",
|
|
54
|
+
"@flystorage/file-storage": "^1.0.1",
|
|
55
|
+
"@flystorage/in-memory": "^1.0.0",
|
|
56
|
+
"@flystorage/local-fs": "^1.0.0",
|
|
57
|
+
"@stacksjs/arrays": "0.68.2",
|
|
58
|
+
"@stacksjs/development": "0.68.2",
|
|
59
|
+
"@stacksjs/error-handling": "0.68.2",
|
|
60
|
+
"@stacksjs/path": "0.68.2",
|
|
61
|
+
"@stacksjs/strings": "0.68.2",
|
|
62
|
+
"@stacksjs/types": "0.68.2",
|
|
63
63
|
"@types/archiver": "^6.0.3",
|
|
64
64
|
"archiver": "^7.0.1",
|
|
65
|
-
"fs-extra": "^11.
|
|
66
|
-
"tinyglobby": "^0.2.
|
|
65
|
+
"fs-extra": "^11.3.0",
|
|
66
|
+
"tinyglobby": "^0.2.11"
|
|
67
67
|
}
|
|
68
68
|
}
|