Back to Explore

tapjs/foreground-child

GitHub
1 watchersOpen source

Last release:

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 source appears actively developed historically, with multiple v4.0.x updates published in a tight window on 2026-02-06, and an additional upstream push recorded on 2026-05-06, but there is a noticeable gap between the last documented v4.0.3 update (2026-02-06) and today (2026-06-09).
  • Update cadence looks bursty rather than steady, with three v4.0.1 to v4.0.3 updates on the same day in February 2026, followed by no further update summaries shown after that point.

AI summary generated

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

Recent updates

  • v4.0.3

    Release 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

    Release 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

    Release 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

    v4.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

    Release 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

    No 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

    Release 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

    v3.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.

    BreakingFeatures
  • v3.1.1

    No 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.

    Features
  • v3.1.0

    Release 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.