Socket
Socket
Sign inDemoInstall

shell-quote

Package Overview
Dependencies
0
Maintainers
4
Versions
27
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install
23Next

1.8.1

Diff

Changelog

Source

v1.8.1 - 2023-04-07

Fixed

  • [Fix] parse: preserve whitespace in comments #6
  • [Fix] properly support the escape option #5

Commits

  • [Refactor] parse: hoist getVar to module level b42ac73
  • [Refactor] hoist some vars to module level 8f0c5c3
  • [Refactor] parse: use slice over substr, cache some values fcb2e1a
  • [Refactor] parse: a bit of cleanup 6780ec5
  • [Refactor] parse: tweak the regex to not match nothing 227d474
  • [Tests] increase coverage a66de94
  • [Refactor] parse: avoid shadowing a function arg 1d58679
ljharb
published 1.8.0 •

Changelog

Source

v1.8.0 - 2023-01-30

Commits

  • [New] extract parse and quote to their own deep imports 553fdfc
  • [Tests] add nyc coverage fd7ddcd
  • [New] Add support for here strings (<<<) 9802fb3
  • [New] parse: Add syntax support for duplicating input file descriptors 216b198
  • [Dev Deps] update @ljharb/eslint-config, aud, tape 85f8e31
  • [Tests] add evalmd c5549fc
  • [actions] update checkout action 62e9b49
ljharb
published 1.7.4 •

Changelog

Source

v1.7.4 - 2022-10-12

Merged

  • Add node_modules to .gitignore #48

Commits

  • [eslint] fix indentation and whitespace aaa9d1f
  • [eslint] additional cleanup 397cb62
  • [meta] add auto-changelog 497fca5
  • [actions] add reusable workflows 4763c36
  • [eslint] add eslint 6ee1437
  • [readme] rename, add badges 7eb5134
  • [meta] update URLs 67381b6
  • [meta] create FUNDING.yml; add funding in package.json 8641572
  • [meta] use npmignore to autogenerate an npmignore file 2e2007a
  • Only apps should have lockfiles f97411e
  • [Dev Deps] update tape 051f608
  • [meta] add safe-publish-latest 18cadf9
  • [Tests] add aud in posttest dc1cc12
<!-- auto-changelog-above -->
substack
published 1.7.3 •

Changelog

Source

v1.7.3 - 2021-10-20

  • Fix a security issue where the regex for windows drive letters allowed some shell meta-characters to escape the quoting rules. (CVE-2021-42740)
goto-bus-stop
published 1.7.2 •

Changelog

Source

v1.7.2 - 2019-08-30

  • Fix a regression introduced in 1.6.3. This reverts the Windows path quoting fix. (144e1c2)
goto-bus-stop
published 1.7.1 •

Changelog

Source

v1.7.1 - 2019-08-13

  • Fix $ being removed when not part of an environment variable name. (@Adman in #32)
goto-bus-stop
published 1.7.0 •

Changelog

Source

v1.7.0 - 2019-08-13

  • Add support for parsing >> and >& redirection operators. (@forivall in #16)
  • Add support for parsing <( process substitution operator. (@cuonglm in #15)
goto-bus-stop
published 1.6.3 •

Changelog

Source

v1.6.3 - 2019-08-13

  • Fix Windows path quoting problems. (@dy in #34)
goto-bus-stop
published 1.6.2 •

Changelog

Source

v1.6.2 - 2019-08-13

Merged

  • Use native JSON and Array methods #21

Commits

substack
published 1.6.1 •

Changelog

Source

1.6.1 - 2016-06-17

Commits

  • Fix some more escaping for .quote() ace52f4
  • Fix escaping for greater than and less than 70e9eb2
23Next
SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc