@stacksjs/storage 0.66.0 → 0.68.0
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/aws.d.ts +5 -0
- package/dist/copy.d.ts +2 -2
- package/dist/delete.d.ts +1 -2
- package/dist/files.d.ts +19 -38
- package/dist/flystorage.d.ts +4 -4
- package/dist/folders.d.ts +6 -9
- package/dist/fs.d.ts +4 -4
- package/dist/fsevents-hj42pnne.node +0 -0
- package/dist/glob.d.ts +14 -12
- package/dist/hash.d.ts +3 -2
- package/dist/helpers.d.ts +4 -5
- package/dist/index.d.ts +11 -11
- package/dist/index.js +122105 -119950
- package/dist/local.d.ts +5 -0
- package/dist/memory.d.ts +5 -0
- package/dist/move.d.ts +4 -6
- package/dist/storage.d.ts +9 -9
- package/dist/visibility.d.ts +1 -1
- package/dist/zip.d.ts +7 -8
- package/package.json +11 -11
- package/dist/drivers/aws.d.ts +0 -2
- package/dist/drivers/index.d.ts +0 -3
- package/dist/drivers/local.d.ts +0 -2
- package/dist/drivers/memory.d.ts +0 -2
package/dist/local.d.ts
ADDED
package/dist/memory.d.ts
ADDED
package/dist/move.d.ts
CHANGED
|
@@ -1,7 +1,5 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
overwrite?: boolean;
|
|
1
|
+
declare interface MoveOptions {
|
|
2
|
+
overwrite?: boolean
|
|
4
3
|
}
|
|
5
|
-
export declare function move(src: string | string[], dest: string, options?: MoveOptions): Promise<Result<{ message: string }, Error>>;
|
|
6
|
-
export declare function rename(from: string, to: string, options?: MoveOptions): Promise<Result<{ message: string }, Error>>;
|
|
7
|
-
export {};
|
|
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/storage.d.ts
CHANGED
|
@@ -1,9 +1,9 @@
|
|
|
1
|
-
export * from
|
|
2
|
-
export * from
|
|
3
|
-
export * from
|
|
4
|
-
export * from
|
|
5
|
-
export * from
|
|
6
|
-
export * from
|
|
7
|
-
export * from
|
|
8
|
-
export * from
|
|
9
|
-
export * from
|
|
1
|
+
export * from './copy'
|
|
2
|
+
export * from './delete'
|
|
3
|
+
export * from './files'
|
|
4
|
+
export * from './folders'
|
|
5
|
+
export * from './fs'
|
|
6
|
+
export * from './helpers'
|
|
7
|
+
export * from './move'
|
|
8
|
+
export * from './visibility'
|
|
9
|
+
export * from './zip'
|
package/dist/visibility.d.ts
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
export declare function setVisibility(): string;
|
|
1
|
+
export declare function setVisibility(): string;
|
package/dist/zip.d.ts
CHANGED
|
@@ -1,10 +1,10 @@
|
|
|
1
|
-
import type {
|
|
2
|
-
import type {
|
|
3
|
-
|
|
4
|
-
interface ZipOptions {
|
|
5
|
-
|
|
1
|
+
import type { CommandError, Subprocess } from '@stacksjs/types';
|
|
2
|
+
import type { ZlibCompressionOptions } from 'bun';
|
|
3
|
+
|
|
4
|
+
declare interface ZipOptions {
|
|
5
|
+
cwd?: string
|
|
6
6
|
}
|
|
7
|
-
export declare function zip(from: string | string[], to?: string, options?: ZipOptions): Promise<Result<Subprocess, CommandError>>;
|
|
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>>;
|
|
@@ -13,5 +13,4 @@ export declare function decompress(paths: string | string[]): Promise<Result<Sub
|
|
|
13
13
|
export declare function gzipSync(data: Uint8Array, options?: ZlibCompressionOptions): Uint8Array;
|
|
14
14
|
export declare function gunzipSync(data: Uint8Array): Uint8Array;
|
|
15
15
|
export declare function deflateSync(data: Uint8Array, options?: ZlibCompressionOptions): Uint8Array;
|
|
16
|
-
export declare function inflateSync(data: Uint8Array): Uint8Array;
|
|
17
|
-
export {};
|
|
16
|
+
export declare function inflateSync(data: Uint8Array): Uint8Array;
|
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.68.0",
|
|
5
5
|
"description": "The Stacks file system.",
|
|
6
6
|
"author": "Chris Breuer",
|
|
7
7
|
"contributors": [
|
|
@@ -48,23 +48,23 @@
|
|
|
48
48
|
"prepublishOnly": "bun run build"
|
|
49
49
|
},
|
|
50
50
|
"dependencies": {
|
|
51
|
-
"@stacksjs/arrays": "0.
|
|
52
|
-
"@stacksjs/error-handling": "0.
|
|
53
|
-
"@stacksjs/path": "0.
|
|
54
|
-
"@stacksjs/strings": "0.
|
|
55
|
-
"@stacksjs/types": "0.
|
|
56
|
-
"@types/archiver": "^6.0.
|
|
51
|
+
"@stacksjs/arrays": "0.67.0",
|
|
52
|
+
"@stacksjs/error-handling": "0.67.0",
|
|
53
|
+
"@stacksjs/path": "0.67.0",
|
|
54
|
+
"@stacksjs/strings": "0.67.0",
|
|
55
|
+
"@stacksjs/types": "0.67.0",
|
|
56
|
+
"@types/archiver": "^6.0.3",
|
|
57
57
|
"archiver": "^7.0.1",
|
|
58
58
|
"fs-extra": "^11.2.0",
|
|
59
|
-
"tinyglobby": "^0.2.
|
|
59
|
+
"tinyglobby": "^0.2.10"
|
|
60
60
|
},
|
|
61
61
|
"devDependencies": {
|
|
62
|
-
"@aws-sdk/client-s3": "^3.
|
|
63
|
-
"@flystorage/aws-s3": "^0.1.
|
|
62
|
+
"@aws-sdk/client-s3": "^3.679.0",
|
|
63
|
+
"@flystorage/aws-s3": "^0.1.7",
|
|
64
64
|
"@flystorage/chaos": "^0.1.2",
|
|
65
65
|
"@flystorage/file-storage": "^0.1.5",
|
|
66
66
|
"@flystorage/in-memory": "^0.1.4",
|
|
67
67
|
"@flystorage/local-fs": "^0.1.7",
|
|
68
|
-
"@stacksjs/development": "0.
|
|
68
|
+
"@stacksjs/development": "0.67.0"
|
|
69
69
|
}
|
|
70
70
|
}
|
package/dist/drivers/aws.d.ts
DELETED
package/dist/drivers/index.d.ts
DELETED
package/dist/drivers/local.d.ts
DELETED
package/dist/drivers/memory.d.ts
DELETED