Skip to content
Permalink

Comparing changes

Choose two branches to see what’s changed or to start a new pull request. If you need to, you can also or learn more about diff comparisons.

Open a pull request

Create a new pull request by comparing changes across two branches. If you need to, you can also . Learn more about diff comparisons here.
base repository: ljharb/shell-quote
Failed to load repositories. Confirm that selected base ref is valid, then try again.
Loading
base: v1.8.4
Choose a base ref
...
head repository: ljharb/shell-quote
Failed to load repositories. Confirm that selected head ref is valid, then try again.
Loading
compare: v1.9.0
Choose a head ref
  • 11 commits
  • 17 files changed
  • 1 contributor

Commits on Jun 24, 2026

  1. Configuration menu
    Copy the full SHA
    7184b44 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    9ba368a View commit details
    Browse the repository at this point in the history
  3. [Dev Deps] update eslint

    ljharb committed Jun 24, 2026
    Configuration menu
    Copy the full SHA
    9aa9e8f View commit details
    Browse the repository at this point in the history
  4. [New] add types

    ljharb committed Jun 24, 2026
    Configuration menu
    Copy the full SHA
    dca6e21 View commit details
    Browse the repository at this point in the history
  5. [actions] update workflows

    ljharb committed Jun 24, 2026
    Configuration menu
    Copy the full SHA
    75e8497 View commit details
    Browse the repository at this point in the history
  6. Configuration menu
    Copy the full SHA
    7a76c1a View commit details
    Browse the repository at this point in the history
  7. Configuration menu
    Copy the full SHA
    abe0163 View commit details
    Browse the repository at this point in the history
  8. [actions] Windows + node 4/6/7: pin eslint to 9 before install, since…

    … npm 2/3 cannot stage eslint 10`@types/esrecurse`
    ljharb committed Jun 24, 2026
    Configuration menu
    Copy the full SHA
    3fb739d View commit details
    Browse the repository at this point in the history
  9. [actions] Windows + node 5/7: install deps with a modern node

    node 7's bundled npm 4.2.0 can neither self-upgrade
    (`Cannot read property 'path' of null`)
    nor TLS-handshake with the current registry (EPROTO),
    and node 5 segfaults in the `prepublish` lifecycle.
    Since the deps are pure JS, install them with a modern node + npm
    (skipping lifecycle scripts),
    then switch to the target node only to run the tests.
    ljharb committed Jun 24, 2026
    Configuration menu
    Copy the full SHA
    b4bafa2 View commit details
    Browse the repository at this point in the history
  10. [Fix] parse: finalize tokens in linear time (GHSA-395f-4hp3-45gv)

    The two finalizing reduces used `prev.concat(arg)` as the accumulator,
    reallocating and copying the whole array each iteration,
    so `parse()` ran in O(n²) in the token count
    — a small (~128 KB) input could block the event loop for tens of seconds (CWE-407 DoS).
    Push into the accumulator instead,
    flattening one-level array entries with `forEach`
    (not `.apply`, which can overflow the argument limit on large inputs)
    Output is byte-identical;
    `engines >= 0.4` is preserved (no `.flat()`).
    ljharb committed Jun 24, 2026
    Configuration menu
    Copy the full SHA
    7ff5488 View commit details
    Browse the repository at this point in the history

Commits on Jun 25, 2026

  1. v1.9.0

    ljharb committed Jun 25, 2026
    Configuration menu
    Copy the full SHA
    db09fc7 View commit details
    Browse the repository at this point in the history
Loading