@unbrained/pm-cli 2026.11.16 → 2026.11.17
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/.claude-plugin/marketplace.json +1 -1
- package/dist/cli/main.js +2 -2
- package/dist/cli/register-mutation.js +3 -2
- package/dist/cli/runtime/invocation-rewrites.js +2 -0
- package/dist/cli-bundle/bundle-manifest.json +1 -1
- package/dist/cli-bundle/chunks/{chunk-ERD2RYWM.js → chunk-2WHXFKMY.js} +31 -31
- package/dist/cli-bundle/chunks/{chunk-VJLZHOTP.js → chunk-36R3JTAD.js} +2 -2
- package/dist/cli-bundle/chunks/{chunk-FZ4XWWLO.js → chunk-3IU2S5UQ.js} +43 -43
- package/dist/cli-bundle/chunks/chunk-4FIN2XWC.js +2 -0
- package/dist/cli-bundle/chunks/{chunk-NHNM3GIP.js → chunk-5OFMWP3Q.js} +3 -3
- package/dist/cli-bundle/chunks/{chunk-2WNORBVN.js → chunk-77MGDTK4.js} +83 -83
- package/dist/cli-bundle/chunks/{chunk-F7P42FL5.js → chunk-7K2RUKMK.js} +4 -4
- package/dist/cli-bundle/chunks/chunk-7UUPLMCU.js +115 -0
- package/dist/cli-bundle/chunks/chunk-ABFHWRLE.js +2 -0
- package/dist/cli-bundle/chunks/{chunk-KGOGLKL2.js → chunk-ACLBUVQG.js} +2 -2
- package/dist/cli-bundle/chunks/{chunk-DZWRNL6R.js → chunk-ADKDFCVT.js} +2 -2
- package/dist/cli-bundle/chunks/chunk-AM26RAG7.js +124 -0
- package/dist/cli-bundle/chunks/chunk-CR5GC3VO.js +9 -0
- package/dist/cli-bundle/chunks/chunk-DXSZL3T6.js +3 -0
- package/dist/cli-bundle/chunks/chunk-FXSLODOK.js +2 -0
- package/dist/cli-bundle/chunks/chunk-H64BNM4A.js +8 -0
- package/dist/cli-bundle/chunks/{chunk-2D26HRXB.js → chunk-HQYIKAC6.js} +2 -2
- package/dist/cli-bundle/chunks/{chunk-I3T2FVUA.js → chunk-KIQNEOKJ.js} +2 -2
- package/dist/cli-bundle/chunks/chunk-O4ZSIMNC.js +8 -0
- package/dist/cli-bundle/chunks/chunk-QANUQMDL.js +6 -0
- package/dist/cli-bundle/chunks/{chunk-4I7YG3VZ.js → chunk-QZNL5XDT.js} +2 -2
- package/dist/cli-bundle/chunks/chunk-RXNBNF6O.js +2 -0
- package/dist/cli-bundle/chunks/chunk-VLKCFZY6.js +2 -0
- package/dist/cli-bundle/chunks/{chunk-J257NZRD.js → chunk-X5TFNFTS.js} +11 -11
- package/dist/cli-bundle/chunks/chunk-XP35IEHT.js +2 -0
- package/dist/cli-bundle/chunks/chunk-XPBADEUK.js +2 -0
- package/dist/cli-bundle/chunks/{chunk-NYN5OR2T.js → chunk-Y4LXVPA5.js} +2 -2
- package/dist/cli-bundle/chunks/{indexed-receipt-blobs-HNLN6UXH.js → indexed-receipt-blobs-ELEMA7IW.js} +2 -2
- package/dist/cli-bundle/chunks/{item-revision-PSOL5I4H.js → item-revision-7RVMVXTE.js} +2 -2
- package/dist/cli-bundle/chunks/item-transaction-NVX6P3FK.js +2 -0
- package/dist/cli-bundle/chunks/{mutation-actor-BDBBH3ZS.js → mutation-actor-DDYJW5B4.js} +2 -2
- package/dist/cli-bundle/chunks/mutation-admission-3PKQOAYK.js +2 -0
- package/dist/cli-bundle/chunks/{register-list-query-AESCVO6H.js → register-list-query-TPZLHFHQ.js} +2 -2
- package/dist/cli-bundle/chunks/register-mutation-JG5AEBRJ.js +21 -0
- package/dist/cli-bundle/chunks/register-operations-3CNXP46P.js +2 -0
- package/dist/cli-bundle/chunks/register-setup-4N56VL2P.js +2 -0
- package/dist/cli-bundle/chunks/{settlement-hook-MVVVUIVZ.js → settlement-hook-E5LHZ4RD.js} +2 -2
- package/dist/cli-bundle/chunks/{stage-RMU3JAWM.js → stage-XGWW3T64.js} +2 -2
- package/dist/cli-bundle/focused-chunks/chunk-2MQNIDKG.js +2 -0
- package/dist/cli-bundle/focused-chunks/{chunk-DFBHW7HP.js → chunk-5JVB42Z7.js} +3 -3
- package/dist/cli-bundle/focused-chunks/{chunk-SFATIM77.js → chunk-6JQXDGHM.js} +9 -9
- package/dist/cli-bundle/focused-chunks/{chunk-HHMMIHZP.js → chunk-7RF2YPZ5.js} +2 -2
- package/dist/cli-bundle/focused-chunks/chunk-7Z2NYAK4.js +2 -0
- package/dist/cli-bundle/focused-chunks/chunk-A2CLYPDA.js +102 -0
- package/dist/cli-bundle/focused-chunks/chunk-BNLLST32.js +2 -0
- package/dist/cli-bundle/focused-chunks/{chunk-7SEPCQV2.js → chunk-DH4DHL6V.js} +2 -2
- package/dist/cli-bundle/focused-chunks/chunk-EZXLY6S4.js +2 -0
- package/dist/cli-bundle/focused-chunks/{chunk-KRNF3WTC.js → chunk-FPPYE6CY.js} +2 -2
- package/dist/cli-bundle/focused-chunks/{chunk-ONM2R32I.js → chunk-GD2YWUAD.js} +50 -50
- package/dist/cli-bundle/focused-chunks/chunk-HO2YUD4P.js +91 -0
- package/dist/cli-bundle/focused-chunks/{chunk-BEHIMEV2.js → chunk-ICEHI4SN.js} +2 -2
- package/dist/cli-bundle/focused-chunks/{chunk-PDXSMSO5.js → chunk-IXYBN6D2.js} +3 -3
- package/dist/cli-bundle/focused-chunks/chunk-MTBC32ZR.js +8 -0
- package/dist/cli-bundle/focused-chunks/chunk-OAIAZHRG.js +2 -0
- package/dist/cli-bundle/focused-chunks/chunk-OPY43DNJ.js +2 -0
- package/dist/cli-bundle/focused-chunks/{chunk-DZMP3VYQ.js → chunk-SESMRMEE.js} +2 -2
- package/dist/cli-bundle/focused-chunks/{chunk-PEL4SQXV.js → chunk-VBA4BIHN.js} +2 -2
- package/dist/cli-bundle/focused-chunks/{chunk-UBBTBNUY.js → chunk-XJS4COL2.js} +2 -2
- package/dist/cli-bundle/focused-chunks/chunk-XS2YZCT5.js +2 -0
- package/dist/cli-bundle/focused-chunks/chunk-YWPLBFPC.js +44 -0
- package/dist/cli-bundle/focused-chunks/{chunk-6E4X7MQA.js → chunk-ZDY5L2C2.js} +7 -7
- package/dist/cli-bundle/focused-chunks/chunk-ZFUZ4YYN.js +8 -0
- package/dist/cli-bundle/focused-chunks/{indexed-receipt-blobs-ADMQXF3N.js → indexed-receipt-blobs-ZTRFCPH7.js} +2 -2
- package/dist/cli-bundle/focused-chunks/item-revision-U7GDVAH7.js +2 -0
- package/dist/cli-bundle/focused-chunks/item-transaction-7C4BH47O.js +2 -0
- package/dist/cli-bundle/focused-chunks/mutation-actor-2SVBO324.js +2 -0
- package/dist/cli-bundle/focused-chunks/mutation-admission-SKXVITP5.js +2 -0
- package/dist/cli-bundle/focused-chunks/{settlement-hook-5U2M75BY.js → settlement-hook-OUBUN45C.js} +2 -2
- package/dist/cli-bundle/focused-chunks/stage-LVAGKCEE.js +2 -0
- package/dist/cli-bundle/main.js +27 -27
- package/dist/cli-bundle/sdk-authoring.js +1 -1
- package/dist/cli-bundle/sdk-contracts.js +2 -2
- package/dist/cli-bundle/sdk-core.js +1 -1
- package/dist/cli-bundle/sdk-governance.js +1 -1
- package/dist/cli-bundle/sdk-graph.js +1 -1
- package/dist/cli-bundle/sdk-merge.js +57 -57
- package/dist/cli-bundle/sdk-query.js +1 -1
- package/dist/cli-bundle/sdk-runtime.js +1 -1
- package/dist/cli-bundle/sdk-testing.js +1 -1
- package/dist/cli-bundle/sdk.js +4 -4
- package/dist/core/extensions/extension-hook-runtime.d.ts +14 -2
- package/dist/core/extensions/extension-hook-runtime.js +1 -1
- package/dist/core/extensions/extension-types.d.ts +14 -0
- package/dist/core/extensions/extension-types.js +1 -1
- package/dist/core/extensions/index.d.ts +1 -1
- package/dist/core/extensions/index.js +1 -1
- package/dist/core/policy/workflow-policy-store.js +1 -1
- package/dist/core/store/item-mutation-precondition.d.ts +32 -1
- package/dist/core/store/item-mutation-precondition.js +1 -1
- package/dist/core/store/item-store.js +1 -1
- package/dist/core/store/transaction-coordinator-scope.js +2 -0
- package/dist/sdk/authoring.d.ts +1 -1
- package/dist/sdk/authoring.js +1 -1
- package/dist/sdk/cli-bootstrap.js +1 -1
- package/dist/sdk/item-transaction.js +1 -1
- package/dist/sdk/lifecycle/copy.js +1 -1
- package/dist/sdk/lifecycle/create.js +1 -1
- package/dist/sdk/lifecycle/restore.js +1 -1
- package/dist/sdk/package-import-adapters.d.ts +14 -1
- package/dist/sdk/package-import-adapters.js +1 -1
- package/dist/sdk/public-surface.json +1 -1
- package/dist/sdk/testing.d.ts +21 -3
- package/dist/sdk/testing.js +2 -2
- package/dist/sdk/workspace-transaction.js +2 -2
- package/docs/EXTENSIONS.md +1 -1
- package/docs/MIGRATION_CLI_SIMPLIFICATION.md +1 -1
- package/docs/SDK.md +40 -3
- package/docs/WORKFLOW_POLICIES.md +23 -0
- package/marketplace.json +1 -1
- package/node_modules/@opentelemetry/core/build/esm/version.d.ts +1 -1
- package/node_modules/@opentelemetry/core/build/esm/version.js +1 -1
- package/node_modules/@opentelemetry/core/build/esnext/version.d.ts +1 -1
- package/node_modules/@opentelemetry/core/build/esnext/version.js +1 -1
- package/node_modules/@opentelemetry/core/build/src/version.d.ts +1 -1
- package/node_modules/@opentelemetry/core/build/src/version.js +1 -1
- package/node_modules/@opentelemetry/core/package.json +2 -2
- package/node_modules/@opentelemetry/resources/build/esm/detectors/platform/node/machine-id/execAsync.d.ts +1 -0
- package/node_modules/@opentelemetry/resources/build/esm/detectors/platform/node/machine-id/execAsync.js +1 -0
- package/node_modules/@opentelemetry/resources/build/esm/detectors/platform/node/machine-id/getMachineId-bsd.js +3 -2
- package/node_modules/@opentelemetry/resources/build/esm/detectors/platform/node/machine-id/getMachineId-darwin.js +3 -2
- package/node_modules/@opentelemetry/resources/build/esm/version.d.ts +1 -1
- package/node_modules/@opentelemetry/resources/build/esm/version.js +1 -1
- package/node_modules/@opentelemetry/resources/build/esnext/detectors/platform/node/machine-id/execAsync.d.ts +1 -0
- package/node_modules/@opentelemetry/resources/build/esnext/detectors/platform/node/machine-id/execAsync.js +1 -0
- package/node_modules/@opentelemetry/resources/build/esnext/detectors/platform/node/machine-id/getMachineId-bsd.js +3 -2
- package/node_modules/@opentelemetry/resources/build/esnext/detectors/platform/node/machine-id/getMachineId-darwin.js +3 -2
- package/node_modules/@opentelemetry/resources/build/esnext/version.d.ts +1 -1
- package/node_modules/@opentelemetry/resources/build/esnext/version.js +1 -1
- package/node_modules/@opentelemetry/resources/build/src/detectors/platform/node/machine-id/execAsync.d.ts +1 -0
- package/node_modules/@opentelemetry/resources/build/src/detectors/platform/node/machine-id/execAsync.js +2 -1
- package/node_modules/@opentelemetry/resources/build/src/detectors/platform/node/machine-id/getMachineId-bsd.js +2 -1
- package/node_modules/@opentelemetry/resources/build/src/detectors/platform/node/machine-id/getMachineId-darwin.js +2 -1
- package/node_modules/@opentelemetry/resources/build/src/version.d.ts +1 -1
- package/node_modules/@opentelemetry/resources/build/src/version.js +1 -1
- package/node_modules/@opentelemetry/resources/package.json +3 -3
- package/node_modules/@opentelemetry/sdk-trace/build/esm/version.d.ts +1 -1
- package/node_modules/@opentelemetry/sdk-trace/build/esm/version.js +1 -1
- package/node_modules/@opentelemetry/sdk-trace/build/esnext/version.d.ts +1 -1
- package/node_modules/@opentelemetry/sdk-trace/build/esnext/version.js +1 -1
- package/node_modules/@opentelemetry/sdk-trace/build/src/version.d.ts +1 -1
- package/node_modules/@opentelemetry/sdk-trace/build/src/version.js +1 -1
- package/node_modules/@opentelemetry/sdk-trace/package.json +5 -5
- package/node_modules/@opentelemetry/sdk-trace-base/build/esm/version.d.ts +1 -1
- package/node_modules/@opentelemetry/sdk-trace-base/build/esm/version.js +1 -1
- package/node_modules/@opentelemetry/sdk-trace-base/build/esnext/version.d.ts +1 -1
- package/node_modules/@opentelemetry/sdk-trace-base/build/esnext/version.js +1 -1
- package/node_modules/@opentelemetry/sdk-trace-base/build/src/version.d.ts +1 -1
- package/node_modules/@opentelemetry/sdk-trace-base/build/src/version.js +1 -1
- package/node_modules/@opentelemetry/sdk-trace-base/package.json +7 -7
- package/node_modules/@opentelemetry/semantic-conventions/dist/experimental_attributes.cjs +18202 -0
- package/node_modules/@opentelemetry/semantic-conventions/{build/src/experimental_attributes.js → dist/experimental_attributes.d.cts} +3328 -1993
- package/node_modules/@opentelemetry/semantic-conventions/{build/esnext/experimental_attributes.js → dist/experimental_attributes.d.mts} +3328 -1935
- package/node_modules/@opentelemetry/semantic-conventions/dist/experimental_attributes.mjs +16385 -0
- package/node_modules/@opentelemetry/semantic-conventions/dist/experimental_events.cjs +325 -0
- package/node_modules/@opentelemetry/semantic-conventions/{build/esnext/experimental_events.js → dist/experimental_events.d.cts} +37 -41
- package/node_modules/@opentelemetry/semantic-conventions/{build/esm/experimental_events.js → dist/experimental_events.d.mts} +37 -41
- package/node_modules/@opentelemetry/semantic-conventions/dist/experimental_events.mjs +295 -0
- package/node_modules/@opentelemetry/semantic-conventions/dist/experimental_metrics.cjs +4929 -0
- package/node_modules/@opentelemetry/semantic-conventions/{build/esnext/experimental_metrics.js → dist/experimental_metrics.d.cts} +955 -597
- package/node_modules/@opentelemetry/semantic-conventions/{build/esm/experimental_metrics.js → dist/experimental_metrics.d.mts} +955 -597
- package/node_modules/@opentelemetry/semantic-conventions/dist/experimental_metrics.mjs +4419 -0
- package/node_modules/@opentelemetry/semantic-conventions/dist/index-incubating.cjs +2619 -0
- package/node_modules/@opentelemetry/semantic-conventions/dist/index-incubating.d.cts +7 -0
- package/node_modules/@opentelemetry/semantic-conventions/dist/index-incubating.d.mts +7 -0
- package/node_modules/@opentelemetry/semantic-conventions/dist/index-incubating.mjs +7 -0
- package/node_modules/@opentelemetry/semantic-conventions/dist/index.cjs +670 -0
- package/node_modules/@opentelemetry/semantic-conventions/dist/index.d.cts +6 -0
- package/node_modules/@opentelemetry/semantic-conventions/dist/index.d.mts +6 -0
- package/node_modules/@opentelemetry/semantic-conventions/dist/index.mjs +6 -0
- package/node_modules/@opentelemetry/semantic-conventions/dist/internal/utils.cjs +20 -0
- package/node_modules/@opentelemetry/semantic-conventions/dist/internal/utils.mjs +20 -0
- package/node_modules/@opentelemetry/semantic-conventions/dist/resource/SemanticResourceAttributes.cjs +1326 -0
- package/node_modules/@opentelemetry/semantic-conventions/{build/esnext/resource/SemanticResourceAttributes.d.ts → dist/resource/SemanticResourceAttributes.d.cts} +600 -597
- package/node_modules/@opentelemetry/semantic-conventions/{build/src/resource/SemanticResourceAttributes.d.ts → dist/resource/SemanticResourceAttributes.d.mts} +600 -597
- package/node_modules/@opentelemetry/semantic-conventions/dist/resource/SemanticResourceAttributes.mjs +1188 -0
- package/node_modules/@opentelemetry/semantic-conventions/dist/stable_attributes.cjs +2038 -0
- package/node_modules/@opentelemetry/semantic-conventions/{build/esm/stable_attributes.js → dist/stable_attributes.d.cts} +327 -220
- package/node_modules/@opentelemetry/semantic-conventions/{build/esnext/stable_attributes.js → dist/stable_attributes.d.mts} +327 -220
- package/node_modules/@opentelemetry/semantic-conventions/dist/stable_attributes.mjs +1841 -0
- package/node_modules/@opentelemetry/semantic-conventions/dist/stable_events.cjs +9 -0
- package/node_modules/@opentelemetry/semantic-conventions/dist/stable_events.d.cts +8 -0
- package/node_modules/@opentelemetry/semantic-conventions/dist/stable_events.d.mts +8 -0
- package/node_modules/@opentelemetry/semantic-conventions/dist/stable_events.mjs +9 -0
- package/node_modules/@opentelemetry/semantic-conventions/dist/stable_metrics.cjs +378 -0
- package/node_modules/@opentelemetry/semantic-conventions/{build/src/stable_metrics.js → dist/stable_metrics.d.cts} +69 -63
- package/node_modules/@opentelemetry/semantic-conventions/{build/esm/stable_metrics.js → dist/stable_metrics.d.mts} +69 -59
- package/node_modules/@opentelemetry/semantic-conventions/dist/stable_metrics.mjs +326 -0
- package/node_modules/@opentelemetry/semantic-conventions/dist/trace/SemanticAttributes.cjs +2508 -0
- package/node_modules/@opentelemetry/semantic-conventions/{build/esnext/trace/SemanticAttributes.d.ts → dist/trace/SemanticAttributes.d.cts} +1097 -1094
- package/node_modules/@opentelemetry/semantic-conventions/{build/src/trace/SemanticAttributes.d.ts → dist/trace/SemanticAttributes.d.mts} +1097 -1094
- package/node_modules/@opentelemetry/semantic-conventions/dist/trace/SemanticAttributes.mjs +2236 -0
- package/node_modules/@opentelemetry/semantic-conventions/package.json +27 -42
- package/node_modules/@sentry/core/build/cjs/client.js +14 -5
- package/node_modules/@sentry/core/build/cjs/integrations/express/patch-layer.js +15 -1
- package/node_modules/@sentry/core/build/cjs/integrations/http/client-subscriptions.js +10 -1
- package/node_modules/@sentry/core/build/cjs/scope.js +0 -1
- package/node_modules/@sentry/core/build/cjs/tracing/openai/utils.js +1 -7
- package/node_modules/@sentry/core/build/cjs/tracing/sentrySpan.js +11 -0
- package/node_modules/@sentry/core/build/cjs/utils/envelope.js +1 -1
- package/node_modules/@sentry/core/build/cjs/utils/sql.js +1 -1
- package/node_modules/@sentry/core/build/cjs/utils/tunnel.js +9 -0
- package/node_modules/@sentry/core/build/cjs/utils/version.js +1 -1
- package/node_modules/@sentry/core/build/esm/client.js +14 -5
- package/node_modules/@sentry/core/build/esm/integrations/express/patch-layer.js +15 -1
- package/node_modules/@sentry/core/build/esm/integrations/http/client-subscriptions.js +10 -1
- package/node_modules/@sentry/core/build/esm/package.json +1 -1
- package/node_modules/@sentry/core/build/esm/scope.js +0 -1
- package/node_modules/@sentry/core/build/esm/tracing/openai/utils.js +1 -7
- package/node_modules/@sentry/core/build/esm/tracing/sentrySpan.js +11 -0
- package/node_modules/@sentry/core/build/esm/utils/envelope.js +1 -1
- package/node_modules/@sentry/core/build/esm/utils/sql.js +1 -1
- package/node_modules/@sentry/core/build/esm/utils/tunnel.js +9 -1
- package/node_modules/@sentry/core/build/esm/utils/version.js +1 -1
- package/node_modules/@sentry/core/build/types/types/datacategory.d.ts +1 -1
- package/node_modules/@sentry/core/build/types/utils/tunnel.d.ts +1 -0
- package/node_modules/@sentry/core/build/types-ts3.8/types/datacategory.d.ts +1 -1
- package/node_modules/@sentry/core/build/types-ts3.8/utils/tunnel.d.ts +1 -0
- package/node_modules/@sentry/core/package.json +1 -1
- package/node_modules/@sentry/node/build/cjs/integrations/tracing/redis/index.js +1 -1
- package/node_modules/@sentry/node/build/esm/package.json +1 -1
- package/node_modules/@sentry/node/package.json +6 -6
- package/node_modules/@sentry/node-core/build/cjs/integrations/anr/index.js +1 -1
- package/node_modules/@sentry/node-core/build/cjs/integrations/contextlines.js +6 -4
- package/node_modules/@sentry/node-core/build/cjs/integrations/local-variables/local-variables-async.js +1 -1
- package/node_modules/@sentry/node-core/build/cjs/integrations/modules.js +21 -2
- package/node_modules/@sentry/node-core/build/cjs/integrations/node-fetch/undici-instrumentation.js +8 -0
- package/node_modules/@sentry/node-core/build/esm/integrations/anr/index.js +1 -1
- package/node_modules/@sentry/node-core/build/esm/integrations/anr/worker-script.js +2 -2
- package/node_modules/@sentry/node-core/build/esm/integrations/contextlines.js +7 -5
- package/node_modules/@sentry/node-core/build/esm/integrations/local-variables/local-variables-async.js +1 -1
- package/node_modules/@sentry/node-core/build/esm/integrations/local-variables/worker-script.js +1 -1
- package/node_modules/@sentry/node-core/build/esm/integrations/node-fetch/undici-instrumentation.js +8 -0
- package/node_modules/@sentry/node-core/build/esm/package.json +1 -1
- package/node_modules/@sentry/node-core/package.json +9 -9
- package/node_modules/@sentry/opentelemetry/build/esm/package.json +1 -1
- package/node_modules/@sentry/opentelemetry/package.json +6 -6
- package/node_modules/@sentry/server-utils/build/THIRD-PARTY-LICENSES.txt +32 -32
- package/node_modules/@sentry/server-utils/build/cjs/integrations/tracing-channel/express/instrumentation.js +12 -1
- package/node_modules/@sentry/server-utils/build/esm/integrations/tracing-channel/express/instrumentation.js +13 -2
- package/node_modules/@sentry/server-utils/build/esm/package.json +1 -1
- package/node_modules/@sentry/server-utils/build/types/integrations/tracing-channel/express/types.d.ts +1 -1
- package/node_modules/@sentry/server-utils/build/types-ts3.8/integrations/tracing-channel/express/types.d.ts +1 -1
- package/node_modules/@sentry/server-utils/package.json +2 -2
- package/node_modules/debug/package.json +1 -1
- package/node_modules/es-module-lexer/dist/lexer.asm.js +2 -2
- package/node_modules/es-module-lexer/dist/lexer.cjs +1 -1
- package/node_modules/es-module-lexer/dist/lexer.js +2 -2
- package/node_modules/es-module-lexer/dist/lexer.minimal.asm.js +2 -2
- package/node_modules/es-module-lexer/dist/lexer.minimal.cjs +1 -1
- package/node_modules/es-module-lexer/dist/lexer.minimal.js +2 -2
- package/node_modules/es-module-lexer/package.json +1 -1
- package/node_modules/import-in-the-middle/CHANGELOG.md +35 -0
- package/node_modules/import-in-the-middle/README.md +15 -1
- package/node_modules/import-in-the-middle/create-hook.mjs +370 -155
- package/node_modules/import-in-the-middle/index.d.ts +8 -2
- package/node_modules/import-in-the-middle/index.js +80 -53
- package/node_modules/import-in-the-middle/lib/get-esm-exports.mjs +37 -3
- package/node_modules/import-in-the-middle/lib/get-exports.mjs +33 -40
- package/node_modules/import-in-the-middle/lib/register.js +81 -16
- package/node_modules/import-in-the-middle/package.json +9 -5
- package/node_modules/supports-color/browser.js +21 -2
- package/node_modules/supports-color/index.js +41 -24
- package/node_modules/supports-color/license +1 -1
- package/node_modules/supports-color/package.json +11 -6
- package/node_modules/supports-color/readme.md +8 -7
- package/package.json +4 -4
- package/packages/pm-beads/package.json +1 -1
- package/packages/pm-calendar/package.json +1 -1
- package/packages/pm-command-kit/package.json +1 -1
- package/packages/pm-digital-twin/package.json +1 -1
- package/packages/pm-governance-audit/package.json +1 -1
- package/packages/pm-guide-shell/package.json +1 -1
- package/packages/pm-kanban/package.json +1 -1
- package/packages/pm-lifecycle-hooks/package.json +1 -1
- package/packages/pm-linked-test-adapters/package.json +1 -1
- package/packages/pm-search-advanced/package.json +1 -1
- package/packages/pm-templates/package.json +1 -1
- package/packages/pm-todos/package.json +1 -1
- package/packages/pm-vcs/package.json +1 -1
- package/plugins/pm-claude/.claude-plugin/plugin.json +1 -1
- package/plugins/pm-claude/package.json +1 -1
- package/plugins/pm-codex/.codex-plugin/plugin.json +1 -1
- package/plugins/pm-codex/package.json +1 -1
- package/plugins/pm-codex/plugin.json +1 -1
- package/runtime-dependencies.json +1 -1
- package/dist/cli-bundle/chunks/chunk-4WIVCOA7.js +0 -2
- package/dist/cli-bundle/chunks/chunk-A3WCP4TU.js +0 -6
- package/dist/cli-bundle/chunks/chunk-AB5S6TWE.js +0 -124
- package/dist/cli-bundle/chunks/chunk-BV7J3LRH.js +0 -114
- package/dist/cli-bundle/chunks/chunk-E4BQRZF2.js +0 -10
- package/dist/cli-bundle/chunks/chunk-IGEBFNWE.js +0 -2
- package/dist/cli-bundle/chunks/chunk-IYICNCK2.js +0 -2
- package/dist/cli-bundle/chunks/chunk-JD3XWF66.js +0 -3
- package/dist/cli-bundle/chunks/chunk-JLHD7OQ2.js +0 -2
- package/dist/cli-bundle/chunks/chunk-LC4DJVXR.js +0 -2
- package/dist/cli-bundle/chunks/chunk-OFZQEQ6X.js +0 -2
- package/dist/cli-bundle/chunks/chunk-QGL5IAP4.js +0 -8
- package/dist/cli-bundle/chunks/chunk-R24NZ2TB.js +0 -8
- package/dist/cli-bundle/chunks/chunk-VO2HSB5F.js +0 -2
- package/dist/cli-bundle/chunks/item-transaction-55QTCU2M.js +0 -2
- package/dist/cli-bundle/chunks/mutation-admission-WUN7JYVJ.js +0 -2
- package/dist/cli-bundle/chunks/register-mutation-SKCEP5QU.js +0 -20
- package/dist/cli-bundle/chunks/register-operations-ZT4OYCF3.js +0 -2
- package/dist/cli-bundle/chunks/register-setup-JVWNS2TY.js +0 -2
- package/dist/cli-bundle/focused-chunks/chunk-3WVMEA2A.js +0 -6
- package/dist/cli-bundle/focused-chunks/chunk-5UVJOAUP.js +0 -91
- package/dist/cli-bundle/focused-chunks/chunk-5WQ3LNUK.js +0 -78
- package/dist/cli-bundle/focused-chunks/chunk-7XHE335U.js +0 -2
- package/dist/cli-bundle/focused-chunks/chunk-CZFZCSOX.js +0 -2
- package/dist/cli-bundle/focused-chunks/chunk-HPC2M6JD.js +0 -6
- package/dist/cli-bundle/focused-chunks/chunk-HR5FEUUL.js +0 -2
- package/dist/cli-bundle/focused-chunks/chunk-J7ESCE7M.js +0 -24
- package/dist/cli-bundle/focused-chunks/chunk-KWZLY35A.js +0 -2
- package/dist/cli-bundle/focused-chunks/chunk-M4IA4LC6.js +0 -8
- package/dist/cli-bundle/focused-chunks/chunk-NASE6JC2.js +0 -2
- package/dist/cli-bundle/focused-chunks/chunk-QJ647CQE.js +0 -2
- package/dist/cli-bundle/focused-chunks/chunk-ZCN35TCK.js +0 -2
- package/dist/cli-bundle/focused-chunks/chunk-ZSQ2FT22.js +0 -44
- package/dist/cli-bundle/focused-chunks/item-revision-GNKYO6GZ.js +0 -2
- package/dist/cli-bundle/focused-chunks/item-transaction-AUUQHR5Z.js +0 -2
- package/dist/cli-bundle/focused-chunks/mutation-actor-OBRD7HFZ.js +0 -2
- package/dist/cli-bundle/focused-chunks/mutation-admission-6TX3EOJX.js +0 -2
- package/dist/cli-bundle/focused-chunks/stage-LERF2YJU.js +0 -2
- package/node_modules/@opentelemetry/semantic-conventions/build/esm/experimental_attributes.d.ts +0 -14984
- package/node_modules/@opentelemetry/semantic-conventions/build/esm/experimental_attributes.js +0 -14991
- package/node_modules/@opentelemetry/semantic-conventions/build/esm/experimental_events.d.ts +0 -291
- package/node_modules/@opentelemetry/semantic-conventions/build/esm/experimental_metrics.d.ts +0 -4053
- package/node_modules/@opentelemetry/semantic-conventions/build/esm/index-incubating.d.ts +0 -7
- package/node_modules/@opentelemetry/semantic-conventions/build/esm/index-incubating.js +0 -13
- package/node_modules/@opentelemetry/semantic-conventions/build/esm/index.d.ts +0 -6
- package/node_modules/@opentelemetry/semantic-conventions/build/esm/index.js +0 -16
- package/node_modules/@opentelemetry/semantic-conventions/build/esm/internal/utils.d.ts +0 -7
- package/node_modules/@opentelemetry/semantic-conventions/build/esm/internal/utils.js +0 -23
- package/node_modules/@opentelemetry/semantic-conventions/build/esm/resource/SemanticResourceAttributes.d.ts +0 -1453
- package/node_modules/@opentelemetry/semantic-conventions/build/esm/resource/SemanticResourceAttributes.js +0 -1250
- package/node_modules/@opentelemetry/semantic-conventions/build/esm/resource/index.d.ts +0 -2
- package/node_modules/@opentelemetry/semantic-conventions/build/esm/resource/index.js +0 -10
- package/node_modules/@opentelemetry/semantic-conventions/build/esm/stable_attributes.d.ts +0 -1726
- package/node_modules/@opentelemetry/semantic-conventions/build/esm/stable_events.d.ts +0 -5
- package/node_modules/@opentelemetry/semantic-conventions/build/esm/stable_events.js +0 -12
- package/node_modules/@opentelemetry/semantic-conventions/build/esm/stable_metrics.d.ts +0 -308
- package/node_modules/@opentelemetry/semantic-conventions/build/esm/trace/SemanticAttributes.d.ts +0 -2664
- package/node_modules/@opentelemetry/semantic-conventions/build/esm/trace/SemanticAttributes.js +0 -2360
- package/node_modules/@opentelemetry/semantic-conventions/build/esm/trace/index.d.ts +0 -2
- package/node_modules/@opentelemetry/semantic-conventions/build/esm/trace/index.js +0 -10
- package/node_modules/@opentelemetry/semantic-conventions/build/esm/version.d.ts +0 -2
- package/node_modules/@opentelemetry/semantic-conventions/build/esm/version.js +0 -7
- package/node_modules/@opentelemetry/semantic-conventions/build/esnext/experimental_attributes.d.ts +0 -14984
- package/node_modules/@opentelemetry/semantic-conventions/build/esnext/experimental_events.d.ts +0 -291
- package/node_modules/@opentelemetry/semantic-conventions/build/esnext/experimental_metrics.d.ts +0 -4053
- package/node_modules/@opentelemetry/semantic-conventions/build/esnext/index-incubating.d.ts +0 -7
- package/node_modules/@opentelemetry/semantic-conventions/build/esnext/index-incubating.js +0 -13
- package/node_modules/@opentelemetry/semantic-conventions/build/esnext/index.d.ts +0 -6
- package/node_modules/@opentelemetry/semantic-conventions/build/esnext/index.js +0 -16
- package/node_modules/@opentelemetry/semantic-conventions/build/esnext/internal/utils.d.ts +0 -7
- package/node_modules/@opentelemetry/semantic-conventions/build/esnext/internal/utils.js +0 -23
- package/node_modules/@opentelemetry/semantic-conventions/build/esnext/resource/SemanticResourceAttributes.js +0 -1250
- package/node_modules/@opentelemetry/semantic-conventions/build/esnext/resource/index.d.ts +0 -2
- package/node_modules/@opentelemetry/semantic-conventions/build/esnext/resource/index.js +0 -10
- package/node_modules/@opentelemetry/semantic-conventions/build/esnext/stable_attributes.d.ts +0 -1726
- package/node_modules/@opentelemetry/semantic-conventions/build/esnext/stable_events.d.ts +0 -5
- package/node_modules/@opentelemetry/semantic-conventions/build/esnext/stable_events.js +0 -12
- package/node_modules/@opentelemetry/semantic-conventions/build/esnext/stable_metrics.d.ts +0 -308
- package/node_modules/@opentelemetry/semantic-conventions/build/esnext/stable_metrics.js +0 -315
- package/node_modules/@opentelemetry/semantic-conventions/build/esnext/trace/SemanticAttributes.js +0 -2360
- package/node_modules/@opentelemetry/semantic-conventions/build/esnext/trace/index.d.ts +0 -2
- package/node_modules/@opentelemetry/semantic-conventions/build/esnext/trace/index.js +0 -10
- package/node_modules/@opentelemetry/semantic-conventions/build/esnext/version.d.ts +0 -2
- package/node_modules/@opentelemetry/semantic-conventions/build/esnext/version.js +0 -7
- package/node_modules/@opentelemetry/semantic-conventions/build/src/experimental_attributes.d.ts +0 -14984
- package/node_modules/@opentelemetry/semantic-conventions/build/src/experimental_events.d.ts +0 -291
- package/node_modules/@opentelemetry/semantic-conventions/build/src/experimental_events.js +0 -301
- package/node_modules/@opentelemetry/semantic-conventions/build/src/experimental_metrics.d.ts +0 -4053
- package/node_modules/@opentelemetry/semantic-conventions/build/src/experimental_metrics.js +0 -4072
- package/node_modules/@opentelemetry/semantic-conventions/build/src/index-incubating.d.ts +0 -7
- package/node_modules/@opentelemetry/semantic-conventions/build/src/index-incubating.js +0 -29
- package/node_modules/@opentelemetry/semantic-conventions/build/src/index.d.ts +0 -6
- package/node_modules/@opentelemetry/semantic-conventions/build/src/index.js +0 -32
- package/node_modules/@opentelemetry/semantic-conventions/build/src/internal/utils.d.ts +0 -7
- package/node_modules/@opentelemetry/semantic-conventions/build/src/internal/utils.js +0 -27
- package/node_modules/@opentelemetry/semantic-conventions/build/src/resource/SemanticResourceAttributes.js +0 -1255
- package/node_modules/@opentelemetry/semantic-conventions/build/src/resource/index.d.ts +0 -2
- package/node_modules/@opentelemetry/semantic-conventions/build/src/resource/index.js +0 -26
- package/node_modules/@opentelemetry/semantic-conventions/build/src/stable_attributes.d.ts +0 -1726
- package/node_modules/@opentelemetry/semantic-conventions/build/src/stable_attributes.js +0 -1759
- package/node_modules/@opentelemetry/semantic-conventions/build/src/stable_events.d.ts +0 -5
- package/node_modules/@opentelemetry/semantic-conventions/build/src/stable_events.js +0 -15
- package/node_modules/@opentelemetry/semantic-conventions/build/src/stable_metrics.d.ts +0 -308
- package/node_modules/@opentelemetry/semantic-conventions/build/src/trace/SemanticAttributes.js +0 -2368
- package/node_modules/@opentelemetry/semantic-conventions/build/src/trace/index.d.ts +0 -2
- package/node_modules/@opentelemetry/semantic-conventions/build/src/trace/index.js +0 -26
- package/node_modules/@opentelemetry/semantic-conventions/build/src/version.d.ts +0 -2
- package/node_modules/@opentelemetry/semantic-conventions/build/src/version.js +0 -10
- /package/node_modules/import-in-the-middle/{register-hooks.d.ts → register-hooks.d.mts} +0 -0
|
@@ -1,36 +1,40 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@opentelemetry/semantic-conventions",
|
|
3
|
-
"version": "1.
|
|
3
|
+
"version": "1.45.0",
|
|
4
4
|
"description": "OpenTelemetry semantic conventions",
|
|
5
|
-
"main": "
|
|
6
|
-
"
|
|
7
|
-
"esnext": "build/esnext/index.js",
|
|
8
|
-
"types": "build/src/index.d.ts",
|
|
5
|
+
"main": "./dist/index.cjs",
|
|
6
|
+
"types": "./dist/index.d.cts",
|
|
9
7
|
"exports": {
|
|
10
8
|
".": {
|
|
11
|
-
"
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
9
|
+
"require": {
|
|
10
|
+
"types": "./dist/index.d.cts",
|
|
11
|
+
"default": "./dist/index.cjs"
|
|
12
|
+
},
|
|
13
|
+
"default": {
|
|
14
|
+
"types": "./dist/index.d.mts",
|
|
15
|
+
"default": "./dist/index.mjs"
|
|
16
|
+
}
|
|
15
17
|
},
|
|
16
18
|
"./incubating": {
|
|
17
|
-
"
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
19
|
+
"require": {
|
|
20
|
+
"types": "./dist/index-incubating.d.cts",
|
|
21
|
+
"default": "./dist/index-incubating.cjs"
|
|
22
|
+
},
|
|
23
|
+
"default": {
|
|
24
|
+
"types": "./dist/index-incubating.d.mts",
|
|
25
|
+
"default": "./dist/index-incubating.mjs"
|
|
26
|
+
}
|
|
21
27
|
}
|
|
22
28
|
},
|
|
23
29
|
"repository": "open-telemetry/opentelemetry-js",
|
|
24
30
|
"scripts": {
|
|
25
31
|
"prepublishOnly": "npm run compile",
|
|
26
|
-
"compile": "
|
|
27
|
-
"clean": "
|
|
32
|
+
"compile": "tsdown",
|
|
33
|
+
"clean": "rimraf dist build",
|
|
28
34
|
"version": "node ../scripts/version-update.js",
|
|
29
|
-
"watch": "
|
|
30
|
-
"
|
|
31
|
-
"
|
|
32
|
-
"size-check": "npm run compile && mocha 'test/**/*.test.ts'",
|
|
33
|
-
"align-api-deps": "node ../scripts/align-api-deps.js"
|
|
35
|
+
"watch": "tsdown --watch --no-clean",
|
|
36
|
+
"peer-api-check": "node ../scripts/peer-api-check.mjs",
|
|
37
|
+
"align-api-deps": "node ../scripts/align-api-deps.mjs"
|
|
34
38
|
},
|
|
35
39
|
"keywords": [
|
|
36
40
|
"opentelemetry",
|
|
@@ -45,38 +49,19 @@
|
|
|
45
49
|
"node": ">=14"
|
|
46
50
|
},
|
|
47
51
|
"files": [
|
|
48
|
-
"build/esm/**/*.js",
|
|
49
|
-
"build/esm/**/*.js.map",
|
|
50
|
-
"build/esm/**/*.d.ts",
|
|
51
|
-
"build/esnext/**/*.js",
|
|
52
|
-
"build/esnext/**/*.js.map",
|
|
53
|
-
"build/esnext/**/*.d.ts",
|
|
54
|
-
"build/src/**/*.js",
|
|
55
|
-
"build/src/**/*.js.map",
|
|
56
|
-
"build/src/**/*.d.ts",
|
|
57
52
|
"doc",
|
|
58
53
|
"LICENSE",
|
|
59
|
-
"README.md"
|
|
54
|
+
"README.md",
|
|
55
|
+
"dist"
|
|
60
56
|
],
|
|
61
57
|
"publishConfig": {
|
|
62
58
|
"access": "public"
|
|
63
59
|
},
|
|
64
60
|
"devDependencies": {
|
|
65
|
-
"@size-limit/file": "^12.0.0",
|
|
66
|
-
"@size-limit/time": "^12.0.0",
|
|
67
|
-
"@size-limit/webpack": "^12.0.0",
|
|
68
|
-
"@types/mocha": "10.0.10",
|
|
69
61
|
"@types/node": "^14.18.63",
|
|
70
|
-
"@types/sinon": "17.0.4",
|
|
71
|
-
"mocha": "11.7.6",
|
|
72
|
-
"nock": "13.5.6",
|
|
73
|
-
"nyc": "17.1.0",
|
|
74
|
-
"sinon": "18.0.1",
|
|
75
|
-
"size-limit": "^12.0.0",
|
|
76
|
-
"ts-node": "10.9.2",
|
|
77
62
|
"typescript": "5.2.2"
|
|
78
63
|
},
|
|
79
64
|
"homepage": "https://github.com/open-telemetry/opentelemetry-js/tree/main/semantic-conventions",
|
|
80
65
|
"sideEffects": false,
|
|
81
|
-
"gitHead": "
|
|
66
|
+
"gitHead": "ee94b842fd734e23064539c5f8069e0af0e92b9a"
|
|
82
67
|
}
|
|
@@ -27,6 +27,7 @@ const promisebuffer = require('./utils/promisebuffer.js');
|
|
|
27
27
|
const randomSafeContext = require('./utils/randomSafeContext.js');
|
|
28
28
|
const shouldIgnoreSpan = require('./utils/should-ignore-span.js');
|
|
29
29
|
const spanUtils = require('./utils/spanUtils.js');
|
|
30
|
+
const syncpromise = require('./utils/syncpromise.js');
|
|
30
31
|
const timer = require('./utils/timer.js');
|
|
31
32
|
const transactionEvent = require('./utils/transactionEvent.js');
|
|
32
33
|
const resolveDataCollectionOptions = require('./utils/data-collection/resolveDataCollectionOptions.js');
|
|
@@ -48,6 +49,11 @@ function _makeDoNotSendEventError(message) {
|
|
|
48
49
|
[DO_NOT_SEND_EVENT_SYMBOL]: true
|
|
49
50
|
};
|
|
50
51
|
}
|
|
52
|
+
function _makeSampledOutError(sampleRate) {
|
|
53
|
+
return _makeDoNotSendEventError(
|
|
54
|
+
`Discarding event because it's not included in the random sample (sampling rate = ${sampleRate})`
|
|
55
|
+
);
|
|
56
|
+
}
|
|
51
57
|
function _isInternalError(error) {
|
|
52
58
|
return is.isObjectLike(error) && INTERNAL_ERROR_SYMBOL in error;
|
|
53
59
|
}
|
|
@@ -584,7 +590,13 @@ class Client {
|
|
|
584
590
|
const eventType = event.type || "error";
|
|
585
591
|
const beforeSendLabel = `before send for type \`${eventType}\``;
|
|
586
592
|
const parsedSampleRate = typeof sampleRate === "undefined" ? void 0 : parseSampleRate.parseSampleRate(sampleRate);
|
|
593
|
+
const isSampledOut = isError && typeof parsedSampleRate === "number" && randomSafeContext.safeMathRandom() > parsedSampleRate;
|
|
587
594
|
const dataCategory = getDataCategoryByType(event.type);
|
|
595
|
+
const session = currentScope.getSession() || isolationScope.getSession();
|
|
596
|
+
if (isSampledOut && session?.status !== "ok") {
|
|
597
|
+
this.recordDroppedEvent("sample_rate", "error");
|
|
598
|
+
return syncpromise.rejectedSyncPromise(_makeSampledOutError(sampleRate));
|
|
599
|
+
}
|
|
588
600
|
return this._prepareEvent(event, hint, currentScope, isolationScope).then((prepared) => {
|
|
589
601
|
if (prepared === null) {
|
|
590
602
|
this.recordDroppedEvent("event_processor", dataCategory);
|
|
@@ -605,15 +617,12 @@ class Client {
|
|
|
605
617
|
}
|
|
606
618
|
throw _makeDoNotSendEventError(`${beforeSendLabel} returned \`null\`, will not send event.`);
|
|
607
619
|
}
|
|
608
|
-
const session = currentScope.getSession() || isolationScope.getSession();
|
|
609
620
|
if (isError && session) {
|
|
610
621
|
this._updateSessionFromEvent(session, processedEvent);
|
|
611
622
|
}
|
|
612
|
-
if (
|
|
623
|
+
if (isSampledOut) {
|
|
613
624
|
this.recordDroppedEvent("sample_rate", "error");
|
|
614
|
-
throw
|
|
615
|
-
`Discarding event because it's not included in the random sample (sampling rate = ${sampleRate})`
|
|
616
|
-
);
|
|
625
|
+
throw _makeSampledOutError(sampleRate);
|
|
617
626
|
}
|
|
618
627
|
if (isTransaction) {
|
|
619
628
|
const spanCountBefore = processedEvent.sdkProcessingMetadata?.spanCountBeforeProcessing || 0;
|
|
@@ -72,9 +72,22 @@ function patchLayer(getOptions, maybeLayer, layerPath) {
|
|
|
72
72
|
span.end();
|
|
73
73
|
spanHasEnded = true;
|
|
74
74
|
}
|
|
75
|
+
const removeResponseListeners = () => {
|
|
76
|
+
res.removeListener("finish", onResponseFinish);
|
|
77
|
+
res.removeListener("close", onResponseClose);
|
|
78
|
+
};
|
|
75
79
|
const onResponseFinish = () => {
|
|
80
|
+
removeResponseListeners();
|
|
81
|
+
if (!spanHasEnded) {
|
|
82
|
+
spanHasEnded = true;
|
|
83
|
+
span.end();
|
|
84
|
+
}
|
|
85
|
+
};
|
|
86
|
+
const onResponseClose = () => {
|
|
87
|
+
removeResponseListeners();
|
|
76
88
|
if (!spanHasEnded) {
|
|
77
89
|
spanHasEnded = true;
|
|
90
|
+
span.setStatus({ code: spanstatus.SPAN_STATUS_ERROR, message: "cancelled" });
|
|
78
91
|
span.end();
|
|
79
92
|
}
|
|
80
93
|
};
|
|
@@ -95,7 +108,7 @@ function patchLayer(getOptions, maybeLayer, layerPath) {
|
|
|
95
108
|
}
|
|
96
109
|
if (!spanHasEnded) {
|
|
97
110
|
spanHasEnded = true;
|
|
98
|
-
|
|
111
|
+
removeResponseListeners();
|
|
99
112
|
span.end();
|
|
100
113
|
}
|
|
101
114
|
if (!(req.route && isError) && isLayerPathStored) {
|
|
@@ -117,6 +130,7 @@ function patchLayer(getOptions, maybeLayer, layerPath) {
|
|
|
117
130
|
} finally {
|
|
118
131
|
if (!spanHasEnded) {
|
|
119
132
|
res.once("finish", onResponseFinish);
|
|
133
|
+
res.once("close", onResponseClose);
|
|
120
134
|
}
|
|
121
135
|
}
|
|
122
136
|
});
|
|
@@ -3,6 +3,7 @@ Object.defineProperty(exports, Symbol.toStringTag, { value: 'Module' });
|
|
|
3
3
|
const addOutgoingRequestBreadcrumb = require('./add-outgoing-request-breadcrumb.js');
|
|
4
4
|
const debugBuild = require('../../debug-build.js');
|
|
5
5
|
const debugLogger = require('../../utils/debug-logger.js');
|
|
6
|
+
const is = require('../../utils/is.js');
|
|
6
7
|
const currentScopes = require('../../currentScopes.js');
|
|
7
8
|
const spanstatus = require('../../tracing/spanstatus.js');
|
|
8
9
|
const hasSpansEnabled = require('../../utils/hasSpansEnabled.js');
|
|
@@ -92,15 +93,23 @@ function getHttpClientSubscriptions(options) {
|
|
|
92
93
|
}
|
|
93
94
|
const requestOnClose = () => endSpan({ code: spanstatus.SPAN_STATUS_UNSET });
|
|
94
95
|
request.on("close", requestOnClose);
|
|
96
|
+
let responseStatusCode;
|
|
95
97
|
request.on(errorMonitor, (error) => {
|
|
96
98
|
debugBuild.DEBUG_BUILD && debugLogger.debug.log(constants.LOG_PREFIX, "outgoingRequest on request error()", error);
|
|
97
99
|
if (breadcrumbs) {
|
|
98
100
|
addBreadcrumbs(request, void 0);
|
|
99
101
|
}
|
|
100
|
-
|
|
102
|
+
if (is.isError(error) && error.name === "AbortError") {
|
|
103
|
+
endSpan(
|
|
104
|
+
typeof responseStatusCode === "number" ? spanstatus.getSpanStatusFromHttpCode(responseStatusCode) : { code: spanstatus.SPAN_STATUS_UNSET }
|
|
105
|
+
);
|
|
106
|
+
} else {
|
|
107
|
+
endSpan({ code: spanstatus.SPAN_STATUS_ERROR });
|
|
108
|
+
}
|
|
101
109
|
});
|
|
102
110
|
request.prependListener("response", (response) => {
|
|
103
111
|
request.removeListener("close", requestOnClose);
|
|
112
|
+
responseStatusCode = response.statusCode;
|
|
104
113
|
if (request.listenerCount("response") <= 1) {
|
|
105
114
|
response.resume();
|
|
106
115
|
}
|
|
@@ -391,7 +391,6 @@ class Scope {
|
|
|
391
391
|
this._breadcrumbs.push(mergedBreadcrumb);
|
|
392
392
|
if (this._breadcrumbs.length > maxCrumbs) {
|
|
393
393
|
this._breadcrumbs = this._breadcrumbs.slice(-maxCrumbs);
|
|
394
|
-
this._client?.recordDroppedEvent("buffer_overflow", "log_item");
|
|
395
394
|
}
|
|
396
395
|
this._notifyScopeListeners();
|
|
397
396
|
return this;
|
|
@@ -88,13 +88,7 @@ function addResponseAttributes(span, result, recordOutputs) {
|
|
|
88
88
|
span.setAttributes(attrs);
|
|
89
89
|
}
|
|
90
90
|
function extractConversationId(params) {
|
|
91
|
-
|
|
92
|
-
return params.conversation;
|
|
93
|
-
}
|
|
94
|
-
if ("previous_response_id" in params && typeof params.previous_response_id === "string") {
|
|
95
|
-
return params.previous_response_id;
|
|
96
|
-
}
|
|
97
|
-
return void 0;
|
|
91
|
+
return "conversation" in params && typeof params.conversation === "string" ? params.conversation : void 0;
|
|
98
92
|
}
|
|
99
93
|
function extractRequestParameters(params) {
|
|
100
94
|
const attributes = {
|
|
@@ -308,17 +308,28 @@ class SentrySpan {
|
|
|
308
308
|
}
|
|
309
309
|
options.onSpanCaptured?.(this);
|
|
310
310
|
const spans = [];
|
|
311
|
+
let droppedUnfinishedSpanCount = 0;
|
|
311
312
|
for (const descendant of spanUtils.getSpanDescendants(this)) {
|
|
312
313
|
if (descendant === this || isStandaloneSpan(descendant) || options.isSpanAlreadyCaptured?.(descendant)) {
|
|
313
314
|
continue;
|
|
314
315
|
}
|
|
315
316
|
const spanJSON = spanUtils.spanToJSON(descendant);
|
|
316
317
|
if (!isFullFinishedSpan(spanJSON)) {
|
|
318
|
+
if (!options.onSpanCaptured) {
|
|
319
|
+
droppedUnfinishedSpanCount++;
|
|
320
|
+
}
|
|
317
321
|
continue;
|
|
318
322
|
}
|
|
319
323
|
options.onSpanCaptured?.(descendant);
|
|
320
324
|
spans.push(spanJSON);
|
|
321
325
|
}
|
|
326
|
+
const client = capturedSpanScope?.getClient() || currentScopes.getClient();
|
|
327
|
+
if (droppedUnfinishedSpanCount) {
|
|
328
|
+
client?.recordDroppedEvent("invalid", "span", droppedUnfinishedSpanCount);
|
|
329
|
+
}
|
|
330
|
+
if (spans.length > MAX_SPAN_COUNT) {
|
|
331
|
+
client?.recordDroppedEvent("buffer_overflow", "span", spans.length - MAX_SPAN_COUNT);
|
|
332
|
+
}
|
|
322
333
|
const source = this._attributes[semanticAttributes.SEMANTIC_ATTRIBUTE_SENTRY_SOURCE];
|
|
323
334
|
delete this._attributes[semanticAttributes.SEMANTIC_ATTRIBUTE_SENTRY_CUSTOM_SPAN_NAME];
|
|
324
335
|
let hasGenAiSpans = false;
|
|
@@ -127,7 +127,7 @@ const DATA_CATEGORY_OVERRIDES = {
|
|
|
127
127
|
check_in: "monitor",
|
|
128
128
|
raw_security: "security",
|
|
129
129
|
log: "log_item",
|
|
130
|
-
|
|
130
|
+
metric: "trace_metric"
|
|
131
131
|
};
|
|
132
132
|
function _isOverriddenType(type) {
|
|
133
133
|
return type in DATA_CATEGORY_OVERRIDES;
|
|
@@ -16,7 +16,7 @@ const UPDATE_RE = new RegExp(
|
|
|
16
16
|
"i"
|
|
17
17
|
);
|
|
18
18
|
const DELETE_RE = new RegExp(`^\\s*(?<operation>DELETE)\\s+FROM\\s+(?<table>${TABLE_NAME})`, "i");
|
|
19
|
-
const SELECT_RE = /^\s
|
|
19
|
+
const SELECT_RE = /^\s*(?:\(\s*)?(?<operation>SELECT)\b/i;
|
|
20
20
|
const PRAGMA_RE = /^\s*(?<operation>PRAGMA)\s+(?<command>\S+)/i;
|
|
21
21
|
const TOKEN_RE = /\b(?:FROM|JOIN)\s+|\(\s*(SELECT)\b|\b(?:UNION|INTERSECT|EXCEPT|MINUS)\s+(?:ALL\s+)?(SELECT)\b/gi;
|
|
22
22
|
const QUOTED_OR_PLAIN_TABLE_RE = /^(?:"[^"]*"|'[^']*'|[^\s(,;)]+)/;
|
|
@@ -5,11 +5,19 @@ const debugLogger = require('./debug-logger.js');
|
|
|
5
5
|
const dsn = require('./dsn.js');
|
|
6
6
|
const envelope = require('./envelope.js');
|
|
7
7
|
|
|
8
|
+
const MAX_TUNNEL_BODY_SIZE = 20 * 1024 * 1024;
|
|
8
9
|
async function handleTunnelRequest(options) {
|
|
9
10
|
const { request, allowedDsns } = options;
|
|
10
11
|
if (allowedDsns.length === 0) {
|
|
11
12
|
return new Response("Tunnel not configured", { status: 500 });
|
|
12
13
|
}
|
|
14
|
+
const contentLength = Number(request.headers.get("content-length"));
|
|
15
|
+
if (!contentLength) {
|
|
16
|
+
return new Response("Length required", { status: 411 });
|
|
17
|
+
}
|
|
18
|
+
if (contentLength > MAX_TUNNEL_BODY_SIZE) {
|
|
19
|
+
return new Response("Envelope too large", { status: 413 });
|
|
20
|
+
}
|
|
13
21
|
const body = new Uint8Array(await request.arrayBuffer());
|
|
14
22
|
let envelopeHeader;
|
|
15
23
|
try {
|
|
@@ -49,5 +57,6 @@ async function handleTunnelRequest(options) {
|
|
|
49
57
|
}
|
|
50
58
|
}
|
|
51
59
|
|
|
60
|
+
exports.MAX_TUNNEL_BODY_SIZE = MAX_TUNNEL_BODY_SIZE;
|
|
52
61
|
exports.handleTunnelRequest = handleTunnelRequest;
|
|
53
62
|
//# sourceMappingURL=tunnel.js.map
|
|
@@ -25,6 +25,7 @@ import { makePromiseBuffer, SENTRY_BUFFER_FULL_ERROR } from './utils/promisebuff
|
|
|
25
25
|
import { safeMathRandom } from './utils/randomSafeContext.js';
|
|
26
26
|
import { shouldIgnoreSpan, reparentChildSpans } from './utils/should-ignore-span.js';
|
|
27
27
|
import { showSpanDropWarning } from './utils/spanUtils.js';
|
|
28
|
+
import { rejectedSyncPromise } from './utils/syncpromise.js';
|
|
28
29
|
import { safeUnref } from './utils/timer.js';
|
|
29
30
|
import { convertTransactionEventToSpanJson, convertSpanJsonToTransactionEvent } from './utils/transactionEvent.js';
|
|
30
31
|
import { resolveDataCollectionOptions } from './utils/data-collection/resolveDataCollectionOptions.js';
|
|
@@ -46,6 +47,11 @@ function _makeDoNotSendEventError(message) {
|
|
|
46
47
|
[DO_NOT_SEND_EVENT_SYMBOL]: true
|
|
47
48
|
};
|
|
48
49
|
}
|
|
50
|
+
function _makeSampledOutError(sampleRate) {
|
|
51
|
+
return _makeDoNotSendEventError(
|
|
52
|
+
`Discarding event because it's not included in the random sample (sampling rate = ${sampleRate})`
|
|
53
|
+
);
|
|
54
|
+
}
|
|
49
55
|
function _isInternalError(error) {
|
|
50
56
|
return isObjectLike(error) && INTERNAL_ERROR_SYMBOL in error;
|
|
51
57
|
}
|
|
@@ -582,7 +588,13 @@ class Client {
|
|
|
582
588
|
const eventType = event.type || "error";
|
|
583
589
|
const beforeSendLabel = `before send for type \`${eventType}\``;
|
|
584
590
|
const parsedSampleRate = typeof sampleRate === "undefined" ? void 0 : parseSampleRate(sampleRate);
|
|
591
|
+
const isSampledOut = isError && typeof parsedSampleRate === "number" && safeMathRandom() > parsedSampleRate;
|
|
585
592
|
const dataCategory = getDataCategoryByType(event.type);
|
|
593
|
+
const session = currentScope.getSession() || isolationScope.getSession();
|
|
594
|
+
if (isSampledOut && session?.status !== "ok") {
|
|
595
|
+
this.recordDroppedEvent("sample_rate", "error");
|
|
596
|
+
return rejectedSyncPromise(_makeSampledOutError(sampleRate));
|
|
597
|
+
}
|
|
586
598
|
return this._prepareEvent(event, hint, currentScope, isolationScope).then((prepared) => {
|
|
587
599
|
if (prepared === null) {
|
|
588
600
|
this.recordDroppedEvent("event_processor", dataCategory);
|
|
@@ -603,15 +615,12 @@ class Client {
|
|
|
603
615
|
}
|
|
604
616
|
throw _makeDoNotSendEventError(`${beforeSendLabel} returned \`null\`, will not send event.`);
|
|
605
617
|
}
|
|
606
|
-
const session = currentScope.getSession() || isolationScope.getSession();
|
|
607
618
|
if (isError && session) {
|
|
608
619
|
this._updateSessionFromEvent(session, processedEvent);
|
|
609
620
|
}
|
|
610
|
-
if (
|
|
621
|
+
if (isSampledOut) {
|
|
611
622
|
this.recordDroppedEvent("sample_rate", "error");
|
|
612
|
-
throw
|
|
613
|
-
`Discarding event because it's not included in the random sample (sampling rate = ${sampleRate})`
|
|
614
|
-
);
|
|
623
|
+
throw _makeSampledOutError(sampleRate);
|
|
615
624
|
}
|
|
616
625
|
if (isTransaction) {
|
|
617
626
|
const spanCountBefore = processedEvent.sdkProcessingMetadata?.spanCountBeforeProcessing || 0;
|
|
@@ -70,9 +70,22 @@ function patchLayer(getOptions, maybeLayer, layerPath) {
|
|
|
70
70
|
span.end();
|
|
71
71
|
spanHasEnded = true;
|
|
72
72
|
}
|
|
73
|
+
const removeResponseListeners = () => {
|
|
74
|
+
res.removeListener("finish", onResponseFinish);
|
|
75
|
+
res.removeListener("close", onResponseClose);
|
|
76
|
+
};
|
|
73
77
|
const onResponseFinish = () => {
|
|
78
|
+
removeResponseListeners();
|
|
79
|
+
if (!spanHasEnded) {
|
|
80
|
+
spanHasEnded = true;
|
|
81
|
+
span.end();
|
|
82
|
+
}
|
|
83
|
+
};
|
|
84
|
+
const onResponseClose = () => {
|
|
85
|
+
removeResponseListeners();
|
|
74
86
|
if (!spanHasEnded) {
|
|
75
87
|
spanHasEnded = true;
|
|
88
|
+
span.setStatus({ code: SPAN_STATUS_ERROR, message: "cancelled" });
|
|
76
89
|
span.end();
|
|
77
90
|
}
|
|
78
91
|
};
|
|
@@ -93,7 +106,7 @@ function patchLayer(getOptions, maybeLayer, layerPath) {
|
|
|
93
106
|
}
|
|
94
107
|
if (!spanHasEnded) {
|
|
95
108
|
spanHasEnded = true;
|
|
96
|
-
|
|
109
|
+
removeResponseListeners();
|
|
97
110
|
span.end();
|
|
98
111
|
}
|
|
99
112
|
if (!(req.route && isError) && isLayerPathStored) {
|
|
@@ -115,6 +128,7 @@ function patchLayer(getOptions, maybeLayer, layerPath) {
|
|
|
115
128
|
} finally {
|
|
116
129
|
if (!spanHasEnded) {
|
|
117
130
|
res.once("finish", onResponseFinish);
|
|
131
|
+
res.once("close", onResponseClose);
|
|
118
132
|
}
|
|
119
133
|
}
|
|
120
134
|
});
|
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
import { addOutgoingRequestBreadcrumb } from './add-outgoing-request-breadcrumb.js';
|
|
2
2
|
import { DEBUG_BUILD } from '../../debug-build.js';
|
|
3
3
|
import { debug } from '../../utils/debug-logger.js';
|
|
4
|
+
import { isError } from '../../utils/is.js';
|
|
4
5
|
import { getCurrentScope, getClient } from '../../currentScopes.js';
|
|
5
6
|
import { getSpanStatusFromHttpCode, SPAN_STATUS_ERROR, SPAN_STATUS_UNSET } from '../../tracing/spanstatus.js';
|
|
6
7
|
import { hasSpansEnabled } from '../../utils/hasSpansEnabled.js';
|
|
@@ -90,15 +91,23 @@ function getHttpClientSubscriptions(options) {
|
|
|
90
91
|
}
|
|
91
92
|
const requestOnClose = () => endSpan({ code: SPAN_STATUS_UNSET });
|
|
92
93
|
request.on("close", requestOnClose);
|
|
94
|
+
let responseStatusCode;
|
|
93
95
|
request.on(errorMonitor, (error) => {
|
|
94
96
|
DEBUG_BUILD && debug.log(LOG_PREFIX, "outgoingRequest on request error()", error);
|
|
95
97
|
if (breadcrumbs) {
|
|
96
98
|
addBreadcrumbs(request, void 0);
|
|
97
99
|
}
|
|
98
|
-
|
|
100
|
+
if (isError(error) && error.name === "AbortError") {
|
|
101
|
+
endSpan(
|
|
102
|
+
typeof responseStatusCode === "number" ? getSpanStatusFromHttpCode(responseStatusCode) : { code: SPAN_STATUS_UNSET }
|
|
103
|
+
);
|
|
104
|
+
} else {
|
|
105
|
+
endSpan({ code: SPAN_STATUS_ERROR });
|
|
106
|
+
}
|
|
99
107
|
});
|
|
100
108
|
request.prependListener("response", (response) => {
|
|
101
109
|
request.removeListener("close", requestOnClose);
|
|
110
|
+
responseStatusCode = response.statusCode;
|
|
102
111
|
if (request.listenerCount("response") <= 1) {
|
|
103
112
|
response.resume();
|
|
104
113
|
}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"type":"module","version":"10.
|
|
1
|
+
{"type":"module","version":"10.78.0","sideEffects":false}
|
|
@@ -389,7 +389,6 @@ class Scope {
|
|
|
389
389
|
this._breadcrumbs.push(mergedBreadcrumb);
|
|
390
390
|
if (this._breadcrumbs.length > maxCrumbs) {
|
|
391
391
|
this._breadcrumbs = this._breadcrumbs.slice(-maxCrumbs);
|
|
392
|
-
this._client?.recordDroppedEvent("buffer_overflow", "log_item");
|
|
393
392
|
}
|
|
394
393
|
this._notifyScopeListeners();
|
|
395
394
|
return this;
|
|
@@ -86,13 +86,7 @@ function addResponseAttributes(span, result, recordOutputs) {
|
|
|
86
86
|
span.setAttributes(attrs);
|
|
87
87
|
}
|
|
88
88
|
function extractConversationId(params) {
|
|
89
|
-
|
|
90
|
-
return params.conversation;
|
|
91
|
-
}
|
|
92
|
-
if ("previous_response_id" in params && typeof params.previous_response_id === "string") {
|
|
93
|
-
return params.previous_response_id;
|
|
94
|
-
}
|
|
95
|
-
return void 0;
|
|
89
|
+
return "conversation" in params && typeof params.conversation === "string" ? params.conversation : void 0;
|
|
96
90
|
}
|
|
97
91
|
function extractRequestParameters(params) {
|
|
98
92
|
const attributes = {
|
|
@@ -306,17 +306,28 @@ class SentrySpan {
|
|
|
306
306
|
}
|
|
307
307
|
options.onSpanCaptured?.(this);
|
|
308
308
|
const spans = [];
|
|
309
|
+
let droppedUnfinishedSpanCount = 0;
|
|
309
310
|
for (const descendant of getSpanDescendants(this)) {
|
|
310
311
|
if (descendant === this || isStandaloneSpan(descendant) || options.isSpanAlreadyCaptured?.(descendant)) {
|
|
311
312
|
continue;
|
|
312
313
|
}
|
|
313
314
|
const spanJSON = spanToJSON(descendant);
|
|
314
315
|
if (!isFullFinishedSpan(spanJSON)) {
|
|
316
|
+
if (!options.onSpanCaptured) {
|
|
317
|
+
droppedUnfinishedSpanCount++;
|
|
318
|
+
}
|
|
315
319
|
continue;
|
|
316
320
|
}
|
|
317
321
|
options.onSpanCaptured?.(descendant);
|
|
318
322
|
spans.push(spanJSON);
|
|
319
323
|
}
|
|
324
|
+
const client = capturedSpanScope?.getClient() || getClient();
|
|
325
|
+
if (droppedUnfinishedSpanCount) {
|
|
326
|
+
client?.recordDroppedEvent("invalid", "span", droppedUnfinishedSpanCount);
|
|
327
|
+
}
|
|
328
|
+
if (spans.length > MAX_SPAN_COUNT) {
|
|
329
|
+
client?.recordDroppedEvent("buffer_overflow", "span", spans.length - MAX_SPAN_COUNT);
|
|
330
|
+
}
|
|
320
331
|
const source = this._attributes[SEMANTIC_ATTRIBUTE_SENTRY_SOURCE];
|
|
321
332
|
delete this._attributes[SEMANTIC_ATTRIBUTE_SENTRY_CUSTOM_SPAN_NAME];
|
|
322
333
|
let hasGenAiSpans = false;
|
|
@@ -125,7 +125,7 @@ const DATA_CATEGORY_OVERRIDES = {
|
|
|
125
125
|
check_in: "monitor",
|
|
126
126
|
raw_security: "security",
|
|
127
127
|
log: "log_item",
|
|
128
|
-
|
|
128
|
+
metric: "trace_metric"
|
|
129
129
|
};
|
|
130
130
|
function _isOverriddenType(type) {
|
|
131
131
|
return type in DATA_CATEGORY_OVERRIDES;
|
|
@@ -14,7 +14,7 @@ const UPDATE_RE = new RegExp(
|
|
|
14
14
|
"i"
|
|
15
15
|
);
|
|
16
16
|
const DELETE_RE = new RegExp(`^\\s*(?<operation>DELETE)\\s+FROM\\s+(?<table>${TABLE_NAME})`, "i");
|
|
17
|
-
const SELECT_RE = /^\s
|
|
17
|
+
const SELECT_RE = /^\s*(?:\(\s*)?(?<operation>SELECT)\b/i;
|
|
18
18
|
const PRAGMA_RE = /^\s*(?<operation>PRAGMA)\s+(?<command>\S+)/i;
|
|
19
19
|
const TOKEN_RE = /\b(?:FROM|JOIN)\s+|\(\s*(SELECT)\b|\b(?:UNION|INTERSECT|EXCEPT|MINUS)\s+(?:ALL\s+)?(SELECT)\b/gi;
|
|
20
20
|
const QUOTED_OR_PLAIN_TABLE_RE = /^(?:"[^"]*"|'[^']*'|[^\s(,;)]+)/;
|
|
@@ -3,11 +3,19 @@ import { debug } from './debug-logger.js';
|
|
|
3
3
|
import { makeDsn } from './dsn.js';
|
|
4
4
|
import { parseEnvelope } from './envelope.js';
|
|
5
5
|
|
|
6
|
+
const MAX_TUNNEL_BODY_SIZE = 20 * 1024 * 1024;
|
|
6
7
|
async function handleTunnelRequest(options) {
|
|
7
8
|
const { request, allowedDsns } = options;
|
|
8
9
|
if (allowedDsns.length === 0) {
|
|
9
10
|
return new Response("Tunnel not configured", { status: 500 });
|
|
10
11
|
}
|
|
12
|
+
const contentLength = Number(request.headers.get("content-length"));
|
|
13
|
+
if (!contentLength) {
|
|
14
|
+
return new Response("Length required", { status: 411 });
|
|
15
|
+
}
|
|
16
|
+
if (contentLength > MAX_TUNNEL_BODY_SIZE) {
|
|
17
|
+
return new Response("Envelope too large", { status: 413 });
|
|
18
|
+
}
|
|
11
19
|
const body = new Uint8Array(await request.arrayBuffer());
|
|
12
20
|
let envelopeHeader;
|
|
13
21
|
try {
|
|
@@ -47,5 +55,5 @@ async function handleTunnelRequest(options) {
|
|
|
47
55
|
}
|
|
48
56
|
}
|
|
49
57
|
|
|
50
|
-
export { handleTunnelRequest };
|
|
58
|
+
export { MAX_TUNNEL_BODY_SIZE, handleTunnelRequest };
|
|
51
59
|
//# sourceMappingURL=tunnel.js.map
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
export type DataCategory = 'default' | 'error' | 'transaction' | 'replay' | 'security' | 'attachment' | 'session' | 'internal' | 'profile' | 'monitor' | 'feedback' | 'span' | 'log_item' | 'log_byte' | '
|
|
1
|
+
export type DataCategory = 'default' | 'error' | 'transaction' | 'replay' | 'security' | 'attachment' | 'session' | 'internal' | 'profile' | 'monitor' | 'feedback' | 'span' | 'log_item' | 'log_byte' | 'trace_metric' | 'unknown';
|
|
2
2
|
//# sourceMappingURL=datacategory.d.ts.map
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
export type DataCategory = 'default' | 'error' | 'transaction' | 'replay' | 'security' | 'attachment' | 'session' | 'internal' | 'profile' | 'monitor' | 'feedback' | 'span' | 'log_item' | 'log_byte' | '
|
|
1
|
+
export type DataCategory = 'default' | 'error' | 'transaction' | 'replay' | 'security' | 'attachment' | 'session' | 'internal' | 'profile' | 'monitor' | 'feedback' | 'span' | 'log_item' | 'log_byte' | 'trace_metric' | 'unknown';
|
|
2
2
|
//# sourceMappingURL=datacategory.d.ts.map
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@sentry/core",
|
|
3
|
-
"version": "10.
|
|
3
|
+
"version": "10.78.0",
|
|
4
4
|
"description": "Base implementation for all Sentry JavaScript SDKs",
|
|
5
5
|
"repository": "git://github.com/getsentry/sentry-javascript.git",
|
|
6
6
|
"homepage": "https://github.com/getsentry/sentry-javascript/tree/master/packages/core",
|
|
@@ -42,7 +42,7 @@ const redisIntegration = core.defineIntegration(_redisIntegration);
|
|
|
42
42
|
|
|
43
43
|
Object.defineProperty(exports, "_redisOptions", {
|
|
44
44
|
enumerable: true,
|
|
45
|
-
get: ()
|
|
45
|
+
get: function () { return cache._redisOptions; }
|
|
46
46
|
});
|
|
47
47
|
exports.cacheResponseHook = cache.cacheResponseHook;
|
|
48
48
|
exports.instrumentRedis = instrumentRedis;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"type":"module","version":"10.
|
|
1
|
+
{"type":"module","version":"10.78.0","sideEffects":false}
|