Skip to content

Releases: ericcornelissen/shescape

Release v1.5.8

15 Jul 15:16
8b6a0ee
Compare
Choose a tag to compare
  • Fix escaping of line feed characters for Bash, Dash, and Zsh on Unix systems. (#332)
  • Fix escaping of line feed and carriage return characters for PowerShell and CMD on Windows systems. (#332)
  • Fix escaping of ~ and { for Bash on Unix systems with input strings containing line terminating characters. (#332)

Release v1.5.7

06 Jul 09:13
10e1d0f
Compare
Choose a tag to compare
  • Fix escaping of characters after whitespace with {interpolation:true} for Bash, Dash, and Zsh on Unix systems. (#324)
  • Fix escaping of characters after whitespace with {interpolation:true} for Powershell on Windows systems. (#322)

Release v1.5.6

02 Jul 09:18
ccbb6c9
Compare
Choose a tag to compare
  • Fix unnecessary escaping of quotes with the child_process functions fork, spawn, and execFile. (#310)
  • Improve performance of escaping for Dash. (#272)

Release v1.5.5

05 Jun 20:36
6bd574a
Compare
Choose a tag to compare
  • Fix The "path" argument must be of type string error. (#277)

Release v1.5.4

07 Mar 22:07
e125f0a
Compare
Choose a tag to compare
  • Fix Cannot find module 'path/win32' error on Node.js <16.0.0. (#199)
  • Improve detection of the Windows operating system. (#192)

Release v1.5.3

06 Mar 11:19
698f5b6
Compare
Choose a tag to compare
  • Fix documented type of interpolation option. (#190)

This release also includes refactoring of the entire code base, no functional changes should've occurred as a result of that. If anything did change, please report it as a bug.

  • A Cannot find module 'path/win32' error was reported in #197 and has been fixed in v1.5.4.
  • A The "path" argument must be of type string error was reported in #276 and has been fixed in v1.5.5.

Release v1.5.2

23 Feb 09:24
698c61b
Compare
Choose a tag to compare
  • Add escaping of brace expansion for non-Zsh shells when interpolation is enabled. (#178)
  • Explicitly import process. (#173)

Release v1.5.1

20 Feb 16:52
542532a
Compare
Choose a tag to compare
  • Fix default shell for Windows when %COMSPEC% is missing.
  • Fix escaping of ~ for certain input strings with escape and escapeAll when interpolation is set to true in the options.
  • Improve error messaging for certain non-string arguments.

Release v1.5.0

15 Feb 08:22
4f58766
Compare
Choose a tag to compare
  • Follow symbolic links when determining the shell to escape for.

Release v1.4.0

08 Feb 22:47
8e0d66f
Compare
Choose a tag to compare
  • Add escaping for Unix interpolation characters to escape/escapeAll.
  • Add escaping for Zsh wildcard characters to escape/escapeAll.
  • Update TypeScript type definitions.
  • Update type information in the documentation.