Back to Explore

moxystudio/node-cross-spawn

GitHub
1 watchersOpen source

Last release: 11/18/2024

cross-spawn is a cross-platform drop-in replacement for Node.js spawn and spawnSync, intended to avoid Windows issues like PATHEXT handling, shebang support, commands with spaces, and problems with posix relative paths. It provides the same usage shape as Node, using spawn and spawn.sync, to help run child processes more consistently across platforms.

Project status

  • The repository appears actively maintained, with multiple tagged updates in November 2024 (v7.0.4, v7.0.5, v7.0.6) and an upstream push as recently as 2024-11-18.
  • Apparent update cadence is relatively steady in the short term, with v7.0.4 and v7.0.5 on 2024-11-07 (a few hours apart), then v7.0.6 about 11 days later (2024-11-18).

AI summary generated Today

AI-generated from public sources. May be inaccurate. Report

Recent updates

  • v6.0.6

    11/18/2024

    The publisher-provided release notes for v6.0.6 are missing (no content was supplied). The code diff, however, shows fixes focused on preventing regexp backtracking hangs in argument escaping and making custom cwd handling safe in worker thread environments.

  • v7.0.6

    11/18/2024

    This release (v7.0.6) contains no changes to the cross-spawn runtime implementation, only metadata and build/release-related files. The diff shows a version bump, an update to the documentation CI badge URL, and a large regeneration of package-lock.json.

  • v7.0.5

    11/7/2024

    v7.0.5 primarily contains a bug fix to the argument escaping logic used by cross-spawn. Alongside the runtime change, the repository’s CI configuration was updated from Travis to GitHub Actions and the AppVeyor Node test matrix was modernized.

  • v7.0.4

    11/7/2024

    Release v7.0.4 was published on 2024-11-07, but no release notes were provided by the publisher. Because the release notes content is missing, this summary cannot identify specific new features, bug fixes, breaking changes, or security updates from the provided data.

  • v7.0.3

    5/25/2020

    v7.0.3 contains a small bug fix related to resolving commands when a caller supplies a custom environment. The code now determines the correct PATH environment variable key based on the provided env object (important on Windows), and adds a corresponding test fixture and test case.

  • v7.0.2

    4/4/2020

    v7.0.2 makes a targeted runtime fix related to worker threads and custom `cwd` handling. The diff also includes maintenance changes to the repo README and release automation scripts, plus a large lockfile churn.

  • v7.0.1

    10/7/2019

    This is a v7.0.1 patch release. There were no publisher release notes provided in the release metadata, but the code changes indicate a fix for environments where process.chdir is unavailable (for example, worker threads), plus dependency upgrades.

  • v7.0.0

    9/3/2019

    No GitHub release notes were provided for v7.0.0. The code diff shows this release is primarily a Node.js support and tooling upgrade, along with internal changes to how the library handles the `options.shell` option.

  • v6.0.5

    3/2/2018

    Release v6.0.5 contains a small code change focused on avoiding deprecated Node.js Buffer constructor usage when reading shebangs. It also bumps several development dependencies (and associated transitive packages) via package.json and package-lock.json.

  • v6.0.4

    1/31/2018

    Version v6.0.4 was published on 2018-01-31, but the publisher did not provide any release notes. No information about new features, fixes, breaking changes, or migration steps is available from the release text provided.