Packages

shell-quote

1.12.0 · 2 Oct 2026MIT96.3M / weekRepositorynpmAtom feed

Your version

1.11.0

29 Sep 2026Where it was published

1.12.0 is the newest release of 1.x.

In short

1 new2 fixed11 changed

Security

Fixes 1 advisory that affected 1.10.0

Release note

Fixed

  • quote: drop a replace that can never match in the single-quote branch #15

  • parse: support bash ANSI-C quoting ($'...') #32

Commits

  • quote: reject line terminators in tokens after a comment 6002b2e

  • parse: preserve text after special shell parameters 81b08a5

  • parse: an escaped backslash does not escape the character after it d708019

  • quote: preserve ! in arguments that also contain ' ad39927

  • parse: treat $_name as a variable name, not $_ followed by text 28f88cd

  • quote: preserve empty glob patterns 35c9b97

  • quote: escape ~ in glob patterns to prevent shell tilde-expansion 239d49c

  • Update @ljharb/eslint-config, auto-changelog, eslint, evalmd b1e406e

  • Npmignore some files ebfc308

  • Add permissions 3429b0d

  • Set least-privilege cache-mode 36f2394

  • Update eslint 6de9a41