Packages

@appsignal/nodejs

3.9.5 · 11 Nov 2026MIT24.2k / weekRepositoryHomepagenpmAtom feed

Your version

2.3.2

15 Feb 2022Where it was published

2.4.2 is the newest release of 2.x.

npm marks 2.3.2 as deprecated: Appsignal for Node.js 2.x is deprecated. Upgrade to @appsignal/nodejs@3

In short

3 breaking2 fixed3 changed

  • Breaking

    Patch - Remove the private function Span.toJSON. This wasn't previously marked as private, but it was.

  • Breaking

    Patch - Do not ship the extension install script test files in the published package. Reduces the package size a tiny bit.

  • Breaking

    Patch - Remove the unused experimental module.

Release note

Changed

  • Patch - Update the expected Span type in ScopeManager to Span from the @appsignal/nodejs package, rather than the NodeSpan from the @appsignal/types package. The type definition is the same, but now all Span types used by the Node.js integration are defined in the @appsigna/nodejs package.

  • Patch - Improve memory usage when extension is not initialized. It will no longer initialize a new empty Tracer object when the extension is not loaded or AppSignal is not active.

  • Patch - Update @appsignal/types dependency to 3.0.0.

Removed

  • Breaking

    Patch - Remove the private function Span.toJSON. This wasn't previously marked as private, but it was.

  • Breaking

    Patch - Do not ship the extension install script test files in the published package. Reduces the package size a tiny bit.

  • Breaking

    Patch - Remove the unused experimental module.

Fixed

  • Patch - Show errors in loading the extension when the @appsignal/nodejs module is required.

  • Patch - The minutely probes are now stopped when Appsignal.stop() is called. This fixes an issue where Jest tests would warn about asynchronous operations that remain pending after the tests.

A whole project to check? Paste its package.json in the dependency check: every deprecated, outdated or vulnerable dependency, with what to upgrade to. Free, no account.