Releases: ericcornelissen/shescape
Releases · ericcornelissen/shescape
Release v2.1.1
- Add support for Node.js v22. ([#1536])
- Add a
Shescape
stub with failing methods to the testing module. ([#1530])
Release v2.1.0
- Add
shescape/stateless
module with v1-like API. ([#1130])
- Re-export
Shescape
as Stubscape
from shescape/testing
. ([#1308])
Release v2.0.2
- Harden against polluted prototypes. ([#1280], [#1285])
Release v2.0.1
- Add a failing
Shescape
stub to the testing module. ([#1149])
- Improve alignment between
Shescape
and Stubscape
. ([#1149])
Release v2.0.0
- BREAKING CHANGE: Change main API from an object to a class. ([#963])
- BREAKING CHANGE: Drop support for Node.js
^10.13.0
, ^12
, 14.0.0
through
14.18.0
, and 16.0.0
through 16.13.0
. ([#963])
- BREAKING CHANGE: Drop the
interpolation
option. ([#963])
- BREAKING CHANGE: Enable the
flagProtection
option by default. ([#963])
- BREAKING CHANGE: Reject non-array inputs to
escapeAll
& quoteAll
. ([#963])
- BREAKING CHANGE: Reject unresolved shells. ([#963])
- BREAKING CHANGE: Reject unsupported shells. ([#963])
- Bump dependency
which
from v2 to v3. ([#963])
- Don't resolve default shell when
shell
option is falsy. ([#963])
Release v1.7.4
- Fix potential silent executable lookup failure for Windows. ([#1142])
- Support more valid
shell
values for Windows. ([#1137])
Release v1.7.3
- Change escaping of carriage return characters for CMD and Csh. ([#1094])
- Fix TypeScript type declarations for
"shescape/testing"
. ([#1083])
- Fix TypeScript type exports for CommonJS use. ([#1082])
Release v1.7.2
- Fix incorrect escaping of
"
when escaping for CMD. ([#1022])
- Fix incorrect escaping of
"
when escaping for PowerShell. ([#1023])
- Fix incorrect escaping of
"
when quoting for PowerShell. ([#1023])
- Fix incorrect escaping of
%
when quoting for CMD. ([#986], [#998])
Release v1.7.1
- Add
%
escaping for CMD. ([#982])
- Correct documented behavior of quoting functions. ([#969])
- Expand injection strings to cover environment variables. ([#982])
- Fix incorrect escaping of
$
and backticks for PowerShell. ([#984])
- Improve quoting functionality for PowerShell. ([#983])
Release v1.7.0
- Add flag protection option. ([#908])
- Add
@since
information to API options. ([#909])
- Add
options
to the API documentation. ([#936])