@depup/sentry__server-utils 10.71.0-depup.0 → 10.72.0-depup.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +3 -5
- package/build/THIRD-PARTY-LICENSES.txt +976 -0
- package/build/cjs/_virtual/_commonjsHelpers.js +8 -0
- package/build/cjs/_virtual/_commonjsHelpers.js.map +1 -0
- package/build/cjs/_virtual/array-set.js +6 -0
- package/build/cjs/_virtual/array-set.js.map +1 -0
- package/build/cjs/_virtual/astring.js +6 -0
- package/build/cjs/_virtual/astring.js.map +1 -0
- package/build/cjs/_virtual/base64-vlq.js +6 -0
- package/build/cjs/_virtual/base64-vlq.js.map +1 -0
- package/build/cjs/_virtual/base64.js +6 -0
- package/build/cjs/_virtual/base64.js.map +1 -0
- package/build/cjs/_virtual/binary-search.js +6 -0
- package/build/cjs/_virtual/binary-search.js.map +1 -0
- package/build/cjs/_virtual/chunk-D6vf50IK.js +6 -0
- package/build/cjs/_virtual/chunk-D6vf50IK.js.map +1 -0
- package/build/cjs/_virtual/instrumentation-serde-BFky_HG6.js +6 -0
- package/build/cjs/_virtual/instrumentation-serde-BFky_HG6.js.map +1 -0
- package/build/cjs/_virtual/mapping-list.js +6 -0
- package/build/cjs/_virtual/mapping-list.js.map +1 -0
- package/build/cjs/_virtual/meriyah.js +6 -0
- package/build/cjs/_virtual/meriyah.js.map +1 -0
- package/build/cjs/_virtual/node.js +6 -0
- package/build/cjs/_virtual/node.js.map +1 -0
- package/build/cjs/_virtual/quick-sort.js +6 -0
- package/build/cjs/_virtual/quick-sort.js.map +1 -0
- package/build/cjs/_virtual/source-map-consumer.js +6 -0
- package/build/cjs/_virtual/source-map-consumer.js.map +1 -0
- package/build/cjs/_virtual/source-map-generator.js +6 -0
- package/build/cjs/_virtual/source-map-generator.js.map +1 -0
- package/build/cjs/_virtual/source-map.js +6 -0
- package/build/cjs/_virtual/source-map.js.map +1 -0
- package/build/cjs/_virtual/source-node.js +6 -0
- package/build/cjs/_virtual/source-node.js.map +1 -0
- package/build/cjs/_virtual/transforms.js +6 -0
- package/build/cjs/_virtual/transforms.js.map +1 -0
- package/build/cjs/_virtual/util.js +6 -0
- package/build/cjs/_virtual/util.js.map +1 -0
- package/build/cjs/debug-build.js.map +1 -1
- package/build/cjs/graphql/graphql-dc-subscriber.js.map +1 -1
- package/build/cjs/graphql/index.js +15 -2
- package/build/cjs/graphql/index.js.map +1 -1
- package/build/cjs/graphql/utils.js.map +1 -1
- package/build/cjs/integrations/tracing-channel/amqplib.js +24 -11
- package/build/cjs/integrations/tracing-channel/amqplib.js.map +1 -1
- package/build/cjs/integrations/tracing-channel/anthropic.js +15 -2
- package/build/cjs/integrations/tracing-channel/anthropic.js.map +1 -1
- package/build/cjs/integrations/tracing-channel/aws-sdk/constants.js.map +1 -1
- package/build/cjs/integrations/tracing-channel/aws-sdk/index.js +15 -2
- package/build/cjs/integrations/tracing-channel/aws-sdk/index.js.map +1 -1
- package/build/cjs/integrations/tracing-channel/aws-sdk/services/MessageAttributes.js.map +1 -1
- package/build/cjs/integrations/tracing-channel/aws-sdk/services/ServicesExtensions.js.map +1 -1
- package/build/cjs/integrations/tracing-channel/aws-sdk/services/bedrock-runtime.js.map +1 -1
- package/build/cjs/integrations/tracing-channel/aws-sdk/services/dynamodb.js.map +1 -1
- package/build/cjs/integrations/tracing-channel/aws-sdk/services/kinesis.js.map +1 -1
- package/build/cjs/integrations/tracing-channel/aws-sdk/services/lambda.js.map +1 -1
- package/build/cjs/integrations/tracing-channel/aws-sdk/services/s3.js.map +1 -1
- package/build/cjs/integrations/tracing-channel/aws-sdk/services/secretsmanager.js.map +1 -1
- package/build/cjs/integrations/tracing-channel/aws-sdk/services/sns.js.map +1 -1
- package/build/cjs/integrations/tracing-channel/aws-sdk/services/sqs.js.map +1 -1
- package/build/cjs/integrations/tracing-channel/aws-sdk/services/stepfunctions.js.map +1 -1
- package/build/cjs/integrations/tracing-channel/aws-sdk/utils.js.map +1 -1
- package/build/cjs/integrations/tracing-channel/dataloader.js +17 -4
- package/build/cjs/integrations/tracing-channel/dataloader.js.map +1 -1
- package/build/cjs/integrations/tracing-channel/express/index.js +15 -2
- package/build/cjs/integrations/tracing-channel/express/index.js.map +1 -1
- package/build/cjs/integrations/tracing-channel/express/instrumentation.js.map +1 -1
- package/build/cjs/integrations/tracing-channel/express/route.js.map +1 -1
- package/build/cjs/integrations/tracing-channel/fastify/errors.js +14 -1
- package/build/cjs/integrations/tracing-channel/fastify/errors.js.map +1 -1
- package/build/cjs/integrations/tracing-channel/fastify/index.js.map +1 -1
- package/build/cjs/integrations/tracing-channel/fastify/instrumentation.js +14 -1
- package/build/cjs/integrations/tracing-channel/fastify/instrumentation.js.map +1 -1
- package/build/cjs/integrations/tracing-channel/fastify/utils.js.map +1 -1
- package/build/cjs/integrations/tracing-channel/firebase/firestore.js +14 -1
- package/build/cjs/integrations/tracing-channel/firebase/firestore.js.map +1 -1
- package/build/cjs/integrations/tracing-channel/firebase/functions.js.map +1 -1
- package/build/cjs/integrations/tracing-channel/firebase/index.js +14 -1
- package/build/cjs/integrations/tracing-channel/firebase/index.js.map +1 -1
- package/build/cjs/integrations/tracing-channel/firebase/instrumentation.js +15 -2
- package/build/cjs/integrations/tracing-channel/firebase/instrumentation.js.map +1 -1
- package/build/cjs/integrations/tracing-channel/generic-pool.js +15 -2
- package/build/cjs/integrations/tracing-channel/generic-pool.js.map +1 -1
- package/build/cjs/integrations/tracing-channel/google-genai.js +15 -2
- package/build/cjs/integrations/tracing-channel/google-genai.js.map +1 -1
- package/build/cjs/integrations/tracing-channel/graphql/constants.js.map +1 -1
- package/build/cjs/integrations/tracing-channel/graphql/index.js +17 -4
- package/build/cjs/integrations/tracing-channel/graphql/index.js.map +1 -1
- package/build/cjs/integrations/tracing-channel/graphql/resolvers.js.map +1 -1
- package/build/cjs/integrations/tracing-channel/graphql/spans.js.map +1 -1
- package/build/cjs/integrations/tracing-channel/hapi-types.js.map +1 -1
- package/build/cjs/integrations/tracing-channel/hapi-utils.js.map +1 -1
- package/build/cjs/integrations/tracing-channel/hapi.js +16 -3
- package/build/cjs/integrations/tracing-channel/hapi.js.map +1 -1
- package/build/cjs/integrations/tracing-channel/ioredis.js +16 -3
- package/build/cjs/integrations/tracing-channel/ioredis.js.map +1 -1
- package/build/cjs/integrations/tracing-channel/kafkajs/consumer.js.map +1 -1
- package/build/cjs/integrations/tracing-channel/kafkajs/index.js +16 -3
- package/build/cjs/integrations/tracing-channel/kafkajs/index.js.map +1 -1
- package/build/cjs/integrations/tracing-channel/kafkajs/semconv.js.map +1 -1
- package/build/cjs/integrations/tracing-channel/kafkajs/spans.js.map +1 -1
- package/build/cjs/integrations/tracing-channel/knex.js +16 -3
- package/build/cjs/integrations/tracing-channel/knex.js.map +1 -1
- package/build/cjs/integrations/tracing-channel/koa.js +15 -2
- package/build/cjs/integrations/tracing-channel/koa.js.map +1 -1
- package/build/cjs/integrations/tracing-channel/langchain.js +17 -5
- package/build/cjs/integrations/tracing-channel/langchain.js.map +1 -1
- package/build/cjs/integrations/tracing-channel/langgraph.js +16 -3
- package/build/cjs/integrations/tracing-channel/langgraph.js.map +1 -1
- package/build/cjs/integrations/tracing-channel/lru-memoizer.js +15 -2
- package/build/cjs/integrations/tracing-channel/lru-memoizer.js.map +1 -1
- package/build/cjs/integrations/tracing-channel/mongodb.js +17 -4
- package/build/cjs/integrations/tracing-channel/mongodb.js.map +1 -1
- package/build/cjs/integrations/tracing-channel/mongoose.js +17 -4
- package/build/cjs/integrations/tracing-channel/mongoose.js.map +1 -1
- package/build/cjs/integrations/tracing-channel/mysql.js +15 -2
- package/build/cjs/integrations/tracing-channel/mysql.js.map +1 -1
- package/build/cjs/integrations/tracing-channel/mysql2.js +16 -3
- package/build/cjs/integrations/tracing-channel/mysql2.js.map +1 -1
- package/build/cjs/integrations/tracing-channel/openai.js +15 -2
- package/build/cjs/integrations/tracing-channel/openai.js.map +1 -1
- package/build/cjs/integrations/tracing-channel/postgres-js.js +18 -5
- package/build/cjs/integrations/tracing-channel/postgres-js.js.map +1 -1
- package/build/cjs/integrations/tracing-channel/postgres.js +15 -2
- package/build/cjs/integrations/tracing-channel/postgres.js.map +1 -1
- package/build/cjs/integrations/tracing-channel/redis.js +18 -5
- package/build/cjs/integrations/tracing-channel/redis.js.map +1 -1
- package/build/cjs/integrations/tracing-channel/tedious.js +16 -3
- package/build/cjs/integrations/tracing-channel/tedious.js.map +1 -1
- package/build/cjs/integrations/tracing-channel/vercel-ai.js +15 -2
- package/build/cjs/integrations/tracing-channel/vercel-ai.js.map +1 -1
- package/build/cjs/mongodb/mongodb-span.js.map +1 -1
- package/build/cjs/mongoose/index.js +15 -2
- package/build/cjs/mongoose/index.js.map +1 -1
- package/build/cjs/mongoose/mongoose-dc-subscriber.js.map +1 -1
- package/build/cjs/mongoose/mongoose-legacy-span.js.map +1 -1
- package/build/cjs/mysql2/index.js +15 -2
- package/build/cjs/mysql2/index.js.map +1 -1
- package/build/cjs/mysql2/mysql2-dc-subscriber.js.map +1 -1
- package/build/cjs/orchestrion/bundler/esbuild.js +2 -6
- package/build/cjs/orchestrion/bundler/esbuild.js.map +1 -1
- package/build/cjs/orchestrion/bundler/options.js.map +1 -1
- package/build/cjs/orchestrion/bundler/rollup.js +2 -6
- package/build/cjs/orchestrion/bundler/rollup.js.map +1 -1
- package/build/cjs/orchestrion/bundler/subscribeInjection.js +3 -2
- package/build/cjs/orchestrion/bundler/subscribeInjection.js.map +1 -1
- package/build/cjs/orchestrion/bundler/vite.js +2 -6
- package/build/cjs/orchestrion/bundler/vite.js.map +1 -1
- package/build/cjs/orchestrion/bundler/webpack-loader.js +8 -0
- package/build/cjs/orchestrion/bundler/webpack-loader.js.map +1 -0
- package/build/cjs/orchestrion/bundler/webpack.js +29 -16
- package/build/cjs/orchestrion/bundler/webpack.js.map +1 -1
- package/build/cjs/orchestrion/channels.js.map +1 -1
- package/build/cjs/orchestrion/config/amqplib.js.map +1 -1
- package/build/cjs/orchestrion/config/anthropic-ai.js.map +1 -1
- package/build/cjs/orchestrion/config/aws-sdk.js.map +1 -1
- package/build/cjs/orchestrion/config/channel-integration-definitions.js.map +1 -1
- package/build/cjs/orchestrion/config/dataloader.js.map +1 -1
- package/build/cjs/orchestrion/config/express.js.map +1 -1
- package/build/cjs/orchestrion/config/firebase.js.map +1 -1
- package/build/cjs/orchestrion/config/generic-pool.js.map +1 -1
- package/build/cjs/orchestrion/config/google-genai.js.map +1 -1
- package/build/cjs/orchestrion/config/graphql.js.map +1 -1
- package/build/cjs/orchestrion/config/hapi.js.map +1 -1
- package/build/cjs/orchestrion/config/index.js.map +1 -1
- package/build/cjs/orchestrion/config/ioredis.js.map +1 -1
- package/build/cjs/orchestrion/config/kafkajs.js.map +1 -1
- package/build/cjs/orchestrion/config/knex.js.map +1 -1
- package/build/cjs/orchestrion/config/koa.js.map +1 -1
- package/build/cjs/orchestrion/config/langchain.js.map +1 -1
- package/build/cjs/orchestrion/config/langgraph.js.map +1 -1
- package/build/cjs/orchestrion/config/lru-memoizer.js.map +1 -1
- package/build/cjs/orchestrion/config/mongodb.js.map +1 -1
- package/build/cjs/orchestrion/config/mongoose.js.map +1 -1
- package/build/cjs/orchestrion/config/mysql.js.map +1 -1
- package/build/cjs/orchestrion/config/mysql2.js.map +1 -1
- package/build/cjs/orchestrion/config/nestjs.js.map +1 -1
- package/build/cjs/orchestrion/config/openai.js +4 -4
- package/build/cjs/orchestrion/config/openai.js.map +1 -1
- package/build/cjs/orchestrion/config/pg.js.map +1 -1
- package/build/cjs/orchestrion/config/postgres.js.map +1 -1
- package/build/cjs/orchestrion/config/redis.js.map +1 -1
- package/build/cjs/orchestrion/config/remix.js.map +1 -1
- package/build/cjs/orchestrion/config/subscribe-injection.js.map +1 -1
- package/build/cjs/orchestrion/config/tedious.js.map +1 -1
- package/build/cjs/orchestrion/config/vercel-ai.js.map +1 -1
- package/build/cjs/orchestrion/detect.js.map +1 -1
- package/build/cjs/orchestrion/index.js.map +1 -1
- package/build/cjs/orchestrion/registerChannelIntegration.js.map +1 -1
- package/build/cjs/orchestrion/runtime/hook.js +17 -0
- package/build/cjs/orchestrion/runtime/hook.js.map +1 -0
- package/build/cjs/orchestrion/runtime/register.js +45 -38
- package/build/cjs/orchestrion/runtime/register.js.map +1 -1
- package/build/cjs/prisma/global.js.map +1 -1
- package/build/cjs/prisma/index.js.map +1 -1
- package/build/cjs/prisma/tracing-helper.js.map +1 -1
- package/build/cjs/redis/index.js +15 -2
- package/build/cjs/redis/index.js.map +1 -1
- package/build/cjs/redis/redis-dc-subscriber.js.map +1 -1
- package/build/cjs/redis/redis-statement-serializer.js.map +1 -1
- package/build/cjs/tracing-channel.js.map +1 -1
- package/build/cjs/vendored/@apm-js-collab/code-transformer/index.js +8 -0
- package/build/cjs/vendored/@apm-js-collab/code-transformer/index.js.map +1 -0
- package/build/cjs/vendored/@apm-js-collab/code-transformer/lib/index.js +12 -0
- package/build/cjs/vendored/@apm-js-collab/code-transformer/lib/index.js.map +1 -0
- package/build/cjs/vendored/@apm-js-collab/code-transformer/lib/matcher.js +83 -0
- package/build/cjs/vendored/@apm-js-collab/code-transformer/lib/matcher.js.map +1 -0
- package/build/cjs/vendored/@apm-js-collab/code-transformer/lib/transformer.js +314 -0
- package/build/cjs/vendored/@apm-js-collab/code-transformer/lib/transformer.js.map +1 -0
- package/build/cjs/vendored/@apm-js-collab/code-transformer/lib/transforms.js +406 -0
- package/build/cjs/vendored/@apm-js-collab/code-transformer/lib/transforms.js.map +1 -0
- package/build/cjs/vendored/@apm-js-collab/code-transformer-bundler-plugins/dist/cjs/chunk-D6vf50IK.js +33 -0
- package/build/cjs/vendored/@apm-js-collab/code-transformer-bundler-plugins/dist/cjs/chunk-D6vf50IK.js.map +1 -0
- package/build/cjs/vendored/@apm-js-collab/code-transformer-bundler-plugins/dist/cjs/instrumentation-serde-BFky_HG6.js +66 -0
- package/build/cjs/vendored/@apm-js-collab/code-transformer-bundler-plugins/dist/cjs/instrumentation-serde-BFky_HG6.js.map +1 -0
- package/build/cjs/vendored/@apm-js-collab/code-transformer-bundler-plugins/dist/cjs/webpack-loader.js +90 -0
- package/build/cjs/vendored/@apm-js-collab/code-transformer-bundler-plugins/dist/cjs/webpack-loader.js.map +1 -0
- package/build/cjs/vendored/@apm-js-collab/code-transformer-bundler-plugins/dist/esm/core-dC9TN3Ev.js +219 -0
- package/build/cjs/vendored/@apm-js-collab/code-transformer-bundler-plugins/dist/esm/core-dC9TN3Ev.js.map +1 -0
- package/build/cjs/vendored/@apm-js-collab/code-transformer-bundler-plugins/dist/esm/esbuild.js +98 -0
- package/build/cjs/vendored/@apm-js-collab/code-transformer-bundler-plugins/dist/esm/esbuild.js.map +1 -0
- package/build/cjs/vendored/@apm-js-collab/code-transformer-bundler-plugins/dist/esm/instrumentation-serde-C-Xxv-jj.js +29 -0
- package/build/cjs/vendored/@apm-js-collab/code-transformer-bundler-plugins/dist/esm/instrumentation-serde-C-Xxv-jj.js.map +1 -0
- package/build/cjs/vendored/@apm-js-collab/code-transformer-bundler-plugins/dist/esm/rollup-OTS4ktWb.js +1069 -0
- package/build/cjs/vendored/@apm-js-collab/code-transformer-bundler-plugins/dist/esm/rollup-OTS4ktWb.js.map +1 -0
- package/build/cjs/vendored/@apm-js-collab/code-transformer-bundler-plugins/dist/esm/vite.js +14 -0
- package/build/cjs/vendored/@apm-js-collab/code-transformer-bundler-plugins/dist/esm/vite.js.map +1 -0
- package/build/cjs/vendored/@apm-js-collab/code-transformer-bundler-plugins/dist/esm/webpack.js +75 -0
- package/build/cjs/vendored/@apm-js-collab/code-transformer-bundler-plugins/dist/esm/webpack.js.map +1 -0
- package/build/cjs/vendored/@apm-js-collab/tracing-hooks/hook.js +166 -0
- package/build/cjs/vendored/@apm-js-collab/tracing-hooks/hook.js.map +1 -0
- package/build/cjs/vendored/@apm-js-collab/tracing-hooks/index.js +88 -0
- package/build/cjs/vendored/@apm-js-collab/tracing-hooks/index.js.map +1 -0
- package/build/cjs/vendored/@apm-js-collab/tracing-hooks/lib/diagnostics.js +15 -0
- package/build/cjs/vendored/@apm-js-collab/tracing-hooks/lib/diagnostics.js.map +1 -0
- package/build/cjs/vendored/@apm-js-collab/tracing-hooks/lib/get-package-version.js +30 -0
- package/build/cjs/vendored/@apm-js-collab/tracing-hooks/lib/get-package-version.js.map +1 -0
- package/build/cjs/vendored/astring/dist/astring.js +1068 -0
- package/build/cjs/vendored/astring/dist/astring.js.map +1 -0
- package/build/cjs/vendored/debug/src/common.js +178 -0
- package/build/cjs/vendored/debug/src/common.js.map +1 -0
- package/build/cjs/vendored/debug/src/node.js +186 -0
- package/build/cjs/vendored/debug/src/node.js.map +1 -0
- package/build/cjs/vendored/esquery/dist/esquery.esm.min.js +847 -0
- package/build/cjs/vendored/esquery/dist/esquery.esm.min.js.map +1 -0
- package/build/cjs/vendored/has-flag/index.js +11 -0
- package/build/cjs/vendored/has-flag/index.js.map +1 -0
- package/build/cjs/vendored/meriyah/dist/meriyah.js +9192 -0
- package/build/cjs/vendored/meriyah/dist/meriyah.js.map +1 -0
- package/build/cjs/vendored/meriyah/dist/meriyah2.js +9209 -0
- package/build/cjs/vendored/meriyah/dist/meriyah2.js.map +1 -0
- package/build/cjs/vendored/module-details-from-path/index.js +44 -0
- package/build/cjs/vendored/module-details-from-path/index.js.map +1 -0
- package/build/cjs/vendored/ms/index.js +115 -0
- package/build/cjs/vendored/ms/index.js.map +1 -0
- package/build/cjs/vendored/semifies/index.js +111 -0
- package/build/cjs/vendored/semifies/index.js.map +1 -0
- package/build/cjs/vendored/source-map/lib/array-set.js +73 -0
- package/build/cjs/vendored/source-map/lib/array-set.js.map +1 -0
- package/build/cjs/vendored/source-map/lib/base64-vlq.js +57 -0
- package/build/cjs/vendored/source-map/lib/base64-vlq.js.map +1 -0
- package/build/cjs/vendored/source-map/lib/base64.js +42 -0
- package/build/cjs/vendored/source-map/lib/base64.js.map +1 -0
- package/build/cjs/vendored/source-map/lib/binary-search.js +55 -0
- package/build/cjs/vendored/source-map/lib/binary-search.js.map +1 -0
- package/build/cjs/vendored/source-map/lib/mapping-list.js +42 -0
- package/build/cjs/vendored/source-map/lib/mapping-list.js.map +1 -0
- package/build/cjs/vendored/source-map/lib/quick-sort.js +36 -0
- package/build/cjs/vendored/source-map/lib/quick-sort.js.map +1 -0
- package/build/cjs/vendored/source-map/lib/source-map-consumer.js +612 -0
- package/build/cjs/vendored/source-map/lib/source-map-consumer.js.map +1 -0
- package/build/cjs/vendored/source-map/lib/source-map-generator.js +285 -0
- package/build/cjs/vendored/source-map/lib/source-map-generator.js.map +1 -0
- package/build/cjs/vendored/source-map/lib/source-node.js +270 -0
- package/build/cjs/vendored/source-map/lib/source-node.js.map +1 -0
- package/build/cjs/vendored/source-map/lib/util.js +300 -0
- package/build/cjs/vendored/source-map/lib/util.js.map +1 -0
- package/build/cjs/vendored/source-map/source-map.js +16 -0
- package/build/cjs/vendored/source-map/source-map.js.map +1 -0
- package/build/cjs/vendored/supports-color/index.js +104 -0
- package/build/cjs/vendored/supports-color/index.js.map +1 -0
- package/build/cjs/vercel-ai/index.js +15 -2
- package/build/cjs/vercel-ai/index.js.map +1 -1
- package/build/cjs/vercel-ai/util.js.map +1 -1
- package/build/cjs/vercel-ai/vercel-ai-dc-subscriber.js.map +1 -1
- package/build/cjs/vercel-ai/vercel-ai-orchestrion-subscriber.js.map +1 -1
- package/build/esm/_virtual/_commonjsHelpers.js +6 -0
- package/build/esm/_virtual/_commonjsHelpers.js.map +1 -0
- package/build/esm/_virtual/array-set.js +4 -0
- package/build/esm/_virtual/array-set.js.map +1 -0
- package/build/esm/_virtual/astring.js +4 -0
- package/build/esm/_virtual/astring.js.map +1 -0
- package/build/esm/_virtual/base64-vlq.js +4 -0
- package/build/esm/_virtual/base64-vlq.js.map +1 -0
- package/build/esm/_virtual/base64.js +4 -0
- package/build/esm/_virtual/base64.js.map +1 -0
- package/build/esm/_virtual/binary-search.js +4 -0
- package/build/esm/_virtual/binary-search.js.map +1 -0
- package/build/esm/_virtual/chunk-D6vf50IK.js +4 -0
- package/build/esm/_virtual/chunk-D6vf50IK.js.map +1 -0
- package/build/esm/_virtual/instrumentation-serde-BFky_HG6.js +4 -0
- package/build/esm/_virtual/instrumentation-serde-BFky_HG6.js.map +1 -0
- package/build/esm/_virtual/mapping-list.js +4 -0
- package/build/esm/_virtual/mapping-list.js.map +1 -0
- package/build/esm/_virtual/meriyah.js +4 -0
- package/build/esm/_virtual/meriyah.js.map +1 -0
- package/build/esm/_virtual/node.js +4 -0
- package/build/esm/_virtual/node.js.map +1 -0
- package/build/esm/_virtual/quick-sort.js +4 -0
- package/build/esm/_virtual/quick-sort.js.map +1 -0
- package/build/esm/_virtual/source-map-consumer.js +4 -0
- package/build/esm/_virtual/source-map-consumer.js.map +1 -0
- package/build/esm/_virtual/source-map-generator.js +4 -0
- package/build/esm/_virtual/source-map-generator.js.map +1 -0
- package/build/esm/_virtual/source-map.js +4 -0
- package/build/esm/_virtual/source-map.js.map +1 -0
- package/build/esm/_virtual/source-node.js +4 -0
- package/build/esm/_virtual/source-node.js.map +1 -0
- package/build/esm/_virtual/transforms.js +4 -0
- package/build/esm/_virtual/transforms.js.map +1 -0
- package/build/esm/_virtual/util.js +4 -0
- package/build/esm/_virtual/util.js.map +1 -0
- package/build/esm/debug-build.js.map +1 -1
- package/build/esm/graphql/graphql-dc-subscriber.js.map +1 -1
- package/build/esm/graphql/index.js.map +1 -1
- package/build/esm/graphql/utils.js.map +1 -1
- package/build/esm/integrations/tracing-channel/amqplib.js.map +1 -1
- package/build/esm/integrations/tracing-channel/anthropic.js.map +1 -1
- package/build/esm/integrations/tracing-channel/aws-sdk/constants.js.map +1 -1
- package/build/esm/integrations/tracing-channel/aws-sdk/index.js.map +1 -1
- package/build/esm/integrations/tracing-channel/aws-sdk/services/MessageAttributes.js.map +1 -1
- package/build/esm/integrations/tracing-channel/aws-sdk/services/ServicesExtensions.js.map +1 -1
- package/build/esm/integrations/tracing-channel/aws-sdk/services/bedrock-runtime.js.map +1 -1
- package/build/esm/integrations/tracing-channel/aws-sdk/services/dynamodb.js.map +1 -1
- package/build/esm/integrations/tracing-channel/aws-sdk/services/kinesis.js.map +1 -1
- package/build/esm/integrations/tracing-channel/aws-sdk/services/lambda.js.map +1 -1
- package/build/esm/integrations/tracing-channel/aws-sdk/services/s3.js.map +1 -1
- package/build/esm/integrations/tracing-channel/aws-sdk/services/secretsmanager.js.map +1 -1
- package/build/esm/integrations/tracing-channel/aws-sdk/services/sns.js.map +1 -1
- package/build/esm/integrations/tracing-channel/aws-sdk/services/sqs.js.map +1 -1
- package/build/esm/integrations/tracing-channel/aws-sdk/services/stepfunctions.js.map +1 -1
- package/build/esm/integrations/tracing-channel/aws-sdk/utils.js.map +1 -1
- package/build/esm/integrations/tracing-channel/dataloader.js.map +1 -1
- package/build/esm/integrations/tracing-channel/express/index.js.map +1 -1
- package/build/esm/integrations/tracing-channel/express/instrumentation.js.map +1 -1
- package/build/esm/integrations/tracing-channel/express/route.js.map +1 -1
- package/build/esm/integrations/tracing-channel/fastify/errors.js.map +1 -1
- package/build/esm/integrations/tracing-channel/fastify/index.js.map +1 -1
- package/build/esm/integrations/tracing-channel/fastify/instrumentation.js.map +1 -1
- package/build/esm/integrations/tracing-channel/fastify/utils.js.map +1 -1
- package/build/esm/integrations/tracing-channel/firebase/firestore.js.map +1 -1
- package/build/esm/integrations/tracing-channel/firebase/functions.js.map +1 -1
- package/build/esm/integrations/tracing-channel/firebase/index.js.map +1 -1
- package/build/esm/integrations/tracing-channel/firebase/instrumentation.js.map +1 -1
- package/build/esm/integrations/tracing-channel/generic-pool.js.map +1 -1
- package/build/esm/integrations/tracing-channel/google-genai.js.map +1 -1
- package/build/esm/integrations/tracing-channel/graphql/constants.js.map +1 -1
- package/build/esm/integrations/tracing-channel/graphql/index.js.map +1 -1
- package/build/esm/integrations/tracing-channel/graphql/resolvers.js.map +1 -1
- package/build/esm/integrations/tracing-channel/graphql/spans.js.map +1 -1
- package/build/esm/integrations/tracing-channel/hapi-types.js.map +1 -1
- package/build/esm/integrations/tracing-channel/hapi-utils.js.map +1 -1
- package/build/esm/integrations/tracing-channel/hapi.js.map +1 -1
- package/build/esm/integrations/tracing-channel/ioredis.js.map +1 -1
- package/build/esm/integrations/tracing-channel/kafkajs/consumer.js.map +1 -1
- package/build/esm/integrations/tracing-channel/kafkajs/index.js.map +1 -1
- package/build/esm/integrations/tracing-channel/kafkajs/semconv.js.map +1 -1
- package/build/esm/integrations/tracing-channel/kafkajs/spans.js.map +1 -1
- package/build/esm/integrations/tracing-channel/knex.js.map +1 -1
- package/build/esm/integrations/tracing-channel/koa.js.map +1 -1
- package/build/esm/integrations/tracing-channel/langchain.js +1 -2
- package/build/esm/integrations/tracing-channel/langchain.js.map +1 -1
- package/build/esm/integrations/tracing-channel/langgraph.js.map +1 -1
- package/build/esm/integrations/tracing-channel/lru-memoizer.js.map +1 -1
- package/build/esm/integrations/tracing-channel/mongodb.js.map +1 -1
- package/build/esm/integrations/tracing-channel/mongoose.js.map +1 -1
- package/build/esm/integrations/tracing-channel/mysql.js.map +1 -1
- package/build/esm/integrations/tracing-channel/mysql2.js.map +1 -1
- package/build/esm/integrations/tracing-channel/openai.js.map +1 -1
- package/build/esm/integrations/tracing-channel/postgres-js.js.map +1 -1
- package/build/esm/integrations/tracing-channel/postgres.js.map +1 -1
- package/build/esm/integrations/tracing-channel/redis.js.map +1 -1
- package/build/esm/integrations/tracing-channel/tedious.js.map +1 -1
- package/build/esm/integrations/tracing-channel/vercel-ai.js.map +1 -1
- package/build/esm/mongodb/mongodb-span.js.map +1 -1
- package/build/esm/mongoose/index.js.map +1 -1
- package/build/esm/mongoose/mongoose-dc-subscriber.js.map +1 -1
- package/build/esm/mongoose/mongoose-legacy-span.js.map +1 -1
- package/build/esm/mysql2/index.js.map +1 -1
- package/build/esm/mysql2/mysql2-dc-subscriber.js.map +1 -1
- package/build/esm/orchestrion/bundler/esbuild.js +2 -2
- package/build/esm/orchestrion/bundler/esbuild.js.map +1 -1
- package/build/esm/orchestrion/bundler/options.js.map +1 -1
- package/build/esm/orchestrion/bundler/rollup.js +2 -2
- package/build/esm/orchestrion/bundler/rollup.js.map +1 -1
- package/build/esm/orchestrion/bundler/subscribeInjection.js +3 -2
- package/build/esm/orchestrion/bundler/subscribeInjection.js.map +1 -1
- package/build/esm/orchestrion/bundler/vite.js +2 -2
- package/build/esm/orchestrion/bundler/vite.js.map +1 -1
- package/build/esm/orchestrion/bundler/webpack-loader.js +6 -0
- package/build/esm/orchestrion/bundler/webpack-loader.js.map +1 -0
- package/build/esm/orchestrion/bundler/webpack.js +25 -8
- package/build/esm/orchestrion/bundler/webpack.js.map +1 -1
- package/build/esm/orchestrion/channels.js.map +1 -1
- package/build/esm/orchestrion/config/amqplib.js.map +1 -1
- package/build/esm/orchestrion/config/anthropic-ai.js.map +1 -1
- package/build/esm/orchestrion/config/aws-sdk.js.map +1 -1
- package/build/esm/orchestrion/config/channel-integration-definitions.js.map +1 -1
- package/build/esm/orchestrion/config/dataloader.js.map +1 -1
- package/build/esm/orchestrion/config/express.js.map +1 -1
- package/build/esm/orchestrion/config/firebase.js.map +1 -1
- package/build/esm/orchestrion/config/generic-pool.js.map +1 -1
- package/build/esm/orchestrion/config/google-genai.js.map +1 -1
- package/build/esm/orchestrion/config/graphql.js.map +1 -1
- package/build/esm/orchestrion/config/hapi.js.map +1 -1
- package/build/esm/orchestrion/config/index.js.map +1 -1
- package/build/esm/orchestrion/config/ioredis.js.map +1 -1
- package/build/esm/orchestrion/config/kafkajs.js.map +1 -1
- package/build/esm/orchestrion/config/knex.js.map +1 -1
- package/build/esm/orchestrion/config/koa.js.map +1 -1
- package/build/esm/orchestrion/config/langchain.js.map +1 -1
- package/build/esm/orchestrion/config/langgraph.js.map +1 -1
- package/build/esm/orchestrion/config/lru-memoizer.js.map +1 -1
- package/build/esm/orchestrion/config/mongodb.js.map +1 -1
- package/build/esm/orchestrion/config/mongoose.js.map +1 -1
- package/build/esm/orchestrion/config/mysql.js.map +1 -1
- package/build/esm/orchestrion/config/mysql2.js.map +1 -1
- package/build/esm/orchestrion/config/nestjs.js.map +1 -1
- package/build/esm/orchestrion/config/openai.js +4 -4
- package/build/esm/orchestrion/config/openai.js.map +1 -1
- package/build/esm/orchestrion/config/pg.js.map +1 -1
- package/build/esm/orchestrion/config/postgres.js.map +1 -1
- package/build/esm/orchestrion/config/redis.js.map +1 -1
- package/build/esm/orchestrion/config/remix.js.map +1 -1
- package/build/esm/orchestrion/config/subscribe-injection.js.map +1 -1
- package/build/esm/orchestrion/config/tedious.js.map +1 -1
- package/build/esm/orchestrion/config/vercel-ai.js.map +1 -1
- package/build/esm/orchestrion/detect.js.map +1 -1
- package/build/esm/orchestrion/index.js.map +1 -1
- package/build/esm/orchestrion/registerChannelIntegration.js.map +1 -1
- package/build/esm/orchestrion/runtime/hook.js +8 -0
- package/build/esm/orchestrion/runtime/hook.js.map +1 -0
- package/build/esm/orchestrion/runtime/register.js +33 -40
- package/build/esm/orchestrion/runtime/register.js.map +1 -1
- package/build/esm/package.json +1 -1
- package/build/esm/prisma/global.js.map +1 -1
- package/build/esm/prisma/index.js.map +1 -1
- package/build/esm/prisma/tracing-helper.js.map +1 -1
- package/build/esm/redis/index.js.map +1 -1
- package/build/esm/redis/redis-dc-subscriber.js.map +1 -1
- package/build/esm/redis/redis-statement-serializer.js.map +1 -1
- package/build/esm/tracing-channel.js.map +1 -1
- package/build/esm/vendored/@apm-js-collab/code-transformer/index.js +6 -0
- package/build/esm/vendored/@apm-js-collab/code-transformer/index.js.map +1 -0
- package/build/esm/vendored/@apm-js-collab/code-transformer/lib/index.js +10 -0
- package/build/esm/vendored/@apm-js-collab/code-transformer/lib/index.js.map +1 -0
- package/build/esm/vendored/@apm-js-collab/code-transformer/lib/matcher.js +81 -0
- package/build/esm/vendored/@apm-js-collab/code-transformer/lib/matcher.js.map +1 -0
- package/build/esm/vendored/@apm-js-collab/code-transformer/lib/transformer.js +312 -0
- package/build/esm/vendored/@apm-js-collab/code-transformer/lib/transformer.js.map +1 -0
- package/build/esm/vendored/@apm-js-collab/code-transformer/lib/transforms.js +404 -0
- package/build/esm/vendored/@apm-js-collab/code-transformer/lib/transforms.js.map +1 -0
- package/build/esm/vendored/@apm-js-collab/code-transformer-bundler-plugins/dist/cjs/chunk-D6vf50IK.js +33 -0
- package/build/esm/vendored/@apm-js-collab/code-transformer-bundler-plugins/dist/cjs/chunk-D6vf50IK.js.map +1 -0
- package/build/esm/vendored/@apm-js-collab/code-transformer-bundler-plugins/dist/cjs/instrumentation-serde-BFky_HG6.js +66 -0
- package/build/esm/vendored/@apm-js-collab/code-transformer-bundler-plugins/dist/cjs/instrumentation-serde-BFky_HG6.js.map +1 -0
- package/build/esm/vendored/@apm-js-collab/code-transformer-bundler-plugins/dist/cjs/webpack-loader.js +88 -0
- package/build/esm/vendored/@apm-js-collab/code-transformer-bundler-plugins/dist/cjs/webpack-loader.js.map +1 -0
- package/build/esm/vendored/@apm-js-collab/code-transformer-bundler-plugins/dist/esm/core-dC9TN3Ev.js +213 -0
- package/build/esm/vendored/@apm-js-collab/code-transformer-bundler-plugins/dist/esm/core-dC9TN3Ev.js.map +1 -0
- package/build/esm/vendored/@apm-js-collab/code-transformer-bundler-plugins/dist/esm/esbuild.js +96 -0
- package/build/esm/vendored/@apm-js-collab/code-transformer-bundler-plugins/dist/esm/esbuild.js.map +1 -0
- package/build/esm/vendored/@apm-js-collab/code-transformer-bundler-plugins/dist/esm/instrumentation-serde-C-Xxv-jj.js +27 -0
- package/build/esm/vendored/@apm-js-collab/code-transformer-bundler-plugins/dist/esm/instrumentation-serde-C-Xxv-jj.js.map +1 -0
- package/build/esm/vendored/@apm-js-collab/code-transformer-bundler-plugins/dist/esm/rollup-OTS4ktWb.js +1067 -0
- package/build/esm/vendored/@apm-js-collab/code-transformer-bundler-plugins/dist/esm/rollup-OTS4ktWb.js.map +1 -0
- package/build/esm/vendored/@apm-js-collab/code-transformer-bundler-plugins/dist/esm/vite.js +12 -0
- package/build/esm/vendored/@apm-js-collab/code-transformer-bundler-plugins/dist/esm/vite.js.map +1 -0
- package/build/esm/vendored/@apm-js-collab/code-transformer-bundler-plugins/dist/esm/webpack.js +72 -0
- package/build/esm/vendored/@apm-js-collab/code-transformer-bundler-plugins/dist/esm/webpack.js.map +1 -0
- package/build/esm/vendored/@apm-js-collab/tracing-hooks/hook.js +157 -0
- package/build/esm/vendored/@apm-js-collab/tracing-hooks/hook.js.map +1 -0
- package/build/esm/vendored/@apm-js-collab/tracing-hooks/index.js +86 -0
- package/build/esm/vendored/@apm-js-collab/tracing-hooks/index.js.map +1 -0
- package/build/esm/vendored/@apm-js-collab/tracing-hooks/lib/diagnostics.js +13 -0
- package/build/esm/vendored/@apm-js-collab/tracing-hooks/lib/diagnostics.js.map +1 -0
- package/build/esm/vendored/@apm-js-collab/tracing-hooks/lib/get-package-version.js +27 -0
- package/build/esm/vendored/@apm-js-collab/tracing-hooks/lib/get-package-version.js.map +1 -0
- package/build/esm/vendored/astring/dist/astring.js +1066 -0
- package/build/esm/vendored/astring/dist/astring.js.map +1 -0
- package/build/esm/vendored/debug/src/common.js +176 -0
- package/build/esm/vendored/debug/src/common.js.map +1 -0
- package/build/esm/vendored/debug/src/node.js +183 -0
- package/build/esm/vendored/debug/src/node.js.map +1 -0
- package/build/esm/vendored/esquery/dist/esquery.esm.min.js +845 -0
- package/build/esm/vendored/esquery/dist/esquery.esm.min.js.map +1 -0
- package/build/esm/vendored/has-flag/index.js +9 -0
- package/build/esm/vendored/has-flag/index.js.map +1 -0
- package/build/esm/vendored/meriyah/dist/meriyah.js +9190 -0
- package/build/esm/vendored/meriyah/dist/meriyah.js.map +1 -0
- package/build/esm/vendored/meriyah/dist/meriyah2.js +9207 -0
- package/build/esm/vendored/meriyah/dist/meriyah2.js.map +1 -0
- package/build/esm/vendored/module-details-from-path/index.js +41 -0
- package/build/esm/vendored/module-details-from-path/index.js.map +1 -0
- package/build/esm/vendored/ms/index.js +113 -0
- package/build/esm/vendored/ms/index.js.map +1 -0
- package/build/esm/vendored/semifies/index.js +109 -0
- package/build/esm/vendored/semifies/index.js.map +1 -0
- package/build/esm/vendored/source-map/lib/array-set.js +71 -0
- package/build/esm/vendored/source-map/lib/array-set.js.map +1 -0
- package/build/esm/vendored/source-map/lib/base64-vlq.js +55 -0
- package/build/esm/vendored/source-map/lib/base64-vlq.js.map +1 -0
- package/build/esm/vendored/source-map/lib/base64.js +40 -0
- package/build/esm/vendored/source-map/lib/base64.js.map +1 -0
- package/build/esm/vendored/source-map/lib/binary-search.js +55 -0
- package/build/esm/vendored/source-map/lib/binary-search.js.map +1 -0
- package/build/esm/vendored/source-map/lib/mapping-list.js +40 -0
- package/build/esm/vendored/source-map/lib/mapping-list.js.map +1 -0
- package/build/esm/vendored/source-map/lib/quick-sort.js +34 -0
- package/build/esm/vendored/source-map/lib/quick-sort.js.map +1 -0
- package/build/esm/vendored/source-map/lib/source-map-consumer.js +610 -0
- package/build/esm/vendored/source-map/lib/source-map-consumer.js.map +1 -0
- package/build/esm/vendored/source-map/lib/source-map-generator.js +283 -0
- package/build/esm/vendored/source-map/lib/source-map-generator.js.map +1 -0
- package/build/esm/vendored/source-map/lib/source-node.js +268 -0
- package/build/esm/vendored/source-map/lib/source-node.js.map +1 -0
- package/build/esm/vendored/source-map/lib/util.js +300 -0
- package/build/esm/vendored/source-map/lib/util.js.map +1 -0
- package/build/esm/vendored/source-map/source-map.js +14 -0
- package/build/esm/vendored/source-map/source-map.js.map +1 -0
- package/build/esm/vendored/supports-color/index.js +102 -0
- package/build/esm/vendored/supports-color/index.js.map +1 -0
- package/build/esm/vercel-ai/index.js.map +1 -1
- package/build/esm/vercel-ai/util.js.map +1 -1
- package/build/esm/vercel-ai/vercel-ai-dc-subscriber.js.map +1 -1
- package/build/esm/vercel-ai/vercel-ai-orchestrion-subscriber.js.map +1 -1
- package/build/types/orchestrion/apmTypes.d.ts +169 -0
- package/build/types/orchestrion/apmTypes.d.ts.map +1 -0
- package/build/types/orchestrion/bundler/esbuild.d.ts +2 -2
- package/build/types/orchestrion/bundler/esbuild.d.ts.map +1 -1
- package/build/types/orchestrion/bundler/options.d.ts +1 -1
- package/build/types/orchestrion/bundler/options.d.ts.map +1 -1
- package/build/types/orchestrion/bundler/rollup.d.ts +2 -2
- package/build/types/orchestrion/bundler/rollup.d.ts.map +1 -1
- package/build/types/orchestrion/bundler/subscribeInjection.d.ts.map +1 -1
- package/build/types/orchestrion/bundler/vite.d.ts +2 -2
- package/build/types/orchestrion/bundler/vite.d.ts.map +1 -1
- package/build/types/orchestrion/bundler/webpack-loader.d.ts +3 -0
- package/build/types/orchestrion/bundler/webpack-loader.d.ts.map +1 -0
- package/build/types/orchestrion/bundler/webpack.d.ts +21 -10
- package/build/types/orchestrion/bundler/webpack.d.ts.map +1 -1
- package/build/types/orchestrion/config/aws-sdk.d.ts +1 -1
- package/build/types/orchestrion/config/aws-sdk.d.ts.map +1 -1
- package/build/types/orchestrion/config/koa.d.ts +1 -1
- package/build/types/orchestrion/config/koa.d.ts.map +1 -1
- package/build/types/orchestrion/config/langgraph.d.ts +2 -2
- package/build/types/orchestrion/config/subscribe-injection.d.ts +1 -1
- package/build/types/orchestrion/config/subscribe-injection.d.ts.map +1 -1
- package/build/types/orchestrion/index.d.ts +1 -1
- package/build/types/orchestrion/index.d.ts.map +1 -1
- package/build/types/orchestrion/runtime/register.d.ts +3 -7
- package/build/types/orchestrion/runtime/register.d.ts.map +1 -1
- package/build/types-ts3.8/orchestrion/apmTypes.d.ts +169 -0
- package/build/types-ts3.8/orchestrion/bundler/esbuild.d.ts +2 -2
- package/build/types-ts3.8/orchestrion/bundler/options.d.ts +1 -1
- package/build/types-ts3.8/orchestrion/bundler/rollup.d.ts +2 -2
- package/build/types-ts3.8/orchestrion/bundler/vite.d.ts +2 -2
- package/build/types-ts3.8/orchestrion/bundler/webpack-loader.d.ts +3 -0
- package/build/types-ts3.8/orchestrion/bundler/webpack.d.ts +21 -10
- package/build/types-ts3.8/orchestrion/config/aws-sdk.d.ts +1 -1
- package/build/types-ts3.8/orchestrion/config/koa.d.ts +1 -1
- package/build/types-ts3.8/orchestrion/config/langgraph.d.ts +2 -2
- package/build/types-ts3.8/orchestrion/config/subscribe-injection.d.ts +1 -1
- package/build/types-ts3.8/orchestrion/index.d.ts +1 -1
- package/build/types-ts3.8/orchestrion/runtime/register.d.ts +3 -7
- package/changes.json +2 -10
- package/package.json +15 -16
|
@@ -1,17 +1,26 @@
|
|
|
1
|
+
import type { Compiler } from 'webpack';
|
|
1
2
|
import type { InstrumentationConfig } from '..';
|
|
2
|
-
import codeTransformerWebpack from '@apm-js-collab/code-transformer-bundler-plugins/webpack';
|
|
3
3
|
import type { PluginOptions } from './options';
|
|
4
|
-
|
|
5
|
-
export
|
|
6
|
-
|
|
4
|
+
import type { AnyInstrumentationConfig, SerializableInstrumentationConfig } from '../apmTypes';
|
|
5
|
+
export declare const serializeInstrumentations: (configs: AnyInstrumentationConfig[]) => SerializableInstrumentationConfig[];
|
|
6
|
+
export type { SerializableInstrumentationConfig } from '../apmTypes';
|
|
7
|
+
/**
|
|
8
|
+
* Absolute path to the code-transform loader (a webpack loader; also usable as a Turbopack loader).
|
|
9
|
+
* Resolved via self-reference to this package's own bundled copy — the `@apm-js-collab` packages
|
|
10
|
+
* are bundled devDependencies and not resolvable on user installs.
|
|
11
|
+
*/
|
|
7
12
|
export declare function getOrchestrionLoaderPath(): string;
|
|
8
13
|
/**
|
|
9
|
-
*
|
|
10
|
-
*
|
|
11
|
-
*
|
|
12
|
-
*
|
|
14
|
+
* Resolves a request for one of the orchestrion runtime packages (`@sentry/server-utils` itself, via
|
|
15
|
+
* self-reference, or its `@apm-js-collab/*` dependencies) to an absolute path, from this package's
|
|
16
|
+
* own on-disk location — where the whole dependency graph always resolves, regardless of the
|
|
17
|
+
* consuming app's install layout. Returns `undefined` when the request can't be resolved.
|
|
18
|
+
*
|
|
19
|
+
* Bundler configs use this to emit absolute-path `commonjs` externals: a bare-specifier external
|
|
20
|
+
* emitted into a bundled chunk resolves from the chunk's output location at runtime, which fails
|
|
21
|
+
* under isolated installs (pnpm) where these packages are transitive dependencies.
|
|
13
22
|
*/
|
|
14
|
-
export declare function
|
|
23
|
+
export declare function resolveOrchestrionRuntimeRequest(request: string): string | undefined;
|
|
15
24
|
/** The central instrumentation config, to pass as the loader's `instrumentations` option. */
|
|
16
25
|
export declare function getSentryInstrumentations(): InstrumentationConfig[];
|
|
17
26
|
/**
|
|
@@ -20,5 +29,7 @@ export declare function getSentryInstrumentations(): InstrumentationConfig[];
|
|
|
20
29
|
* Instrumented packages marked as `externals` never pass through the code
|
|
21
30
|
* transform, so a compilation warning is emitted for them.
|
|
22
31
|
*/
|
|
23
|
-
export declare function sentryOrchestrionWebpackPlugin(options?: PluginOptions):
|
|
32
|
+
export declare function sentryOrchestrionWebpackPlugin(options?: PluginOptions): {
|
|
33
|
+
apply(compiler: Compiler): void;
|
|
34
|
+
};
|
|
24
35
|
//# sourceMappingURL=webpack.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"webpack.d.ts","sourceRoot":"","sources":["../../../../src/orchestrion/bundler/webpack.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"webpack.d.ts","sourceRoot":"","sources":["../../../../src/orchestrion/bundler/webpack.ts"],"names":[],"mappings":"AAIA,OAAO,KAAK,EAAE,QAAQ,EAAE,MAAM,SAAS,CAAC;AACxC,OAAO,KAAK,EAAE,qBAAqB,EAAE,MAAM,IAAI,CAAC;AAGhD,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,WAAW,CAAC;AAG/C,OAAO,KAAK,EAAE,wBAAwB,EAAE,iCAAiC,EAAE,MAAM,aAAa,CAAC;AAK/F,eAAO,MAAM,yBAAyB,EAAE,CAAC,OAAO,EAAE,wBAAwB,EAAE,KAAK,iCAAiC,EACnF,CAAC;AAChC,YAAY,EAAE,iCAAiC,EAAE,MAAM,aAAa,CAAC;AAerE;;;;GAIG;AACH,wBAAgB,wBAAwB,IAAI,MAAM,CAEjD;AAED;;;;;;;;;GASG;AACH,wBAAgB,gCAAgC,CAAC,OAAO,EAAE,MAAM,GAAG,MAAM,GAAG,SAAS,CAMpF;AAED,6FAA6F;AAC7F,wBAAgB,yBAAyB,IAAI,qBAAqB,EAAE,CAEnE;AA4CD;;;;;GAKG;AACH,wBAAgB,8BAA8B,CAAC,OAAO,GAAE,aAAkB,GAAG;IAAE,KAAK,CAAC,QAAQ,EAAE,QAAQ,GAAG,IAAI,CAAA;CAAE,CAiB/G"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"aws-sdk.d.ts","sourceRoot":"","sources":["../../../../src/orchestrion/config/aws-sdk.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,qBAAqB,EAAE,MAAM,
|
|
1
|
+
{"version":3,"file":"aws-sdk.d.ts","sourceRoot":"","sources":["../../../../src/orchestrion/config/aws-sdk.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,qBAAqB,EAAE,MAAM,aAAa,CAAC;AAYzD,eAAO,MAAM,YAAY;;;;;;;;;;;;GAgBU,CAAC;AAEpC,eAAO,MAAM,cAAc;;;;CAIjB,CAAC;AAEX,eAAO,MAAM,wBAAwB,yBAAsC,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"koa.d.ts","sourceRoot":"","sources":["../../../../src/orchestrion/config/koa.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,qBAAqB,EAAE,MAAM,
|
|
1
|
+
{"version":3,"file":"koa.d.ts","sourceRoot":"","sources":["../../../../src/orchestrion/config/koa.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,qBAAqB,EAAE,MAAM,aAAa,CAAC;AAGzD,eAAO,MAAM,SAAS;;;;;;;;;;;;GAMa,CAAC;AAEpC,eAAO,MAAM,WAAW;;CAEd,CAAC;AAEX,eAAO,MAAM,qBAAqB,yBAAmC,CAAC"}
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import type { InstrumentationConfig } from '..';
|
|
2
2
|
export declare const langgraphConfig: ({
|
|
3
3
|
channelName: string;
|
|
4
|
-
module: import("
|
|
4
|
+
module: import("../apmTypes").ModuleMatcher;
|
|
5
5
|
functionQuery: {
|
|
6
6
|
className: string;
|
|
7
7
|
methodName: string;
|
|
@@ -9,7 +9,7 @@ export declare const langgraphConfig: ({
|
|
|
9
9
|
};
|
|
10
10
|
} | {
|
|
11
11
|
channelName: string;
|
|
12
|
-
module: import("
|
|
12
|
+
module: import("../apmTypes").ModuleMatcher;
|
|
13
13
|
functionQuery: {
|
|
14
14
|
functionName: string;
|
|
15
15
|
kind: "Sync";
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import type { InstrumentationConfig } from '
|
|
1
|
+
import type { InstrumentationConfig } from '../apmTypes';
|
|
2
2
|
/**
|
|
3
3
|
* Name shared by the `Program` injection configs (their `transform` field) and
|
|
4
4
|
* the custom transform registered on the bundler plugin (its `customTransforms`
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"subscribe-injection.d.ts","sourceRoot":"","sources":["../../../../src/orchestrion/config/subscribe-injection.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,qBAAqB,EAAE,MAAM,
|
|
1
|
+
{"version":3,"file":"subscribe-injection.d.ts","sourceRoot":"","sources":["../../../../src/orchestrion/config/subscribe-injection.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,qBAAqB,EAAE,MAAM,aAAa,CAAC;AAEzD;;;;;;;;GAQG;AACH,eAAO,MAAM,wBAAwB,sCAAsC,CAAC;AAE5E;;;;;;;;;;;;;;;;;GAiBG;AACH,wBAAgB,qBAAqB,CAAC,OAAO,EAAE,qBAAqB,EAAE,GAAG,qBAAqB,EAAE,CAsB/F"}
|
|
@@ -34,7 +34,7 @@ export type { IORedisChannelIntegrationOptions, IORedisResponseHook } from '../i
|
|
|
34
34
|
export type { PostgresJsChannelIntegrationOptions } from '../integrations/tracing-channel/postgres-js';
|
|
35
35
|
export { redisChannelIntegration } from '../integrations/tracing-channel/redis';
|
|
36
36
|
export type { RedisChannelIntegrationOptions, RedisResponseHook } from '../integrations/tracing-channel/redis';
|
|
37
|
-
export type { InstrumentationConfig, CustomTransform } from '
|
|
37
|
+
export type { InstrumentationConfig, CustomTransform } from './apmTypes';
|
|
38
38
|
export type * from '../integrations/tracing-channel/graphql/graphql-types';
|
|
39
39
|
/**
|
|
40
40
|
* The canonical set of orchestrion diagnostics-channel integrations, keyed by their public
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/orchestrion/index.ts"],"names":[],"mappings":"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
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/orchestrion/index.ts"],"names":[],"mappings":"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"}
|
|
@@ -1,11 +1,7 @@
|
|
|
1
1
|
export interface RegisterDiagnosticsChannelInjectionOptions {
|
|
2
2
|
/**
|
|
3
|
-
*
|
|
4
|
-
*
|
|
5
|
-
* Needed when SDK code is bundled into an app's server build: the default bare-specifier
|
|
6
|
-
* require then resolves from the emitted chunk, which fails under isolated installs (pnpm).
|
|
7
|
-
* Framework SDKs (e.g. `@sentry/nextjs`) resolve the package at build time and pass its
|
|
8
|
-
* location here; it is loaded through an opaque `createRequire` that bundlers can't trace.
|
|
3
|
+
* @deprecated No longer used and ignored. The `@apm-js-collab/tracing-hooks` runtime is compiled
|
|
4
|
+
* into this package's build, so there is no package location left to point the module hook at.
|
|
9
5
|
*/
|
|
10
6
|
tracingHooksDir?: string;
|
|
11
7
|
}
|
|
@@ -21,5 +17,5 @@ export interface RegisterDiagnosticsChannelInjectionOptions {
|
|
|
21
17
|
* Libraries imported *after* this call publish the `tracingChannel` events that
|
|
22
18
|
* the channel-based integrations subscribe to.
|
|
23
19
|
*/
|
|
24
|
-
export declare function registerDiagnosticsChannelInjection(
|
|
20
|
+
export declare function registerDiagnosticsChannelInjection(_options?: RegisterDiagnosticsChannelInjectionOptions): void;
|
|
25
21
|
//# sourceMappingURL=register.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"register.d.ts","sourceRoot":"","sources":["../../../../src/orchestrion/runtime/register.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"register.d.ts","sourceRoot":"","sources":["../../../../src/orchestrion/runtime/register.ts"],"names":[],"mappings":"AAeA,MAAM,WAAW,0CAA0C;IACzD;;;OAGG;IACH,eAAe,CAAC,EAAE,MAAM,CAAC;CAC1B;AAaD;;;;;;;;;;;GAWG;AACH,wBAAgB,mCAAmC,CAAC,QAAQ,CAAC,EAAE,0CAA0C,GAAG,IAAI,CAwF/G"}
|
|
@@ -0,0 +1,169 @@
|
|
|
1
|
+
/** The kind of function */
|
|
2
|
+
export type FunctionKind = 'Sync' | 'Async' | 'Callback' | 'Auto';
|
|
3
|
+
/** Describes which function to instrument */
|
|
4
|
+
export type FunctionQuery = {
|
|
5
|
+
className: string;
|
|
6
|
+
methodName: string;
|
|
7
|
+
kind: FunctionKind;
|
|
8
|
+
index?: number | null;
|
|
9
|
+
isExportAlias?: boolean;
|
|
10
|
+
} | {
|
|
11
|
+
className: string;
|
|
12
|
+
privateMethodName: string;
|
|
13
|
+
kind: FunctionKind;
|
|
14
|
+
index?: number | null;
|
|
15
|
+
} | {
|
|
16
|
+
className: string;
|
|
17
|
+
index?: number | null;
|
|
18
|
+
isExportAlias?: boolean;
|
|
19
|
+
} | {
|
|
20
|
+
methodName: string;
|
|
21
|
+
kind: FunctionKind;
|
|
22
|
+
index?: number | null;
|
|
23
|
+
} | {
|
|
24
|
+
functionName: string;
|
|
25
|
+
kind: FunctionKind;
|
|
26
|
+
index?: number | null;
|
|
27
|
+
isExportAlias?: boolean;
|
|
28
|
+
} | {
|
|
29
|
+
expressionName: string;
|
|
30
|
+
kind: FunctionKind;
|
|
31
|
+
index?: number | null;
|
|
32
|
+
isExportAlias?: boolean;
|
|
33
|
+
};
|
|
34
|
+
/**
|
|
35
|
+
* A custom transform function registered via `addTransform`. Receives the instrumentation state
|
|
36
|
+
* and the matched AST node.
|
|
37
|
+
*
|
|
38
|
+
* Upstream types the node parameters with estree's `Node`; here they are `unknown` so the shipped
|
|
39
|
+
* declarations don't depend on `@types/estree` being installed.
|
|
40
|
+
*/
|
|
41
|
+
export type CustomTransform = (state: unknown, node: unknown, parent: unknown, ancestry: unknown[]) => void;
|
|
42
|
+
/**
|
|
43
|
+
* The behaviour-only fields of a `FunctionQuery`. Used together with `astQuery`, where the raw
|
|
44
|
+
* selector chooses the node and these fields drive how it is wrapped (the name-based matching
|
|
45
|
+
* fields are ignored).
|
|
46
|
+
*/
|
|
47
|
+
export interface FunctionBehavior {
|
|
48
|
+
kind?: FunctionKind;
|
|
49
|
+
index?: number | null;
|
|
50
|
+
callbackIndex?: number;
|
|
51
|
+
mutableResult?: boolean;
|
|
52
|
+
}
|
|
53
|
+
/** Describes the module and file path you would like to match */
|
|
54
|
+
export interface ModuleMatcher {
|
|
55
|
+
/** The name of the module you want to match */
|
|
56
|
+
name: string;
|
|
57
|
+
/** The semver range that you want to match */
|
|
58
|
+
versionRange: string;
|
|
59
|
+
/** The path of the file you want to match from the module root */
|
|
60
|
+
filePath: string | RegExp;
|
|
61
|
+
}
|
|
62
|
+
/**
|
|
63
|
+
* Configuration for injecting instrumentation code.
|
|
64
|
+
*
|
|
65
|
+
* Either `functionQuery` (name-based matching) or `astQuery` (a raw esquery selector) must
|
|
66
|
+
* identify the node(s) to instrument. When `astQuery` is set it takes precedence over
|
|
67
|
+
* `functionQuery`'s matching fields, and `functionQuery` becomes an optional bag of behaviour
|
|
68
|
+
* options ({@link FunctionBehavior}).
|
|
69
|
+
*/
|
|
70
|
+
export type InstrumentationConfig = {
|
|
71
|
+
/** The name of the diagnostics channel to publish to */
|
|
72
|
+
channelName: string;
|
|
73
|
+
/** The module matcher to identify the module and file to instrument */
|
|
74
|
+
module: ModuleMatcher;
|
|
75
|
+
/** The function query to identify the function to instrument */
|
|
76
|
+
functionQuery: FunctionQuery;
|
|
77
|
+
/**
|
|
78
|
+
* A raw esquery selector that chooses the node(s) to instrument. When set, it takes
|
|
79
|
+
* precedence over `functionQuery`'s matching fields.
|
|
80
|
+
*/
|
|
81
|
+
astQuery?: string;
|
|
82
|
+
/**
|
|
83
|
+
* The name of a custom transform registered via `addTransform`. When set, takes precedence
|
|
84
|
+
* over `functionQuery.kind`.
|
|
85
|
+
*/
|
|
86
|
+
transform?: string;
|
|
87
|
+
} | {
|
|
88
|
+
channelName: string;
|
|
89
|
+
module: ModuleMatcher;
|
|
90
|
+
/**
|
|
91
|
+
* A raw esquery selector that chooses the node(s) to instrument. This is the escape hatch
|
|
92
|
+
* for shapes the name-based `functionQuery` can't express, e.g. an anonymous arrow returned
|
|
93
|
+
* by a factory function.
|
|
94
|
+
*/
|
|
95
|
+
astQuery: string;
|
|
96
|
+
/** Behaviour options for the matched node(s); matching fields are ignored. */
|
|
97
|
+
functionQuery?: FunctionBehavior;
|
|
98
|
+
transform?: string;
|
|
99
|
+
};
|
|
100
|
+
/**
|
|
101
|
+
* A plain-object encoding of a `RegExp` that survives JSON serialization. Revive it with
|
|
102
|
+
* `new RegExp(source, flags)`.
|
|
103
|
+
*/
|
|
104
|
+
export interface SerializedRegExp {
|
|
105
|
+
type: 'RegExp';
|
|
106
|
+
source: string;
|
|
107
|
+
flags: string;
|
|
108
|
+
}
|
|
109
|
+
/**
|
|
110
|
+
* An `InstrumentationConfig` whose `module.filePath` is never a `RegExp` instance — regexes are
|
|
111
|
+
* encoded as {@link SerializedRegExp} — making the whole config a POJO that can cross
|
|
112
|
+
* serialization boundaries such as Turbopack's loader options.
|
|
113
|
+
*/
|
|
114
|
+
export type SerializableInstrumentationConfig = InstrumentationConfig extends infer T ? T extends {
|
|
115
|
+
module: InstrumentationConfig['module'];
|
|
116
|
+
} ? Pick<T, Exclude<keyof T, 'module'>> & {
|
|
117
|
+
module: Pick<T['module'], Exclude<keyof T['module'], 'filePath'>> & {
|
|
118
|
+
filePath: string | SerializedRegExp;
|
|
119
|
+
};
|
|
120
|
+
} : never : never;
|
|
121
|
+
/** Either the native config shape or its JSON-safe counterpart. */
|
|
122
|
+
export type AnyInstrumentationConfig = InstrumentationConfig | SerializableInstrumentationConfig;
|
|
123
|
+
/** Diagnostics passed to the `injectDiagnostics` callback. */
|
|
124
|
+
export interface TransformDiagnostics {
|
|
125
|
+
transformedModules: string[];
|
|
126
|
+
failedModules: string[];
|
|
127
|
+
}
|
|
128
|
+
/**
|
|
129
|
+
* A matcher for module ids, mirroring the shape accepted by the bundler transform hook filter
|
|
130
|
+
* (Rollup >= 4.38, Rolldown, Vite). A single string/RegExp (or array) is treated as an `include`;
|
|
131
|
+
* the object form allows both.
|
|
132
|
+
*/
|
|
133
|
+
export type TransformIdFilter = string | RegExp | Array<string | RegExp> | {
|
|
134
|
+
include?: string | RegExp | Array<string | RegExp>;
|
|
135
|
+
exclude?: string | RegExp | Array<string | RegExp>;
|
|
136
|
+
};
|
|
137
|
+
/** Options accepted by the code-transformer bundler plugins. */
|
|
138
|
+
export interface CodeTransformerPluginOptions {
|
|
139
|
+
/** Array of instrumentation configurations */
|
|
140
|
+
instrumentations: InstrumentationConfig[];
|
|
141
|
+
/** Optional path to a polyfill module for diagnostics_channel */
|
|
142
|
+
dcModule?: string;
|
|
143
|
+
/** Optional callback that that injects the code returned */
|
|
144
|
+
injectDiagnostics?: (diagnostics: TransformDiagnostics) => string | undefined;
|
|
145
|
+
/**
|
|
146
|
+
* Custom transforms registered on the matcher via orchestrion's `addTransform`. An
|
|
147
|
+
* `InstrumentationConfig` opts in by naming one of these in its `transform` field; the function
|
|
148
|
+
* is then called for every AST node matched by that config's `functionQuery`/`astQuery` with
|
|
149
|
+
* `(state, node, parent, ancestry)`, where `state` is the matched config spread together with
|
|
150
|
+
* `{ dcModule, moduleType, moduleVersion }`.
|
|
151
|
+
*
|
|
152
|
+
* A single transform can serve many configs — each invocation can branch on
|
|
153
|
+
* `state.module.name` or `state.channelName` to tell the sites apart.
|
|
154
|
+
*/
|
|
155
|
+
customTransforms?: Record<string, CustomTransform>;
|
|
156
|
+
/**
|
|
157
|
+
* Restricts which modules the transform hook runs on, via the bundler's hook filter
|
|
158
|
+
* (Rollup >= 4.38, Rolldown, Vite). All built-in instrumentations live within `node_modules`,
|
|
159
|
+
* which is the default. Provide your own matcher to broaden or narrow this — e.g. to also
|
|
160
|
+
* transform your own source — or pass `false` to disable filtering entirely.
|
|
161
|
+
*
|
|
162
|
+
* Bundlers without hook-filter support (esbuild, webpack) ignore this; the transformer skips
|
|
163
|
+
* non-matching modules regardless.
|
|
164
|
+
*
|
|
165
|
+
* @default /node_modules/
|
|
166
|
+
*/
|
|
167
|
+
transformFilter?: TransformIdFilter | false;
|
|
168
|
+
}
|
|
169
|
+
//# sourceMappingURL=apmTypes.d.ts.map
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import
|
|
1
|
+
import { Plugin } from 'esbuild';
|
|
2
2
|
import { PluginOptions } from './options';
|
|
3
3
|
/**
|
|
4
4
|
* esbuild plugin that runs the orchestrion code transform on the bundled output.
|
|
@@ -16,5 +16,5 @@ import { PluginOptions } from './options';
|
|
|
16
16
|
* await esbuild.build({ plugins: [sentryOrchestrionPlugin()] });
|
|
17
17
|
* ```
|
|
18
18
|
*/
|
|
19
|
-
export declare function sentryOrchestrionPlugin(options?: PluginOptions):
|
|
19
|
+
export declare function sentryOrchestrionPlugin(options?: PluginOptions): Plugin;
|
|
20
20
|
//# sourceMappingURL=esbuild.d.ts.map
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { InstrumentationConfig, CustomTransform } from '..';
|
|
2
|
-
import { CodeTransformerPluginOptions } from '
|
|
2
|
+
import { CodeTransformerPluginOptions } from '../apmTypes';
|
|
3
3
|
export type PluginOptions = {
|
|
4
4
|
/**
|
|
5
5
|
* Additional instrumentations to include with the default instrumentation.
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import
|
|
1
|
+
import { Plugin } from 'rollup';
|
|
2
2
|
import { PluginOptions } from './options';
|
|
3
3
|
/**
|
|
4
4
|
* Rollup plugin that runs the orchestrion code transform on the bundled output.
|
|
@@ -13,5 +13,5 @@ import { PluginOptions } from './options';
|
|
|
13
13
|
* export default { plugins: [sentryOrchestrionPlugin()] };
|
|
14
14
|
* ```
|
|
15
15
|
*/
|
|
16
|
-
export declare function sentryOrchestrionPlugin(options?: PluginOptions):
|
|
16
|
+
export declare function sentryOrchestrionPlugin(options?: PluginOptions): Plugin;
|
|
17
17
|
//# sourceMappingURL=rollup.d.ts.map
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import
|
|
1
|
+
import { Plugin } from 'vite';
|
|
2
2
|
import { PluginOptions } from './options';
|
|
3
3
|
/**
|
|
4
4
|
* Vite plugin that runs the orchestrion code transform on the bundled output.
|
|
@@ -14,5 +14,5 @@ import { PluginOptions } from './options';
|
|
|
14
14
|
* export default { plugins: [sentryOrchestrionPlugin()] };
|
|
15
15
|
* ```
|
|
16
16
|
*/
|
|
17
|
-
export declare function sentryOrchestrionPlugin(options?: PluginOptions):
|
|
17
|
+
export declare function sentryOrchestrionPlugin(options?: PluginOptions): Plugin;
|
|
18
18
|
//# sourceMappingURL=vite.d.ts.map
|
|
@@ -1,17 +1,26 @@
|
|
|
1
|
+
import { Compiler } from 'webpack';
|
|
1
2
|
import { InstrumentationConfig } from '..';
|
|
2
|
-
import codeTransformerWebpack from '@apm-js-collab/code-transformer-bundler-plugins/webpack';
|
|
3
3
|
import { PluginOptions } from './options';
|
|
4
|
-
|
|
5
|
-
export
|
|
6
|
-
|
|
4
|
+
import { AnyInstrumentationConfig, SerializableInstrumentationConfig } from '../apmTypes';
|
|
5
|
+
export declare const serializeInstrumentations: (configs: AnyInstrumentationConfig[]) => SerializableInstrumentationConfig[];
|
|
6
|
+
export { SerializableInstrumentationConfig } from '../apmTypes';
|
|
7
|
+
/**
|
|
8
|
+
* Absolute path to the code-transform loader (a webpack loader; also usable as a Turbopack loader).
|
|
9
|
+
* Resolved via self-reference to this package's own bundled copy — the `@apm-js-collab` packages
|
|
10
|
+
* are bundled devDependencies and not resolvable on user installs.
|
|
11
|
+
*/
|
|
7
12
|
export declare function getOrchestrionLoaderPath(): string;
|
|
8
13
|
/**
|
|
9
|
-
*
|
|
10
|
-
*
|
|
11
|
-
*
|
|
12
|
-
*
|
|
14
|
+
* Resolves a request for one of the orchestrion runtime packages (`@sentry/server-utils` itself, via
|
|
15
|
+
* self-reference, or its `@apm-js-collab/*` dependencies) to an absolute path, from this package's
|
|
16
|
+
* own on-disk location — where the whole dependency graph always resolves, regardless of the
|
|
17
|
+
* consuming app's install layout. Returns `undefined` when the request can't be resolved.
|
|
18
|
+
*
|
|
19
|
+
* Bundler configs use this to emit absolute-path `commonjs` externals: a bare-specifier external
|
|
20
|
+
* emitted into a bundled chunk resolves from the chunk's output location at runtime, which fails
|
|
21
|
+
* under isolated installs (pnpm) where these packages are transitive dependencies.
|
|
13
22
|
*/
|
|
14
|
-
export declare function
|
|
23
|
+
export declare function resolveOrchestrionRuntimeRequest(request: string): string | undefined;
|
|
15
24
|
/** The central instrumentation config, to pass as the loader's `instrumentations` option. */
|
|
16
25
|
export declare function getSentryInstrumentations(): InstrumentationConfig[];
|
|
17
26
|
/**
|
|
@@ -20,5 +29,7 @@ export declare function getSentryInstrumentations(): InstrumentationConfig[];
|
|
|
20
29
|
* Instrumented packages marked as `externals` never pass through the code
|
|
21
30
|
* transform, so a compilation warning is emitted for them.
|
|
22
31
|
*/
|
|
23
|
-
export declare function sentryOrchestrionWebpackPlugin(options?: PluginOptions):
|
|
32
|
+
export declare function sentryOrchestrionWebpackPlugin(options?: PluginOptions): {
|
|
33
|
+
apply(compiler: Compiler): void;
|
|
34
|
+
};
|
|
24
35
|
//# sourceMappingURL=webpack.d.ts.map
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { InstrumentationConfig } from '..';
|
|
2
2
|
export declare const langgraphConfig: ({
|
|
3
3
|
channelName: string;
|
|
4
|
-
module: import("
|
|
4
|
+
module: import("../apmTypes").ModuleMatcher;
|
|
5
5
|
functionQuery: {
|
|
6
6
|
className: string;
|
|
7
7
|
methodName: string;
|
|
@@ -9,7 +9,7 @@ export declare const langgraphConfig: ({
|
|
|
9
9
|
};
|
|
10
10
|
} | {
|
|
11
11
|
channelName: string;
|
|
12
|
-
module: import("
|
|
12
|
+
module: import("../apmTypes").ModuleMatcher;
|
|
13
13
|
functionQuery: {
|
|
14
14
|
functionName: string;
|
|
15
15
|
kind: "Sync";
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { InstrumentationConfig } from '
|
|
1
|
+
import { InstrumentationConfig } from '../apmTypes';
|
|
2
2
|
/**
|
|
3
3
|
* Name shared by the `Program` injection configs (their `transform` field) and
|
|
4
4
|
* the custom transform registered on the bundler plugin (its `customTransforms`
|
|
@@ -34,7 +34,7 @@ export { IORedisChannelIntegrationOptions, IORedisResponseHook } from '../integr
|
|
|
34
34
|
export { PostgresJsChannelIntegrationOptions } from '../integrations/tracing-channel/postgres-js';
|
|
35
35
|
export { redisChannelIntegration } from '../integrations/tracing-channel/redis';
|
|
36
36
|
export { RedisChannelIntegrationOptions, RedisResponseHook } from '../integrations/tracing-channel/redis';
|
|
37
|
-
export { InstrumentationConfig, CustomTransform } from '
|
|
37
|
+
export { InstrumentationConfig, CustomTransform } from './apmTypes';
|
|
38
38
|
export * from '../integrations/tracing-channel/graphql/graphql-types';
|
|
39
39
|
/**
|
|
40
40
|
* The canonical set of orchestrion diagnostics-channel integrations, keyed by their public
|
|
@@ -1,11 +1,7 @@
|
|
|
1
1
|
export interface RegisterDiagnosticsChannelInjectionOptions {
|
|
2
2
|
/**
|
|
3
|
-
*
|
|
4
|
-
*
|
|
5
|
-
* Needed when SDK code is bundled into an app's server build: the default bare-specifier
|
|
6
|
-
* require then resolves from the emitted chunk, which fails under isolated installs (pnpm).
|
|
7
|
-
* Framework SDKs (e.g. `@sentry/nextjs`) resolve the package at build time and pass its
|
|
8
|
-
* location here; it is loaded through an opaque `createRequire` that bundlers can't trace.
|
|
3
|
+
* @deprecated No longer used and ignored. The `@apm-js-collab/tracing-hooks` runtime is compiled
|
|
4
|
+
* into this package's build, so there is no package location left to point the module hook at.
|
|
9
5
|
*/
|
|
10
6
|
tracingHooksDir?: string;
|
|
11
7
|
}
|
|
@@ -21,5 +17,5 @@ export interface RegisterDiagnosticsChannelInjectionOptions {
|
|
|
21
17
|
* Libraries imported *after* this call publish the `tracingChannel` events that
|
|
22
18
|
* the channel-based integrations subscribe to.
|
|
23
19
|
*/
|
|
24
|
-
export declare function registerDiagnosticsChannelInjection(
|
|
20
|
+
export declare function registerDiagnosticsChannelInjection(_options?: RegisterDiagnosticsChannelInjectionOptions): void;
|
|
25
21
|
//# sourceMappingURL=register.d.ts.map
|
package/changes.json
CHANGED
|
@@ -1,18 +1,10 @@
|
|
|
1
1
|
{
|
|
2
2
|
"bumped": {
|
|
3
|
-
"@apm-js-collab/code-transformer-bundler-plugins": {
|
|
4
|
-
"from": "^0.7.3",
|
|
5
|
-
"to": "^0.7.4"
|
|
6
|
-
},
|
|
7
3
|
"@sentry/conventions": {
|
|
8
4
|
"from": "^0.16.0",
|
|
9
5
|
"to": "^0.20.0"
|
|
10
|
-
},
|
|
11
|
-
"meriyah": {
|
|
12
|
-
"from": "^6.1.4",
|
|
13
|
-
"to": "^7.3.2"
|
|
14
6
|
}
|
|
15
7
|
},
|
|
16
|
-
"timestamp": "2026-08-
|
|
17
|
-
"totalUpdated":
|
|
8
|
+
"timestamp": "2026-08-28T20:01:36.897Z",
|
|
9
|
+
"totalUpdated": 1
|
|
18
10
|
}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@depup/sentry__server-utils",
|
|
3
|
-
"version": "10.
|
|
3
|
+
"version": "10.72.0-depup.0",
|
|
4
4
|
"description": "Server Utilities for all Sentry JavaScript SDKs (with updated dependencies)",
|
|
5
5
|
"repository": "git://github.com/getsentry/sentry-javascript.git",
|
|
6
6
|
"homepage": "https://github.com/getsentry/sentry-javascript/tree/master/packages/server-utils",
|
|
@@ -54,6 +54,10 @@
|
|
|
54
54
|
"import": "./build/esm/orchestrion/bundler/webpack.js",
|
|
55
55
|
"require": "./build/cjs/orchestrion/bundler/webpack.js"
|
|
56
56
|
},
|
|
57
|
+
"./orchestrion/webpack-loader": {
|
|
58
|
+
"import": "./build/esm/orchestrion/bundler/webpack-loader.js",
|
|
59
|
+
"require": "./build/cjs/orchestrion/bundler/webpack-loader.js"
|
|
60
|
+
},
|
|
57
61
|
"./orchestrion/esbuild": {
|
|
58
62
|
"types": "./build/types/orchestrion/bundler/esbuild.d.ts",
|
|
59
63
|
"import": "./build/esm/orchestrion/bundler/esbuild.js",
|
|
@@ -61,6 +65,9 @@
|
|
|
61
65
|
},
|
|
62
66
|
"./orchestrion/import-hook": {
|
|
63
67
|
"import": "./build/orchestrion/import-hook.mjs"
|
|
68
|
+
},
|
|
69
|
+
"./orchestrion/hook": {
|
|
70
|
+
"import": "./build/esm/orchestrion/runtime/hook.js"
|
|
64
71
|
}
|
|
65
72
|
},
|
|
66
73
|
"typesVersions": {
|
|
@@ -115,14 +122,14 @@
|
|
|
115
122
|
}
|
|
116
123
|
},
|
|
117
124
|
"dependencies": {
|
|
118
|
-
"@apm-js-collab/code-transformer-bundler-plugins": "^0.7.4",
|
|
119
|
-
"@apm-js-collab/tracing-hooks": "^0.13.0",
|
|
120
125
|
"@sentry/conventions": "^0.20.0",
|
|
121
|
-
"@sentry/core": "10.
|
|
122
|
-
"meriyah": "^7.3.2"
|
|
126
|
+
"@sentry/core": "10.72.0"
|
|
123
127
|
},
|
|
124
128
|
"devDependencies": {
|
|
129
|
+
"@apm-js-collab/code-transformer-bundler-plugins": "^0.7.3",
|
|
130
|
+
"@apm-js-collab/tracing-hooks": "^0.13.0",
|
|
125
131
|
"@types/node": "^18.19.1",
|
|
132
|
+
"meriyah": "^6.1.4",
|
|
126
133
|
"vite": "^6.4.3"
|
|
127
134
|
},
|
|
128
135
|
"scripts": {
|
|
@@ -172,23 +179,15 @@
|
|
|
172
179
|
],
|
|
173
180
|
"depup": {
|
|
174
181
|
"changes": {
|
|
175
|
-
"@apm-js-collab/code-transformer-bundler-plugins": {
|
|
176
|
-
"from": "^0.7.3",
|
|
177
|
-
"to": "^0.7.4"
|
|
178
|
-
},
|
|
179
182
|
"@sentry/conventions": {
|
|
180
183
|
"from": "^0.16.0",
|
|
181
184
|
"to": "^0.20.0"
|
|
182
|
-
},
|
|
183
|
-
"meriyah": {
|
|
184
|
-
"from": "^6.1.4",
|
|
185
|
-
"to": "^7.3.2"
|
|
186
185
|
}
|
|
187
186
|
},
|
|
188
|
-
"depsUpdated":
|
|
187
|
+
"depsUpdated": 1,
|
|
189
188
|
"originalPackage": "@sentry/server-utils",
|
|
190
|
-
"originalVersion": "10.
|
|
191
|
-
"processedAt": "2026-08-
|
|
189
|
+
"originalVersion": "10.72.0",
|
|
190
|
+
"processedAt": "2026-08-28T20:01:40.807Z",
|
|
192
191
|
"smokeTest": "failed"
|
|
193
192
|
}
|
|
194
193
|
}
|