just-bash-nx 3.0.1 → 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/default-init.sh +225 -0
- package/dist/bin/just-bash.js +227 -221
- package/dist/bin/shell/shell.js +2 -2
- package/dist/browser.bundle.test.d.ts +9 -0
- package/dist/bundle/browser.js +2 -2
- package/dist/bundle/index.cjs +2 -2
- package/dist/bundle/index.js +2 -2
- 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 +2 -2
|
@@ -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,10 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Tests for yq command using fixture files
|
|
3
|
+
*
|
|
4
|
+
* Tests various input formats (YAML, JSON, XML, INI, CSV) and
|
|
5
|
+
* format conversion capabilities.
|
|
6
|
+
*
|
|
7
|
+
* Each test run writes companion .parsed.json files showing the internal
|
|
8
|
+
* representation of each format after parsing.
|
|
9
|
+
*/
|
|
10
|
+
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,11 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Format parser security tests for yq command.
|
|
3
|
+
*
|
|
4
|
+
* Tests that all format parsers (YAML, JSON, XML, INI, CSV, TOML) handle
|
|
5
|
+
* dangerous constructs safely:
|
|
6
|
+
* - Billion-laughs / entity expansion
|
|
7
|
+
* - Code execution tags (!!js/function, !!python/object)
|
|
8
|
+
* - Prototype pollution via __proto__/constructor keys
|
|
9
|
+
* - XML entity injection (XXE)
|
|
10
|
+
*/
|
|
11
|
+
export {};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Tests for default-deny symlink behavior (allowSymlinks: false).
|
|
3
|
+
*
|
|
4
|
+
* Verifies that both OverlayFs and ReadWriteFs correctly block symlink
|
|
5
|
+
* creation and traversal by default, while still allowing lstat/readlink
|
|
6
|
+
* on existing symlinks and normal (non-symlink) operations.
|
|
7
|
+
*/
|
|
8
|
+
export {};
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Cross-filesystem security tests.
|
|
3
|
+
*
|
|
4
|
+
* Every attack vector in this file is run against BOTH OverlayFs and
|
|
5
|
+
* ReadWriteFs. This ensures the shared real-fs-utils code provides
|
|
6
|
+
* consistent protection regardless of which filesystem is in use.
|
|
7
|
+
*
|
|
8
|
+
* Where the two FSes differ in surface semantics (e.g. OverlayFs is
|
|
9
|
+
* copy-on-write, ReadWriteFs hits real disk), the test adapts, but the
|
|
10
|
+
* security invariant is the same.
|
|
11
|
+
*/
|
|
12
|
+
export {};
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Security tests for InMemoryFs symlink handling
|
|
3
|
+
*
|
|
4
|
+
* InMemoryFs is inherently safe from real-filesystem escape attacks,
|
|
5
|
+
* but must handle symlink loops, path traversal via symlinks, and
|
|
6
|
+
* ensure consistent behavior across all operations.
|
|
7
|
+
*/
|
|
8
|
+
export {};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Security tests for ReadWriteFs path traversal protection
|
|
3
|
+
*
|
|
4
|
+
* These tests attempt to escape the root directory using various
|
|
5
|
+
* attack techniques. All should fail safely.
|
|
6
|
+
*
|
|
7
|
+
* CRITICAL: Since ReadWriteFs writes directly to the real filesystem,
|
|
8
|
+
* path traversal vulnerabilities could allow attackers to read/write
|
|
9
|
+
* arbitrary files on the system.
|
|
10
|
+
*/
|
|
11
|
+
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,8 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* DNS rebinding integration tests with REAL DNS resolution (no mocks).
|
|
3
|
+
*
|
|
4
|
+
* These tests verify that the DNS resolution path in checkAllowed()
|
|
5
|
+
* actually works end-to-end with real dns.lookup calls.
|
|
6
|
+
* Only fetch is mocked (to avoid real HTTP requests).
|
|
7
|
+
*/
|
|
8
|
+
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 {};
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "just-bash-nx",
|
|
3
|
-
"version": "3.0.
|
|
3
|
+
"version": "3.0.3",
|
|
4
4
|
"description": "A simulated bash environment with virtual filesystem",
|
|
5
5
|
"repository": {
|
|
6
6
|
"type": "git",
|
|
@@ -101,7 +101,7 @@
|
|
|
101
101
|
"build:lib": "esbuild dist/index.js --bundle --splitting --platform=node --format=esm --minify --outdir=dist/bundle --chunk-names=chunks/[name]-[hash] --external:diff --external:minimatch --external:sprintf-js --external:turndown --external:sql.js --external:quickjs-emscripten --external:@mongodb-js/zstd --external:node-liblzma --external:seek-bzip",
|
|
102
102
|
"build:lib:cjs": "esbuild dist/index.js --bundle --platform=node --format=cjs --minify --outfile=dist/bundle/index.cjs --external:diff --external:minimatch --external:sprintf-js --external:turndown --external:sql.js --external:quickjs-emscripten --external:@mongodb-js/zstd --external:node-liblzma --external:seek-bzip",
|
|
103
103
|
"build:browser": "esbuild dist/browser.js --bundle --platform=browser --format=esm --minify --outfile=dist/bundle/browser.js --external:diff --external:minimatch --external:sprintf-js --external:turndown --external:node:zlib --external:@mongodb-js/zstd --external:node-liblzma --external:seek-bzip --define:__BROWSER__=true --alias:node:dns=./src/shims/browser-unsupported.js",
|
|
104
|
-
"build:cli": "esbuild dist/cli/just-bash.js --bundle --splitting --platform=node --format=esm --minify --outdir=dist/bin --entry-names=[name] --chunk-names=chunks/[name]-[hash] --banner:js='#!/usr/bin/env node' --external:sql.js --external:quickjs-emscripten --external:@mongodb-js/zstd --external:node-liblzma --external:seek-bzip",
|
|
104
|
+
"build:cli": "mkdir -p dist/cli dist/bin && cp src/cli/default-init.sh dist/cli/default-init.sh && cp src/cli/default-init.sh dist/bin/default-init.sh && esbuild dist/cli/just-bash.js --bundle --splitting --platform=node --format=esm --minify --outdir=dist/bin --entry-names=[name] --chunk-names=chunks/[name]-[hash] --banner:js='#!/usr/bin/env node' --external:sql.js --external:quickjs-emscripten --external:@mongodb-js/zstd --external:node-liblzma --external:seek-bzip",
|
|
105
105
|
"build:shell": "esbuild dist/cli/shell.js --bundle --splitting --platform=node --format=esm --minify --outdir=dist/bin/shell --entry-names=[name] --chunk-names=chunks/[name]-[hash] --banner:js='#!/usr/bin/env node' --external:sql.js --external:quickjs-emscripten --external:@mongodb-js/zstd --external:node-liblzma --external:seek-bzip",
|
|
106
106
|
"validate": "pnpm lint && pnpm knip && pnpm typecheck && pnpm build && pnpm check:worker-sync && pnpm test:run && pnpm test:wasm && pnpm test:dist",
|
|
107
107
|
"typecheck": "tsc --noEmit",
|