@stacksjs/storage 0.75.539 → 0.75.542
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/adapters/s3.d.ts +0 -15
- package/dist/image.d.ts +0 -18
- package/package.json +10 -10
package/dist/adapters/s3.d.ts
CHANGED
|
@@ -38,21 +38,6 @@ declare interface S3ClientOptions {
|
|
|
38
38
|
forcePathStyle?: boolean
|
|
39
39
|
credentials?: { accessKeyId: string, secretAccessKey: string, sessionToken?: string }
|
|
40
40
|
}
|
|
41
|
-
/**
|
|
42
|
-
* Append-and-take byte buffer used by the multipart pipeline
|
|
43
|
-
* (stacksjs/stacks#1886). Holds incoming chunks until they reach
|
|
44
|
-
* the configured part size, then yields them as a single Uint8Array
|
|
45
|
-
* via `take(n)` or `flush()`.
|
|
46
|
-
*/
|
|
47
|
-
declare class ChunkBuffer {
|
|
48
|
-
private chunks;
|
|
49
|
-
private total;
|
|
50
|
-
constructor(_partSize: number);
|
|
51
|
-
get length(): number;
|
|
52
|
-
push(c: Uint8Array): void;
|
|
53
|
-
take(n: number): Uint8Array;
|
|
54
|
-
flush(): Uint8Array;
|
|
55
|
-
}
|
|
56
41
|
/**
|
|
57
42
|
* AWS S3 storage adapter using ts-cloud S3Client
|
|
58
43
|
*/
|
package/dist/image.d.ts
CHANGED
|
@@ -17,21 +17,3 @@ export declare interface NativeImagePipeline {
|
|
|
17
17
|
toBuffer: () => Promise<Buffer>
|
|
18
18
|
}
|
|
19
19
|
export type NativeImageFormat = 'jpeg' | 'png' | 'webp' | 'avif';
|
|
20
|
-
declare class Pipeline implements NativeImagePipeline {
|
|
21
|
-
private operations;
|
|
22
|
-
private format;
|
|
23
|
-
private options;
|
|
24
|
-
private input;
|
|
25
|
-
constructor(input: Uint8Array);
|
|
26
|
-
resize(width?: number, height?: number, options?: NativeResizeOptions): NativeImagePipeline;
|
|
27
|
-
jpeg(options?: NativeEncodeOptions): NativeImagePipeline;
|
|
28
|
-
png(options?: NativeEncodeOptions): NativeImagePipeline;
|
|
29
|
-
webp(options?: NativeEncodeOptions): NativeImagePipeline;
|
|
30
|
-
avif(options?: NativeEncodeOptions): NativeImagePipeline;
|
|
31
|
-
rotate(degrees?: number): NativeImagePipeline;
|
|
32
|
-
blur(sigma?: number): NativeImagePipeline;
|
|
33
|
-
withMetadata(): NativeImagePipeline;
|
|
34
|
-
toBuffer(): Promise<Buffer>;
|
|
35
|
-
private output;
|
|
36
|
-
}
|
|
37
|
-
export {};
|
package/package.json
CHANGED
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
"name": "@stacksjs/storage",
|
|
3
3
|
"type": "module",
|
|
4
4
|
"sideEffects": false,
|
|
5
|
-
"version": "0.75.
|
|
5
|
+
"version": "0.75.542",
|
|
6
6
|
"description": "The Stacks file system.",
|
|
7
7
|
"author": "Chris Breuer",
|
|
8
8
|
"contributors": [
|
|
@@ -61,20 +61,20 @@
|
|
|
61
61
|
"prepublishOnly": "bun run build"
|
|
62
62
|
},
|
|
63
63
|
"dependencies": {
|
|
64
|
-
"@stacksjs/arrays": "0.75.
|
|
65
|
-
"@stacksjs/cli": "0.75.
|
|
66
|
-
"@stacksjs/config": "0.75.
|
|
67
|
-
"@stacksjs/env": "0.75.
|
|
68
|
-
"@stacksjs/error-handling": "0.75.
|
|
69
|
-
"@stacksjs/logging": "0.75.
|
|
70
|
-
"@stacksjs/path": "0.75.
|
|
71
|
-
"@stacksjs/strings": "0.75.
|
|
64
|
+
"@stacksjs/arrays": "0.75.542",
|
|
65
|
+
"@stacksjs/cli": "0.75.542",
|
|
66
|
+
"@stacksjs/config": "0.75.542",
|
|
67
|
+
"@stacksjs/env": "0.75.542",
|
|
68
|
+
"@stacksjs/error-handling": "0.75.542",
|
|
69
|
+
"@stacksjs/logging": "0.75.542",
|
|
70
|
+
"@stacksjs/path": "0.75.542",
|
|
71
|
+
"@stacksjs/strings": "0.75.542",
|
|
72
72
|
"@stacksjs/ts-cloud": "^0.16.109",
|
|
73
73
|
"@stacksjs/ts-xml": "^0.1.0",
|
|
74
74
|
"ts-images": "https://registry.pantry.dev/ts-images@22073a9"
|
|
75
75
|
},
|
|
76
76
|
"devDependencies": {
|
|
77
|
-
"@stacksjs/types": "0.75.
|
|
77
|
+
"@stacksjs/types": "0.75.542",
|
|
78
78
|
"better-dx": "^0.2.24"
|
|
79
79
|
}
|
|
80
80
|
}
|