{"name":"@sentry/server-runtime-injection","version":"11.14.0","author":{"name":"Sentry"},"license":"MIT","_id":"@sentry/server-runtime-injection@11.14.0","maintainers":[{"name":"sentry-bot","email":"accounts@sentry.io"}],"homepage":"https://github.com/getsentry/sentry-javascript/tree/master/packages/server-runtime-injection","bugs":{"url":"https://github.com/getsentry/sentry-javascript/issues"},"nx":{"targets":{"build:transpile":{"outputs":["{projectRoot}/build/esm","{projectRoot}/build/cjs","{projectRoot}/build/import-hook.mjs","{projectRoot}/build/THIRD-PARTY-LICENSES.txt"]}}},"dist":{"shasum":"dac9edfa978c5232afda7be4bf4807aa5833c89f","tarball":"http://registry-npm.ywwl.com/@sentry/server-runtime-injection/download/@sentry/server-runtime-injection-11.14.0.tgz","fileCount":97,"integrity":"sha512-oYNxjgEqHWsyuVk6lCcKlOH8NFbQ0kJfdfUqxVQpg9T0iaBcMEDPeDaZ9RRRhv7ybKV6KQbMMUhGhdIN9lyieQ==","signatures":[{"sig":"MEUCIQCYFdm0Qc5Ak+bpcl9JGeqwxm+THgnXBQ5Qu0nq9vPhIwIgUwL5HbrIq2fmR3C42ledWmXgH3KLhiJ5IcUji/9Z4YM=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"},{"sig":"MEUCIQDcu+laHgA+5dAgXL0t33IjYEPv+WbWOMium7qv+fCX1AIgQuRHJkEICvw81xaKP/MLZrc8F+enAb5qWqOC1mR3+eM=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":2890642,"size":569151,"noattachment":false,"key":"/@sentry/server-runtime-injection/-/@sentry/server-runtime-injection-11.14.0.tgz"},"main":"build/cjs/register.js","_from":"file:/tmp/craft-xLmehV/sentry-server-runtime-injection-11.14.0.tgz","types":"build/types/register.d.ts","module":"build/esm/register.js","engines":{"node":">=20.19.0 <22.0.0 || >=22.12.0 <23.0.0 || >=23.2.0"},"exports":{".":{"types":"./build/types/register.d.ts","import":"./build/esm/register.js","require":"./build/cjs/register.js"},"./hook":{"import":"./build/esm/hook.js"},"./register":{"types":"./build/types/register.d.ts","import":"./build/esm/register.js","require":"./build/cjs/register.js"},"./import-hook":{"import":"./build/import-hook.mjs"},"./package.json":"./package.json"},"scripts":{"lint":"oxlint . --type-aware","test":"vitest run","build":"pnpm run \"/^build:(transpile|types)$/\"","clean":"node ../../scripts/rm.mjs build coverage sentry-server-runtime-injection-*.tgz","lint:fix":"oxlint . --fix --type-aware","build:dev":"pnpm run build","test:unit":"vitest run","lint:types":"oxlint src --type-aware --type-check","test:watch":"vitest --watch","build:types":"tsc -p tsconfig.types.json","yalc:publish":"pnpm dlx yalc publish --push --sig","build:tarball":"pnpm pack","build:transpile":"rolldown -c rollup.npm.config.mjs","lint:es-compatibility":"node ../../scripts/es-check.mjs es2020"},"_npmUser":{"name":"sentry-bot","email":"accounts@sentry.io"},"_resolved":"/tmp/craft-xLmehV/sentry-server-runtime-injection-11.14.0.tgz","_integrity":"sha512-oYNxjgEqHWsyuVk6lCcKlOH8NFbQ0kJfdfUqxVQpg9T0iaBcMEDPeDaZ9RRRhv7ybKV6KQbMMUhGhdIN9lyieQ==","repository":{"url":"git://github.com/getsentry/sentry-javascript.git","type":"git"},"_npmVersion":"11.19.1","description":"Runtime diagnostics-channel injection hooks for the Sentry JavaScript SDKs. Must be kept external (not bundled) when bundling a server.","directories":{},"sideEffects":["**/import-hook.mjs"],"_nodeVersion":"24.22.1","dependencies":{"@sentry/core":"11.14.0","@sentry/server-utils":"11.14.0"},"publishConfig":{"access":"public"},"typesVersions":{"*":{"register":["build/types/register.d.ts"]}},"_hasShrinkwrap":false,"devDependencies":{"meriyah":"^6.1.4","@types/node":"^20.19.0","@vercel/nft":"^1.11.0","supports-color":"7.2.0","@apm-js-collab/tracing-hooks":"^0.14.0","@sentry-internal/rollup-utils":"11.14.0","@apm-js-collab/code-transformer":"^0.19.0"},"_npmOperationalInternal":{"tmp":"tmp/server-runtime-injection_11.14.0_1794938128248_0.5618902417477326","host":"s3://npm-registry-packages-npm-production"},"readme":"<p align=\"center\">\n  <a href=\"https://sentry.io/?utm_source=github&utm_medium=logo\" target=\"_blank\">\n    <picture>\n      <source srcset=\"https://sentry-brand.storage.googleapis.com/sentry-logo-white.png\" media=\"(prefers-color-scheme: dark)\" />\n      <source srcset=\"https://sentry-brand.storage.googleapis.com/sentry-wordmark-dark-280x84.png\" media=\"(prefers-color-scheme: light), (prefers-color-scheme: no-preference)\" />\n      <img src=\"https://sentry-brand.storage.googleapis.com/sentry-wordmark-dark-280x84.png\" alt=\"Sentry\" width=\"280\">\n    </picture>\n  </a>\n</p>\n\n# Sentry Server Runtime Injection\n\n[![npm version](https://img.shields.io/npm/v/@sentry/server-runtime-injection.svg)](https://www.npmjs.com/package/@sentry/server-runtime-injection)\n\nRuntime instrumentation for Sentry’s JavaScript server SDKs.\n\n> [!NOTE]\n> This package is an internal library published for use by Sentry-owned JavaScript SDK packages. It is not part of the\n> public API contract and may change in any release. Do not rely on SemVer compatibility if you depend on it directly.\n\n> **Important:** this package must be kept **external** (not bundled) when bundling a server. Its\n> runtime hook loads a transformer that self-references its own on-disk `node_modules` location;\n> bundling it strips the transformer and breaks that self-reference. When you bundle your server,\n> either keep `@sentry/server-runtime-injection` external, or rely on the build-time instrumentation\n> from the Sentry bundler plugins instead.\n\n## Documentation\n\n- [JavaScript SDK documentation](https://docs.sentry.io/platforms/javascript/)\n\n## Support\n\n- [Report a bug](https://github.com/getsentry/sentry-javascript/issues/new/choose)\n- [Contributing](https://github.com/getsentry/sentry-javascript/blob/develop/CONTRIBUTING.md)\n","publish_time":1794938128444,"_cnpm_publish_time":1794938128444,"dist-tags":{"latest":"11.16.0","next":"11.0.0-rc.1"}}