Back to Explore

stefanpenner/get-caller-file

GitHub
1 watchersOpen source

Last release: 3/9/2019

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 shows evidence of repository activity (last upstream push on 2023-09-27), but the most recent published version updates shown here are from 2019, so it does not look like an actively fast-moving project based on this evidence alone.
  • Apparent update cadence appears very infrequent, with the shown update activity clustered on 2019-03-09 (v2.0.3 to v2.0.5), and no additional version updates are visible in the provided recent summaries after that.

AI summary generated Today

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

Recent updates

  • v2.0.5

    3/9/2019

    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

    3/9/2019

    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

    3/9/2019

    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

    3/9/2019

    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.

    BreakingFeatures
  • v2.0.1

    12/11/2018

    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

    7/11/2018

    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.

    Breaking
  • v1.0.3

    7/11/2018

    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

    8/9/2016

    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.