@poe-platform/safe-bash 0.1.772 → 0.1.774
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/index.browser.js +3543 -706
- package/dist/image-ast/index.js +3543 -706
- package/dist/pdf-ast/ast.d.ts +7 -0
- package/dist/pdf-ast/content/evaluator.d.ts +1 -0
- package/dist/pdf-ast/index.js +3587 -718
- package/dist/pdf-ast/render/raster.d.ts +1 -0
- package/dist/pdf-ast/vendor/pdfjs-fonts.d.mts +36 -0
- package/dist/pdf-ast/vendor/pdfjs-fonts.mjs +3323 -0
- package/dist/safe-bash/command-chunks/{chunk-M2XU2YCK.js → chunk-4ZHDCMQX.js} +2 -2
- package/dist/safe-bash/command-chunks/{chunk-NBENXODJ.js → chunk-HH5QPKIN.js} +1 -1
- package/dist/safe-bash/command-chunks/{chunk-C4AAJTXF.js → chunk-PM63UJE6.js} +3546 -706
- package/dist/safe-bash/core.browser.js +101 -45
- package/dist/safe-bash/core.d.ts +1 -1
- package/dist/safe-bash/plugins/composition.d.ts +2 -0
- package/dist/safe-bash/plugins/composition.js +2 -1
- package/dist/safe-bash/shell/runtime.js +17 -9
- package/dist/safe-bash/shell/sync-posix-regex.d.ts +3 -0
- package/dist/safe-bash/shell/sync-posix-regex.js +48 -0
- package/dist/safe-bash-command-ffmpeg/index.js +11032 -9579
- package/dist/safe-bash-command-gh/index.d.ts +1 -0
- package/dist/safe-bash-command-gh/index.js +43 -13
- package/dist/safe-bash-command-gh/types.d.ts +1 -0
- package/dist/safe-bash-command-git/git_rust.wasm +0 -0
- package/dist/safe-bash-command-git/index.js +22 -15
- package/dist/safe-bash-command-git/wasm.generated.js +1 -1
- package/dist/safe-bash-command-gpg/index.js +28 -7
- package/dist/safe-bash-command-imagemagick/index.js +2 -2
- package/dist/safe-bash-command-openssl/index.js +24 -6
- package/dist/safe-bash-command-pandoc/command.js +3 -3
- package/dist/safe-bash-command-pandoc/index.js +3 -3
- package/dist/safe-bash-command-pdfimages/index.js +3542 -660
- package/dist/safe-bash-command-pdfinfo/index.js +3584 -718
- package/dist/safe-bash-command-pdftk/index.js +3542 -660
- package/dist/safe-bash-command-pdftoppm/index.js +3589 -787
- package/dist/safe-bash-command-pdftotext/index.js +3542 -660
- package/dist/safe-bash-command-qpdf/index.js +3542 -660
- package/dist/safe-bash-command-sips/index.js +2 -2
- package/dist/safe-bash-command-soffice/index.js +1 -1
- package/dist/safe-bash-command-ssconvert/index.js +3553 -716
- package/dist/safe-bash-command-ssh/index.js +124 -23
- package/dist/safe-bash-command-wkhtmltopdf/index.js +3581 -660
- package/dist/safe-bash-mcp/index.d.ts +8 -2
- package/dist/safe-bash-mcp/index.js +13 -6
- package/package.json +7 -7
- package/third-party/pdf-ast/THIRD_PARTY_NOTICES.md +84 -1
|
@@ -36,6 +36,7 @@ export declare function encodePbm(bitmap: RgbaBitmap): Uint8Array;
|
|
|
36
36
|
export declare function rotateRgbaBitmapQuarterTurns(bitmap: RgbaBitmap, degrees: number): RgbaBitmap;
|
|
37
37
|
export declare function cropRgbaBitmap(bitmap: RgbaBitmap, rect: PdfCropRect): RgbaBitmap;
|
|
38
38
|
export declare function encodeRgbaToPng(width: number, height: number, rgba: Uint8Array): Uint8Array;
|
|
39
|
+
export declare function getDisplayListCropBox(list: PdfDisplayList): [number, number, number, number];
|
|
39
40
|
export declare function renderDisplayListToBitmap(displayList: PdfDisplayList, options?: RenderToPngOptions): RgbaBitmap;
|
|
40
41
|
export declare function renderDisplayListToPng(displayList: PdfDisplayList, options?: RenderToPngOptions): Uint8Array;
|
|
41
42
|
export declare function renderDisplayListToSvg(displayList: PdfDisplayList, options?: RenderToPngOptions): string;
|
|
@@ -43,6 +43,28 @@ export const DrawOPS: { moveTo: number; lineTo: number; curveTo: number; quadrat
|
|
|
43
43
|
export const WinAnsiEncoding: string[];
|
|
44
44
|
export const MacStandardGlyphOrdering: string[];
|
|
45
45
|
export function encodeToXmlString(value: string): string;
|
|
46
|
+
export class DeviceCmykCS {
|
|
47
|
+
getRgb(src: ArrayLike<number>, srcOffset: number): Uint8ClampedArray;
|
|
48
|
+
}
|
|
49
|
+
export class CalGrayCS {
|
|
50
|
+
constructor(whitePoint: number[], blackPoint?: number[], gamma?: number);
|
|
51
|
+
readonly name: "CalGray";
|
|
52
|
+
getRgb(src: ArrayLike<number>, srcOffset: number): Uint8ClampedArray;
|
|
53
|
+
}
|
|
54
|
+
export class CalRGBCS {
|
|
55
|
+
constructor(whitePoint: number[], blackPoint?: number[], gamma?: number[], matrix?: number[]);
|
|
56
|
+
readonly name: "CalRGB";
|
|
57
|
+
getRgb(src: ArrayLike<number>, srcOffset: number): Uint8ClampedArray;
|
|
58
|
+
}
|
|
59
|
+
export class LabCS {
|
|
60
|
+
constructor(whitePoint: number[], blackPoint?: number[], range?: number[]);
|
|
61
|
+
readonly name: "Lab";
|
|
62
|
+
readonly amin: number;
|
|
63
|
+
readonly amax: number;
|
|
64
|
+
readonly bmin: number;
|
|
65
|
+
readonly bmax: number;
|
|
66
|
+
getRgb(src: ArrayLike<number>, srcOffset: number): Uint8ClampedArray;
|
|
67
|
+
}
|
|
46
68
|
export class PageViewport {
|
|
47
69
|
constructor(options: { viewBox: number[]; userUnit: number; scale: number; rotation: number; offsetX?: number; offsetY?: number; dontFlip?: boolean });
|
|
48
70
|
readonly width: number;
|
|
@@ -108,7 +130,21 @@ export class PDF17 {
|
|
|
108
130
|
_hash(password: Uint8Array, input: Uint8Array, userBytes: Uint8Array): Uint8Array;
|
|
109
131
|
}
|
|
110
132
|
export class PDF20 extends PDF17 {}
|
|
133
|
+
export class MeshShading {
|
|
134
|
+
constructor(shadingType: number, stream: Stream, context: {
|
|
135
|
+
bitsPerCoordinate: number;
|
|
136
|
+
bitsPerComponent: number;
|
|
137
|
+
bitsPerFlag: number;
|
|
138
|
+
decode: number[];
|
|
139
|
+
colorFn: null;
|
|
140
|
+
colorSpace: { numComps: number; getRgb(components: Float32Array, offset: number): Uint8Array };
|
|
141
|
+
numComps: number;
|
|
142
|
+
}, verticesPerRow: number);
|
|
143
|
+
getIR(): ["Mesh", number, Float32Array, Uint8Array, number, number[], null, null];
|
|
144
|
+
}
|
|
111
145
|
export function saslPrep(value: string): string;
|
|
146
|
+
export function buildPostScriptJsFunction(source: string, domain: readonly number[], range: readonly number[]):
|
|
147
|
+
(src: readonly number[], srcOffset: number, dest: number[], destOffset: number) => void;
|
|
112
148
|
export class CipherTransformFactory {
|
|
113
149
|
constructor(dict: Dict, fileId: string, password?: string);
|
|
114
150
|
readonly encryptionKey: Uint8Array | null;
|