This module lets you run a child process as the foreground process, wiring its stdio to the parent and exiting the parent when the child exits. It is useful for wrapping command execution in Node for tasks like test coverage, or when you need one program to run another as the effective “main” process.
Project status
- The repository appears to be actively maintained, with multiple
v4.0.xupdates published on 2026-02-06 and a last upstream push on 2026-05-06. - The apparent update cadence is relatively clustered, with three new updates (v4.0.1 to v4.0.3) occurring within minutes on 2026-02-06, and then no further tagged updates shown between 2026-02-06 and the later upstream push on 2026-05-06.
AI summary generated Today
Recent updates
v4.0.3
4 months agoRelease v4.0.3 changes the watchdog shutdown behavior in src/watchdog.ts and bumps the package version to 4.0.3. No release notes were provided, so documented changes cannot be confirmed.
v4.0.2
4 months agoRelease v4.0.2 makes small changes to the watchdog process lifecycle management and bumps the package version from 4.0.1 to 4.0.2. The release notes section is empty, so the behavioral change in watchdog cleanup is not documented.
v4.0.1
4 months agoRelease v4.0.1 was published on 2026-02-06. The publisher did not provide any release notes, so the specific code changes, fixes, or upgrade impacts are not described.
v4.0.0
4 months agov4.0.0 has no publisher-provided release notes in the supplied data. The code diff shows a major version bump with a notable runtime behavior dependency change (removing cross-spawn), plus CI and project metadata modernization.
v3.3.1
2/24/2025Release v3.3.1 contains no publisher-provided release notes. The diff indicates primarily packaging and build-configuration changes (tsconfig overrides, exports metadata, and module entry), plus dependency version bumps including cross-spawn.
v3.3.0
8/7/2024No publisher release notes were provided for v3.3.0. The code and changelog updates show a small but API-relevant change around the cleanup callback used by foregroundChild, adding process metadata about the watchdog.
v3.2.1
6/14/2024Release v3.2.1 contains minimal code changes and appears to be primarily a TypeScript typing adjustment around the foregroundChild API. No release notes were provided, so all behavioral or type-level implications must be inferred from the diff.
v3.2.0
6/12/2024v3.2.0 introduces new public utilities, `watchdog` and `proxySignals`, and refactors the internal signal proxying into a dedicated module. It also updates build tooling and publishing configuration, including new subpath exports and a new compilation workflow.
BreakingFeaturesv3.1.1
4/18/2023No release notes were provided for v3.1.1 in the publisher release notes field. The code diff shows the library gained new argument forms to accept custom SpawnOptions, plus internal watchdog and normalization behavior changes.
Featuresv3.1.0
4/17/2023Release v3.1.0 was published on 2023-04-17, but no release notes or change details were provided by the publisher. As a result, there is no documented information about new features, bug fixes, breaking changes, security updates, or migration steps.