just-bash-nx 3.0.2 → 3.0.3
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/Bash.commands.test.d.ts +1 -0
- package/dist/Bash.exec-args-forwarding.test.d.ts +1 -0
- package/dist/Bash.exec-options.test.d.ts +1 -0
- package/dist/Bash.general.test.d.ts +1 -0
- package/dist/bin/just-bash.js +7 -3
- package/dist/bin/shell/shell.js +0 -0
- package/dist/browser.bundle.test.d.ts +9 -0
- package/dist/command-position-array-expansion.test.d.ts +1 -0
- package/dist/commands/alias/alias.test.d.ts +1 -0
- package/dist/commands/awk/awk.arrays.test.d.ts +1 -0
- package/dist/commands/awk/awk.binary.test.d.ts +1 -0
- package/dist/commands/awk/awk.edge-cases.test.d.ts +1 -0
- package/dist/commands/awk/awk.errors.test.d.ts +1 -0
- package/dist/commands/awk/awk.expressions.test.d.ts +1 -0
- package/dist/commands/awk/awk.fields.test.d.ts +1 -0
- package/dist/commands/awk/awk.functions.test.d.ts +1 -0
- package/dist/commands/awk/awk.getline.test.d.ts +1 -0
- package/dist/commands/awk/awk.limits.test.d.ts +1 -0
- package/dist/commands/awk/awk.math.test.d.ts +1 -0
- package/dist/commands/awk/awk.modulo.test.d.ts +1 -0
- package/dist/commands/awk/awk.nextfile.test.d.ts +1 -0
- package/dist/commands/awk/awk.operators.test.d.ts +1 -0
- package/dist/commands/awk/awk.output.test.d.ts +1 -0
- package/dist/commands/awk/awk.parsing.test.d.ts +1 -0
- package/dist/commands/awk/awk.patterns.test.d.ts +1 -0
- package/dist/commands/awk/awk.prototype-pollution.test.d.ts +1 -0
- package/dist/commands/awk/awk.range.test.d.ts +1 -0
- package/dist/commands/awk/awk.strings.test.d.ts +1 -0
- package/dist/commands/awk/awk.ternary.test.d.ts +1 -0
- package/dist/commands/awk/awk.test.d.ts +1 -0
- package/dist/commands/awk/awk.utf8-stdin.test.d.ts +1 -0
- package/dist/commands/base64/base64.binary.test.d.ts +1 -0
- package/dist/commands/base64/base64.test.d.ts +1 -0
- package/dist/commands/base64/base64.utf8-stdin.test.d.ts +1 -0
- package/dist/commands/basename/basename.test.d.ts +1 -0
- package/dist/commands/bash/bash.test.d.ts +1 -0
- package/dist/commands/bash/bash.utf8-stdin.test.d.ts +1 -0
- package/dist/commands/cat/cat.binary.test.d.ts +1 -0
- package/dist/commands/cat/cat.test.d.ts +1 -0
- package/dist/commands/cat/cat.utf8-stdin.test.d.ts +1 -0
- package/dist/commands/chmod/chmod.test.d.ts +1 -0
- package/dist/commands/clear/clear.test.d.ts +1 -0
- package/dist/commands/column/column.test.d.ts +1 -0
- package/dist/commands/column/column.utf8-stdin.test.d.ts +1 -0
- package/dist/commands/comm/comm.test.d.ts +1 -0
- package/dist/commands/comm/comm.utf8-stdin.test.d.ts +1 -0
- package/dist/commands/cp/cp.binary.test.d.ts +1 -0
- package/dist/commands/cp/cp.test.d.ts +1 -0
- package/dist/commands/curl/curl.prototype-pollution.test.d.ts +1 -0
- package/dist/commands/curl/tests/allowlist.test.d.ts +4 -0
- package/dist/commands/curl/tests/auth.test.d.ts +4 -0
- package/dist/commands/curl/tests/availability.test.d.ts +6 -0
- package/dist/commands/curl/tests/binary.test.d.ts +4 -0
- package/dist/commands/curl/tests/cookies.test.d.ts +4 -0
- package/dist/commands/curl/tests/errors.test.d.ts +4 -0
- package/dist/commands/curl/tests/form.test.d.ts +4 -0
- package/dist/commands/curl/tests/methods.test.d.ts +7 -0
- package/dist/commands/curl/tests/options.test.d.ts +4 -0
- package/dist/commands/curl/tests/parse.test.d.ts +4 -0
- package/dist/commands/curl/tests/timeout.test.d.ts +4 -0
- package/dist/commands/curl/tests/upload.test.d.ts +4 -0
- package/dist/commands/curl/tests/verbose.test.d.ts +4 -0
- package/dist/commands/curl/tests/writeout.test.d.ts +4 -0
- package/dist/commands/cut/cut.binary.test.d.ts +1 -0
- package/dist/commands/cut/cut.test.d.ts +1 -0
- package/dist/commands/cut/cut.utf8-stdin.test.d.ts +1 -0
- package/dist/commands/date/date.test.d.ts +1 -0
- package/dist/commands/diff/diff.binary.test.d.ts +1 -0
- package/dist/commands/diff/diff.test.d.ts +1 -0
- package/dist/commands/diff/diff.utf8-stdin.test.d.ts +1 -0
- package/dist/commands/dirname/dirname.test.d.ts +1 -0
- package/dist/commands/du/du.test.d.ts +1 -0
- package/dist/commands/echo/echo.binary.test.d.ts +1 -0
- package/dist/commands/echo/echo.test.d.ts +1 -0
- package/dist/commands/env/env.test.d.ts +1 -0
- package/dist/commands/env/env.utf8-stdin.test.d.ts +1 -0
- package/dist/commands/expand/expand.test.d.ts +1 -0
- package/dist/commands/expand/expand.utf8-stdin.test.d.ts +1 -0
- package/dist/commands/expand/unexpand.test.d.ts +1 -0
- package/dist/commands/expand/unexpand.utf8-stdin.test.d.ts +1 -0
- package/dist/commands/file/file.test.d.ts +1 -0
- package/dist/commands/find/find.actions.test.d.ts +1 -0
- package/dist/commands/find/find.basic.test.d.ts +1 -0
- package/dist/commands/find/find.depth.test.d.ts +1 -0
- package/dist/commands/find/find.exec-command-name-quoting.test.d.ts +1 -0
- package/dist/commands/find/find.exec.test.d.ts +1 -0
- package/dist/commands/find/find.operators.test.d.ts +1 -0
- package/dist/commands/find/find.patterns.test.d.ts +1 -0
- package/dist/commands/find/find.perf.test.d.ts +1 -0
- package/dist/commands/find/find.perm.test.d.ts +1 -0
- package/dist/commands/find/find.predicates.test.d.ts +1 -0
- package/dist/commands/find/find.printf.test.d.ts +1 -0
- package/dist/commands/fold/fold.test.d.ts +1 -0
- package/dist/commands/fold/fold.utf8-stdin.test.d.ts +1 -0
- package/dist/commands/grep/grep.advanced.test.d.ts +1 -0
- package/dist/commands/grep/grep.basic.test.d.ts +1 -0
- package/dist/commands/grep/grep.binary.test.d.ts +1 -0
- package/dist/commands/grep/grep.exclude.test.d.ts +1 -0
- package/dist/commands/grep/grep.perl.test.d.ts +1 -0
- package/dist/commands/grep/grep.utf8-stdin.test.d.ts +1 -0
- package/dist/commands/gzip/gzip.binary.test.d.ts +1 -0
- package/dist/commands/gzip/gzip.security.test.d.ts +1 -0
- package/dist/commands/gzip/gzip.test.d.ts +1 -0
- package/dist/commands/gzip/gzip.utf8-stdin.test.d.ts +1 -0
- package/dist/commands/head/head.binary.test.d.ts +1 -0
- package/dist/commands/head/head.test.d.ts +1 -0
- package/dist/commands/head/head.utf8-stdin.test.d.ts +1 -0
- package/dist/commands/help/help.test.d.ts +1 -0
- package/dist/commands/history/history.test.d.ts +1 -0
- package/dist/commands/hostname/hostname.test.d.ts +1 -0
- package/dist/commands/html-to-markdown/html-to-markdown.test.d.ts +1 -0
- package/dist/commands/html-to-markdown/html-to-markdown.utf8-stdin.test.d.ts +1 -0
- package/dist/commands/join/join.test.d.ts +1 -0
- package/dist/commands/join/join.utf8-stdin.test.d.ts +1 -0
- package/dist/commands/jq/jq.arg.test.d.ts +1 -0
- package/dist/commands/jq/jq.basic.test.d.ts +1 -0
- package/dist/commands/jq/jq.construction.test.d.ts +1 -0
- package/dist/commands/jq/jq.dot-adjacency.test.d.ts +1 -0
- package/dist/commands/jq/jq.filters.test.d.ts +1 -0
- package/dist/commands/jq/jq.functions.test.d.ts +1 -0
- package/dist/commands/jq/jq.keyword-field-access.test.d.ts +1 -0
- package/dist/commands/jq/jq.limits.test.d.ts +1 -0
- package/dist/commands/jq/jq.operators.test.d.ts +1 -0
- package/dist/commands/jq/jq.permissive-control-chars.test.d.ts +1 -0
- package/dist/commands/jq/jq.prototype-pollution.test.d.ts +1 -0
- package/dist/commands/jq/jq.raw-input.test.d.ts +1 -0
- package/dist/commands/jq/jq.strings.test.d.ts +1 -0
- package/dist/commands/jq/jq.test.d.ts +1 -0
- package/dist/commands/jq/jq.utf8-stdin.test.d.ts +1 -0
- package/dist/commands/js-exec/js-exec.esm.test.d.ts +1 -0
- package/dist/commands/js-exec/js-exec.exec.test.d.ts +1 -0
- package/dist/commands/js-exec/js-exec.fs.test.d.ts +1 -0
- package/dist/commands/js-exec/js-exec.http.test.d.ts +1 -0
- package/dist/commands/js-exec/js-exec.invoke-tool.test.d.ts +9 -0
- package/dist/commands/js-exec/js-exec.module-resolution-security.test.d.ts +1 -0
- package/dist/commands/js-exec/js-exec.node-compat.test.d.ts +1 -0
- package/dist/commands/js-exec/js-exec.security.test.d.ts +1 -0
- package/dist/commands/js-exec/js-exec.test.d.ts +1 -0
- package/dist/commands/js-exec/js-exec.ts-strip.test.d.ts +1 -0
- package/dist/commands/js-exec/js-exec.utf8-stdin.test.d.ts +1 -0
- package/dist/commands/ln/ln.error-forwarding.test.d.ts +1 -0
- package/dist/commands/ln/ln.test.d.ts +1 -0
- package/dist/commands/ls/ls.human.test.d.ts +1 -0
- package/dist/commands/ls/ls.test.d.ts +1 -0
- package/dist/commands/md5sum/checksum.binary.test.d.ts +1 -0
- package/dist/commands/md5sum/md5sum.test.d.ts +1 -0
- package/dist/commands/md5sum/md5sum.utf8-stdin.test.d.ts +1 -0
- package/dist/commands/mkdir/mkdir.test.d.ts +1 -0
- package/dist/commands/mv/mv.test.d.ts +1 -0
- package/dist/commands/nl/nl.test.d.ts +1 -0
- package/dist/commands/nl/nl.utf8-stdin.test.d.ts +1 -0
- package/dist/commands/od/od.binary.test.d.ts +1 -0
- package/dist/commands/od/od.test.d.ts +1 -0
- package/dist/commands/od/od.utf8-stdin.test.d.ts +1 -0
- package/dist/commands/paste/paste.test.d.ts +1 -0
- package/dist/commands/paste/paste.utf8-stdin.test.d.ts +1 -0
- package/dist/commands/printf/escapes.test.d.ts +1 -0
- package/dist/commands/printf/printf.binary.test.d.ts +1 -0
- package/dist/commands/printf/printf.test.d.ts +1 -0
- package/dist/commands/pwd/pwd.test.d.ts +1 -0
- package/dist/commands/python3/fs-bridge-handler.output-limit.test.d.ts +1 -0
- package/dist/commands/python3/python3.advanced.test.d.ts +1 -0
- package/dist/commands/python3/python3.env.test.d.ts +1 -0
- package/dist/commands/python3/python3.files.test.d.ts +1 -0
- package/dist/commands/python3/python3.http.test.d.ts +1 -0
- package/dist/commands/python3/python3.oop.test.d.ts +1 -0
- package/dist/commands/python3/python3.optin.test.d.ts +1 -0
- package/dist/commands/python3/python3.queue-desync.runtime.test.d.ts +1 -0
- package/dist/commands/python3/python3.queue-timeout-exploit.test.d.ts +1 -0
- package/dist/commands/python3/python3.security.test.d.ts +1 -0
- package/dist/commands/python3/python3.stdlib.test.d.ts +1 -0
- package/dist/commands/python3/python3.test.d.ts +1 -0
- package/dist/commands/python3/python3.utf8-stdin.test.d.ts +1 -0
- package/dist/commands/python3/python3.worker-protocol-abuse.test.d.ts +1 -0
- package/dist/commands/query-engine/safe-object.sanitize-parsed-data.test.d.ts +1 -0
- package/dist/commands/query-engine/safe-object.test.d.ts +1 -0
- package/dist/commands/readlink/readlink.test.d.ts +1 -0
- package/dist/commands/registry.test.d.ts +1 -0
- package/dist/commands/rev/rev.test.d.ts +1 -0
- package/dist/commands/rev/rev.utf8-stdin.test.d.ts +1 -0
- package/dist/commands/rg/gitignore.test.d.ts +1 -0
- package/dist/commands/rg/imported-tests/binary.test.d.ts +1 -0
- package/dist/commands/rg/imported-tests/feature.test.d.ts +1 -0
- package/dist/commands/rg/imported-tests/json.test.d.ts +11 -0
- package/dist/commands/rg/imported-tests/misc.test.d.ts +1 -0
- package/dist/commands/rg/imported-tests/multiline.test.d.ts +10 -0
- package/dist/commands/rg/imported-tests/regression.test.d.ts +1 -0
- package/dist/commands/rg/rg-parser-threads.test.d.ts +1 -0
- package/dist/commands/rg/rg.basic.test.d.ts +1 -0
- package/dist/commands/rg/rg.edge-cases.test.d.ts +1 -0
- package/dist/commands/rg/rg.filtering.test.d.ts +1 -0
- package/dist/commands/rg/rg.flags.test.d.ts +6 -0
- package/dist/commands/rg/rg.max-count.test.d.ts +1 -0
- package/dist/commands/rg/rg.no-filename.test.d.ts +1 -0
- package/dist/commands/rg/rg.output.test.d.ts +1 -0
- package/dist/commands/rg/rg.patterns.test.d.ts +1 -0
- package/dist/commands/rg/rg.ripgrep-compat.test.d.ts +1 -0
- package/dist/commands/rg/rg.utf8-stdin.test.d.ts +1 -0
- package/dist/commands/rm/rm.test.d.ts +1 -0
- package/dist/commands/search-engine/regex.test.d.ts +1 -0
- package/dist/commands/sed/sed.advanced.test.d.ts +1 -0
- package/dist/commands/sed/sed.binary.test.d.ts +1 -0
- package/dist/commands/sed/sed.commands.test.d.ts +1 -0
- package/dist/commands/sed/sed.errors.test.d.ts +1 -0
- package/dist/commands/sed/sed.limits.test.d.ts +1 -0
- package/dist/commands/sed/sed.regex.test.d.ts +1 -0
- package/dist/commands/sed/sed.security.test.d.ts +6 -0
- package/dist/commands/sed/sed.test.d.ts +1 -0
- package/dist/commands/sed/sed.utf8-stdin.test.d.ts +1 -0
- package/dist/commands/seq/seq.test.d.ts +1 -0
- package/dist/commands/sleep/sleep.test.d.ts +1 -0
- package/dist/commands/sort/sort.advanced.test.d.ts +1 -0
- package/dist/commands/sort/sort.binary.test.d.ts +1 -0
- package/dist/commands/sort/sort.test.d.ts +1 -0
- package/dist/commands/sort/sort.utf8-stdin.test.d.ts +1 -0
- package/dist/commands/split/split.test.d.ts +1 -0
- package/dist/commands/split/split.utf8-stdin.test.d.ts +1 -0
- package/dist/commands/sqlite3/sqlite3.errors.test.d.ts +1 -0
- package/dist/commands/sqlite3/sqlite3.fixtures.test.d.ts +1 -0
- package/dist/commands/sqlite3/sqlite3.formatters.test.d.ts +1 -0
- package/dist/commands/sqlite3/sqlite3.options.test.d.ts +1 -0
- package/dist/commands/sqlite3/sqlite3.output-modes.test.d.ts +1 -0
- package/dist/commands/sqlite3/sqlite3.parsing.test.d.ts +1 -0
- package/dist/commands/sqlite3/sqlite3.test.d.ts +1 -0
- package/dist/commands/sqlite3/sqlite3.utf8-stdin.test.d.ts +1 -0
- package/dist/commands/sqlite3/sqlite3.worker-protocol-abuse.test.d.ts +1 -0
- package/dist/commands/sqlite3/sqlite3.worker-resolution.test.d.ts +11 -0
- package/dist/commands/sqlite3/sqlite3.write-ops.test.d.ts +1 -0
- package/dist/commands/sqlite3/sqlite3.writeback-edge-cases.test.d.ts +1 -0
- package/dist/commands/sqlite3/worker.js +227 -1700
- package/dist/commands/stat/stat.test.d.ts +1 -0
- package/dist/commands/strings/strings.binary.test.d.ts +1 -0
- package/dist/commands/strings/strings.test.d.ts +1 -0
- package/dist/commands/strings/strings.utf8-stdin.test.d.ts +1 -0
- package/dist/commands/tac/tac.test.d.ts +1 -0
- package/dist/commands/tail/tail.binary.test.d.ts +1 -0
- package/dist/commands/tail/tail.test.d.ts +1 -0
- package/dist/commands/tar/bzip2-compress.test.d.ts +1 -0
- package/dist/commands/tar/tar.binary.test.d.ts +1 -0
- package/dist/commands/tar/tar.bundle.test.d.ts +1 -0
- package/dist/commands/tar/tar.security.test.d.ts +1 -0
- package/dist/commands/tar/tar.test.d.ts +1 -0
- package/dist/commands/tar/tar.utf8-stdin.test.d.ts +1 -0
- package/dist/commands/tee/tee.binary.test.d.ts +1 -0
- package/dist/commands/tee/tee.test.d.ts +1 -0
- package/dist/commands/tee/tee.utf8-stdin.test.d.ts +1 -0
- package/dist/commands/test/test.test.d.ts +1 -0
- package/dist/commands/time/time.utf8-stdin.test.d.ts +1 -0
- package/dist/commands/timeout/timeout.command-name-quoting.test.d.ts +1 -0
- package/dist/commands/timeout/timeout.nested-cancellation.test.d.ts +1 -0
- package/dist/commands/timeout/timeout.test.d.ts +1 -0
- package/dist/commands/timeout/timeout.utf8-stdin.test.d.ts +1 -0
- package/dist/commands/touch/touch.test.d.ts +1 -0
- package/dist/commands/tr/tr.binary.test.d.ts +1 -0
- package/dist/commands/tr/tr.complement.test.d.ts +1 -0
- package/dist/commands/tr/tr.test.d.ts +1 -0
- package/dist/commands/tr/tr.utf8-stdin.test.d.ts +1 -0
- package/dist/commands/tree/tree.test.d.ts +1 -0
- package/dist/commands/true/true.test.d.ts +1 -0
- package/dist/commands/uniq/uniq.binary.test.d.ts +1 -0
- package/dist/commands/uniq/uniq.test.d.ts +1 -0
- package/dist/commands/uniq/uniq.utf8-stdin.test.d.ts +1 -0
- package/dist/commands/utf8-across-commands.test.d.ts +1 -0
- package/dist/commands/utf8-bytestring.test.d.ts +1 -0
- package/dist/commands/wc/wc.binary.test.d.ts +1 -0
- package/dist/commands/wc/wc.test.d.ts +1 -0
- package/dist/commands/wc/wc.utf8-stdin.test.d.ts +1 -0
- package/dist/commands/which/which.test.d.ts +1 -0
- package/dist/commands/worker-bridge/bridge-handler.test.d.ts +1 -0
- package/dist/commands/xan/moonblade-parser.test.d.ts +1 -0
- package/dist/commands/xan/xan.agg.test.d.ts +5 -0
- package/dist/commands/xan/xan.basic.test.d.ts +5 -0
- package/dist/commands/xan/xan.columns.test.d.ts +5 -0
- package/dist/commands/xan/xan.data.test.d.ts +5 -0
- package/dist/commands/xan/xan.filter-sort.test.d.ts +5 -0
- package/dist/commands/xan/xan.frequency.test.d.ts +5 -0
- package/dist/commands/xan/xan.groupby.test.d.ts +5 -0
- package/dist/commands/xan/xan.map.test.d.ts +5 -0
- package/dist/commands/xan/xan.multifile.test.d.ts +5 -0
- package/dist/commands/xan/xan.prototype-pollution.test.d.ts +1 -0
- package/dist/commands/xan/xan.reshape.test.d.ts +5 -0
- package/dist/commands/xan/xan.select-advanced.test.d.ts +5 -0
- package/dist/commands/xan/xan.transform.test.d.ts +5 -0
- package/dist/commands/xan/xan.utf8-stdin.test.d.ts +1 -0
- package/dist/commands/xargs/xargs.command-name-quoting.test.d.ts +1 -0
- package/dist/commands/xargs/xargs.test.d.ts +1 -0
- package/dist/commands/xargs/xargs.utf8-stdin.test.d.ts +1 -0
- package/dist/commands/yq/yq.env.test.d.ts +1 -0
- package/dist/commands/yq/yq.fixtures.test.d.ts +10 -0
- package/dist/commands/yq/yq.format-strings.test.d.ts +1 -0
- package/dist/commands/yq/yq.navigation.test.d.ts +1 -0
- package/dist/commands/yq/yq.prototype-pollution.test.d.ts +1 -0
- package/dist/commands/yq/yq.test.d.ts +1 -0
- package/dist/commands/yq/yq.utf8-stdin.test.d.ts +1 -0
- package/dist/commands/yq/yq.yaml-security.test.d.ts +11 -0
- package/dist/custom-commands.test.d.ts +1 -0
- package/dist/encoding-pipeline.test.d.ts +1 -0
- package/dist/encoding.fs-fallback.test.d.ts +1 -0
- package/dist/fs/cross-fs-no-symlinks.test.d.ts +8 -0
- package/dist/fs/cross-fs-security.test.d.ts +12 -0
- package/dist/fs/in-memory-fs/in-memory-fs.security.test.d.ts +8 -0
- package/dist/fs/in-memory-fs/in-memory-fs.test.d.ts +1 -0
- package/dist/fs/mountable-fs/mountable-fs.security.test.d.ts +8 -0
- package/dist/fs/mountable-fs/mountable-fs.test.d.ts +1 -0
- package/dist/fs/overlay-fs/overlay-fs.e2e.test.d.ts +7 -0
- package/dist/fs/overlay-fs/overlay-fs.security.test.d.ts +7 -0
- package/dist/fs/overlay-fs/overlay-fs.test.d.ts +1 -0
- package/dist/fs/read-write-fs/read-write-fs.piping.test.d.ts +1 -0
- package/dist/fs/read-write-fs/read-write-fs.security.test.d.ts +11 -0
- package/dist/fs/read-write-fs/read-write-fs.test.d.ts +1 -0
- package/dist/fs/real-fs-utils.sanitize.test.d.ts +1 -0
- package/dist/fs/real-fs-utils.test.d.ts +7 -0
- package/dist/fs/sanitize-error.test.d.ts +1 -0
- package/dist/interpreter/arithmetic.test.d.ts +1 -0
- package/dist/interpreter/assoc-array.test.d.ts +1 -0
- package/dist/interpreter/builtins/break.test.d.ts +1 -0
- package/dist/interpreter/builtins/cd.test.d.ts +1 -0
- package/dist/interpreter/builtins/complete.test.d.ts +1 -0
- package/dist/interpreter/builtins/compopt.test.d.ts +1 -0
- package/dist/interpreter/builtins/continue.test.d.ts +1 -0
- package/dist/interpreter/builtins/eval.test.d.ts +1 -0
- package/dist/interpreter/builtins/exit.test.d.ts +1 -0
- package/dist/interpreter/builtins/export.test.d.ts +1 -0
- package/dist/interpreter/builtins/local.test.d.ts +1 -0
- package/dist/interpreter/builtins/posix-fatal.test.d.ts +1 -0
- package/dist/interpreter/builtins/read.test.d.ts +1 -0
- package/dist/interpreter/builtins/return.test.d.ts +1 -0
- package/dist/interpreter/builtins/set.test.d.ts +1 -0
- package/dist/interpreter/builtins/shift.test.d.ts +1 -0
- package/dist/interpreter/builtins/source.test.d.ts +1 -0
- package/dist/interpreter/builtins/unset.test.d.ts +1 -0
- package/dist/interpreter/control-flow.test.d.ts +1 -0
- package/dist/interpreter/expansion/prompt.test.d.ts +1 -0
- package/dist/interpreter/helpers/xtrace.test.d.ts +1 -0
- package/dist/interpreter/pipeline-execution.test.d.ts +1 -0
- package/dist/interpreter/prototype-pollution.test.d.ts +1 -0
- package/dist/interpreter/redirections.binary.test.d.ts +1 -0
- package/dist/network/allow-list/bypass.test.d.ts +7 -0
- package/dist/network/allow-list/dns-rebinding-integration.test.d.ts +8 -0
- package/dist/network/allow-list/dns-rebinding.test.d.ts +7 -0
- package/dist/network/allow-list/e2e.test.d.ts +7 -0
- package/dist/network/allow-list/firewall.test.d.ts +7 -0
- package/dist/network/allow-list/mock.test.d.ts +5 -0
- package/dist/network/allow-list/pen-test-pocs.test.d.ts +1 -0
- package/dist/network/allow-list/unit.test.d.ts +1 -0
- package/dist/network/dns-pin-fetch.test.d.ts +1 -0
- package/dist/network/dns-pin.test.d.ts +1 -0
- package/dist/readme.test.d.ts +9 -0
- package/dist/sandbox/Sandbox.security.test.d.ts +1 -0
- package/dist/sandbox/Sandbox.test.d.ts +1 -0
- package/dist/security-limits.test.d.ts +4 -0
- package/package.json +32 -33
- package/vendor/cpython-emscripten/python.wasm +0 -0
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|
package/dist/bin/just-bash.js
CHANGED
|
@@ -714,6 +714,7 @@ Options:
|
|
|
714
714
|
-c <script> Execute the script from command line argument
|
|
715
715
|
-e, --errexit Exit immediately if a command exits with non-zero status
|
|
716
716
|
--no-init Disable built-in init script preloading
|
|
717
|
+
--init <file> Load init script file (higher priority than JUST_BASH_INIT)
|
|
717
718
|
--root <path> Root directory for OverlayFS (default: current directory)
|
|
718
719
|
--cwd <path> Working directory within the sandbox (default: project mount point)
|
|
719
720
|
--allow-write Allow write operations (default: read-only)
|
|
@@ -743,6 +744,9 @@ Examples:
|
|
|
743
744
|
# Pipe script from stdin
|
|
744
745
|
echo 'find . -name "*.ts" | head -5' | just-bash-nx
|
|
745
746
|
|
|
747
|
+
# Use a custom init script file
|
|
748
|
+
just-bash-nx -c 'echo ready' --init ./.just-bash-init.sh
|
|
749
|
+
|
|
746
750
|
# Execute a script file
|
|
747
751
|
just-bash-nx ./scripts/build.sh
|
|
748
752
|
|
|
@@ -751,6 +755,6 @@ Examples:
|
|
|
751
755
|
|
|
752
756
|
# Allow write operations (writes stay in memory)
|
|
753
757
|
just-bash-nx -c 'echo test > /tmp/file.txt && cat /tmp/file.txt' --allow-write
|
|
754
|
-
`)}function fl(){console.log("just-bash-nx 1.0.0")}function dl(e){let t={root:process.cwd(),cwd:"/",cwdOverridden:!1,errexit:!1,allowWrite:!1,python:!1,javascript:!1,noInit:!1,json:!1,help:!1,version:!1},s=0;for(;s<e.length;){let n=e[s];if(n==="-h"||n==="--help")t.help=!0,s++;else if(n==="-v"||n==="--version")t.version=!0,s++;else if(n==="-c")s+1>=e.length&&(console.error("Error: -c requires a script argument"),process.exit(1)),t.script=e[s+1],s+=2;else if(n==="-e"||n==="--errexit")t.errexit=!0,s++;else if(n==="--root")s+1>=e.length&&(console.error("Error: --root requires a path argument"),process.exit(1)),t.root=kn(e[s+1]),s+=2;else if(n==="--cwd")s+1>=e.length&&(console.error("Error: --cwd requires a path argument"),process.exit(1)),t.cwd=e[s+1],t.cwdOverridden=!0,s+=2;else if(n==="--json")t.json=!0,s++;else if(n==="--allow-write")t.allowWrite=!0,s++;else if(n==="--python")t.python=!0,s++;else if(n==="--javascript")t.javascript=!0,s++;else if(n==="--no-init")t.noInit=!0,s++;else if(n.startsWith("-"))if(n.length>2&&!n.startsWith("--")){let r=n.slice(1);for(let i of r)if(i==="e")t.errexit=!0;else if(i==="h")t.help=!0;else if(i==="v")t.version=!0;else if(i==="c"){s+1>=e.length&&(console.error("Error: -c requires a script argument"),process.exit(1)),t.script=e[s+1],s++;break}else console.error(`Error: Unknown option: -${i}`),process.exit(1);s++}else console.error(`Error: Unknown option: ${n}`),process.exit(1);else!t.scriptFile&&!t.script?t.scriptFile=n:t.scriptFile&&t.root===process.cwd()&&(t.root=kn(n)),s++}return t}function hl(e){if(!e||e==="/")return"/";let t=e.endsWith("/")&&e!=="/"?e.slice(0,-1):e;t.startsWith("/")||(t=`/${t}`);let s=t.split("/").filter(r=>r&&r!=="."),n=[];for(let r of s)r===".."?n.pop():n.push(r);return`/${n.join("/")}`||"/"}async function pl(){let e=[];for await(let t of process.stdin)e.push(t);return Buffer.concat(e).toString("utf-8")}async function ml(){let e=cl(ul(import.meta.url)),t=kn(e,"./default-init.sh");return ll(t,"utf-8")}async function yl(){let e=process.argv.slice(2),t=dl(e);t.help&&(Hi(),process.exit(0)),t.version&&(fl(),process.exit(0));let s;if(t.script)s=t.script;else if(t.scriptFile){let l=new ht({root:t.root}),c=l.getMountPoint();try{let u=t.scriptFile.startsWith("/")?t.scriptFile:`${c}/${t.scriptFile}`;s=await l.readFile(u,"utf-8")}catch(u){console.error(`Error: Cannot read script file: ${t.scriptFile}`),console.error(ce(u instanceof Error?u.message:String(u))),process.exit(1)}}else process.stdin.isTTY?(Hi(),process.exit(1)):s=await pl();s.trim()||(t.json&&console.log(JSON.stringify({stdout:"",stderr:"",exitCode:0})),process.exit(0));let n=new ht({root:t.root,readOnly:!t.allowWrite}),r=n.getMountPoint(),i=t.cwdOverridden?hl(t.cwd):r,o=new ps({fs:n,cwd:i,python:t.python,javascript:t.javascript}),a=s;if(!t.noInit)try{a=`${await ml()}
|
|
755
|
-
${a}`}catch(l){let c=ce(l instanceof Error?l.message:String(l));t.json?console.log(JSON.stringify({stdout:"",stderr:`Failed to load
|
|
756
|
-
${a}`);try{let l=await o.exec(a);t.json?console.log(JSON.stringify({stdout:l.stdout,stderr:l.stderr,exitCode:l.exitCode})):(l.stdout&&process.stdout.write(l.stdout),l.stderr&&process.stderr.write(l.stderr)),process.exit(l.exitCode)}catch(l){let c=ce(l instanceof Error?l.message:String(l));t.json?console.log(JSON.stringify({stdout:"",stderr:c,exitCode:1})):console.error(c),process.exit(1)}}
|
|
758
|
+
`)}function fl(){console.log("just-bash-nx 1.0.0")}function dl(e){let t={root:process.cwd(),cwd:"/",cwdOverridden:!1,errexit:!1,allowWrite:!1,python:!1,javascript:!1,noInit:!1,json:!1,help:!1,version:!1},s=0;for(;s<e.length;){let n=e[s];if(n==="-h"||n==="--help")t.help=!0,s++;else if(n==="-v"||n==="--version")t.version=!0,s++;else if(n==="-c")s+1>=e.length&&(console.error("Error: -c requires a script argument"),process.exit(1)),t.script=e[s+1],s+=2;else if(n==="-e"||n==="--errexit")t.errexit=!0,s++;else if(n==="--root")s+1>=e.length&&(console.error("Error: --root requires a path argument"),process.exit(1)),t.root=kn(e[s+1]),s+=2;else if(n==="--cwd")s+1>=e.length&&(console.error("Error: --cwd requires a path argument"),process.exit(1)),t.cwd=e[s+1],t.cwdOverridden=!0,s+=2;else if(n==="--json")t.json=!0,s++;else if(n==="--init")s+1>=e.length&&(console.error("Error: --init requires a file path argument"),process.exit(1)),t.initScriptFile=e[s+1],s+=2;else if(n==="--allow-write")t.allowWrite=!0,s++;else if(n==="--python")t.python=!0,s++;else if(n==="--javascript")t.javascript=!0,s++;else if(n==="--no-init")t.noInit=!0,s++;else if(n.startsWith("-"))if(n.length>2&&!n.startsWith("--")){let r=n.slice(1);for(let i of r)if(i==="e")t.errexit=!0;else if(i==="h")t.help=!0;else if(i==="v")t.version=!0;else if(i==="c"){s+1>=e.length&&(console.error("Error: -c requires a script argument"),process.exit(1)),t.script=e[s+1],s++;break}else console.error(`Error: Unknown option: -${i}`),process.exit(1);s++}else console.error(`Error: Unknown option: ${n}`),process.exit(1);else!t.scriptFile&&!t.script?t.scriptFile=n:t.scriptFile&&t.root===process.cwd()&&(t.root=kn(n)),s++}return t}function hl(e){if(!e||e==="/")return"/";let t=e.endsWith("/")&&e!=="/"?e.slice(0,-1):e;t.startsWith("/")||(t=`/${t}`);let s=t.split("/").filter(r=>r&&r!=="."),n=[];for(let r of s)r===".."?n.pop():n.push(r);return`/${n.join("/")}`||"/"}async function pl(){let e=[];for await(let t of process.stdin)e.push(t);return Buffer.concat(e).toString("utf-8")}async function ml(){let e=cl(ul(import.meta.url)),t=kn(e,"./default-init.sh");return ll(t,"utf-8")}async function yl(e,t){let s=e.getMountPoint(),n=t.startsWith("/")?t:`${s}/${t}`;return e.readFile(n,"utf-8")}async function gl(){let e=process.argv.slice(2),t=dl(e);t.help&&(Hi(),process.exit(0)),t.version&&(fl(),process.exit(0));let s;if(t.script)s=t.script;else if(t.scriptFile){let l=new ht({root:t.root}),c=l.getMountPoint();try{let u=t.scriptFile.startsWith("/")?t.scriptFile:`${c}/${t.scriptFile}`;s=await l.readFile(u,"utf-8")}catch(u){console.error(`Error: Cannot read script file: ${t.scriptFile}`),console.error(ce(u instanceof Error?u.message:String(u))),process.exit(1)}}else process.stdin.isTTY?(Hi(),process.exit(1)):s=await pl();s.trim()||(t.json&&console.log(JSON.stringify({stdout:"",stderr:"",exitCode:0})),process.exit(0));let n=new ht({root:t.root,readOnly:!t.allowWrite}),r=n.getMountPoint(),i=t.cwdOverridden?hl(t.cwd):r,o=new ps({fs:n,cwd:i,python:t.python,javascript:t.javascript}),a=s;if(!t.noInit)try{let l=process.env.JUST_BASH_INIT,c=t.initScriptFile??l;a=`${c?await yl(n,c):await ml()}
|
|
759
|
+
${a}`}catch(l){let c=ce(l instanceof Error?l.message:String(l));t.json?console.log(JSON.stringify({stdout:"",stderr:`Failed to load init script: ${c}`,exitCode:1})):console.error(`Failed to load init script: ${c}`),process.exit(1)}t.errexit&&(a=`set -e
|
|
760
|
+
${a}`);try{let l=await o.exec(a);t.json?console.log(JSON.stringify({stdout:l.stdout,stderr:l.stderr,exitCode:l.exitCode})):(l.stdout&&process.stdout.write(l.stdout),l.stderr&&process.stderr.write(l.stderr)),process.exit(l.exitCode)}catch(l){let c=ce(l instanceof Error?l.message:String(l));t.json?console.log(JSON.stringify({stdout:"",stderr:c,exitCode:1})):console.error(c),process.exit(1)}}gl().catch(e=>{console.error("Fatal error:",ce(e instanceof Error?e.message:String(e))),process.exit(1)});
|
package/dist/bin/shell/shell.js
CHANGED
|
File without changes
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Browser bundle safety tests
|
|
3
|
+
*
|
|
4
|
+
* These tests verify that the browser bundle:
|
|
5
|
+
* 1. Does not contain Node.js-only imports
|
|
6
|
+
* 2. Does not include browser-excluded commands like yq/xan/sqlite3
|
|
7
|
+
* 3. Shows helpful error messages for browser-excluded commands
|
|
8
|
+
*/
|
|
9
|
+
export {};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Tests for the generic `invokeTool` hook on `JavaScriptConfig`.
|
|
3
|
+
*
|
|
4
|
+
* Exercises the `tools` proxy in js-exec end-to-end by passing a hand-rolled
|
|
5
|
+
* invokeTool callback that maps a tool map → execution. This is what
|
|
6
|
+
* `@just-bash/executor` does internally for inline tools; the tests live in
|
|
7
|
+
* just-bash because they verify the platform hook, not the executor package.
|
|
8
|
+
*/
|
|
9
|
+
export {};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|