New:Socket for Asana Is Now Available.Learn more
Get Started

@sentry/server-runtime-injection

Package Overview
Dependencies
Maintainers
1
Versions
2
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@sentry/server-runtime-injection

Runtime diagnostics-channel injection hooks for the Sentry JavaScript SDKs. Must be kept external (not bundled) when bundling a server.

latest
Source
npmnpm
Version
11.0.0-beta.0
Version published
Weekly downloads
0
Maintainers
1
Weekly downloads
 
Created
Source

Sentry

Sentry Server Runtime Injection

npm version

This is an internal package for the Sentry JavaScript SDKs. It is not part of the public API contract and may change at any time.

It contains the runtime diagnostics-channel injection used by the server SDKs — the module hooks that transform instrumented dependencies as they load at runtime (register, hook, import-hook), together with the vendored code transformer they rely on.

Important: this package must be kept external (not bundled) when bundling a server. Its runtime hook loads a transformer that self-references its own on-disk node_modules location; bundling it strips the transformer and breaks that self-reference. When you bundle your server, either keep @sentry/server-runtime-injection external, or rely on the build-time instrumentation from the Sentry bundler plugins instead.

FAQs

Package last updated on 02 Sep 2026

Related posts