just-bash 2.9.8 → 2.10.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/README.md +25 -0
- package/dist/Bash.d.ts +4 -0
- package/dist/bin/just-bash.js +264 -243
- package/dist/bin/shell/shell.js +217 -196
- package/dist/bundle/browser.js +739 -718
- package/dist/bundle/index.js +222 -201
- package/dist/index.d.ts +9 -0
- package/dist/types.d.ts +1 -0
- package/package.json +1 -1
package/dist/index.d.ts
CHANGED
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
export type { CommandNode, PipelineNode, ScriptNode, SimpleCommandNode, StatementNode, WordNode, } from "./ast/types.js";
|
|
1
2
|
export type { BashLogger, BashOptions, ExecOptions } from "./Bash.js";
|
|
2
3
|
export { Bash } from "./Bash.js";
|
|
3
4
|
export type { AllCommandName, CommandName, NetworkCommandName, PythonCommandName, } from "./commands/registry.js";
|
|
@@ -11,8 +12,16 @@ export { OverlayFs, type OverlayFsOptions } from "./fs/overlay-fs/index.js";
|
|
|
11
12
|
export { ReadWriteFs, type ReadWriteFsOptions, } from "./fs/read-write-fs/index.js";
|
|
12
13
|
export type { NetworkConfig } from "./network/index.js";
|
|
13
14
|
export { NetworkAccessDeniedError, RedirectNotAllowedError, TooManyRedirectsError, } from "./network/index.js";
|
|
15
|
+
export { parse } from "./parser/parser.js";
|
|
14
16
|
export type { CommandFinished as SandboxCommandFinished, OutputMessage, SandboxOptions, WriteFilesInput, } from "./sandbox/index.js";
|
|
15
17
|
export { Command as SandboxCommand, Sandbox } from "./sandbox/index.js";
|
|
16
18
|
export type { DefenseInDepthConfig, DefenseInDepthHandle, DefenseInDepthStats, SecurityViolation, SecurityViolationType, } from "./security/index.js";
|
|
17
19
|
export { createConsoleViolationCallback, DefenseInDepthBox, SecurityViolationError, SecurityViolationLogger, } from "./security/index.js";
|
|
20
|
+
export { BashTransformPipeline } from "./transform/pipeline.js";
|
|
21
|
+
export type { CommandCollectorMetadata } from "./transform/plugins/command-collector.js";
|
|
22
|
+
export { CommandCollectorPlugin } from "./transform/plugins/command-collector.js";
|
|
23
|
+
export type { TeeFileInfo, TeePluginMetadata, TeePluginOptions, } from "./transform/plugins/tee-plugin.js";
|
|
24
|
+
export { TeePlugin } from "./transform/plugins/tee-plugin.js";
|
|
25
|
+
export { serialize } from "./transform/serialize.js";
|
|
26
|
+
export type { BashTransformResult, TransformContext, TransformPlugin, TransformResult, } from "./transform/types.js";
|
|
18
27
|
export type { BashExecResult, Command, CommandContext, ExecResult, IFileSystem, } from "./types.js";
|
package/dist/types.d.ts
CHANGED
|
@@ -18,6 +18,7 @@ export interface ExecResult {
|
|
|
18
18
|
/** Result from BashEnv.exec() - always includes env */
|
|
19
19
|
export interface BashExecResult extends ExecResult {
|
|
20
20
|
env: Record<string, string>;
|
|
21
|
+
metadata?: Record<string, unknown>;
|
|
21
22
|
}
|
|
22
23
|
/** Options for exec calls within commands (internal API) */
|
|
23
24
|
export interface CommandExecOptions {
|