@orkestrel/sea 0.0.19 → 0.0.21
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/src/server/index.cjs +658 -629
- package/dist/src/server/index.cjs.map +1 -1
- package/dist/src/server/index.d.cts +7 -1
- package/dist/src/server/index.d.ts +7 -1
- package/dist/src/server/index.js +659 -630
- package/dist/src/server/index.js.map +1 -1
- package/package.json +16 -16
|
@@ -300,7 +300,7 @@ export declare function compressFile(input: string, output: string, options?: SE
|
|
|
300
300
|
* @param compressed - Compressed byte count
|
|
301
301
|
* @returns SEACompressionSize with ratio
|
|
302
302
|
*/
|
|
303
|
-
export declare function
|
|
303
|
+
export declare function computeCompressionSize(original: number, compressed: number): SEACompressionSize;
|
|
304
304
|
|
|
305
305
|
/**
|
|
306
306
|
* Copies a byte range from one open file descriptor to another, streaming in
|
|
@@ -740,6 +740,9 @@ export declare function isPowerOfTwo(value: number): boolean;
|
|
|
740
740
|
/**
|
|
741
741
|
* Checks whether a value is a {@link SEAError}.
|
|
742
742
|
*
|
|
743
|
+
* @remarks
|
|
744
|
+
* Recognizes branded errors across package copies, including subclasses, and refuses transparent proxies.
|
|
745
|
+
*
|
|
743
746
|
* @param value - The value to test
|
|
744
747
|
* @returns True if `value` is a `SEAError`; false otherwise
|
|
745
748
|
*
|
|
@@ -755,6 +758,9 @@ export declare function isSEAError(value: unknown): value is SEAError;
|
|
|
755
758
|
/**
|
|
756
759
|
* Checks whether a value is a {@link ShellError}.
|
|
757
760
|
*
|
|
761
|
+
* @remarks
|
|
762
|
+
* Recognizes branded errors across package copies, including subclasses, and refuses transparent proxies.
|
|
763
|
+
*
|
|
758
764
|
* @param value - The value to test
|
|
759
765
|
* @returns True if `value` is a `ShellError`; false otherwise
|
|
760
766
|
*
|
|
@@ -300,7 +300,7 @@ export declare function compressFile(input: string, output: string, options?: SE
|
|
|
300
300
|
* @param compressed - Compressed byte count
|
|
301
301
|
* @returns SEACompressionSize with ratio
|
|
302
302
|
*/
|
|
303
|
-
export declare function
|
|
303
|
+
export declare function computeCompressionSize(original: number, compressed: number): SEACompressionSize;
|
|
304
304
|
|
|
305
305
|
/**
|
|
306
306
|
* Copies a byte range from one open file descriptor to another, streaming in
|
|
@@ -740,6 +740,9 @@ export declare function isPowerOfTwo(value: number): boolean;
|
|
|
740
740
|
/**
|
|
741
741
|
* Checks whether a value is a {@link SEAError}.
|
|
742
742
|
*
|
|
743
|
+
* @remarks
|
|
744
|
+
* Recognizes branded errors across package copies, including subclasses, and refuses transparent proxies.
|
|
745
|
+
*
|
|
743
746
|
* @param value - The value to test
|
|
744
747
|
* @returns True if `value` is a `SEAError`; false otherwise
|
|
745
748
|
*
|
|
@@ -755,6 +758,9 @@ export declare function isSEAError(value: unknown): value is SEAError;
|
|
|
755
758
|
/**
|
|
756
759
|
* Checks whether a value is a {@link ShellError}.
|
|
757
760
|
*
|
|
761
|
+
* @remarks
|
|
762
|
+
* Recognizes branded errors across package copies, including subclasses, and refuses transparent proxies.
|
|
763
|
+
*
|
|
758
764
|
* @param value - The value to test
|
|
759
765
|
* @returns True if `value` is a `ShellError`; false otherwise
|
|
760
766
|
*
|