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 initshell-quote 120 changes
Breaking changes 1
Rejects line terminators in tokens after a comment.
New APIs and options 8
parse now supports here-documents.
parse now supports the case test-next terminator.
parse now supports the case fall-through terminator.
parse now supports redirecting output despite noclobber.
parse now supports opening a file for reading and writing.
parse now supports redirecting stdout and stderr.
parse now supports appending stdout and stderr.
Adds the opt-in splitUnquoted option for shell field-splitting of unquoted expansions.
Behavior and default changes 2
parse now supports tab-stripping here-documents.
parse now supports output process substitution.
Fixes and other changes 9
Supports parsing bash ANSI-C quoting ($'...').
Preserves text after special shell parameters.
An escaped backslash no longer escapes the character after it.
Treats $_name as a variable name rather than $_ followed by text.
Preserves ! in arguments that also contain a single quote.
Preserves empty glob patterns.
Escapes ~ in glob patterns to prevent shell tilde expansion.
Matches nested ${...} braces so nested parameter expansion is consumed as one substitution.
A backslash inside single quotes no longer escapes the closing quote.