@poe-platform/safe-bash 0.1.144 → 0.1.146
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 +1 -1
- package/dist/safe-bash/browser.d.ts +4 -0
- package/dist/safe-bash/browser.d.ts.map +1 -1
- package/dist/safe-bash/browser.js +4046 -2910
- package/dist/safe-bash/browser.js.map +4 -4
- package/dist/safe-bash/commands/basic.d.ts +3 -1
- package/dist/safe-bash/commands/basic.d.ts.map +1 -1
- package/dist/safe-bash/commands/basic.js +143 -141
- package/dist/safe-bash/commands/basic.js.map +1 -1
- package/dist/safe-bash/commands/execution.d.ts +4 -1
- package/dist/safe-bash/commands/execution.d.ts.map +1 -1
- package/dist/safe-bash/commands/execution.js +134 -32
- package/dist/safe-bash/commands/execution.js.map +1 -1
- package/dist/safe-bash/commands/filesystem.d.ts.map +1 -1
- package/dist/safe-bash/commands/filesystem.js +161 -39
- package/dist/safe-bash/commands/filesystem.js.map +1 -1
- package/dist/safe-bash/commands/find.d.ts.map +1 -1
- package/dist/safe-bash/commands/find.js +83 -3
- package/dist/safe-bash/commands/find.js.map +1 -1
- package/dist/safe-bash/commands/index.d.ts +4 -0
- package/dist/safe-bash/commands/index.d.ts.map +1 -1
- package/dist/safe-bash/commands/index.js +1 -1
- package/dist/safe-bash/commands/index.js.map +1 -1
- package/dist/safe-bash/commands/regex-execution/ere/matcher.d.ts.map +1 -1
- package/dist/safe-bash/commands/regex-execution/ere/matcher.js +35 -15
- package/dist/safe-bash/commands/regex-execution/ere/matcher.js.map +1 -1
- package/dist/safe-bash/commands/search/file-types.d.ts +2 -0
- package/dist/safe-bash/commands/search/file-types.d.ts.map +1 -0
- package/dist/safe-bash/commands/search/file-types.js +229 -0
- package/dist/safe-bash/commands/search/file-types.js.map +1 -0
- package/dist/safe-bash/commands/search/options.d.ts +4 -0
- package/dist/safe-bash/commands/search/options.d.ts.map +1 -1
- package/dist/safe-bash/commands/search/options.js +14 -1
- package/dist/safe-bash/commands/search/options.js.map +1 -1
- package/dist/safe-bash/commands/search/walk.d.ts +2 -0
- package/dist/safe-bash/commands/search/walk.d.ts.map +1 -1
- package/dist/safe-bash/commands/search/walk.js +32 -0
- package/dist/safe-bash/commands/search/walk.js.map +1 -1
- package/dist/safe-bash/commands/streams.d.ts +1 -1
- package/dist/safe-bash/commands/streams.d.ts.map +1 -1
- package/dist/safe-bash/commands/streams.js +7 -1
- package/dist/safe-bash/commands/streams.js.map +1 -1
- package/dist/safe-bash/commands/structured/interpreter.d.ts +9 -1
- package/dist/safe-bash/commands/structured/interpreter.d.ts.map +1 -1
- package/dist/safe-bash/commands/structured/interpreter.js +78 -2
- package/dist/safe-bash/commands/structured/interpreter.js.map +1 -1
- package/dist/safe-bash/commands/structured/parser.d.ts +13 -0
- package/dist/safe-bash/commands/structured/parser.d.ts.map +1 -1
- package/dist/safe-bash/commands/structured/parser.js +49 -2
- package/dist/safe-bash/commands/structured/parser.js.map +1 -1
- package/dist/safe-bash/commands/table-text/join.d.ts.map +1 -1
- package/dist/safe-bash/commands/table-text/join.js +7 -2
- package/dist/safe-bash/commands/table-text/join.js.map +1 -1
- package/dist/safe-bash/commands/text-programs/sed.d.ts.map +1 -1
- package/dist/safe-bash/commands/text-programs/sed.js +98 -29
- package/dist/safe-bash/commands/text-programs/sed.js.map +1 -1
- package/dist/safe-bash/commands/text.d.ts.map +1 -1
- package/dist/safe-bash/commands/text.js +26 -16
- package/dist/safe-bash/commands/text.js.map +1 -1
- package/dist/safe-bash/plugins/index.d.ts +3 -0
- package/dist/safe-bash/plugins/index.d.ts.map +1 -1
- package/dist/safe-bash/plugins/index.js +1 -1
- package/dist/safe-bash/plugins/index.js.map +1 -1
- package/dist/safe-bash/shell/brace-expansion.d.ts +6 -0
- package/dist/safe-bash/shell/brace-expansion.d.ts.map +1 -0
- package/dist/safe-bash/shell/brace-expansion.js +335 -0
- package/dist/safe-bash/shell/brace-expansion.js.map +1 -0
- package/dist/safe-bash/shell/parser.d.ts +10 -1
- package/dist/safe-bash/shell/parser.d.ts.map +1 -1
- package/dist/safe-bash/shell/parser.js +92 -18
- package/dist/safe-bash/shell/parser.js.map +1 -1
- package/dist/safe-bash/shell/runtime.d.ts +4 -2
- package/dist/safe-bash/shell/runtime.d.ts.map +1 -1
- package/dist/safe-bash/shell/runtime.js +239 -38
- package/dist/safe-bash/shell/runtime.js.map +1 -1
- package/package.json +2 -2
package/README.md
CHANGED
|
@@ -335,7 +335,7 @@ honors changes made in the script. `PIPESTATUS` exposes pipeline stage statuses.
|
|
|
335
335
|
## Limitations
|
|
336
336
|
|
|
337
337
|
- This is a Bash-like interpreter, not full Bash or POSIX certification. No
|
|
338
|
-
background jobs/job control, `trap`, `exec`, process substitution,
|
|
338
|
+
background jobs/job control, `trap`, `exec`, process substitution,
|
|
339
339
|
associative arrays, or C-style `for ((…))` loops. `shopt` supports only `dotglob`.
|
|
340
340
|
- Utilities implement subsets of their native counterparts' flags and behavior.
|
|
341
341
|
There is no `git`, `npm`, `npx`, or fallback to installed host programs.
|
|
@@ -1,4 +1,5 @@
|
|
|
1
1
|
import type { CommandDefinition, VirtualShellPlugin } from "./contracts/index.js";
|
|
2
|
+
import { type ExecutionCommandsOptions } from "./commands/execution.js";
|
|
2
3
|
export * from "./contracts/index.js";
|
|
3
4
|
export * from "./shell/index.js";
|
|
4
5
|
export * from "./fs/memory/index.js";
|
|
@@ -12,9 +13,12 @@ export type { OriginAllowlist, OriginAuthorizerOptions } from "./commands/networ
|
|
|
12
13
|
export { cloudflareWorkerNetworkLimits } from "./commands/network/types.js";
|
|
13
14
|
export { portableSearchCommands, type PortableSearchOptions } from "./commands/search/portable.js";
|
|
14
15
|
export * from "./commands/regex-execution/public.js";
|
|
16
|
+
export type { ExecutionCommandsOptions } from "./commands/execution.js";
|
|
15
17
|
export interface BrowserCommandsOptions {
|
|
18
|
+
readonly execution?: ExecutionCommandsOptions;
|
|
16
19
|
readonly replace?: boolean;
|
|
17
20
|
readonly maxDirectoryEntries?: number;
|
|
21
|
+
readonly maxTeeTargets?: number;
|
|
18
22
|
}
|
|
19
23
|
export declare function createBrowserCommands(options?: BrowserCommandsOptions): readonly CommandDefinition[];
|
|
20
24
|
export declare function browserCommands(options?: BrowserCommandsOptions): VirtualShellPlugin;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"browser.d.ts","sourceRoot":"","sources":["../src/browser.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,iBAAiB,EAAE,kBAAkB,EAAE,MAAM,sBAAsB,CAAC;
|
|
1
|
+
{"version":3,"file":"browser.d.ts","sourceRoot":"","sources":["../src/browser.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,iBAAiB,EAAE,kBAAkB,EAAE,MAAM,sBAAsB,CAAC;AAMlF,OAAO,EAAqC,KAAK,wBAAwB,EAAE,MAAM,yBAAyB,CAAC;AAG3G,cAAc,sBAAsB,CAAC;AACrC,cAAc,kBAAkB,CAAC;AACjC,cAAc,sBAAsB,CAAC;AACrC,cAAc,wBAAwB,CAAC;AACvC,cAAc,qBAAqB,CAAC;AACpC,cAAc,uBAAuB,CAAC;AACtC,OAAO,EAAE,oBAAoB,EAAE,MAAM,uCAAuC,CAAC;AAC7E,YAAY,EAAE,qBAAqB,EAAE,MAAM,uCAAuC,CAAC;AACnF,OAAO,EAAE,sBAAsB,EAAE,MAAM,kCAAkC,CAAC;AAC1E,YAAY,EAAE,eAAe,EAAE,uBAAuB,EAAE,MAAM,kCAAkC,CAAC;AACjG,OAAO,EAAE,6BAA6B,EAAE,MAAM,6BAA6B,CAAC;AAC5E,OAAO,EAAE,sBAAsB,EAAE,KAAK,qBAAqB,EAAE,MAAM,+BAA+B,CAAC;AACnG,cAAc,sCAAsC,CAAC;AACrD,YAAY,EAAE,wBAAwB,EAAE,MAAM,yBAAyB,CAAC;AAExE,MAAM,WAAW,sBAAsB;IACrC,QAAQ,CAAC,SAAS,CAAC,EAAE,wBAAwB,CAAC;IAC9C,QAAQ,CAAC,OAAO,CAAC,EAAE,OAAO,CAAC;IAC3B,QAAQ,CAAC,mBAAmB,CAAC,EAAE,MAAM,CAAC;IACtC,QAAQ,CAAC,aAAa,CAAC,EAAE,MAAM,CAAC;CACjC;AAED,wBAAgB,qBAAqB,CAAC,OAAO,GAAE,sBAA2B,GAAG,SAAS,iBAAiB,EAAE,CAYxG;AAED,wBAAgB,eAAe,CAAC,OAAO,GAAE,sBAA2B,GAAG,kBAAkB,CAaxF"}
|