callsites is an npm package that returns callsite objects using the V8 stack trace API. It helps developers inspect where a function was called (for example, file name, line and column, and function or method names), and it remains useful in browser environments since Node.js now provides a built-in util.getCallSites() function.
Project status
- Maintenance status: Evidence suggests ongoing but slow maintenance, the last published change shown is v4.2.0 (2024-06-29), and there was an upstream push on 2025-09-09, but no additional published update is listed after v4.2.0.
- Update cadence: Updates are irregular, with v4.0.0 in 2021, v4.1.0 in 2023, and v4.2.0 in 2024, indicating a low-frequency cadence rather than continuous iteration.
AI summary generated
Recent updates
v4.2.0
v4.2.0 extends the public TypeScript surface for callsites by adding async-stack-trace related methods to the CallSite interface. The release notes mention only the new async type methods, and the diff shows those additions plus a few package/CI metadata updates not mentioned in the notes.
Featuresv4.1.0
Release v4.1.0 claims to add support for Bun. The actual code change modifies how callsites are extracted from V8/Bun stack traces, including a more defensive implementation around Error.prepareStackTrace.
Featuresv4.0.0
v4.0.0 makes the package pure ESM and raises the minimum supported Node.js version to 12.20. The runtime code is small, but the published module format and TypeScript declarations were significantly reworked to match ESM exports.
Breakingv3.1.0
Release v3.1.0 primarily changes the TypeScript declaration file to be more CommonJS-friendly. The code diff shows a substantial rework of the exported types and module export style in index.d.ts, while runtime code changes in index.js are effectively unchanged.
v3.0.0
v3.0.0 introduces a breaking requirement for a newer Node.js runtime. It also adds TypeScript type definitions to improve developer experience for TypeScript users.
BreakingFeatures