Back to Explore

evanw/node-source-map-support

GitHub
2 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

  • Maintenance status: Based on the evidence provided, the project looks quiet rather than actively maintained, with the last upstream push on 2024-08-03 and the most recent listed package update tagged in 2021-11-19.
  • Apparent update cadence: Updates are infrequent, with multiple changes in 2019-2021 (roughly months apart early on), followed by a multi-year gap in the provided update history.

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.