unstale

npm / shell-quote

shell-quote

What changed in shell-quote 1, from its official release notes, upgrade guides and advisories. Also covers @types/shell-quote. Sources checked 2026-10-18.

1 breaking8 new APIs and options2 behavior and defaults9 fixes and other

See which of these apply to your code, ranked, in your agent:

npx @unstale/cli init

@unstale/cli on npm

shell-quote 120 changes

Breaking changes 1

  • Rejects line terminators in tokens after a comment.

    1.11.0release notes

New APIs and options 8

  • parse now supports here-documents.

    1.12.0release notes

  • parse now supports the case test-next terminator.

    1.12.0release notes

  • parse now supports the case fall-through terminator.

    1.12.0release notes

  • parse now supports redirecting output despite noclobber.

    1.12.0release notes

  • parse now supports opening a file for reading and writing.

    1.12.0release notes

  • parse now supports redirecting stdout and stderr.

    1.12.0release notes

  • parse now supports appending stdout and stderr.

    1.12.0release notes

  • Adds the opt-in splitUnquoted option for shell field-splitting of unquoted expansions.

    1.10.0release notes

Behavior and default changes 2

  • parse now supports tab-stripping here-documents.

    1.12.0release notes

  • parse now supports output process substitution.

    1.12.0release notes

Fixes and other changes 9

  • Supports parsing bash ANSI-C quoting ($'...').

    1.11.0release notes

  • Preserves text after special shell parameters.

    1.11.0release notes

  • An escaped backslash no longer escapes the character after it.

    1.11.0release notes

  • Treats $_name as a variable name rather than $_ followed by text.

    1.11.0release notes

  • Preserves ! in arguments that also contain a single quote.

    1.11.0release notes

  • Preserves empty glob patterns.

    1.11.0release notes

  • Escapes ~ in glob patterns to prevent shell tilde expansion.

    1.11.0release notes

  • Matches nested ${...} braces so nested parameter expansion is consumed as one substitution.

    1.10.0release notes

  • A backslash inside single quotes no longer escapes the closing quote.

    1.10.0release notes