Back to Explore

evanw/node-source-map-support

GitHub
1 watchersOpen source

Last release:

Adds source map support for Node.js stack traces, replacing compiled file paths and line numbers with the original source paths and line numbers. Useful when running code transpiled or compiled from other languages, and it can be enabled via `node -r source-map-support/register` or `require('source-map-support').install()`.

Project status

  • The repository appears largely in maintenance mode, with the most recent upstream push on 2024-08-03, but no documented updates beyond v0.5.21 dated 2021-11-19 in the provided release history.
  • Update cadence looks sporadic, with a gap from v0.5.19 (2020-04-24) to v0.5.20 (2021-09-09), then another short gap to v0.5.21 (2021-11-19), and then a long quiet period afterward.

AI summary generated

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

Recent updates

  • v0.5.21

    No release notes were provided for v0.5.21. The code diff shows a version bump in package metadata and the addition of a new helper file for installing a require hook.

  • v0.5.20

    Release v0.5.20 (no release notes provided). The code changes focus on hardening runtime behavior around missing or partially-mocked Node globals (process, process.stderr) and updating the build pipeline for the browserified/minified output.

  • v0.5.19

    Release v0.5.19 was published on 2020-04-24, but the publisher did not provide any release notes. As a result, there is no documented information here about new features, bug fixes, breaking changes, security updates, performance improvements, or migration steps.

  • v0.5.16

    Release v0.5.16 contains a small bug fix to prevent a stack-trace formatting crash related to accessing a missing nextPosition value. The package version is bumped from 0.5.15 to 0.5.16, with no other visible functional changes.

  • v0.5.14

    This release (v0.5.14) includes a targeted bug fix related to extracting a function name based on the next frame position. It should improve correctness of stack/frame attribution in scenarios that rely on next-frame metadata.

  • v0.5.15

    v0.5.15 updates source-map-support to handle a Node.js behavior change where the module header is removed in newer Node versions. This release primarily adjusts how stack trace column offsets are computed so source-mapped lines remain aligned.