@poe-platform/safe-bash 0.1.845 → 0.1.846
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/image-ast/ast.d.ts +12 -2
- package/dist/image-ast/browser/ast.d.ts +12 -2
- package/dist/image-ast/browser/codecs/exif-metadata.d.ts +2 -0
- package/dist/image-ast/browser/codecs/exif.d.ts +2 -0
- package/dist/image-ast/browser/codecs/gif-metadata-storage.d.ts +1 -0
- package/dist/image-ast/browser/codecs/gif-metadata.d.ts +1 -0
- package/dist/image-ast/browser/codecs/gif-output-parts.d.ts +1 -1
- package/dist/image-ast/browser/codecs/jpeg.d.ts +1 -1
- package/dist/image-ast/browser/codecs/netpbm-storage.d.ts +2 -2
- package/dist/image-ast/browser/codecs/netpbm.d.ts +4 -4
- package/dist/image-ast/browser/codecs/png-storage.d.ts +9 -1
- package/dist/image-ast/browser/codecs/png.d.ts +1 -0
- package/dist/image-ast/browser/codecs/tiff-layout.d.ts +3 -2
- package/dist/image-ast/codecs/exif-metadata.d.ts +2 -0
- package/dist/image-ast/codecs/exif.d.ts +2 -0
- package/dist/image-ast/codecs/gif-metadata-storage.d.ts +1 -0
- package/dist/image-ast/codecs/gif-metadata.d.ts +1 -0
- package/dist/image-ast/codecs/gif-output-parts.d.ts +1 -1
- package/dist/image-ast/codecs/jpeg.d.ts +1 -1
- package/dist/image-ast/codecs/netpbm-storage.d.ts +2 -2
- package/dist/image-ast/codecs/netpbm.d.ts +4 -4
- package/dist/image-ast/codecs/png-storage.d.ts +9 -1
- package/dist/image-ast/codecs/png.d.ts +1 -0
- package/dist/image-ast/codecs/tiff-layout.d.ts +3 -2
- package/dist/image-ast/index.js +554 -163
- package/dist/mp4-ast/types.d.ts +2 -0
- package/dist/safe-bash/command-chunks/{chunk-CMGVQM4Y.js → chunk-CSJHADNR.js} +17 -3
- package/dist/safe-bash/command-chunks/{chunk-KSCVKF7I.js → chunk-F42YLXD4.js} +3 -3
- package/dist/safe-bash/command-chunks/{chunk-2EEIB5O3.js → chunk-HUE2ATJY.js} +3 -3
- package/dist/safe-bash/command-chunks/{chunk-4KM2VJRB.js → chunk-NBQWCUOP.js} +1 -1
- package/dist/safe-bash/command-chunks/{chunk-U5TQVW64.js → chunk-ZTEK2JJD.js} +1 -1
- package/dist/safe-bash-command-ffmpeg/index.js +433 -74
- package/dist/safe-bash-command-ffprobe/index.js +2 -2
- package/dist/safe-bash-command-ffprobe/media.js +2 -2
- package/dist/safe-bash-command-imagemagick/compare-file.d.ts +3 -2
- package/dist/safe-bash-command-imagemagick/index.js +835 -247
- package/dist/safe-bash-command-imagemagick/raw-output.d.ts +10 -0
- package/dist/safe-bash-command-python/executor.js +3 -3
- package/dist/safe-bash-command-python/index.js +3 -3
- package/dist/safe-bash-command-python/jspi.js +2 -2
- package/dist/safe-bash-command-python/worker.js +1 -1
- package/package.json +2 -2
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
import { encodeImage as encodeRaster, encodeStoredImage as encodeStoredRaster, type ImageFormat as RasterFormat, type OutputEncodeOptions as RasterOptions, type RgbaImage, type StoredRgbaImage, type ImageByteStorage } from "../image-ast/portable.js";
|
|
2
|
+
export type RawCoder = "rgb" | "rgba" | "bgr" | "bgra" | "gray";
|
|
3
|
+
export type ImageFormat = RasterFormat | RawCoder;
|
|
4
|
+
export type OutputEncodeOptions = Omit<RasterOptions, "format"> & {
|
|
5
|
+
format: ImageFormat;
|
|
6
|
+
endian?: string | undefined;
|
|
7
|
+
};
|
|
8
|
+
export declare function isRawCoder(format: string | undefined): format is RawCoder;
|
|
9
|
+
export declare function encodeImage(image: RgbaImage, options: OutputEncodeOptions): ReturnType<typeof encodeRaster>;
|
|
10
|
+
export declare function encodeStoredImage(image: StoredRgbaImage, storage: ImageByteStorage, signal: AbortSignal, options: OutputEncodeOptions): ReturnType<typeof encodeStoredRaster>;
|
|
@@ -14,7 +14,7 @@ import {
|
|
|
14
14
|
installPythonLlmPackages,
|
|
15
15
|
pythonExecutorCommands,
|
|
16
16
|
pythonLlmPackages
|
|
17
|
-
} from "../safe-bash/command-chunks/chunk-
|
|
17
|
+
} from "../safe-bash/command-chunks/chunk-HUE2ATJY.js";
|
|
18
18
|
import {
|
|
19
19
|
PythonPackageConflictError,
|
|
20
20
|
createPythonPackageCache,
|
|
@@ -33,9 +33,9 @@ import {
|
|
|
33
33
|
} from "../safe-bash/command-chunks/chunk-IOZTDDNT.js";
|
|
34
34
|
import {
|
|
35
35
|
createPythonJspiExecutor
|
|
36
|
-
} from "../safe-bash/command-chunks/chunk-
|
|
36
|
+
} from "../safe-bash/command-chunks/chunk-ZTEK2JJD.js";
|
|
37
37
|
import "../safe-bash/command-chunks/chunk-FXWKMNX2.js";
|
|
38
|
-
import "../safe-bash/command-chunks/chunk-
|
|
38
|
+
import "../safe-bash/command-chunks/chunk-F42YLXD4.js";
|
|
39
39
|
import "../safe-bash/command-chunks/chunk-HS2L7I4N.js";
|
|
40
40
|
import "../safe-bash/command-chunks/chunk-UCE77LYV.js";
|
|
41
41
|
import {
|
|
@@ -14,7 +14,7 @@ import {
|
|
|
14
14
|
installPythonLlmPackages,
|
|
15
15
|
pythonExecutorCommands,
|
|
16
16
|
pythonLlmPackages
|
|
17
|
-
} from "../safe-bash/command-chunks/chunk-
|
|
17
|
+
} from "../safe-bash/command-chunks/chunk-HUE2ATJY.js";
|
|
18
18
|
import {
|
|
19
19
|
PythonPackageConflictError,
|
|
20
20
|
createPythonPackageCache,
|
|
@@ -33,9 +33,9 @@ import {
|
|
|
33
33
|
} from "../safe-bash/command-chunks/chunk-IOZTDDNT.js";
|
|
34
34
|
import {
|
|
35
35
|
createPythonJspiExecutor
|
|
36
|
-
} from "../safe-bash/command-chunks/chunk-
|
|
36
|
+
} from "../safe-bash/command-chunks/chunk-ZTEK2JJD.js";
|
|
37
37
|
import "../safe-bash/command-chunks/chunk-FXWKMNX2.js";
|
|
38
|
-
import "../safe-bash/command-chunks/chunk-
|
|
38
|
+
import "../safe-bash/command-chunks/chunk-F42YLXD4.js";
|
|
39
39
|
import "../safe-bash/command-chunks/chunk-HS2L7I4N.js";
|
|
40
40
|
import "../safe-bash/command-chunks/chunk-UCE77LYV.js";
|
|
41
41
|
import {
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import {
|
|
2
2
|
createPythonJspiExecutor
|
|
3
|
-
} from "../safe-bash/command-chunks/chunk-
|
|
3
|
+
} from "../safe-bash/command-chunks/chunk-ZTEK2JJD.js";
|
|
4
4
|
import "../safe-bash/command-chunks/chunk-FXWKMNX2.js";
|
|
5
|
-
import "../safe-bash/command-chunks/chunk-
|
|
5
|
+
import "../safe-bash/command-chunks/chunk-F42YLXD4.js";
|
|
6
6
|
import "../safe-bash/command-chunks/chunk-HS2L7I4N.js";
|
|
7
7
|
import "../safe-bash/command-chunks/chunk-UCE77LYV.js";
|
|
8
8
|
import "../safe-bash/command-chunks/chunk-P56KGNW7.js";
|
|
@@ -3,7 +3,7 @@ import {
|
|
|
3
3
|
loadPythonRuntimePrograms,
|
|
4
4
|
parsePythonInvocation,
|
|
5
5
|
pythonExecution
|
|
6
|
-
} from "../safe-bash/command-chunks/chunk-
|
|
6
|
+
} from "../safe-bash/command-chunks/chunk-F42YLXD4.js";
|
|
7
7
|
import "../safe-bash/command-chunks/chunk-HS2L7I4N.js";
|
|
8
8
|
import "../safe-bash/command-chunks/chunk-UCE77LYV.js";
|
|
9
9
|
import {
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@poe-platform/safe-bash",
|
|
3
|
-
"version": "0.1.
|
|
3
|
+
"version": "0.1.846",
|
|
4
4
|
"description": "Extensible virtual shell with pluggable filesystems and streaming commands",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"license": "MIT",
|
|
@@ -1415,7 +1415,7 @@
|
|
|
1415
1415
|
"access": "public"
|
|
1416
1416
|
},
|
|
1417
1417
|
"dependencies": {
|
|
1418
|
-
"@poe-platform/safe-fs": "0.1.
|
|
1418
|
+
"@poe-platform/safe-fs": "0.1.846",
|
|
1419
1419
|
"pdf-lib": "1.17.1",
|
|
1420
1420
|
"@types/node": "^25.2.2",
|
|
1421
1421
|
"@formatjs/intl-numberformat": "9.4.0",
|