get-caller-file is a Node.js utility that lets a function determine which file invoked it by inspecting the v8 stack trace. It is useful for debugging or logging call sites, and it relies on Node/V8 specific APIs, so it may not work in other runtimes.
Project status
- The source appears not to be actively maintained as of today (2026-06-09). The most recent published updates in the provided history are from 2019-03-09, and there is no evidence here of recent feature, bugfix, or dependency updates beyond that.
- The apparent update cadence is very irregular, with a burst of updates around 2018-07 to 2019-03, then a long gap with no further update entries provided (even though an upstream push is noted for 2023-09-27).
AI summary generated
Recent updates
v2.0.5
Release v2.0.5 contains no described changes in the release notes (none were provided). The code diff indicates this release only touched packaging and dependency metadata (package.json and yarn.lock), with no application/runtime code changes shown.
v2.0.4
Release v2.0.4 does not include any documented release notes content. The code diff shows only a package version bump and the removal of a TypeScript declaration file, with no changes to runtime logic.
v2.0.3
Release v2.0.3 was published on 2019-03-09, but no release notes were provided by the publisher. As a result, there is no documented information available to determine changes, fixes, or upgrade impacts.
v2.0.2
v2.0.2 ships with no provided release notes. The code diff shows a migration toward a TypeScript-based build (new tsconfig, prepare script, and generated type declarations) plus some small runtime hardening in getCallerFile.
BreakingFeaturesv2.0.1
v2.0.1 includes a version bump and documentation updates for get-caller-file. Based on the provided diff, there are no functional code changes, only README content expansion and the package.json version update.
v2.0.0
Release v2.0.0 modernizes the get-caller-file package for newer Node.js versions and adjusts the core getCallerFile implementation and its tests. The code change adds runtime validation around the position argument and changes how falsy values (like 0) are handled. CI configuration and the dependency lockfile were also updated to newer toolchain and library versions.
Breakingv1.0.3
Release v1.0.3 includes no documented release notes (none provided). The actual diff only touches repository metadata (LICENSE, README badge URL), package versioning, and test/dev dependencies (chai and mocha), plus adds a yarn.lock file.
v1.0.2
Release v1.0.2 was published on 2016-08-09, but no release notes or change log were provided by the publisher. As a result, there is no documented information here about new features, fixes, breaking changes, or dependency updates.