@redocly/cli 2.33.1 → 2.34.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/LICENSE +7 -0
- package/THIRD_PARTY_NOTICES +767 -0
- package/lib/chunks/2ULY6UWW.js +13374 -0
- package/lib/chunks/4DNBVE5S.js +23 -0
- package/lib/chunks/5ILQMFXK.js +59 -0
- package/lib/chunks/7GOGGHM5.js +92239 -0
- package/lib/chunks/A6JSOHCP.js +41 -0
- package/lib/chunks/AIT3U3JT.js +22 -0
- package/lib/chunks/EIHBO33S.js +1133 -0
- package/lib/chunks/FDUPOI4C.js +19036 -0
- package/lib/chunks/FO6BDVGE.js +25 -0
- package/lib/chunks/FP2VGYMF.js +90 -0
- package/lib/chunks/GRMVFQAA.js +17782 -0
- package/lib/chunks/ICAVAH7N.js +387 -0
- package/lib/chunks/OEYVENNB.js +37533 -0
- package/lib/chunks/TS33ZDKX.js +35 -0
- package/lib/chunks/VUDTNFRL.js +42 -0
- package/lib/chunks/VXIQEZPR.js +2564 -0
- package/lib/chunks/W7G5WVPB.js +44 -0
- package/lib/chunks/XHPY6UJF.js +1638 -0
- package/lib/chunks/Y6DTFCLS.js +15 -0
- package/lib/chunks/YA5P3RI2.js +13 -0
- package/lib/chunks/ZIYSHX6D.js +3617 -0
- package/lib/index.js +13606 -620
- package/package.json +13 -53
- package/lib/auth/device-flow.d.ts +0 -24
- package/lib/auth/device-flow.d.ts.map +0 -1
- package/lib/auth/device-flow.js +0 -140
- package/lib/auth/device-flow.js.map +0 -1
- package/lib/auth/oauth-client.d.ts +0 -18
- package/lib/auth/oauth-client.d.ts.map +0 -1
- package/lib/auth/oauth-client.js +0 -117
- package/lib/auth/oauth-client.js.map +0 -1
- package/lib/commands/auth.d.ts +0 -12
- package/lib/commands/auth.d.ts.map +0 -1
- package/lib/commands/auth.js +0 -34
- package/lib/commands/auth.js.map +0 -1
- package/lib/commands/build-docs/index.d.ts +0 -4
- package/lib/commands/build-docs/index.d.ts.map +0 -1
- package/lib/commands/build-docs/index.js +0 -38
- package/lib/commands/build-docs/index.js.map +0 -1
- package/lib/commands/build-docs/template.hbs +0 -23
- package/lib/commands/build-docs/types.d.ts +0 -24
- package/lib/commands/build-docs/types.d.ts.map +0 -1
- package/lib/commands/build-docs/types.js +0 -2
- package/lib/commands/build-docs/types.js.map +0 -1
- package/lib/commands/build-docs/utils.d.ts +0 -8
- package/lib/commands/build-docs/utils.d.ts.map +0 -1
- package/lib/commands/build-docs/utils.js +0 -84
- package/lib/commands/build-docs/utils.js.map +0 -1
- package/lib/commands/bundle.d.ts +0 -20
- package/lib/commands/bundle.d.ts.map +0 -1
- package/lib/commands/bundle.js +0 -93
- package/lib/commands/bundle.js.map +0 -1
- package/lib/commands/eject.d.ts +0 -10
- package/lib/commands/eject.d.ts.map +0 -1
- package/lib/commands/eject.js +0 -26
- package/lib/commands/eject.js.map +0 -1
- package/lib/commands/generate-arazzo.d.ts +0 -8
- package/lib/commands/generate-arazzo.d.ts.map +0 -1
- package/lib/commands/generate-arazzo.js +0 -25
- package/lib/commands/generate-arazzo.js.map +0 -1
- package/lib/commands/join/index.d.ts +0 -4
- package/lib/commands/join/index.d.ts.map +0 -1
- package/lib/commands/join/index.js +0 -141
- package/lib/commands/join/index.js.map +0 -1
- package/lib/commands/join/types.d.ts +0 -22
- package/lib/commands/join/types.d.ts.map +0 -1
- package/lib/commands/join/types.js +0 -2
- package/lib/commands/join/types.js.map +0 -1
- package/lib/commands/join/utils/add-components-prefix.d.ts +0 -2
- package/lib/commands/join/utils/add-components-prefix.d.ts.map +0 -1
- package/lib/commands/join/utils/add-components-prefix.js +0 -9
- package/lib/commands/join/utils/add-components-prefix.js.map +0 -1
- package/lib/commands/join/utils/add-info-section.d.ts +0 -2
- package/lib/commands/join/utils/add-info-section.d.ts.map +0 -1
- package/lib/commands/join/utils/add-info-section.js +0 -19
- package/lib/commands/join/utils/add-info-section.js.map +0 -1
- package/lib/commands/join/utils/add-prefix.d.ts +0 -2
- package/lib/commands/join/utils/add-prefix.d.ts.map +0 -1
- package/lib/commands/join/utils/add-prefix.js +0 -4
- package/lib/commands/join/utils/add-prefix.js.map +0 -1
- package/lib/commands/join/utils/add-security-prefix.d.ts +0 -2
- package/lib/commands/join/utils/add-security-prefix.d.ts.map +0 -1
- package/lib/commands/join/utils/add-security-prefix.js +0 -12
- package/lib/commands/join/utils/add-security-prefix.js.map +0 -1
- package/lib/commands/join/utils/collect-components.d.ts +0 -7
- package/lib/commands/join/utils/collect-components.d.ts.map +0 -1
- package/lib/commands/join/utils/collect-components.js +0 -26
- package/lib/commands/join/utils/collect-components.js.map +0 -1
- package/lib/commands/join/utils/collect-external-docs.d.ts +0 -7
- package/lib/commands/join/utils/collect-external-docs.d.ts.map +0 -1
- package/lib/commands/join/utils/collect-external-docs.js +0 -15
- package/lib/commands/join/utils/collect-external-docs.js.map +0 -1
- package/lib/commands/join/utils/collect-paths.d.ts +0 -9
- package/lib/commands/join/utils/collect-paths.d.ts.map +0 -1
- package/lib/commands/join/utils/collect-paths.js +0 -172
- package/lib/commands/join/utils/collect-paths.js.map +0 -1
- package/lib/commands/join/utils/collect-webhooks.d.ts +0 -8
- package/lib/commands/join/utils/collect-webhooks.d.ts.map +0 -1
- package/lib/commands/join/utils/collect-webhooks.js +0 -46
- package/lib/commands/join/utils/collect-webhooks.js.map +0 -1
- package/lib/commands/join/utils/duplicate-tag-description-warning.d.ts +0 -2
- package/lib/commands/join/utils/duplicate-tag-description-warning.d.ts.map +0 -1
- package/lib/commands/join/utils/duplicate-tag-description-warning.js +0 -8
- package/lib/commands/join/utils/duplicate-tag-description-warning.js.map +0 -1
- package/lib/commands/join/utils/filter-conflicts.d.ts +0 -2
- package/lib/commands/join/utils/filter-conflicts.d.ts.map +0 -1
- package/lib/commands/join/utils/filter-conflicts.js +0 -4
- package/lib/commands/join/utils/filter-conflicts.js.map +0 -1
- package/lib/commands/join/utils/format-tags.d.ts +0 -4
- package/lib/commands/join/utils/format-tags.d.ts.map +0 -1
- package/lib/commands/join/utils/format-tags.js +0 -4
- package/lib/commands/join/utils/format-tags.js.map +0 -1
- package/lib/commands/join/utils/get-api-filename.d.ts +0 -2
- package/lib/commands/join/utils/get-api-filename.d.ts.map +0 -1
- package/lib/commands/join/utils/get-api-filename.js +0 -5
- package/lib/commands/join/utils/get-api-filename.js.map +0 -1
- package/lib/commands/join/utils/get-info-prefix.d.ts +0 -2
- package/lib/commands/join/utils/get-info-prefix.d.ts.map +0 -1
- package/lib/commands/join/utils/get-info-prefix.js +0 -17
- package/lib/commands/join/utils/get-info-prefix.js.map +0 -1
- package/lib/commands/join/utils/index.d.ts +0 -19
- package/lib/commands/join/utils/index.d.ts.map +0 -1
- package/lib/commands/join/utils/index.js +0 -19
- package/lib/commands/join/utils/index.js.map +0 -1
- package/lib/commands/join/utils/iterate-potential-conflicts.d.ts +0 -5
- package/lib/commands/join/utils/iterate-potential-conflicts.d.ts.map +0 -1
- package/lib/commands/join/utils/iterate-potential-conflicts.js +0 -53
- package/lib/commands/join/utils/iterate-potential-conflicts.js.map +0 -1
- package/lib/commands/join/utils/populate-tags.d.ts +0 -7
- package/lib/commands/join/utils/populate-tags.d.ts.map +0 -1
- package/lib/commands/join/utils/populate-tags.js +0 -77
- package/lib/commands/join/utils/populate-tags.js.map +0 -1
- package/lib/commands/join/utils/prefix-tag-suggestion.d.ts +0 -2
- package/lib/commands/join/utils/prefix-tag-suggestion.d.ts.map +0 -1
- package/lib/commands/join/utils/prefix-tag-suggestion.js +0 -6
- package/lib/commands/join/utils/prefix-tag-suggestion.js.map +0 -1
- package/lib/commands/join/utils/replace-$-refs.d.ts +0 -2
- package/lib/commands/join/utils/replace-$-refs.d.ts.map +0 -1
- package/lib/commands/join/utils/replace-$-refs.js +0 -29
- package/lib/commands/join/utils/replace-$-refs.js.map +0 -1
- package/lib/commands/join/utils/show-conflicts.d.ts +0 -2
- package/lib/commands/join/utils/show-conflicts.d.ts.map +0 -1
- package/lib/commands/join/utils/show-conflicts.js +0 -8
- package/lib/commands/join/utils/show-conflicts.js.map +0 -1
- package/lib/commands/lint.d.ts +0 -15
- package/lib/commands/lint.d.ts.map +0 -1
- package/lib/commands/lint.js +0 -112
- package/lib/commands/lint.js.map +0 -1
- package/lib/commands/preview-project/constants.d.ts +0 -15
- package/lib/commands/preview-project/constants.d.ts.map +0 -1
- package/lib/commands/preview-project/constants.js +0 -20
- package/lib/commands/preview-project/constants.js.map +0 -1
- package/lib/commands/preview-project/index.d.ts +0 -4
- package/lib/commands/preview-project/index.d.ts.map +0 -1
- package/lib/commands/preview-project/index.js +0 -54
- package/lib/commands/preview-project/index.js.map +0 -1
- package/lib/commands/preview-project/types.d.ts +0 -11
- package/lib/commands/preview-project/types.d.ts.map +0 -1
- package/lib/commands/preview-project/types.js +0 -2
- package/lib/commands/preview-project/types.js.map +0 -1
- package/lib/commands/respect/connection-client.d.ts +0 -12
- package/lib/commands/respect/connection-client.d.ts.map +0 -1
- package/lib/commands/respect/connection-client.js +0 -73
- package/lib/commands/respect/connection-client.js.map +0 -1
- package/lib/commands/respect/display-files-summary-table.d.ts +0 -12
- package/lib/commands/respect/display-files-summary-table.d.ts.map +0 -1
- package/lib/commands/respect/display-files-summary-table.js +0 -65
- package/lib/commands/respect/display-files-summary-table.js.map +0 -1
- package/lib/commands/respect/har-logs/har-logs.d.ts +0 -6
- package/lib/commands/respect/har-logs/har-logs.d.ts.map +0 -1
- package/lib/commands/respect/har-logs/har-logs.js +0 -28
- package/lib/commands/respect/har-logs/har-logs.js.map +0 -1
- package/lib/commands/respect/har-logs/helpers/add-headers.d.ts +0 -2
- package/lib/commands/respect/har-logs/helpers/add-headers.d.ts.map +0 -1
- package/lib/commands/respect/har-logs/helpers/add-headers.js +0 -17
- package/lib/commands/respect/har-logs/helpers/add-headers.js.map +0 -1
- package/lib/commands/respect/har-logs/helpers/build-headers.d.ts +0 -10
- package/lib/commands/respect/har-logs/helpers/build-headers.d.ts.map +0 -1
- package/lib/commands/respect/har-logs/helpers/build-headers.js +0 -33
- package/lib/commands/respect/har-logs/helpers/build-headers.js.map +0 -1
- package/lib/commands/respect/har-logs/helpers/build-request-cookies.d.ts +0 -2
- package/lib/commands/respect/har-logs/helpers/build-request-cookies.d.ts.map +0 -1
- package/lib/commands/respect/har-logs/helpers/build-request-cookies.js +0 -18
- package/lib/commands/respect/har-logs/helpers/build-request-cookies.js.map +0 -1
- package/lib/commands/respect/har-logs/helpers/build-response-cookies.d.ts +0 -2
- package/lib/commands/respect/har-logs/helpers/build-response-cookies.d.ts.map +0 -1
- package/lib/commands/respect/har-logs/helpers/build-response-cookies.js +0 -40
- package/lib/commands/respect/har-logs/helpers/build-response-cookies.js.map +0 -1
- package/lib/commands/respect/har-logs/helpers/get-duration.d.ts +0 -2
- package/lib/commands/respect/har-logs/helpers/get-duration.d.ts.map +0 -1
- package/lib/commands/respect/har-logs/helpers/get-duration.js +0 -6
- package/lib/commands/respect/har-logs/helpers/get-duration.js.map +0 -1
- package/lib/commands/respect/har-logs/index.d.ts +0 -2
- package/lib/commands/respect/har-logs/index.d.ts.map +0 -1
- package/lib/commands/respect/har-logs/index.js +0 -2
- package/lib/commands/respect/har-logs/index.js.map +0 -1
- package/lib/commands/respect/har-logs/with-har.d.ts +0 -7
- package/lib/commands/respect/har-logs/with-har.d.ts.map +0 -1
- package/lib/commands/respect/har-logs/with-har.js +0 -182
- package/lib/commands/respect/har-logs/with-har.js.map +0 -1
- package/lib/commands/respect/index.d.ts +0 -27
- package/lib/commands/respect/index.d.ts.map +0 -1
- package/lib/commands/respect/index.js +0 -115
- package/lib/commands/respect/index.js.map +0 -1
- package/lib/commands/respect/json-logs.d.ts +0 -11
- package/lib/commands/respect/json-logs.d.ts.map +0 -1
- package/lib/commands/respect/json-logs.js +0 -85
- package/lib/commands/respect/json-logs.js.map +0 -1
- package/lib/commands/respect/mtls/resolve-mtls-certificates.d.ts +0 -9
- package/lib/commands/respect/mtls/resolve-mtls-certificates.d.ts.map +0 -1
- package/lib/commands/respect/mtls/resolve-mtls-certificates.js +0 -48
- package/lib/commands/respect/mtls/resolve-mtls-certificates.js.map +0 -1
- package/lib/commands/respect/mtls/validate-mtls-command-option.d.ts +0 -3
- package/lib/commands/respect/mtls/validate-mtls-command-option.d.ts.map +0 -1
- package/lib/commands/respect/mtls/validate-mtls-command-option.js +0 -55
- package/lib/commands/respect/mtls/validate-mtls-command-option.js.map +0 -1
- package/lib/commands/score/collect-metrics.d.ts +0 -17
- package/lib/commands/score/collect-metrics.d.ts.map +0 -1
- package/lib/commands/score/collect-metrics.js +0 -195
- package/lib/commands/score/collect-metrics.js.map +0 -1
- package/lib/commands/score/collectors/dependency-graph.d.ts +0 -9
- package/lib/commands/score/collectors/dependency-graph.d.ts.map +0 -1
- package/lib/commands/score/collectors/dependency-graph.js +0 -61
- package/lib/commands/score/collectors/dependency-graph.js.map +0 -1
- package/lib/commands/score/collectors/document-metrics.d.ts +0 -69
- package/lib/commands/score/collectors/document-metrics.d.ts.map +0 -1
- package/lib/commands/score/collectors/document-metrics.js +0 -343
- package/lib/commands/score/collectors/document-metrics.js.map +0 -1
- package/lib/commands/score/constants.d.ts +0 -4
- package/lib/commands/score/constants.d.ts.map +0 -1
- package/lib/commands/score/constants.js +0 -47
- package/lib/commands/score/constants.js.map +0 -1
- package/lib/commands/score/formatters/json.d.ts +0 -3
- package/lib/commands/score/formatters/json.d.ts.map +0 -1
- package/lib/commands/score/formatters/json.js +0 -20
- package/lib/commands/score/formatters/json.js.map +0 -1
- package/lib/commands/score/formatters/stylish.d.ts +0 -4
- package/lib/commands/score/formatters/stylish.d.ts.map +0 -1
- package/lib/commands/score/formatters/stylish.js +0 -235
- package/lib/commands/score/formatters/stylish.js.map +0 -1
- package/lib/commands/score/hotspots.d.ts +0 -3
- package/lib/commands/score/hotspots.d.ts.map +0 -1
- package/lib/commands/score/hotspots.js +0 -70
- package/lib/commands/score/hotspots.js.map +0 -1
- package/lib/commands/score/index.d.ts +0 -11
- package/lib/commands/score/index.d.ts.map +0 -1
- package/lib/commands/score/index.js +0 -69
- package/lib/commands/score/index.js.map +0 -1
- package/lib/commands/score/scoring.d.ts +0 -14
- package/lib/commands/score/scoring.d.ts.map +0 -1
- package/lib/commands/score/scoring.js +0 -136
- package/lib/commands/score/scoring.js.map +0 -1
- package/lib/commands/score/types.d.ts +0 -119
- package/lib/commands/score/types.d.ts.map +0 -1
- package/lib/commands/score/types.js +0 -2
- package/lib/commands/score/types.js.map +0 -1
- package/lib/commands/score/utils.d.ts +0 -2
- package/lib/commands/score/utils.d.ts.map +0 -1
- package/lib/commands/score/utils.js +0 -8
- package/lib/commands/score/utils.js.map +0 -1
- package/lib/commands/scorecard-classic/auth/login-handler.d.ts +0 -3
- package/lib/commands/scorecard-classic/auth/login-handler.d.ts.map +0 -1
- package/lib/commands/scorecard-classic/auth/login-handler.js +0 -31
- package/lib/commands/scorecard-classic/auth/login-handler.js.map +0 -1
- package/lib/commands/scorecard-classic/formatters/checkstyle-formatter.d.ts +0 -3
- package/lib/commands/scorecard-classic/formatters/checkstyle-formatter.d.ts.map +0 -1
- package/lib/commands/scorecard-classic/formatters/checkstyle-formatter.js +0 -28
- package/lib/commands/scorecard-classic/formatters/checkstyle-formatter.js.map +0 -1
- package/lib/commands/scorecard-classic/formatters/json-formatter.d.ts +0 -27
- package/lib/commands/scorecard-classic/formatters/json-formatter.d.ts.map +0 -1
- package/lib/commands/scorecard-classic/formatters/json-formatter.js +0 -67
- package/lib/commands/scorecard-classic/formatters/json-formatter.js.map +0 -1
- package/lib/commands/scorecard-classic/formatters/junit-formatter.d.ts +0 -3
- package/lib/commands/scorecard-classic/formatters/junit-formatter.d.ts.map +0 -1
- package/lib/commands/scorecard-classic/formatters/junit-formatter.js +0 -67
- package/lib/commands/scorecard-classic/formatters/junit-formatter.js.map +0 -1
- package/lib/commands/scorecard-classic/formatters/stylish-formatter.d.ts +0 -3
- package/lib/commands/scorecard-classic/formatters/stylish-formatter.d.ts.map +0 -1
- package/lib/commands/scorecard-classic/formatters/stylish-formatter.js +0 -57
- package/lib/commands/scorecard-classic/formatters/stylish-formatter.js.map +0 -1
- package/lib/commands/scorecard-classic/index.d.ts +0 -4
- package/lib/commands/scorecard-classic/index.d.ts.map +0 -1
- package/lib/commands/scorecard-classic/index.js +0 -120
- package/lib/commands/scorecard-classic/index.js.map +0 -1
- package/lib/commands/scorecard-classic/remote/fetch-scorecard.d.ts +0 -9
- package/lib/commands/scorecard-classic/remote/fetch-scorecard.d.ts.map +0 -1
- package/lib/commands/scorecard-classic/remote/fetch-scorecard.js +0 -126
- package/lib/commands/scorecard-classic/remote/fetch-scorecard.js.map +0 -1
- package/lib/commands/scorecard-classic/targets-handler/targets-handler.d.ts +0 -13
- package/lib/commands/scorecard-classic/targets-handler/targets-handler.d.ts.map +0 -1
- package/lib/commands/scorecard-classic/targets-handler/targets-handler.js +0 -55
- package/lib/commands/scorecard-classic/targets-handler/targets-handler.js.map +0 -1
- package/lib/commands/scorecard-classic/types.d.ts +0 -27
- package/lib/commands/scorecard-classic/types.d.ts.map +0 -1
- package/lib/commands/scorecard-classic/types.js +0 -2
- package/lib/commands/scorecard-classic/types.js.map +0 -1
- package/lib/commands/scorecard-classic/validation/plugin-evaluator.d.ts +0 -3
- package/lib/commands/scorecard-classic/validation/plugin-evaluator.d.ts.map +0 -1
- package/lib/commands/scorecard-classic/validation/plugin-evaluator.js +0 -45
- package/lib/commands/scorecard-classic/validation/plugin-evaluator.js.map +0 -1
- package/lib/commands/scorecard-classic/validation/project-url.d.ts +0 -2
- package/lib/commands/scorecard-classic/validation/project-url.d.ts.map +0 -1
- package/lib/commands/scorecard-classic/validation/project-url.js +0 -11
- package/lib/commands/scorecard-classic/validation/project-url.js.map +0 -1
- package/lib/commands/scorecard-classic/validation/validate-scorecard.d.ts +0 -21
- package/lib/commands/scorecard-classic/validation/validate-scorecard.d.ts.map +0 -1
- package/lib/commands/scorecard-classic/validation/validate-scorecard.js +0 -87
- package/lib/commands/scorecard-classic/validation/validate-scorecard.js.map +0 -1
- package/lib/commands/split/asyncapi/constants.d.ts +0 -6
- package/lib/commands/split/asyncapi/constants.d.ts.map +0 -1
- package/lib/commands/split/asyncapi/constants.js +0 -71
- package/lib/commands/split/asyncapi/constants.js.map +0 -1
- package/lib/commands/split/asyncapi/find-asyncapi-component-types.d.ts +0 -2
- package/lib/commands/split/asyncapi/find-asyncapi-component-types.d.ts.map +0 -1
- package/lib/commands/split/asyncapi/find-asyncapi-component-types.js +0 -8
- package/lib/commands/split/asyncapi/find-asyncapi-component-types.js.map +0 -1
- package/lib/commands/split/asyncapi/gather-asyncapi-component-files.d.ts +0 -9
- package/lib/commands/split/asyncapi/gather-asyncapi-component-files.d.ts.map +0 -1
- package/lib/commands/split/asyncapi/gather-asyncapi-component-files.js +0 -28
- package/lib/commands/split/asyncapi/gather-asyncapi-component-files.js.map +0 -1
- package/lib/commands/split/asyncapi/iterate-asyncapi-channels.d.ts +0 -10
- package/lib/commands/split/asyncapi/iterate-asyncapi-channels.d.ts.map +0 -1
- package/lib/commands/split/asyncapi/iterate-asyncapi-channels.js +0 -27
- package/lib/commands/split/asyncapi/iterate-asyncapi-channels.js.map +0 -1
- package/lib/commands/split/asyncapi/iterate-asyncapi-components.d.ts +0 -10
- package/lib/commands/split/asyncapi/iterate-asyncapi-components.d.ts.map +0 -1
- package/lib/commands/split/asyncapi/iterate-asyncapi-components.js +0 -41
- package/lib/commands/split/asyncapi/iterate-asyncapi-components.js.map +0 -1
- package/lib/commands/split/asyncapi/iterate-asyncapi-operations.d.ts +0 -11
- package/lib/commands/split/asyncapi/iterate-asyncapi-operations.d.ts.map +0 -1
- package/lib/commands/split/asyncapi/iterate-asyncapi-operations.js +0 -26
- package/lib/commands/split/asyncapi/iterate-asyncapi-operations.js.map +0 -1
- package/lib/commands/split/asyncapi/remove-asyncapi-empty-components.d.ts +0 -3
- package/lib/commands/split/asyncapi/remove-asyncapi-empty-components.d.ts.map +0 -1
- package/lib/commands/split/asyncapi/remove-asyncapi-empty-components.js +0 -13
- package/lib/commands/split/asyncapi/remove-asyncapi-empty-components.js.map +0 -1
- package/lib/commands/split/asyncapi/split-asyncapi-definition.d.ts +0 -9
- package/lib/commands/split/asyncapi/split-asyncapi-definition.d.ts.map +0 -1
- package/lib/commands/split/asyncapi/split-asyncapi-definition.js +0 -51
- package/lib/commands/split/asyncapi/split-asyncapi-definition.js.map +0 -1
- package/lib/commands/split/constants.d.ts +0 -7
- package/lib/commands/split/constants.d.ts.map +0 -1
- package/lib/commands/split/constants.js +0 -7
- package/lib/commands/split/constants.js.map +0 -1
- package/lib/commands/split/index.d.ts +0 -6
- package/lib/commands/split/index.d.ts.map +0 -1
- package/lib/commands/split/index.js +0 -46
- package/lib/commands/split/index.js.map +0 -1
- package/lib/commands/split/oas/constants.d.ts +0 -3
- package/lib/commands/split/oas/constants.d.ts.map +0 -1
- package/lib/commands/split/oas/constants.js +0 -23
- package/lib/commands/split/oas/constants.js.map +0 -1
- package/lib/commands/split/oas/split-oas-definition.d.ts +0 -3
- package/lib/commands/split/oas/split-oas-definition.d.ts.map +0 -1
- package/lib/commands/split/oas/split-oas-definition.js +0 -19
- package/lib/commands/split/oas/split-oas-definition.js.map +0 -1
- package/lib/commands/split/types.d.ts +0 -28
- package/lib/commands/split/types.d.ts.map +0 -1
- package/lib/commands/split/types.js +0 -2
- package/lib/commands/split/types.js.map +0 -1
- package/lib/commands/split/utils/crawl.d.ts +0 -2
- package/lib/commands/split/utils/crawl.d.ts.map +0 -1
- package/lib/commands/split/utils/crawl.js +0 -15
- package/lib/commands/split/utils/crawl.js.map +0 -1
- package/lib/commands/split/utils/create-component-dir.d.ts +0 -2
- package/lib/commands/split/utils/create-component-dir.d.ts.map +0 -1
- package/lib/commands/split/utils/create-component-dir.js +0 -8
- package/lib/commands/split/utils/create-component-dir.js.map +0 -1
- package/lib/commands/split/utils/does-file-differ.d.ts +0 -2
- package/lib/commands/split/utils/does-file-differ.d.ts.map +0 -1
- package/lib/commands/split/utils/does-file-differ.js +0 -7
- package/lib/commands/split/utils/does-file-differ.js.map +0 -1
- package/lib/commands/split/utils/extract-filename-from-path.d.ts +0 -2
- package/lib/commands/split/utils/extract-filename-from-path.d.ts.map +0 -1
- package/lib/commands/split/utils/extract-filename-from-path.js +0 -5
- package/lib/commands/split/utils/extract-filename-from-path.js.map +0 -1
- package/lib/commands/split/utils/find-component-type.d.ts +0 -3
- package/lib/commands/split/utils/find-component-type.d.ts.map +0 -1
- package/lib/commands/split/utils/find-component-type.js +0 -8
- package/lib/commands/split/utils/find-component-type.js.map +0 -1
- package/lib/commands/split/utils/gather-components-files.d.ts +0 -4
- package/lib/commands/split/utils/gather-components-files.d.ts.map +0 -1
- package/lib/commands/split/utils/gather-components-files.js +0 -12
- package/lib/commands/split/utils/gather-components-files.js.map +0 -1
- package/lib/commands/split/utils/get-file-name-path.d.ts +0 -2
- package/lib/commands/split/utils/get-file-name-path.d.ts.map +0 -1
- package/lib/commands/split/utils/get-file-name-path.js +0 -5
- package/lib/commands/split/utils/get-file-name-path.js.map +0 -1
- package/lib/commands/split/utils/implicitly-reference-discriminator.d.ts +0 -2
- package/lib/commands/split/utils/implicitly-reference-discriminator.d.ts.map +0 -1
- package/lib/commands/split/utils/implicitly-reference-discriminator.js +0 -31
- package/lib/commands/split/utils/implicitly-reference-discriminator.js.map +0 -1
- package/lib/commands/split/utils/is-not-security-component-type.d.ts +0 -2
- package/lib/commands/split/utils/is-not-security-component-type.d.ts.map +0 -1
- package/lib/commands/split/utils/is-not-security-component-type.js +0 -4
- package/lib/commands/split/utils/is-not-security-component-type.js.map +0 -1
- package/lib/commands/split/utils/is-supported-extension.d.ts +0 -2
- package/lib/commands/split/utils/is-supported-extension.d.ts.map +0 -1
- package/lib/commands/split/utils/is-supported-extension.js +0 -4
- package/lib/commands/split/utils/is-supported-extension.js.map +0 -1
- package/lib/commands/split/utils/iterate-components.d.ts +0 -3
- package/lib/commands/split/utils/iterate-components.d.ts.map +0 -1
- package/lib/commands/split/utils/iterate-components.js +0 -55
- package/lib/commands/split/utils/iterate-components.js.map +0 -1
- package/lib/commands/split/utils/iterate-path-items.d.ts +0 -3
- package/lib/commands/split/utils/iterate-path-items.d.ts.map +0 -1
- package/lib/commands/split/utils/iterate-path-items.js +0 -42
- package/lib/commands/split/utils/iterate-path-items.js.map +0 -1
- package/lib/commands/split/utils/remove-empty-components.d.ts +0 -4
- package/lib/commands/split/utils/remove-empty-components.d.ts.map +0 -1
- package/lib/commands/split/utils/remove-empty-components.js +0 -10
- package/lib/commands/split/utils/remove-empty-components.js.map +0 -1
- package/lib/commands/split/utils/replace-$-refs.d.ts +0 -3
- package/lib/commands/split/utils/replace-$-refs.d.ts.map +0 -1
- package/lib/commands/split/utils/replace-$-refs.js +0 -34
- package/lib/commands/split/utils/replace-$-refs.js.map +0 -1
- package/lib/commands/split/utils/replace-channel-refs.d.ts +0 -3
- package/lib/commands/split/utils/replace-channel-refs.d.ts.map +0 -1
- package/lib/commands/split/utils/replace-channel-refs.js +0 -30
- package/lib/commands/split/utils/replace-channel-refs.js.map +0 -1
- package/lib/commands/split/utils/starts-with-components.d.ts +0 -2
- package/lib/commands/split/utils/starts-with-components.d.ts.map +0 -1
- package/lib/commands/split/utils/starts-with-components.js +0 -5
- package/lib/commands/split/utils/starts-with-components.js.map +0 -1
- package/lib/commands/split/utils/traverse-directory-deep.d.ts +0 -3
- package/lib/commands/split/utils/traverse-directory-deep.d.ts.map +0 -1
- package/lib/commands/split/utils/traverse-directory-deep.js +0 -27
- package/lib/commands/split/utils/traverse-directory-deep.js.map +0 -1
- package/lib/commands/stats/index.d.ts +0 -9
- package/lib/commands/stats/index.d.ts.map +0 -1
- package/lib/commands/stats/index.js +0 -42
- package/lib/commands/stats/index.js.map +0 -1
- package/lib/commands/stats/print-stats/index.d.ts +0 -3
- package/lib/commands/stats/print-stats/index.d.ts.map +0 -1
- package/lib/commands/stats/print-stats/index.js +0 -22
- package/lib/commands/stats/print-stats/index.js.map +0 -1
- package/lib/commands/stats/print-stats/json.d.ts +0 -3
- package/lib/commands/stats/print-stats/json.d.ts.map +0 -1
- package/lib/commands/stats/print-stats/json.js +0 -13
- package/lib/commands/stats/print-stats/json.js.map +0 -1
- package/lib/commands/stats/print-stats/markdown.d.ts +0 -3
- package/lib/commands/stats/print-stats/markdown.d.ts.map +0 -1
- package/lib/commands/stats/print-stats/markdown.js +0 -10
- package/lib/commands/stats/print-stats/markdown.js.map +0 -1
- package/lib/commands/stats/print-stats/stylish.d.ts +0 -3
- package/lib/commands/stats/print-stats/stylish.d.ts.map +0 -1
- package/lib/commands/stats/print-stats/stylish.js +0 -11
- package/lib/commands/stats/print-stats/stylish.js.map +0 -1
- package/lib/commands/stats/visitor-and-accumulator-resolver.d.ts +0 -103
- package/lib/commands/stats/visitor-and-accumulator-resolver.d.ts.map +0 -1
- package/lib/commands/stats/visitor-and-accumulator-resolver.js +0 -46
- package/lib/commands/stats/visitor-and-accumulator-resolver.js.map +0 -1
- package/lib/commands/translations.d.ts +0 -8
- package/lib/commands/translations.d.ts.map +0 -1
- package/lib/commands/translations.js +0 -18
- package/lib/commands/translations.js.map +0 -1
- package/lib/index.d.ts +0 -3
- package/lib/index.d.ts.map +0 -1
- package/lib/index.js.map +0 -1
- package/lib/reunite/api/api-client.d.ts +0 -83
- package/lib/reunite/api/api-client.d.ts.map +0 -1
- package/lib/reunite/api/api-client.js +0 -262
- package/lib/reunite/api/api-client.js.map +0 -1
- package/lib/reunite/api/api-keys.d.ts +0 -2
- package/lib/reunite/api/api-keys.d.ts.map +0 -1
- package/lib/reunite/api/api-keys.js +0 -7
- package/lib/reunite/api/api-keys.js.map +0 -1
- package/lib/reunite/api/domains.d.ts +0 -12
- package/lib/reunite/api/domains.d.ts.map +0 -1
- package/lib/reunite/api/domains.js +0 -52
- package/lib/reunite/api/domains.js.map +0 -1
- package/lib/reunite/api/index.d.ts +0 -4
- package/lib/reunite/api/index.d.ts.map +0 -1
- package/lib/reunite/api/index.js +0 -4
- package/lib/reunite/api/index.js.map +0 -1
- package/lib/reunite/api/types.d.ts +0 -103
- package/lib/reunite/api/types.d.ts.map +0 -1
- package/lib/reunite/api/types.js +0 -2
- package/lib/reunite/api/types.js.map +0 -1
- package/lib/reunite/commands/push-status.d.ts +0 -24
- package/lib/reunite/commands/push-status.d.ts.map +0 -1
- package/lib/reunite/commands/push-status.js +0 -199
- package/lib/reunite/commands/push-status.js.map +0 -1
- package/lib/reunite/commands/push.d.ts +0 -28
- package/lib/reunite/commands/push.d.ts.map +0 -1
- package/lib/reunite/commands/push.js +0 -135
- package/lib/reunite/commands/push.js.map +0 -1
- package/lib/reunite/commands/utils.d.ts +0 -26
- package/lib/reunite/commands/utils.d.ts.map +0 -1
- package/lib/reunite/commands/utils.js +0 -49
- package/lib/reunite/commands/utils.js.map +0 -1
- package/lib/reunite/utils.d.ts +0 -3
- package/lib/reunite/utils.d.ts.map +0 -1
- package/lib/reunite/utils.js +0 -3
- package/lib/reunite/utils.js.map +0 -1
- package/lib/types.d.ts +0 -33
- package/lib/types.d.ts.map +0 -1
- package/lib/types.js +0 -2
- package/lib/types.js.map +0 -1
- package/lib/utils/assert-node-version.d.ts +0 -2
- package/lib/utils/assert-node-version.d.ts.map +0 -1
- package/lib/utils/assert-node-version.js +0 -14
- package/lib/utils/assert-node-version.js.map +0 -1
- package/lib/utils/constants.d.ts +0 -5
- package/lib/utils/constants.d.ts.map +0 -1
- package/lib/utils/constants.js +0 -5
- package/lib/utils/constants.js.map +0 -1
- package/lib/utils/error.d.ts +0 -4
- package/lib/utils/error.d.ts.map +0 -1
- package/lib/utils/error.js +0 -8
- package/lib/utils/error.js.map +0 -1
- package/lib/utils/fetch-with-timeout.d.ts +0 -6
- package/lib/utils/fetch-with-timeout.d.ts.map +0 -1
- package/lib/utils/fetch-with-timeout.js +0 -24
- package/lib/utils/fetch-with-timeout.js.map +0 -1
- package/lib/utils/get-command-name-from-args.d.ts +0 -3
- package/lib/utils/get-command-name-from-args.d.ts.map +0 -1
- package/lib/utils/get-command-name-from-args.js +0 -4
- package/lib/utils/get-command-name-from-args.js.map +0 -1
- package/lib/utils/json-stringify-with-array-buffer.d.ts +0 -2
- package/lib/utils/json-stringify-with-array-buffer.d.ts.map +0 -1
- package/lib/utils/json-stringify-with-array-buffer.js +0 -32
- package/lib/utils/json-stringify-with-array-buffer.js.map +0 -1
- package/lib/utils/miscellaneous.d.ts +0 -46
- package/lib/utils/miscellaneous.d.ts.map +0 -1
- package/lib/utils/miscellaneous.js +0 -443
- package/lib/utils/miscellaneous.js.map +0 -1
- package/lib/utils/network-check.d.ts +0 -2
- package/lib/utils/network-check.d.ts.map +0 -1
- package/lib/utils/network-check.js +0 -12
- package/lib/utils/network-check.js.map +0 -1
- package/lib/utils/otel.d.ts +0 -8
- package/lib/utils/otel.d.ts.map +0 -1
- package/lib/utils/otel.js +0 -40
- package/lib/utils/otel.js.map +0 -1
- package/lib/utils/package.d.ts +0 -2
- package/lib/utils/package.d.ts.map +0 -1
- package/lib/utils/package.js +0 -4
- package/lib/utils/package.js.map +0 -1
- package/lib/utils/platform.d.ts +0 -17
- package/lib/utils/platform.d.ts.map +0 -1
- package/lib/utils/platform.js +0 -30
- package/lib/utils/platform.js.map +0 -1
- package/lib/utils/proxy-agent.d.ts +0 -5
- package/lib/utils/proxy-agent.d.ts.map +0 -1
- package/lib/utils/proxy-agent.js +0 -41
- package/lib/utils/proxy-agent.js.map +0 -1
- package/lib/utils/read-env-variables.d.ts +0 -2
- package/lib/utils/read-env-variables.d.ts.map +0 -1
- package/lib/utils/read-env-variables.js +0 -18
- package/lib/utils/read-env-variables.js.map +0 -1
- package/lib/utils/spinner.d.ts +0 -11
- package/lib/utils/spinner.d.ts.map +0 -1
- package/lib/utils/spinner.js +0 -44
- package/lib/utils/spinner.js.map +0 -1
- package/lib/utils/strip-ansi-codes.d.ts +0 -2
- package/lib/utils/strip-ansi-codes.d.ts.map +0 -1
- package/lib/utils/strip-ansi-codes.js +0 -6
- package/lib/utils/strip-ansi-codes.js.map +0 -1
- package/lib/utils/telemetry.d.ts +0 -26
- package/lib/utils/telemetry.d.ts.map +0 -1
- package/lib/utils/telemetry.js +0 -291
- package/lib/utils/telemetry.js.map +0 -1
- package/lib/utils/update-version-notifier.d.ts +0 -3
- package/lib/utils/update-version-notifier.d.ts.map +0 -1
- package/lib/utils/update-version-notifier.js +0 -100
- package/lib/utils/update-version-notifier.js.map +0 -1
- package/lib/utils/validate-mount-path.d.ts +0 -2
- package/lib/utils/validate-mount-path.d.ts.map +0 -1
- package/lib/utils/validate-mount-path.js +0 -7
- package/lib/utils/validate-mount-path.js.map +0 -1
- package/lib/utils/validate-positive-number.d.ts +0 -2
- package/lib/utils/validate-positive-number.d.ts.map +0 -1
- package/lib/utils/validate-positive-number.js +0 -13
- package/lib/utils/validate-positive-number.js.map +0 -1
- package/lib/wrapper.d.ts +0 -11
- package/lib/wrapper.d.ts.map +0 -1
- package/lib/wrapper.js +0 -99
- package/lib/wrapper.js.map +0 -1
|
@@ -0,0 +1,1638 @@
|
|
|
1
|
+
import { createRequire as __createRequire } from 'node:module';
|
|
2
|
+
const require = __createRequire(import.meta.url);
|
|
3
|
+
import {
|
|
4
|
+
__esm,
|
|
5
|
+
__export
|
|
6
|
+
} from "./5ILQMFXK.js";
|
|
7
|
+
|
|
8
|
+
// ../../node_modules/@opentelemetry/api/build/esm/platform/node/globalThis.js
|
|
9
|
+
var _globalThis;
|
|
10
|
+
var init_globalThis = __esm({
|
|
11
|
+
"../../node_modules/@opentelemetry/api/build/esm/platform/node/globalThis.js"() {
|
|
12
|
+
_globalThis = typeof globalThis === "object" ? globalThis : global;
|
|
13
|
+
}
|
|
14
|
+
});
|
|
15
|
+
|
|
16
|
+
// ../../node_modules/@opentelemetry/api/build/esm/platform/node/index.js
|
|
17
|
+
var init_node = __esm({
|
|
18
|
+
"../../node_modules/@opentelemetry/api/build/esm/platform/node/index.js"() {
|
|
19
|
+
init_globalThis();
|
|
20
|
+
}
|
|
21
|
+
});
|
|
22
|
+
|
|
23
|
+
// ../../node_modules/@opentelemetry/api/build/esm/platform/index.js
|
|
24
|
+
var init_platform = __esm({
|
|
25
|
+
"../../node_modules/@opentelemetry/api/build/esm/platform/index.js"() {
|
|
26
|
+
init_node();
|
|
27
|
+
}
|
|
28
|
+
});
|
|
29
|
+
|
|
30
|
+
// ../../node_modules/@opentelemetry/api/build/esm/version.js
|
|
31
|
+
var VERSION;
|
|
32
|
+
var init_version = __esm({
|
|
33
|
+
"../../node_modules/@opentelemetry/api/build/esm/version.js"() {
|
|
34
|
+
VERSION = "1.9.0";
|
|
35
|
+
}
|
|
36
|
+
});
|
|
37
|
+
|
|
38
|
+
// ../../node_modules/@opentelemetry/api/build/esm/internal/semver.js
|
|
39
|
+
function _makeCompatibilityCheck(ownVersion) {
|
|
40
|
+
var acceptedVersions = /* @__PURE__ */ new Set([ownVersion]);
|
|
41
|
+
var rejectedVersions = /* @__PURE__ */ new Set();
|
|
42
|
+
var myVersionMatch = ownVersion.match(re);
|
|
43
|
+
if (!myVersionMatch) {
|
|
44
|
+
return function() {
|
|
45
|
+
return false;
|
|
46
|
+
};
|
|
47
|
+
}
|
|
48
|
+
var ownVersionParsed = {
|
|
49
|
+
major: +myVersionMatch[1],
|
|
50
|
+
minor: +myVersionMatch[2],
|
|
51
|
+
patch: +myVersionMatch[3],
|
|
52
|
+
prerelease: myVersionMatch[4]
|
|
53
|
+
};
|
|
54
|
+
if (ownVersionParsed.prerelease != null) {
|
|
55
|
+
return function isExactmatch(globalVersion) {
|
|
56
|
+
return globalVersion === ownVersion;
|
|
57
|
+
};
|
|
58
|
+
}
|
|
59
|
+
function _reject(v) {
|
|
60
|
+
rejectedVersions.add(v);
|
|
61
|
+
return false;
|
|
62
|
+
}
|
|
63
|
+
function _accept(v) {
|
|
64
|
+
acceptedVersions.add(v);
|
|
65
|
+
return true;
|
|
66
|
+
}
|
|
67
|
+
return function isCompatible2(globalVersion) {
|
|
68
|
+
if (acceptedVersions.has(globalVersion)) {
|
|
69
|
+
return true;
|
|
70
|
+
}
|
|
71
|
+
if (rejectedVersions.has(globalVersion)) {
|
|
72
|
+
return false;
|
|
73
|
+
}
|
|
74
|
+
var globalVersionMatch = globalVersion.match(re);
|
|
75
|
+
if (!globalVersionMatch) {
|
|
76
|
+
return _reject(globalVersion);
|
|
77
|
+
}
|
|
78
|
+
var globalVersionParsed = {
|
|
79
|
+
major: +globalVersionMatch[1],
|
|
80
|
+
minor: +globalVersionMatch[2],
|
|
81
|
+
patch: +globalVersionMatch[3],
|
|
82
|
+
prerelease: globalVersionMatch[4]
|
|
83
|
+
};
|
|
84
|
+
if (globalVersionParsed.prerelease != null) {
|
|
85
|
+
return _reject(globalVersion);
|
|
86
|
+
}
|
|
87
|
+
if (ownVersionParsed.major !== globalVersionParsed.major) {
|
|
88
|
+
return _reject(globalVersion);
|
|
89
|
+
}
|
|
90
|
+
if (ownVersionParsed.major === 0) {
|
|
91
|
+
if (ownVersionParsed.minor === globalVersionParsed.minor && ownVersionParsed.patch <= globalVersionParsed.patch) {
|
|
92
|
+
return _accept(globalVersion);
|
|
93
|
+
}
|
|
94
|
+
return _reject(globalVersion);
|
|
95
|
+
}
|
|
96
|
+
if (ownVersionParsed.minor <= globalVersionParsed.minor) {
|
|
97
|
+
return _accept(globalVersion);
|
|
98
|
+
}
|
|
99
|
+
return _reject(globalVersion);
|
|
100
|
+
};
|
|
101
|
+
}
|
|
102
|
+
var re, isCompatible;
|
|
103
|
+
var init_semver = __esm({
|
|
104
|
+
"../../node_modules/@opentelemetry/api/build/esm/internal/semver.js"() {
|
|
105
|
+
init_version();
|
|
106
|
+
re = /^(\d+)\.(\d+)\.(\d+)(-(.+))?$/;
|
|
107
|
+
isCompatible = _makeCompatibilityCheck(VERSION);
|
|
108
|
+
}
|
|
109
|
+
});
|
|
110
|
+
|
|
111
|
+
// ../../node_modules/@opentelemetry/api/build/esm/internal/global-utils.js
|
|
112
|
+
function registerGlobal(type, instance, diag3, allowOverride) {
|
|
113
|
+
var _a;
|
|
114
|
+
if (allowOverride === void 0) {
|
|
115
|
+
allowOverride = false;
|
|
116
|
+
}
|
|
117
|
+
var api = _global[GLOBAL_OPENTELEMETRY_API_KEY] = (_a = _global[GLOBAL_OPENTELEMETRY_API_KEY]) !== null && _a !== void 0 ? _a : {
|
|
118
|
+
version: VERSION
|
|
119
|
+
};
|
|
120
|
+
if (!allowOverride && api[type]) {
|
|
121
|
+
var err = new Error("@opentelemetry/api: Attempted duplicate registration of API: " + type);
|
|
122
|
+
diag3.error(err.stack || err.message);
|
|
123
|
+
return false;
|
|
124
|
+
}
|
|
125
|
+
if (api.version !== VERSION) {
|
|
126
|
+
var err = new Error("@opentelemetry/api: Registration of version v" + api.version + " for " + type + " does not match previously registered API v" + VERSION);
|
|
127
|
+
diag3.error(err.stack || err.message);
|
|
128
|
+
return false;
|
|
129
|
+
}
|
|
130
|
+
api[type] = instance;
|
|
131
|
+
diag3.debug("@opentelemetry/api: Registered a global for " + type + " v" + VERSION + ".");
|
|
132
|
+
return true;
|
|
133
|
+
}
|
|
134
|
+
function getGlobal(type) {
|
|
135
|
+
var _a, _b;
|
|
136
|
+
var globalVersion = (_a = _global[GLOBAL_OPENTELEMETRY_API_KEY]) === null || _a === void 0 ? void 0 : _a.version;
|
|
137
|
+
if (!globalVersion || !isCompatible(globalVersion)) {
|
|
138
|
+
return;
|
|
139
|
+
}
|
|
140
|
+
return (_b = _global[GLOBAL_OPENTELEMETRY_API_KEY]) === null || _b === void 0 ? void 0 : _b[type];
|
|
141
|
+
}
|
|
142
|
+
function unregisterGlobal(type, diag3) {
|
|
143
|
+
diag3.debug("@opentelemetry/api: Unregistering a global for " + type + " v" + VERSION + ".");
|
|
144
|
+
var api = _global[GLOBAL_OPENTELEMETRY_API_KEY];
|
|
145
|
+
if (api) {
|
|
146
|
+
delete api[type];
|
|
147
|
+
}
|
|
148
|
+
}
|
|
149
|
+
var major, GLOBAL_OPENTELEMETRY_API_KEY, _global;
|
|
150
|
+
var init_global_utils = __esm({
|
|
151
|
+
"../../node_modules/@opentelemetry/api/build/esm/internal/global-utils.js"() {
|
|
152
|
+
init_platform();
|
|
153
|
+
init_version();
|
|
154
|
+
init_semver();
|
|
155
|
+
major = VERSION.split(".")[0];
|
|
156
|
+
GLOBAL_OPENTELEMETRY_API_KEY = /* @__PURE__ */ Symbol.for("opentelemetry.js.api." + major);
|
|
157
|
+
_global = _globalThis;
|
|
158
|
+
}
|
|
159
|
+
});
|
|
160
|
+
|
|
161
|
+
// ../../node_modules/@opentelemetry/api/build/esm/diag/ComponentLogger.js
|
|
162
|
+
function logProxy(funcName, namespace, args) {
|
|
163
|
+
var logger = getGlobal("diag");
|
|
164
|
+
if (!logger) {
|
|
165
|
+
return;
|
|
166
|
+
}
|
|
167
|
+
args.unshift(namespace);
|
|
168
|
+
return logger[funcName].apply(logger, __spreadArray([], __read(args), false));
|
|
169
|
+
}
|
|
170
|
+
var __read, __spreadArray, DiagComponentLogger;
|
|
171
|
+
var init_ComponentLogger = __esm({
|
|
172
|
+
"../../node_modules/@opentelemetry/api/build/esm/diag/ComponentLogger.js"() {
|
|
173
|
+
init_global_utils();
|
|
174
|
+
__read = function(o, n) {
|
|
175
|
+
var m = typeof Symbol === "function" && o[Symbol.iterator];
|
|
176
|
+
if (!m) return o;
|
|
177
|
+
var i = m.call(o), r, ar = [], e;
|
|
178
|
+
try {
|
|
179
|
+
while ((n === void 0 || n-- > 0) && !(r = i.next()).done) ar.push(r.value);
|
|
180
|
+
} catch (error) {
|
|
181
|
+
e = { error };
|
|
182
|
+
} finally {
|
|
183
|
+
try {
|
|
184
|
+
if (r && !r.done && (m = i["return"])) m.call(i);
|
|
185
|
+
} finally {
|
|
186
|
+
if (e) throw e.error;
|
|
187
|
+
}
|
|
188
|
+
}
|
|
189
|
+
return ar;
|
|
190
|
+
};
|
|
191
|
+
__spreadArray = function(to, from, pack) {
|
|
192
|
+
if (pack || arguments.length === 2) for (var i = 0, l = from.length, ar; i < l; i++) {
|
|
193
|
+
if (ar || !(i in from)) {
|
|
194
|
+
if (!ar) ar = Array.prototype.slice.call(from, 0, i);
|
|
195
|
+
ar[i] = from[i];
|
|
196
|
+
}
|
|
197
|
+
}
|
|
198
|
+
return to.concat(ar || Array.prototype.slice.call(from));
|
|
199
|
+
};
|
|
200
|
+
DiagComponentLogger = /** @class */
|
|
201
|
+
(function() {
|
|
202
|
+
function DiagComponentLogger2(props) {
|
|
203
|
+
this._namespace = props.namespace || "DiagComponentLogger";
|
|
204
|
+
}
|
|
205
|
+
DiagComponentLogger2.prototype.debug = function() {
|
|
206
|
+
var args = [];
|
|
207
|
+
for (var _i = 0; _i < arguments.length; _i++) {
|
|
208
|
+
args[_i] = arguments[_i];
|
|
209
|
+
}
|
|
210
|
+
return logProxy("debug", this._namespace, args);
|
|
211
|
+
};
|
|
212
|
+
DiagComponentLogger2.prototype.error = function() {
|
|
213
|
+
var args = [];
|
|
214
|
+
for (var _i = 0; _i < arguments.length; _i++) {
|
|
215
|
+
args[_i] = arguments[_i];
|
|
216
|
+
}
|
|
217
|
+
return logProxy("error", this._namespace, args);
|
|
218
|
+
};
|
|
219
|
+
DiagComponentLogger2.prototype.info = function() {
|
|
220
|
+
var args = [];
|
|
221
|
+
for (var _i = 0; _i < arguments.length; _i++) {
|
|
222
|
+
args[_i] = arguments[_i];
|
|
223
|
+
}
|
|
224
|
+
return logProxy("info", this._namespace, args);
|
|
225
|
+
};
|
|
226
|
+
DiagComponentLogger2.prototype.warn = function() {
|
|
227
|
+
var args = [];
|
|
228
|
+
for (var _i = 0; _i < arguments.length; _i++) {
|
|
229
|
+
args[_i] = arguments[_i];
|
|
230
|
+
}
|
|
231
|
+
return logProxy("warn", this._namespace, args);
|
|
232
|
+
};
|
|
233
|
+
DiagComponentLogger2.prototype.verbose = function() {
|
|
234
|
+
var args = [];
|
|
235
|
+
for (var _i = 0; _i < arguments.length; _i++) {
|
|
236
|
+
args[_i] = arguments[_i];
|
|
237
|
+
}
|
|
238
|
+
return logProxy("verbose", this._namespace, args);
|
|
239
|
+
};
|
|
240
|
+
return DiagComponentLogger2;
|
|
241
|
+
})();
|
|
242
|
+
}
|
|
243
|
+
});
|
|
244
|
+
|
|
245
|
+
// ../../node_modules/@opentelemetry/api/build/esm/diag/types.js
|
|
246
|
+
var DiagLogLevel;
|
|
247
|
+
var init_types = __esm({
|
|
248
|
+
"../../node_modules/@opentelemetry/api/build/esm/diag/types.js"() {
|
|
249
|
+
(function(DiagLogLevel2) {
|
|
250
|
+
DiagLogLevel2[DiagLogLevel2["NONE"] = 0] = "NONE";
|
|
251
|
+
DiagLogLevel2[DiagLogLevel2["ERROR"] = 30] = "ERROR";
|
|
252
|
+
DiagLogLevel2[DiagLogLevel2["WARN"] = 50] = "WARN";
|
|
253
|
+
DiagLogLevel2[DiagLogLevel2["INFO"] = 60] = "INFO";
|
|
254
|
+
DiagLogLevel2[DiagLogLevel2["DEBUG"] = 70] = "DEBUG";
|
|
255
|
+
DiagLogLevel2[DiagLogLevel2["VERBOSE"] = 80] = "VERBOSE";
|
|
256
|
+
DiagLogLevel2[DiagLogLevel2["ALL"] = 9999] = "ALL";
|
|
257
|
+
})(DiagLogLevel || (DiagLogLevel = {}));
|
|
258
|
+
}
|
|
259
|
+
});
|
|
260
|
+
|
|
261
|
+
// ../../node_modules/@opentelemetry/api/build/esm/diag/internal/logLevelLogger.js
|
|
262
|
+
function createLogLevelDiagLogger(maxLevel, logger) {
|
|
263
|
+
if (maxLevel < DiagLogLevel.NONE) {
|
|
264
|
+
maxLevel = DiagLogLevel.NONE;
|
|
265
|
+
} else if (maxLevel > DiagLogLevel.ALL) {
|
|
266
|
+
maxLevel = DiagLogLevel.ALL;
|
|
267
|
+
}
|
|
268
|
+
logger = logger || {};
|
|
269
|
+
function _filterFunc(funcName, theLevel) {
|
|
270
|
+
var theFunc = logger[funcName];
|
|
271
|
+
if (typeof theFunc === "function" && maxLevel >= theLevel) {
|
|
272
|
+
return theFunc.bind(logger);
|
|
273
|
+
}
|
|
274
|
+
return function() {
|
|
275
|
+
};
|
|
276
|
+
}
|
|
277
|
+
return {
|
|
278
|
+
error: _filterFunc("error", DiagLogLevel.ERROR),
|
|
279
|
+
warn: _filterFunc("warn", DiagLogLevel.WARN),
|
|
280
|
+
info: _filterFunc("info", DiagLogLevel.INFO),
|
|
281
|
+
debug: _filterFunc("debug", DiagLogLevel.DEBUG),
|
|
282
|
+
verbose: _filterFunc("verbose", DiagLogLevel.VERBOSE)
|
|
283
|
+
};
|
|
284
|
+
}
|
|
285
|
+
var init_logLevelLogger = __esm({
|
|
286
|
+
"../../node_modules/@opentelemetry/api/build/esm/diag/internal/logLevelLogger.js"() {
|
|
287
|
+
init_types();
|
|
288
|
+
}
|
|
289
|
+
});
|
|
290
|
+
|
|
291
|
+
// ../../node_modules/@opentelemetry/api/build/esm/api/diag.js
|
|
292
|
+
var __read2, __spreadArray2, API_NAME, DiagAPI;
|
|
293
|
+
var init_diag = __esm({
|
|
294
|
+
"../../node_modules/@opentelemetry/api/build/esm/api/diag.js"() {
|
|
295
|
+
init_ComponentLogger();
|
|
296
|
+
init_logLevelLogger();
|
|
297
|
+
init_types();
|
|
298
|
+
init_global_utils();
|
|
299
|
+
__read2 = function(o, n) {
|
|
300
|
+
var m = typeof Symbol === "function" && o[Symbol.iterator];
|
|
301
|
+
if (!m) return o;
|
|
302
|
+
var i = m.call(o), r, ar = [], e;
|
|
303
|
+
try {
|
|
304
|
+
while ((n === void 0 || n-- > 0) && !(r = i.next()).done) ar.push(r.value);
|
|
305
|
+
} catch (error) {
|
|
306
|
+
e = { error };
|
|
307
|
+
} finally {
|
|
308
|
+
try {
|
|
309
|
+
if (r && !r.done && (m = i["return"])) m.call(i);
|
|
310
|
+
} finally {
|
|
311
|
+
if (e) throw e.error;
|
|
312
|
+
}
|
|
313
|
+
}
|
|
314
|
+
return ar;
|
|
315
|
+
};
|
|
316
|
+
__spreadArray2 = function(to, from, pack) {
|
|
317
|
+
if (pack || arguments.length === 2) for (var i = 0, l = from.length, ar; i < l; i++) {
|
|
318
|
+
if (ar || !(i in from)) {
|
|
319
|
+
if (!ar) ar = Array.prototype.slice.call(from, 0, i);
|
|
320
|
+
ar[i] = from[i];
|
|
321
|
+
}
|
|
322
|
+
}
|
|
323
|
+
return to.concat(ar || Array.prototype.slice.call(from));
|
|
324
|
+
};
|
|
325
|
+
API_NAME = "diag";
|
|
326
|
+
DiagAPI = /** @class */
|
|
327
|
+
(function() {
|
|
328
|
+
function DiagAPI2() {
|
|
329
|
+
function _logProxy(funcName) {
|
|
330
|
+
return function() {
|
|
331
|
+
var args = [];
|
|
332
|
+
for (var _i = 0; _i < arguments.length; _i++) {
|
|
333
|
+
args[_i] = arguments[_i];
|
|
334
|
+
}
|
|
335
|
+
var logger = getGlobal("diag");
|
|
336
|
+
if (!logger)
|
|
337
|
+
return;
|
|
338
|
+
return logger[funcName].apply(logger, __spreadArray2([], __read2(args), false));
|
|
339
|
+
};
|
|
340
|
+
}
|
|
341
|
+
var self = this;
|
|
342
|
+
var setLogger = function(logger, optionsOrLogLevel) {
|
|
343
|
+
var _a, _b, _c;
|
|
344
|
+
if (optionsOrLogLevel === void 0) {
|
|
345
|
+
optionsOrLogLevel = { logLevel: DiagLogLevel.INFO };
|
|
346
|
+
}
|
|
347
|
+
if (logger === self) {
|
|
348
|
+
var err = new Error("Cannot use diag as the logger for itself. Please use a DiagLogger implementation like ConsoleDiagLogger or a custom implementation");
|
|
349
|
+
self.error((_a = err.stack) !== null && _a !== void 0 ? _a : err.message);
|
|
350
|
+
return false;
|
|
351
|
+
}
|
|
352
|
+
if (typeof optionsOrLogLevel === "number") {
|
|
353
|
+
optionsOrLogLevel = {
|
|
354
|
+
logLevel: optionsOrLogLevel
|
|
355
|
+
};
|
|
356
|
+
}
|
|
357
|
+
var oldLogger = getGlobal("diag");
|
|
358
|
+
var newLogger = createLogLevelDiagLogger((_b = optionsOrLogLevel.logLevel) !== null && _b !== void 0 ? _b : DiagLogLevel.INFO, logger);
|
|
359
|
+
if (oldLogger && !optionsOrLogLevel.suppressOverrideMessage) {
|
|
360
|
+
var stack = (_c = new Error().stack) !== null && _c !== void 0 ? _c : "<failed to generate stacktrace>";
|
|
361
|
+
oldLogger.warn("Current logger will be overwritten from " + stack);
|
|
362
|
+
newLogger.warn("Current logger will overwrite one already registered from " + stack);
|
|
363
|
+
}
|
|
364
|
+
return registerGlobal("diag", newLogger, self, true);
|
|
365
|
+
};
|
|
366
|
+
self.setLogger = setLogger;
|
|
367
|
+
self.disable = function() {
|
|
368
|
+
unregisterGlobal(API_NAME, self);
|
|
369
|
+
};
|
|
370
|
+
self.createComponentLogger = function(options) {
|
|
371
|
+
return new DiagComponentLogger(options);
|
|
372
|
+
};
|
|
373
|
+
self.verbose = _logProxy("verbose");
|
|
374
|
+
self.debug = _logProxy("debug");
|
|
375
|
+
self.info = _logProxy("info");
|
|
376
|
+
self.warn = _logProxy("warn");
|
|
377
|
+
self.error = _logProxy("error");
|
|
378
|
+
}
|
|
379
|
+
DiagAPI2.instance = function() {
|
|
380
|
+
if (!this._instance) {
|
|
381
|
+
this._instance = new DiagAPI2();
|
|
382
|
+
}
|
|
383
|
+
return this._instance;
|
|
384
|
+
};
|
|
385
|
+
return DiagAPI2;
|
|
386
|
+
})();
|
|
387
|
+
}
|
|
388
|
+
});
|
|
389
|
+
|
|
390
|
+
// ../../node_modules/@opentelemetry/api/build/esm/baggage/internal/baggage-impl.js
|
|
391
|
+
var __read3, __values, BaggageImpl;
|
|
392
|
+
var init_baggage_impl = __esm({
|
|
393
|
+
"../../node_modules/@opentelemetry/api/build/esm/baggage/internal/baggage-impl.js"() {
|
|
394
|
+
__read3 = function(o, n) {
|
|
395
|
+
var m = typeof Symbol === "function" && o[Symbol.iterator];
|
|
396
|
+
if (!m) return o;
|
|
397
|
+
var i = m.call(o), r, ar = [], e;
|
|
398
|
+
try {
|
|
399
|
+
while ((n === void 0 || n-- > 0) && !(r = i.next()).done) ar.push(r.value);
|
|
400
|
+
} catch (error) {
|
|
401
|
+
e = { error };
|
|
402
|
+
} finally {
|
|
403
|
+
try {
|
|
404
|
+
if (r && !r.done && (m = i["return"])) m.call(i);
|
|
405
|
+
} finally {
|
|
406
|
+
if (e) throw e.error;
|
|
407
|
+
}
|
|
408
|
+
}
|
|
409
|
+
return ar;
|
|
410
|
+
};
|
|
411
|
+
__values = function(o) {
|
|
412
|
+
var s = typeof Symbol === "function" && Symbol.iterator, m = s && o[s], i = 0;
|
|
413
|
+
if (m) return m.call(o);
|
|
414
|
+
if (o && typeof o.length === "number") return {
|
|
415
|
+
next: function() {
|
|
416
|
+
if (o && i >= o.length) o = void 0;
|
|
417
|
+
return { value: o && o[i++], done: !o };
|
|
418
|
+
}
|
|
419
|
+
};
|
|
420
|
+
throw new TypeError(s ? "Object is not iterable." : "Symbol.iterator is not defined.");
|
|
421
|
+
};
|
|
422
|
+
BaggageImpl = /** @class */
|
|
423
|
+
(function() {
|
|
424
|
+
function BaggageImpl2(entries) {
|
|
425
|
+
this._entries = entries ? new Map(entries) : /* @__PURE__ */ new Map();
|
|
426
|
+
}
|
|
427
|
+
BaggageImpl2.prototype.getEntry = function(key) {
|
|
428
|
+
var entry = this._entries.get(key);
|
|
429
|
+
if (!entry) {
|
|
430
|
+
return void 0;
|
|
431
|
+
}
|
|
432
|
+
return Object.assign({}, entry);
|
|
433
|
+
};
|
|
434
|
+
BaggageImpl2.prototype.getAllEntries = function() {
|
|
435
|
+
return Array.from(this._entries.entries()).map(function(_a) {
|
|
436
|
+
var _b = __read3(_a, 2), k = _b[0], v = _b[1];
|
|
437
|
+
return [k, v];
|
|
438
|
+
});
|
|
439
|
+
};
|
|
440
|
+
BaggageImpl2.prototype.setEntry = function(key, entry) {
|
|
441
|
+
var newBaggage = new BaggageImpl2(this._entries);
|
|
442
|
+
newBaggage._entries.set(key, entry);
|
|
443
|
+
return newBaggage;
|
|
444
|
+
};
|
|
445
|
+
BaggageImpl2.prototype.removeEntry = function(key) {
|
|
446
|
+
var newBaggage = new BaggageImpl2(this._entries);
|
|
447
|
+
newBaggage._entries.delete(key);
|
|
448
|
+
return newBaggage;
|
|
449
|
+
};
|
|
450
|
+
BaggageImpl2.prototype.removeEntries = function() {
|
|
451
|
+
var e_1, _a;
|
|
452
|
+
var keys = [];
|
|
453
|
+
for (var _i = 0; _i < arguments.length; _i++) {
|
|
454
|
+
keys[_i] = arguments[_i];
|
|
455
|
+
}
|
|
456
|
+
var newBaggage = new BaggageImpl2(this._entries);
|
|
457
|
+
try {
|
|
458
|
+
for (var keys_1 = __values(keys), keys_1_1 = keys_1.next(); !keys_1_1.done; keys_1_1 = keys_1.next()) {
|
|
459
|
+
var key = keys_1_1.value;
|
|
460
|
+
newBaggage._entries.delete(key);
|
|
461
|
+
}
|
|
462
|
+
} catch (e_1_1) {
|
|
463
|
+
e_1 = { error: e_1_1 };
|
|
464
|
+
} finally {
|
|
465
|
+
try {
|
|
466
|
+
if (keys_1_1 && !keys_1_1.done && (_a = keys_1.return)) _a.call(keys_1);
|
|
467
|
+
} finally {
|
|
468
|
+
if (e_1) throw e_1.error;
|
|
469
|
+
}
|
|
470
|
+
}
|
|
471
|
+
return newBaggage;
|
|
472
|
+
};
|
|
473
|
+
BaggageImpl2.prototype.clear = function() {
|
|
474
|
+
return new BaggageImpl2();
|
|
475
|
+
};
|
|
476
|
+
return BaggageImpl2;
|
|
477
|
+
})();
|
|
478
|
+
}
|
|
479
|
+
});
|
|
480
|
+
|
|
481
|
+
// ../../node_modules/@opentelemetry/api/build/esm/baggage/internal/symbol.js
|
|
482
|
+
var baggageEntryMetadataSymbol;
|
|
483
|
+
var init_symbol = __esm({
|
|
484
|
+
"../../node_modules/@opentelemetry/api/build/esm/baggage/internal/symbol.js"() {
|
|
485
|
+
baggageEntryMetadataSymbol = /* @__PURE__ */ Symbol("BaggageEntryMetadata");
|
|
486
|
+
}
|
|
487
|
+
});
|
|
488
|
+
|
|
489
|
+
// ../../node_modules/@opentelemetry/api/build/esm/baggage/utils.js
|
|
490
|
+
function createBaggage(entries) {
|
|
491
|
+
if (entries === void 0) {
|
|
492
|
+
entries = {};
|
|
493
|
+
}
|
|
494
|
+
return new BaggageImpl(new Map(Object.entries(entries)));
|
|
495
|
+
}
|
|
496
|
+
function baggageEntryMetadataFromString(str) {
|
|
497
|
+
if (typeof str !== "string") {
|
|
498
|
+
diag.error("Cannot create baggage metadata from unknown type: " + typeof str);
|
|
499
|
+
str = "";
|
|
500
|
+
}
|
|
501
|
+
return {
|
|
502
|
+
__TYPE__: baggageEntryMetadataSymbol,
|
|
503
|
+
toString: function() {
|
|
504
|
+
return str;
|
|
505
|
+
}
|
|
506
|
+
};
|
|
507
|
+
}
|
|
508
|
+
var diag;
|
|
509
|
+
var init_utils = __esm({
|
|
510
|
+
"../../node_modules/@opentelemetry/api/build/esm/baggage/utils.js"() {
|
|
511
|
+
init_diag();
|
|
512
|
+
init_baggage_impl();
|
|
513
|
+
init_symbol();
|
|
514
|
+
diag = DiagAPI.instance();
|
|
515
|
+
}
|
|
516
|
+
});
|
|
517
|
+
|
|
518
|
+
// ../../node_modules/@opentelemetry/api/build/esm/context/context.js
|
|
519
|
+
function createContextKey(description) {
|
|
520
|
+
return Symbol.for(description);
|
|
521
|
+
}
|
|
522
|
+
var BaseContext, ROOT_CONTEXT;
|
|
523
|
+
var init_context = __esm({
|
|
524
|
+
"../../node_modules/@opentelemetry/api/build/esm/context/context.js"() {
|
|
525
|
+
BaseContext = /** @class */
|
|
526
|
+
/* @__PURE__ */ (function() {
|
|
527
|
+
function BaseContext2(parentContext) {
|
|
528
|
+
var self = this;
|
|
529
|
+
self._currentContext = parentContext ? new Map(parentContext) : /* @__PURE__ */ new Map();
|
|
530
|
+
self.getValue = function(key) {
|
|
531
|
+
return self._currentContext.get(key);
|
|
532
|
+
};
|
|
533
|
+
self.setValue = function(key, value) {
|
|
534
|
+
var context2 = new BaseContext2(self._currentContext);
|
|
535
|
+
context2._currentContext.set(key, value);
|
|
536
|
+
return context2;
|
|
537
|
+
};
|
|
538
|
+
self.deleteValue = function(key) {
|
|
539
|
+
var context2 = new BaseContext2(self._currentContext);
|
|
540
|
+
context2._currentContext.delete(key);
|
|
541
|
+
return context2;
|
|
542
|
+
};
|
|
543
|
+
}
|
|
544
|
+
return BaseContext2;
|
|
545
|
+
})();
|
|
546
|
+
ROOT_CONTEXT = new BaseContext();
|
|
547
|
+
}
|
|
548
|
+
});
|
|
549
|
+
|
|
550
|
+
// ../../node_modules/@opentelemetry/api/build/esm/diag/consoleLogger.js
|
|
551
|
+
var consoleMap, DiagConsoleLogger;
|
|
552
|
+
var init_consoleLogger = __esm({
|
|
553
|
+
"../../node_modules/@opentelemetry/api/build/esm/diag/consoleLogger.js"() {
|
|
554
|
+
consoleMap = [
|
|
555
|
+
{ n: "error", c: "error" },
|
|
556
|
+
{ n: "warn", c: "warn" },
|
|
557
|
+
{ n: "info", c: "info" },
|
|
558
|
+
{ n: "debug", c: "debug" },
|
|
559
|
+
{ n: "verbose", c: "trace" }
|
|
560
|
+
];
|
|
561
|
+
DiagConsoleLogger = /** @class */
|
|
562
|
+
/* @__PURE__ */ (function() {
|
|
563
|
+
function DiagConsoleLogger2() {
|
|
564
|
+
function _consoleFunc(funcName) {
|
|
565
|
+
return function() {
|
|
566
|
+
var args = [];
|
|
567
|
+
for (var _i = 0; _i < arguments.length; _i++) {
|
|
568
|
+
args[_i] = arguments[_i];
|
|
569
|
+
}
|
|
570
|
+
if (console) {
|
|
571
|
+
var theFunc = console[funcName];
|
|
572
|
+
if (typeof theFunc !== "function") {
|
|
573
|
+
theFunc = console.log;
|
|
574
|
+
}
|
|
575
|
+
if (typeof theFunc === "function") {
|
|
576
|
+
return theFunc.apply(console, args);
|
|
577
|
+
}
|
|
578
|
+
}
|
|
579
|
+
};
|
|
580
|
+
}
|
|
581
|
+
for (var i = 0; i < consoleMap.length; i++) {
|
|
582
|
+
this[consoleMap[i].n] = _consoleFunc(consoleMap[i].c);
|
|
583
|
+
}
|
|
584
|
+
}
|
|
585
|
+
return DiagConsoleLogger2;
|
|
586
|
+
})();
|
|
587
|
+
}
|
|
588
|
+
});
|
|
589
|
+
|
|
590
|
+
// ../../node_modules/@opentelemetry/api/build/esm/metrics/NoopMeter.js
|
|
591
|
+
function createNoopMeter() {
|
|
592
|
+
return NOOP_METER;
|
|
593
|
+
}
|
|
594
|
+
var __extends, NoopMeter, NoopMetric, NoopCounterMetric, NoopUpDownCounterMetric, NoopGaugeMetric, NoopHistogramMetric, NoopObservableMetric, NoopObservableCounterMetric, NoopObservableGaugeMetric, NoopObservableUpDownCounterMetric, NOOP_METER, NOOP_COUNTER_METRIC, NOOP_GAUGE_METRIC, NOOP_HISTOGRAM_METRIC, NOOP_UP_DOWN_COUNTER_METRIC, NOOP_OBSERVABLE_COUNTER_METRIC, NOOP_OBSERVABLE_GAUGE_METRIC, NOOP_OBSERVABLE_UP_DOWN_COUNTER_METRIC;
|
|
595
|
+
var init_NoopMeter = __esm({
|
|
596
|
+
"../../node_modules/@opentelemetry/api/build/esm/metrics/NoopMeter.js"() {
|
|
597
|
+
__extends = /* @__PURE__ */ (function() {
|
|
598
|
+
var extendStatics = function(d, b) {
|
|
599
|
+
extendStatics = Object.setPrototypeOf || { __proto__: [] } instanceof Array && function(d2, b2) {
|
|
600
|
+
d2.__proto__ = b2;
|
|
601
|
+
} || function(d2, b2) {
|
|
602
|
+
for (var p in b2) if (Object.prototype.hasOwnProperty.call(b2, p)) d2[p] = b2[p];
|
|
603
|
+
};
|
|
604
|
+
return extendStatics(d, b);
|
|
605
|
+
};
|
|
606
|
+
return function(d, b) {
|
|
607
|
+
if (typeof b !== "function" && b !== null)
|
|
608
|
+
throw new TypeError("Class extends value " + String(b) + " is not a constructor or null");
|
|
609
|
+
extendStatics(d, b);
|
|
610
|
+
function __() {
|
|
611
|
+
this.constructor = d;
|
|
612
|
+
}
|
|
613
|
+
d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());
|
|
614
|
+
};
|
|
615
|
+
})();
|
|
616
|
+
NoopMeter = /** @class */
|
|
617
|
+
(function() {
|
|
618
|
+
function NoopMeter2() {
|
|
619
|
+
}
|
|
620
|
+
NoopMeter2.prototype.createGauge = function(_name, _options) {
|
|
621
|
+
return NOOP_GAUGE_METRIC;
|
|
622
|
+
};
|
|
623
|
+
NoopMeter2.prototype.createHistogram = function(_name, _options) {
|
|
624
|
+
return NOOP_HISTOGRAM_METRIC;
|
|
625
|
+
};
|
|
626
|
+
NoopMeter2.prototype.createCounter = function(_name, _options) {
|
|
627
|
+
return NOOP_COUNTER_METRIC;
|
|
628
|
+
};
|
|
629
|
+
NoopMeter2.prototype.createUpDownCounter = function(_name, _options) {
|
|
630
|
+
return NOOP_UP_DOWN_COUNTER_METRIC;
|
|
631
|
+
};
|
|
632
|
+
NoopMeter2.prototype.createObservableGauge = function(_name, _options) {
|
|
633
|
+
return NOOP_OBSERVABLE_GAUGE_METRIC;
|
|
634
|
+
};
|
|
635
|
+
NoopMeter2.prototype.createObservableCounter = function(_name, _options) {
|
|
636
|
+
return NOOP_OBSERVABLE_COUNTER_METRIC;
|
|
637
|
+
};
|
|
638
|
+
NoopMeter2.prototype.createObservableUpDownCounter = function(_name, _options) {
|
|
639
|
+
return NOOP_OBSERVABLE_UP_DOWN_COUNTER_METRIC;
|
|
640
|
+
};
|
|
641
|
+
NoopMeter2.prototype.addBatchObservableCallback = function(_callback, _observables) {
|
|
642
|
+
};
|
|
643
|
+
NoopMeter2.prototype.removeBatchObservableCallback = function(_callback) {
|
|
644
|
+
};
|
|
645
|
+
return NoopMeter2;
|
|
646
|
+
})();
|
|
647
|
+
NoopMetric = /** @class */
|
|
648
|
+
/* @__PURE__ */ (function() {
|
|
649
|
+
function NoopMetric2() {
|
|
650
|
+
}
|
|
651
|
+
return NoopMetric2;
|
|
652
|
+
})();
|
|
653
|
+
NoopCounterMetric = /** @class */
|
|
654
|
+
(function(_super) {
|
|
655
|
+
__extends(NoopCounterMetric2, _super);
|
|
656
|
+
function NoopCounterMetric2() {
|
|
657
|
+
return _super !== null && _super.apply(this, arguments) || this;
|
|
658
|
+
}
|
|
659
|
+
NoopCounterMetric2.prototype.add = function(_value, _attributes) {
|
|
660
|
+
};
|
|
661
|
+
return NoopCounterMetric2;
|
|
662
|
+
})(NoopMetric);
|
|
663
|
+
NoopUpDownCounterMetric = /** @class */
|
|
664
|
+
(function(_super) {
|
|
665
|
+
__extends(NoopUpDownCounterMetric2, _super);
|
|
666
|
+
function NoopUpDownCounterMetric2() {
|
|
667
|
+
return _super !== null && _super.apply(this, arguments) || this;
|
|
668
|
+
}
|
|
669
|
+
NoopUpDownCounterMetric2.prototype.add = function(_value, _attributes) {
|
|
670
|
+
};
|
|
671
|
+
return NoopUpDownCounterMetric2;
|
|
672
|
+
})(NoopMetric);
|
|
673
|
+
NoopGaugeMetric = /** @class */
|
|
674
|
+
(function(_super) {
|
|
675
|
+
__extends(NoopGaugeMetric2, _super);
|
|
676
|
+
function NoopGaugeMetric2() {
|
|
677
|
+
return _super !== null && _super.apply(this, arguments) || this;
|
|
678
|
+
}
|
|
679
|
+
NoopGaugeMetric2.prototype.record = function(_value, _attributes) {
|
|
680
|
+
};
|
|
681
|
+
return NoopGaugeMetric2;
|
|
682
|
+
})(NoopMetric);
|
|
683
|
+
NoopHistogramMetric = /** @class */
|
|
684
|
+
(function(_super) {
|
|
685
|
+
__extends(NoopHistogramMetric2, _super);
|
|
686
|
+
function NoopHistogramMetric2() {
|
|
687
|
+
return _super !== null && _super.apply(this, arguments) || this;
|
|
688
|
+
}
|
|
689
|
+
NoopHistogramMetric2.prototype.record = function(_value, _attributes) {
|
|
690
|
+
};
|
|
691
|
+
return NoopHistogramMetric2;
|
|
692
|
+
})(NoopMetric);
|
|
693
|
+
NoopObservableMetric = /** @class */
|
|
694
|
+
(function() {
|
|
695
|
+
function NoopObservableMetric2() {
|
|
696
|
+
}
|
|
697
|
+
NoopObservableMetric2.prototype.addCallback = function(_callback) {
|
|
698
|
+
};
|
|
699
|
+
NoopObservableMetric2.prototype.removeCallback = function(_callback) {
|
|
700
|
+
};
|
|
701
|
+
return NoopObservableMetric2;
|
|
702
|
+
})();
|
|
703
|
+
NoopObservableCounterMetric = /** @class */
|
|
704
|
+
(function(_super) {
|
|
705
|
+
__extends(NoopObservableCounterMetric2, _super);
|
|
706
|
+
function NoopObservableCounterMetric2() {
|
|
707
|
+
return _super !== null && _super.apply(this, arguments) || this;
|
|
708
|
+
}
|
|
709
|
+
return NoopObservableCounterMetric2;
|
|
710
|
+
})(NoopObservableMetric);
|
|
711
|
+
NoopObservableGaugeMetric = /** @class */
|
|
712
|
+
(function(_super) {
|
|
713
|
+
__extends(NoopObservableGaugeMetric2, _super);
|
|
714
|
+
function NoopObservableGaugeMetric2() {
|
|
715
|
+
return _super !== null && _super.apply(this, arguments) || this;
|
|
716
|
+
}
|
|
717
|
+
return NoopObservableGaugeMetric2;
|
|
718
|
+
})(NoopObservableMetric);
|
|
719
|
+
NoopObservableUpDownCounterMetric = /** @class */
|
|
720
|
+
(function(_super) {
|
|
721
|
+
__extends(NoopObservableUpDownCounterMetric2, _super);
|
|
722
|
+
function NoopObservableUpDownCounterMetric2() {
|
|
723
|
+
return _super !== null && _super.apply(this, arguments) || this;
|
|
724
|
+
}
|
|
725
|
+
return NoopObservableUpDownCounterMetric2;
|
|
726
|
+
})(NoopObservableMetric);
|
|
727
|
+
NOOP_METER = new NoopMeter();
|
|
728
|
+
NOOP_COUNTER_METRIC = new NoopCounterMetric();
|
|
729
|
+
NOOP_GAUGE_METRIC = new NoopGaugeMetric();
|
|
730
|
+
NOOP_HISTOGRAM_METRIC = new NoopHistogramMetric();
|
|
731
|
+
NOOP_UP_DOWN_COUNTER_METRIC = new NoopUpDownCounterMetric();
|
|
732
|
+
NOOP_OBSERVABLE_COUNTER_METRIC = new NoopObservableCounterMetric();
|
|
733
|
+
NOOP_OBSERVABLE_GAUGE_METRIC = new NoopObservableGaugeMetric();
|
|
734
|
+
NOOP_OBSERVABLE_UP_DOWN_COUNTER_METRIC = new NoopObservableUpDownCounterMetric();
|
|
735
|
+
}
|
|
736
|
+
});
|
|
737
|
+
|
|
738
|
+
// ../../node_modules/@opentelemetry/api/build/esm/metrics/Metric.js
|
|
739
|
+
var ValueType;
|
|
740
|
+
var init_Metric = __esm({
|
|
741
|
+
"../../node_modules/@opentelemetry/api/build/esm/metrics/Metric.js"() {
|
|
742
|
+
(function(ValueType2) {
|
|
743
|
+
ValueType2[ValueType2["INT"] = 0] = "INT";
|
|
744
|
+
ValueType2[ValueType2["DOUBLE"] = 1] = "DOUBLE";
|
|
745
|
+
})(ValueType || (ValueType = {}));
|
|
746
|
+
}
|
|
747
|
+
});
|
|
748
|
+
|
|
749
|
+
// ../../node_modules/@opentelemetry/api/build/esm/propagation/TextMapPropagator.js
|
|
750
|
+
var defaultTextMapGetter, defaultTextMapSetter;
|
|
751
|
+
var init_TextMapPropagator = __esm({
|
|
752
|
+
"../../node_modules/@opentelemetry/api/build/esm/propagation/TextMapPropagator.js"() {
|
|
753
|
+
defaultTextMapGetter = {
|
|
754
|
+
get: function(carrier, key) {
|
|
755
|
+
if (carrier == null) {
|
|
756
|
+
return void 0;
|
|
757
|
+
}
|
|
758
|
+
return carrier[key];
|
|
759
|
+
},
|
|
760
|
+
keys: function(carrier) {
|
|
761
|
+
if (carrier == null) {
|
|
762
|
+
return [];
|
|
763
|
+
}
|
|
764
|
+
return Object.keys(carrier);
|
|
765
|
+
}
|
|
766
|
+
};
|
|
767
|
+
defaultTextMapSetter = {
|
|
768
|
+
set: function(carrier, key, value) {
|
|
769
|
+
if (carrier == null) {
|
|
770
|
+
return;
|
|
771
|
+
}
|
|
772
|
+
carrier[key] = value;
|
|
773
|
+
}
|
|
774
|
+
};
|
|
775
|
+
}
|
|
776
|
+
});
|
|
777
|
+
|
|
778
|
+
// ../../node_modules/@opentelemetry/api/build/esm/context/NoopContextManager.js
|
|
779
|
+
var __read4, __spreadArray3, NoopContextManager;
|
|
780
|
+
var init_NoopContextManager = __esm({
|
|
781
|
+
"../../node_modules/@opentelemetry/api/build/esm/context/NoopContextManager.js"() {
|
|
782
|
+
init_context();
|
|
783
|
+
__read4 = function(o, n) {
|
|
784
|
+
var m = typeof Symbol === "function" && o[Symbol.iterator];
|
|
785
|
+
if (!m) return o;
|
|
786
|
+
var i = m.call(o), r, ar = [], e;
|
|
787
|
+
try {
|
|
788
|
+
while ((n === void 0 || n-- > 0) && !(r = i.next()).done) ar.push(r.value);
|
|
789
|
+
} catch (error) {
|
|
790
|
+
e = { error };
|
|
791
|
+
} finally {
|
|
792
|
+
try {
|
|
793
|
+
if (r && !r.done && (m = i["return"])) m.call(i);
|
|
794
|
+
} finally {
|
|
795
|
+
if (e) throw e.error;
|
|
796
|
+
}
|
|
797
|
+
}
|
|
798
|
+
return ar;
|
|
799
|
+
};
|
|
800
|
+
__spreadArray3 = function(to, from, pack) {
|
|
801
|
+
if (pack || arguments.length === 2) for (var i = 0, l = from.length, ar; i < l; i++) {
|
|
802
|
+
if (ar || !(i in from)) {
|
|
803
|
+
if (!ar) ar = Array.prototype.slice.call(from, 0, i);
|
|
804
|
+
ar[i] = from[i];
|
|
805
|
+
}
|
|
806
|
+
}
|
|
807
|
+
return to.concat(ar || Array.prototype.slice.call(from));
|
|
808
|
+
};
|
|
809
|
+
NoopContextManager = /** @class */
|
|
810
|
+
(function() {
|
|
811
|
+
function NoopContextManager2() {
|
|
812
|
+
}
|
|
813
|
+
NoopContextManager2.prototype.active = function() {
|
|
814
|
+
return ROOT_CONTEXT;
|
|
815
|
+
};
|
|
816
|
+
NoopContextManager2.prototype.with = function(_context, fn, thisArg) {
|
|
817
|
+
var args = [];
|
|
818
|
+
for (var _i = 3; _i < arguments.length; _i++) {
|
|
819
|
+
args[_i - 3] = arguments[_i];
|
|
820
|
+
}
|
|
821
|
+
return fn.call.apply(fn, __spreadArray3([thisArg], __read4(args), false));
|
|
822
|
+
};
|
|
823
|
+
NoopContextManager2.prototype.bind = function(_context, target) {
|
|
824
|
+
return target;
|
|
825
|
+
};
|
|
826
|
+
NoopContextManager2.prototype.enable = function() {
|
|
827
|
+
return this;
|
|
828
|
+
};
|
|
829
|
+
NoopContextManager2.prototype.disable = function() {
|
|
830
|
+
return this;
|
|
831
|
+
};
|
|
832
|
+
return NoopContextManager2;
|
|
833
|
+
})();
|
|
834
|
+
}
|
|
835
|
+
});
|
|
836
|
+
|
|
837
|
+
// ../../node_modules/@opentelemetry/api/build/esm/api/context.js
|
|
838
|
+
var __read5, __spreadArray4, API_NAME2, NOOP_CONTEXT_MANAGER, ContextAPI;
|
|
839
|
+
var init_context2 = __esm({
|
|
840
|
+
"../../node_modules/@opentelemetry/api/build/esm/api/context.js"() {
|
|
841
|
+
init_NoopContextManager();
|
|
842
|
+
init_global_utils();
|
|
843
|
+
init_diag();
|
|
844
|
+
__read5 = function(o, n) {
|
|
845
|
+
var m = typeof Symbol === "function" && o[Symbol.iterator];
|
|
846
|
+
if (!m) return o;
|
|
847
|
+
var i = m.call(o), r, ar = [], e;
|
|
848
|
+
try {
|
|
849
|
+
while ((n === void 0 || n-- > 0) && !(r = i.next()).done) ar.push(r.value);
|
|
850
|
+
} catch (error) {
|
|
851
|
+
e = { error };
|
|
852
|
+
} finally {
|
|
853
|
+
try {
|
|
854
|
+
if (r && !r.done && (m = i["return"])) m.call(i);
|
|
855
|
+
} finally {
|
|
856
|
+
if (e) throw e.error;
|
|
857
|
+
}
|
|
858
|
+
}
|
|
859
|
+
return ar;
|
|
860
|
+
};
|
|
861
|
+
__spreadArray4 = function(to, from, pack) {
|
|
862
|
+
if (pack || arguments.length === 2) for (var i = 0, l = from.length, ar; i < l; i++) {
|
|
863
|
+
if (ar || !(i in from)) {
|
|
864
|
+
if (!ar) ar = Array.prototype.slice.call(from, 0, i);
|
|
865
|
+
ar[i] = from[i];
|
|
866
|
+
}
|
|
867
|
+
}
|
|
868
|
+
return to.concat(ar || Array.prototype.slice.call(from));
|
|
869
|
+
};
|
|
870
|
+
API_NAME2 = "context";
|
|
871
|
+
NOOP_CONTEXT_MANAGER = new NoopContextManager();
|
|
872
|
+
ContextAPI = /** @class */
|
|
873
|
+
(function() {
|
|
874
|
+
function ContextAPI2() {
|
|
875
|
+
}
|
|
876
|
+
ContextAPI2.getInstance = function() {
|
|
877
|
+
if (!this._instance) {
|
|
878
|
+
this._instance = new ContextAPI2();
|
|
879
|
+
}
|
|
880
|
+
return this._instance;
|
|
881
|
+
};
|
|
882
|
+
ContextAPI2.prototype.setGlobalContextManager = function(contextManager) {
|
|
883
|
+
return registerGlobal(API_NAME2, contextManager, DiagAPI.instance());
|
|
884
|
+
};
|
|
885
|
+
ContextAPI2.prototype.active = function() {
|
|
886
|
+
return this._getContextManager().active();
|
|
887
|
+
};
|
|
888
|
+
ContextAPI2.prototype.with = function(context2, fn, thisArg) {
|
|
889
|
+
var _a;
|
|
890
|
+
var args = [];
|
|
891
|
+
for (var _i = 3; _i < arguments.length; _i++) {
|
|
892
|
+
args[_i - 3] = arguments[_i];
|
|
893
|
+
}
|
|
894
|
+
return (_a = this._getContextManager()).with.apply(_a, __spreadArray4([context2, fn, thisArg], __read5(args), false));
|
|
895
|
+
};
|
|
896
|
+
ContextAPI2.prototype.bind = function(context2, target) {
|
|
897
|
+
return this._getContextManager().bind(context2, target);
|
|
898
|
+
};
|
|
899
|
+
ContextAPI2.prototype._getContextManager = function() {
|
|
900
|
+
return getGlobal(API_NAME2) || NOOP_CONTEXT_MANAGER;
|
|
901
|
+
};
|
|
902
|
+
ContextAPI2.prototype.disable = function() {
|
|
903
|
+
this._getContextManager().disable();
|
|
904
|
+
unregisterGlobal(API_NAME2, DiagAPI.instance());
|
|
905
|
+
};
|
|
906
|
+
return ContextAPI2;
|
|
907
|
+
})();
|
|
908
|
+
}
|
|
909
|
+
});
|
|
910
|
+
|
|
911
|
+
// ../../node_modules/@opentelemetry/api/build/esm/trace/trace_flags.js
|
|
912
|
+
var TraceFlags;
|
|
913
|
+
var init_trace_flags = __esm({
|
|
914
|
+
"../../node_modules/@opentelemetry/api/build/esm/trace/trace_flags.js"() {
|
|
915
|
+
(function(TraceFlags2) {
|
|
916
|
+
TraceFlags2[TraceFlags2["NONE"] = 0] = "NONE";
|
|
917
|
+
TraceFlags2[TraceFlags2["SAMPLED"] = 1] = "SAMPLED";
|
|
918
|
+
})(TraceFlags || (TraceFlags = {}));
|
|
919
|
+
}
|
|
920
|
+
});
|
|
921
|
+
|
|
922
|
+
// ../../node_modules/@opentelemetry/api/build/esm/trace/invalid-span-constants.js
|
|
923
|
+
var INVALID_SPANID, INVALID_TRACEID, INVALID_SPAN_CONTEXT;
|
|
924
|
+
var init_invalid_span_constants = __esm({
|
|
925
|
+
"../../node_modules/@opentelemetry/api/build/esm/trace/invalid-span-constants.js"() {
|
|
926
|
+
init_trace_flags();
|
|
927
|
+
INVALID_SPANID = "0000000000000000";
|
|
928
|
+
INVALID_TRACEID = "00000000000000000000000000000000";
|
|
929
|
+
INVALID_SPAN_CONTEXT = {
|
|
930
|
+
traceId: INVALID_TRACEID,
|
|
931
|
+
spanId: INVALID_SPANID,
|
|
932
|
+
traceFlags: TraceFlags.NONE
|
|
933
|
+
};
|
|
934
|
+
}
|
|
935
|
+
});
|
|
936
|
+
|
|
937
|
+
// ../../node_modules/@opentelemetry/api/build/esm/trace/NonRecordingSpan.js
|
|
938
|
+
var NonRecordingSpan;
|
|
939
|
+
var init_NonRecordingSpan = __esm({
|
|
940
|
+
"../../node_modules/@opentelemetry/api/build/esm/trace/NonRecordingSpan.js"() {
|
|
941
|
+
init_invalid_span_constants();
|
|
942
|
+
NonRecordingSpan = /** @class */
|
|
943
|
+
(function() {
|
|
944
|
+
function NonRecordingSpan2(_spanContext) {
|
|
945
|
+
if (_spanContext === void 0) {
|
|
946
|
+
_spanContext = INVALID_SPAN_CONTEXT;
|
|
947
|
+
}
|
|
948
|
+
this._spanContext = _spanContext;
|
|
949
|
+
}
|
|
950
|
+
NonRecordingSpan2.prototype.spanContext = function() {
|
|
951
|
+
return this._spanContext;
|
|
952
|
+
};
|
|
953
|
+
NonRecordingSpan2.prototype.setAttribute = function(_key, _value) {
|
|
954
|
+
return this;
|
|
955
|
+
};
|
|
956
|
+
NonRecordingSpan2.prototype.setAttributes = function(_attributes) {
|
|
957
|
+
return this;
|
|
958
|
+
};
|
|
959
|
+
NonRecordingSpan2.prototype.addEvent = function(_name, _attributes) {
|
|
960
|
+
return this;
|
|
961
|
+
};
|
|
962
|
+
NonRecordingSpan2.prototype.addLink = function(_link) {
|
|
963
|
+
return this;
|
|
964
|
+
};
|
|
965
|
+
NonRecordingSpan2.prototype.addLinks = function(_links) {
|
|
966
|
+
return this;
|
|
967
|
+
};
|
|
968
|
+
NonRecordingSpan2.prototype.setStatus = function(_status) {
|
|
969
|
+
return this;
|
|
970
|
+
};
|
|
971
|
+
NonRecordingSpan2.prototype.updateName = function(_name) {
|
|
972
|
+
return this;
|
|
973
|
+
};
|
|
974
|
+
NonRecordingSpan2.prototype.end = function(_endTime) {
|
|
975
|
+
};
|
|
976
|
+
NonRecordingSpan2.prototype.isRecording = function() {
|
|
977
|
+
return false;
|
|
978
|
+
};
|
|
979
|
+
NonRecordingSpan2.prototype.recordException = function(_exception, _time) {
|
|
980
|
+
};
|
|
981
|
+
return NonRecordingSpan2;
|
|
982
|
+
})();
|
|
983
|
+
}
|
|
984
|
+
});
|
|
985
|
+
|
|
986
|
+
// ../../node_modules/@opentelemetry/api/build/esm/trace/context-utils.js
|
|
987
|
+
function getSpan(context2) {
|
|
988
|
+
return context2.getValue(SPAN_KEY) || void 0;
|
|
989
|
+
}
|
|
990
|
+
function getActiveSpan() {
|
|
991
|
+
return getSpan(ContextAPI.getInstance().active());
|
|
992
|
+
}
|
|
993
|
+
function setSpan(context2, span) {
|
|
994
|
+
return context2.setValue(SPAN_KEY, span);
|
|
995
|
+
}
|
|
996
|
+
function deleteSpan(context2) {
|
|
997
|
+
return context2.deleteValue(SPAN_KEY);
|
|
998
|
+
}
|
|
999
|
+
function setSpanContext(context2, spanContext) {
|
|
1000
|
+
return setSpan(context2, new NonRecordingSpan(spanContext));
|
|
1001
|
+
}
|
|
1002
|
+
function getSpanContext(context2) {
|
|
1003
|
+
var _a;
|
|
1004
|
+
return (_a = getSpan(context2)) === null || _a === void 0 ? void 0 : _a.spanContext();
|
|
1005
|
+
}
|
|
1006
|
+
var SPAN_KEY;
|
|
1007
|
+
var init_context_utils = __esm({
|
|
1008
|
+
"../../node_modules/@opentelemetry/api/build/esm/trace/context-utils.js"() {
|
|
1009
|
+
init_context();
|
|
1010
|
+
init_NonRecordingSpan();
|
|
1011
|
+
init_context2();
|
|
1012
|
+
SPAN_KEY = createContextKey("OpenTelemetry Context Key SPAN");
|
|
1013
|
+
}
|
|
1014
|
+
});
|
|
1015
|
+
|
|
1016
|
+
// ../../node_modules/@opentelemetry/api/build/esm/trace/spancontext-utils.js
|
|
1017
|
+
function isValidTraceId(traceId) {
|
|
1018
|
+
return VALID_TRACEID_REGEX.test(traceId) && traceId !== INVALID_TRACEID;
|
|
1019
|
+
}
|
|
1020
|
+
function isValidSpanId(spanId) {
|
|
1021
|
+
return VALID_SPANID_REGEX.test(spanId) && spanId !== INVALID_SPANID;
|
|
1022
|
+
}
|
|
1023
|
+
function isSpanContextValid(spanContext) {
|
|
1024
|
+
return isValidTraceId(spanContext.traceId) && isValidSpanId(spanContext.spanId);
|
|
1025
|
+
}
|
|
1026
|
+
function wrapSpanContext(spanContext) {
|
|
1027
|
+
return new NonRecordingSpan(spanContext);
|
|
1028
|
+
}
|
|
1029
|
+
var VALID_TRACEID_REGEX, VALID_SPANID_REGEX;
|
|
1030
|
+
var init_spancontext_utils = __esm({
|
|
1031
|
+
"../../node_modules/@opentelemetry/api/build/esm/trace/spancontext-utils.js"() {
|
|
1032
|
+
init_invalid_span_constants();
|
|
1033
|
+
init_NonRecordingSpan();
|
|
1034
|
+
VALID_TRACEID_REGEX = /^([0-9a-f]{32})$/i;
|
|
1035
|
+
VALID_SPANID_REGEX = /^[0-9a-f]{16}$/i;
|
|
1036
|
+
}
|
|
1037
|
+
});
|
|
1038
|
+
|
|
1039
|
+
// ../../node_modules/@opentelemetry/api/build/esm/trace/NoopTracer.js
|
|
1040
|
+
function isSpanContext(spanContext) {
|
|
1041
|
+
return typeof spanContext === "object" && typeof spanContext["spanId"] === "string" && typeof spanContext["traceId"] === "string" && typeof spanContext["traceFlags"] === "number";
|
|
1042
|
+
}
|
|
1043
|
+
var contextApi, NoopTracer;
|
|
1044
|
+
var init_NoopTracer = __esm({
|
|
1045
|
+
"../../node_modules/@opentelemetry/api/build/esm/trace/NoopTracer.js"() {
|
|
1046
|
+
init_context2();
|
|
1047
|
+
init_context_utils();
|
|
1048
|
+
init_NonRecordingSpan();
|
|
1049
|
+
init_spancontext_utils();
|
|
1050
|
+
contextApi = ContextAPI.getInstance();
|
|
1051
|
+
NoopTracer = /** @class */
|
|
1052
|
+
(function() {
|
|
1053
|
+
function NoopTracer2() {
|
|
1054
|
+
}
|
|
1055
|
+
NoopTracer2.prototype.startSpan = function(name, options, context2) {
|
|
1056
|
+
if (context2 === void 0) {
|
|
1057
|
+
context2 = contextApi.active();
|
|
1058
|
+
}
|
|
1059
|
+
var root = Boolean(options === null || options === void 0 ? void 0 : options.root);
|
|
1060
|
+
if (root) {
|
|
1061
|
+
return new NonRecordingSpan();
|
|
1062
|
+
}
|
|
1063
|
+
var parentFromContext = context2 && getSpanContext(context2);
|
|
1064
|
+
if (isSpanContext(parentFromContext) && isSpanContextValid(parentFromContext)) {
|
|
1065
|
+
return new NonRecordingSpan(parentFromContext);
|
|
1066
|
+
} else {
|
|
1067
|
+
return new NonRecordingSpan();
|
|
1068
|
+
}
|
|
1069
|
+
};
|
|
1070
|
+
NoopTracer2.prototype.startActiveSpan = function(name, arg2, arg3, arg4) {
|
|
1071
|
+
var opts;
|
|
1072
|
+
var ctx;
|
|
1073
|
+
var fn;
|
|
1074
|
+
if (arguments.length < 2) {
|
|
1075
|
+
return;
|
|
1076
|
+
} else if (arguments.length === 2) {
|
|
1077
|
+
fn = arg2;
|
|
1078
|
+
} else if (arguments.length === 3) {
|
|
1079
|
+
opts = arg2;
|
|
1080
|
+
fn = arg3;
|
|
1081
|
+
} else {
|
|
1082
|
+
opts = arg2;
|
|
1083
|
+
ctx = arg3;
|
|
1084
|
+
fn = arg4;
|
|
1085
|
+
}
|
|
1086
|
+
var parentContext = ctx !== null && ctx !== void 0 ? ctx : contextApi.active();
|
|
1087
|
+
var span = this.startSpan(name, opts, parentContext);
|
|
1088
|
+
var contextWithSpanSet = setSpan(parentContext, span);
|
|
1089
|
+
return contextApi.with(contextWithSpanSet, fn, void 0, span);
|
|
1090
|
+
};
|
|
1091
|
+
return NoopTracer2;
|
|
1092
|
+
})();
|
|
1093
|
+
}
|
|
1094
|
+
});
|
|
1095
|
+
|
|
1096
|
+
// ../../node_modules/@opentelemetry/api/build/esm/trace/ProxyTracer.js
|
|
1097
|
+
var NOOP_TRACER, ProxyTracer;
|
|
1098
|
+
var init_ProxyTracer = __esm({
|
|
1099
|
+
"../../node_modules/@opentelemetry/api/build/esm/trace/ProxyTracer.js"() {
|
|
1100
|
+
init_NoopTracer();
|
|
1101
|
+
NOOP_TRACER = new NoopTracer();
|
|
1102
|
+
ProxyTracer = /** @class */
|
|
1103
|
+
(function() {
|
|
1104
|
+
function ProxyTracer2(_provider, name, version, options) {
|
|
1105
|
+
this._provider = _provider;
|
|
1106
|
+
this.name = name;
|
|
1107
|
+
this.version = version;
|
|
1108
|
+
this.options = options;
|
|
1109
|
+
}
|
|
1110
|
+
ProxyTracer2.prototype.startSpan = function(name, options, context2) {
|
|
1111
|
+
return this._getTracer().startSpan(name, options, context2);
|
|
1112
|
+
};
|
|
1113
|
+
ProxyTracer2.prototype.startActiveSpan = function(_name, _options, _context, _fn) {
|
|
1114
|
+
var tracer = this._getTracer();
|
|
1115
|
+
return Reflect.apply(tracer.startActiveSpan, tracer, arguments);
|
|
1116
|
+
};
|
|
1117
|
+
ProxyTracer2.prototype._getTracer = function() {
|
|
1118
|
+
if (this._delegate) {
|
|
1119
|
+
return this._delegate;
|
|
1120
|
+
}
|
|
1121
|
+
var tracer = this._provider.getDelegateTracer(this.name, this.version, this.options);
|
|
1122
|
+
if (!tracer) {
|
|
1123
|
+
return NOOP_TRACER;
|
|
1124
|
+
}
|
|
1125
|
+
this._delegate = tracer;
|
|
1126
|
+
return this._delegate;
|
|
1127
|
+
};
|
|
1128
|
+
return ProxyTracer2;
|
|
1129
|
+
})();
|
|
1130
|
+
}
|
|
1131
|
+
});
|
|
1132
|
+
|
|
1133
|
+
// ../../node_modules/@opentelemetry/api/build/esm/trace/NoopTracerProvider.js
|
|
1134
|
+
var NoopTracerProvider;
|
|
1135
|
+
var init_NoopTracerProvider = __esm({
|
|
1136
|
+
"../../node_modules/@opentelemetry/api/build/esm/trace/NoopTracerProvider.js"() {
|
|
1137
|
+
init_NoopTracer();
|
|
1138
|
+
NoopTracerProvider = /** @class */
|
|
1139
|
+
(function() {
|
|
1140
|
+
function NoopTracerProvider2() {
|
|
1141
|
+
}
|
|
1142
|
+
NoopTracerProvider2.prototype.getTracer = function(_name, _version, _options) {
|
|
1143
|
+
return new NoopTracer();
|
|
1144
|
+
};
|
|
1145
|
+
return NoopTracerProvider2;
|
|
1146
|
+
})();
|
|
1147
|
+
}
|
|
1148
|
+
});
|
|
1149
|
+
|
|
1150
|
+
// ../../node_modules/@opentelemetry/api/build/esm/trace/ProxyTracerProvider.js
|
|
1151
|
+
var NOOP_TRACER_PROVIDER, ProxyTracerProvider;
|
|
1152
|
+
var init_ProxyTracerProvider = __esm({
|
|
1153
|
+
"../../node_modules/@opentelemetry/api/build/esm/trace/ProxyTracerProvider.js"() {
|
|
1154
|
+
init_ProxyTracer();
|
|
1155
|
+
init_NoopTracerProvider();
|
|
1156
|
+
NOOP_TRACER_PROVIDER = new NoopTracerProvider();
|
|
1157
|
+
ProxyTracerProvider = /** @class */
|
|
1158
|
+
(function() {
|
|
1159
|
+
function ProxyTracerProvider2() {
|
|
1160
|
+
}
|
|
1161
|
+
ProxyTracerProvider2.prototype.getTracer = function(name, version, options) {
|
|
1162
|
+
var _a;
|
|
1163
|
+
return (_a = this.getDelegateTracer(name, version, options)) !== null && _a !== void 0 ? _a : new ProxyTracer(this, name, version, options);
|
|
1164
|
+
};
|
|
1165
|
+
ProxyTracerProvider2.prototype.getDelegate = function() {
|
|
1166
|
+
var _a;
|
|
1167
|
+
return (_a = this._delegate) !== null && _a !== void 0 ? _a : NOOP_TRACER_PROVIDER;
|
|
1168
|
+
};
|
|
1169
|
+
ProxyTracerProvider2.prototype.setDelegate = function(delegate) {
|
|
1170
|
+
this._delegate = delegate;
|
|
1171
|
+
};
|
|
1172
|
+
ProxyTracerProvider2.prototype.getDelegateTracer = function(name, version, options) {
|
|
1173
|
+
var _a;
|
|
1174
|
+
return (_a = this._delegate) === null || _a === void 0 ? void 0 : _a.getTracer(name, version, options);
|
|
1175
|
+
};
|
|
1176
|
+
return ProxyTracerProvider2;
|
|
1177
|
+
})();
|
|
1178
|
+
}
|
|
1179
|
+
});
|
|
1180
|
+
|
|
1181
|
+
// ../../node_modules/@opentelemetry/api/build/esm/trace/SamplingResult.js
|
|
1182
|
+
var SamplingDecision;
|
|
1183
|
+
var init_SamplingResult = __esm({
|
|
1184
|
+
"../../node_modules/@opentelemetry/api/build/esm/trace/SamplingResult.js"() {
|
|
1185
|
+
(function(SamplingDecision2) {
|
|
1186
|
+
SamplingDecision2[SamplingDecision2["NOT_RECORD"] = 0] = "NOT_RECORD";
|
|
1187
|
+
SamplingDecision2[SamplingDecision2["RECORD"] = 1] = "RECORD";
|
|
1188
|
+
SamplingDecision2[SamplingDecision2["RECORD_AND_SAMPLED"] = 2] = "RECORD_AND_SAMPLED";
|
|
1189
|
+
})(SamplingDecision || (SamplingDecision = {}));
|
|
1190
|
+
}
|
|
1191
|
+
});
|
|
1192
|
+
|
|
1193
|
+
// ../../node_modules/@opentelemetry/api/build/esm/trace/span_kind.js
|
|
1194
|
+
var SpanKind;
|
|
1195
|
+
var init_span_kind = __esm({
|
|
1196
|
+
"../../node_modules/@opentelemetry/api/build/esm/trace/span_kind.js"() {
|
|
1197
|
+
(function(SpanKind2) {
|
|
1198
|
+
SpanKind2[SpanKind2["INTERNAL"] = 0] = "INTERNAL";
|
|
1199
|
+
SpanKind2[SpanKind2["SERVER"] = 1] = "SERVER";
|
|
1200
|
+
SpanKind2[SpanKind2["CLIENT"] = 2] = "CLIENT";
|
|
1201
|
+
SpanKind2[SpanKind2["PRODUCER"] = 3] = "PRODUCER";
|
|
1202
|
+
SpanKind2[SpanKind2["CONSUMER"] = 4] = "CONSUMER";
|
|
1203
|
+
})(SpanKind || (SpanKind = {}));
|
|
1204
|
+
}
|
|
1205
|
+
});
|
|
1206
|
+
|
|
1207
|
+
// ../../node_modules/@opentelemetry/api/build/esm/trace/status.js
|
|
1208
|
+
var SpanStatusCode;
|
|
1209
|
+
var init_status = __esm({
|
|
1210
|
+
"../../node_modules/@opentelemetry/api/build/esm/trace/status.js"() {
|
|
1211
|
+
(function(SpanStatusCode2) {
|
|
1212
|
+
SpanStatusCode2[SpanStatusCode2["UNSET"] = 0] = "UNSET";
|
|
1213
|
+
SpanStatusCode2[SpanStatusCode2["OK"] = 1] = "OK";
|
|
1214
|
+
SpanStatusCode2[SpanStatusCode2["ERROR"] = 2] = "ERROR";
|
|
1215
|
+
})(SpanStatusCode || (SpanStatusCode = {}));
|
|
1216
|
+
}
|
|
1217
|
+
});
|
|
1218
|
+
|
|
1219
|
+
// ../../node_modules/@opentelemetry/api/build/esm/trace/internal/tracestate-validators.js
|
|
1220
|
+
function validateKey(key) {
|
|
1221
|
+
return VALID_KEY_REGEX.test(key);
|
|
1222
|
+
}
|
|
1223
|
+
function validateValue(value) {
|
|
1224
|
+
return VALID_VALUE_BASE_REGEX.test(value) && !INVALID_VALUE_COMMA_EQUAL_REGEX.test(value);
|
|
1225
|
+
}
|
|
1226
|
+
var VALID_KEY_CHAR_RANGE, VALID_KEY, VALID_VENDOR_KEY, VALID_KEY_REGEX, VALID_VALUE_BASE_REGEX, INVALID_VALUE_COMMA_EQUAL_REGEX;
|
|
1227
|
+
var init_tracestate_validators = __esm({
|
|
1228
|
+
"../../node_modules/@opentelemetry/api/build/esm/trace/internal/tracestate-validators.js"() {
|
|
1229
|
+
VALID_KEY_CHAR_RANGE = "[_0-9a-z-*/]";
|
|
1230
|
+
VALID_KEY = "[a-z]" + VALID_KEY_CHAR_RANGE + "{0,255}";
|
|
1231
|
+
VALID_VENDOR_KEY = "[a-z0-9]" + VALID_KEY_CHAR_RANGE + "{0,240}@[a-z]" + VALID_KEY_CHAR_RANGE + "{0,13}";
|
|
1232
|
+
VALID_KEY_REGEX = new RegExp("^(?:" + VALID_KEY + "|" + VALID_VENDOR_KEY + ")$");
|
|
1233
|
+
VALID_VALUE_BASE_REGEX = /^[ -~]{0,255}[!-~]$/;
|
|
1234
|
+
INVALID_VALUE_COMMA_EQUAL_REGEX = /,|=/;
|
|
1235
|
+
}
|
|
1236
|
+
});
|
|
1237
|
+
|
|
1238
|
+
// ../../node_modules/@opentelemetry/api/build/esm/trace/internal/tracestate-impl.js
|
|
1239
|
+
var MAX_TRACE_STATE_ITEMS, MAX_TRACE_STATE_LEN, LIST_MEMBERS_SEPARATOR, LIST_MEMBER_KEY_VALUE_SPLITTER, TraceStateImpl;
|
|
1240
|
+
var init_tracestate_impl = __esm({
|
|
1241
|
+
"../../node_modules/@opentelemetry/api/build/esm/trace/internal/tracestate-impl.js"() {
|
|
1242
|
+
init_tracestate_validators();
|
|
1243
|
+
MAX_TRACE_STATE_ITEMS = 32;
|
|
1244
|
+
MAX_TRACE_STATE_LEN = 512;
|
|
1245
|
+
LIST_MEMBERS_SEPARATOR = ",";
|
|
1246
|
+
LIST_MEMBER_KEY_VALUE_SPLITTER = "=";
|
|
1247
|
+
TraceStateImpl = /** @class */
|
|
1248
|
+
(function() {
|
|
1249
|
+
function TraceStateImpl2(rawTraceState) {
|
|
1250
|
+
this._internalState = /* @__PURE__ */ new Map();
|
|
1251
|
+
if (rawTraceState)
|
|
1252
|
+
this._parse(rawTraceState);
|
|
1253
|
+
}
|
|
1254
|
+
TraceStateImpl2.prototype.set = function(key, value) {
|
|
1255
|
+
var traceState = this._clone();
|
|
1256
|
+
if (traceState._internalState.has(key)) {
|
|
1257
|
+
traceState._internalState.delete(key);
|
|
1258
|
+
}
|
|
1259
|
+
traceState._internalState.set(key, value);
|
|
1260
|
+
return traceState;
|
|
1261
|
+
};
|
|
1262
|
+
TraceStateImpl2.prototype.unset = function(key) {
|
|
1263
|
+
var traceState = this._clone();
|
|
1264
|
+
traceState._internalState.delete(key);
|
|
1265
|
+
return traceState;
|
|
1266
|
+
};
|
|
1267
|
+
TraceStateImpl2.prototype.get = function(key) {
|
|
1268
|
+
return this._internalState.get(key);
|
|
1269
|
+
};
|
|
1270
|
+
TraceStateImpl2.prototype.serialize = function() {
|
|
1271
|
+
var _this = this;
|
|
1272
|
+
return this._keys().reduce(function(agg, key) {
|
|
1273
|
+
agg.push(key + LIST_MEMBER_KEY_VALUE_SPLITTER + _this.get(key));
|
|
1274
|
+
return agg;
|
|
1275
|
+
}, []).join(LIST_MEMBERS_SEPARATOR);
|
|
1276
|
+
};
|
|
1277
|
+
TraceStateImpl2.prototype._parse = function(rawTraceState) {
|
|
1278
|
+
if (rawTraceState.length > MAX_TRACE_STATE_LEN)
|
|
1279
|
+
return;
|
|
1280
|
+
this._internalState = rawTraceState.split(LIST_MEMBERS_SEPARATOR).reverse().reduce(function(agg, part) {
|
|
1281
|
+
var listMember = part.trim();
|
|
1282
|
+
var i = listMember.indexOf(LIST_MEMBER_KEY_VALUE_SPLITTER);
|
|
1283
|
+
if (i !== -1) {
|
|
1284
|
+
var key = listMember.slice(0, i);
|
|
1285
|
+
var value = listMember.slice(i + 1, part.length);
|
|
1286
|
+
if (validateKey(key) && validateValue(value)) {
|
|
1287
|
+
agg.set(key, value);
|
|
1288
|
+
} else {
|
|
1289
|
+
}
|
|
1290
|
+
}
|
|
1291
|
+
return agg;
|
|
1292
|
+
}, /* @__PURE__ */ new Map());
|
|
1293
|
+
if (this._internalState.size > MAX_TRACE_STATE_ITEMS) {
|
|
1294
|
+
this._internalState = new Map(Array.from(this._internalState.entries()).reverse().slice(0, MAX_TRACE_STATE_ITEMS));
|
|
1295
|
+
}
|
|
1296
|
+
};
|
|
1297
|
+
TraceStateImpl2.prototype._keys = function() {
|
|
1298
|
+
return Array.from(this._internalState.keys()).reverse();
|
|
1299
|
+
};
|
|
1300
|
+
TraceStateImpl2.prototype._clone = function() {
|
|
1301
|
+
var traceState = new TraceStateImpl2();
|
|
1302
|
+
traceState._internalState = new Map(this._internalState);
|
|
1303
|
+
return traceState;
|
|
1304
|
+
};
|
|
1305
|
+
return TraceStateImpl2;
|
|
1306
|
+
})();
|
|
1307
|
+
}
|
|
1308
|
+
});
|
|
1309
|
+
|
|
1310
|
+
// ../../node_modules/@opentelemetry/api/build/esm/trace/internal/utils.js
|
|
1311
|
+
function createTraceState(rawTraceState) {
|
|
1312
|
+
return new TraceStateImpl(rawTraceState);
|
|
1313
|
+
}
|
|
1314
|
+
var init_utils2 = __esm({
|
|
1315
|
+
"../../node_modules/@opentelemetry/api/build/esm/trace/internal/utils.js"() {
|
|
1316
|
+
init_tracestate_impl();
|
|
1317
|
+
}
|
|
1318
|
+
});
|
|
1319
|
+
|
|
1320
|
+
// ../../node_modules/@opentelemetry/api/build/esm/context-api.js
|
|
1321
|
+
var context;
|
|
1322
|
+
var init_context_api = __esm({
|
|
1323
|
+
"../../node_modules/@opentelemetry/api/build/esm/context-api.js"() {
|
|
1324
|
+
init_context2();
|
|
1325
|
+
context = ContextAPI.getInstance();
|
|
1326
|
+
}
|
|
1327
|
+
});
|
|
1328
|
+
|
|
1329
|
+
// ../../node_modules/@opentelemetry/api/build/esm/diag-api.js
|
|
1330
|
+
var diag2;
|
|
1331
|
+
var init_diag_api = __esm({
|
|
1332
|
+
"../../node_modules/@opentelemetry/api/build/esm/diag-api.js"() {
|
|
1333
|
+
init_diag();
|
|
1334
|
+
diag2 = DiagAPI.instance();
|
|
1335
|
+
}
|
|
1336
|
+
});
|
|
1337
|
+
|
|
1338
|
+
// ../../node_modules/@opentelemetry/api/build/esm/metrics/NoopMeterProvider.js
|
|
1339
|
+
var NoopMeterProvider, NOOP_METER_PROVIDER;
|
|
1340
|
+
var init_NoopMeterProvider = __esm({
|
|
1341
|
+
"../../node_modules/@opentelemetry/api/build/esm/metrics/NoopMeterProvider.js"() {
|
|
1342
|
+
init_NoopMeter();
|
|
1343
|
+
NoopMeterProvider = /** @class */
|
|
1344
|
+
(function() {
|
|
1345
|
+
function NoopMeterProvider2() {
|
|
1346
|
+
}
|
|
1347
|
+
NoopMeterProvider2.prototype.getMeter = function(_name, _version, _options) {
|
|
1348
|
+
return NOOP_METER;
|
|
1349
|
+
};
|
|
1350
|
+
return NoopMeterProvider2;
|
|
1351
|
+
})();
|
|
1352
|
+
NOOP_METER_PROVIDER = new NoopMeterProvider();
|
|
1353
|
+
}
|
|
1354
|
+
});
|
|
1355
|
+
|
|
1356
|
+
// ../../node_modules/@opentelemetry/api/build/esm/api/metrics.js
|
|
1357
|
+
var API_NAME3, MetricsAPI;
|
|
1358
|
+
var init_metrics = __esm({
|
|
1359
|
+
"../../node_modules/@opentelemetry/api/build/esm/api/metrics.js"() {
|
|
1360
|
+
init_NoopMeterProvider();
|
|
1361
|
+
init_global_utils();
|
|
1362
|
+
init_diag();
|
|
1363
|
+
API_NAME3 = "metrics";
|
|
1364
|
+
MetricsAPI = /** @class */
|
|
1365
|
+
(function() {
|
|
1366
|
+
function MetricsAPI2() {
|
|
1367
|
+
}
|
|
1368
|
+
MetricsAPI2.getInstance = function() {
|
|
1369
|
+
if (!this._instance) {
|
|
1370
|
+
this._instance = new MetricsAPI2();
|
|
1371
|
+
}
|
|
1372
|
+
return this._instance;
|
|
1373
|
+
};
|
|
1374
|
+
MetricsAPI2.prototype.setGlobalMeterProvider = function(provider) {
|
|
1375
|
+
return registerGlobal(API_NAME3, provider, DiagAPI.instance());
|
|
1376
|
+
};
|
|
1377
|
+
MetricsAPI2.prototype.getMeterProvider = function() {
|
|
1378
|
+
return getGlobal(API_NAME3) || NOOP_METER_PROVIDER;
|
|
1379
|
+
};
|
|
1380
|
+
MetricsAPI2.prototype.getMeter = function(name, version, options) {
|
|
1381
|
+
return this.getMeterProvider().getMeter(name, version, options);
|
|
1382
|
+
};
|
|
1383
|
+
MetricsAPI2.prototype.disable = function() {
|
|
1384
|
+
unregisterGlobal(API_NAME3, DiagAPI.instance());
|
|
1385
|
+
};
|
|
1386
|
+
return MetricsAPI2;
|
|
1387
|
+
})();
|
|
1388
|
+
}
|
|
1389
|
+
});
|
|
1390
|
+
|
|
1391
|
+
// ../../node_modules/@opentelemetry/api/build/esm/metrics-api.js
|
|
1392
|
+
var metrics;
|
|
1393
|
+
var init_metrics_api = __esm({
|
|
1394
|
+
"../../node_modules/@opentelemetry/api/build/esm/metrics-api.js"() {
|
|
1395
|
+
init_metrics();
|
|
1396
|
+
metrics = MetricsAPI.getInstance();
|
|
1397
|
+
}
|
|
1398
|
+
});
|
|
1399
|
+
|
|
1400
|
+
// ../../node_modules/@opentelemetry/api/build/esm/propagation/NoopTextMapPropagator.js
|
|
1401
|
+
var NoopTextMapPropagator;
|
|
1402
|
+
var init_NoopTextMapPropagator = __esm({
|
|
1403
|
+
"../../node_modules/@opentelemetry/api/build/esm/propagation/NoopTextMapPropagator.js"() {
|
|
1404
|
+
NoopTextMapPropagator = /** @class */
|
|
1405
|
+
(function() {
|
|
1406
|
+
function NoopTextMapPropagator2() {
|
|
1407
|
+
}
|
|
1408
|
+
NoopTextMapPropagator2.prototype.inject = function(_context, _carrier) {
|
|
1409
|
+
};
|
|
1410
|
+
NoopTextMapPropagator2.prototype.extract = function(context2, _carrier) {
|
|
1411
|
+
return context2;
|
|
1412
|
+
};
|
|
1413
|
+
NoopTextMapPropagator2.prototype.fields = function() {
|
|
1414
|
+
return [];
|
|
1415
|
+
};
|
|
1416
|
+
return NoopTextMapPropagator2;
|
|
1417
|
+
})();
|
|
1418
|
+
}
|
|
1419
|
+
});
|
|
1420
|
+
|
|
1421
|
+
// ../../node_modules/@opentelemetry/api/build/esm/baggage/context-helpers.js
|
|
1422
|
+
function getBaggage(context2) {
|
|
1423
|
+
return context2.getValue(BAGGAGE_KEY) || void 0;
|
|
1424
|
+
}
|
|
1425
|
+
function getActiveBaggage() {
|
|
1426
|
+
return getBaggage(ContextAPI.getInstance().active());
|
|
1427
|
+
}
|
|
1428
|
+
function setBaggage(context2, baggage) {
|
|
1429
|
+
return context2.setValue(BAGGAGE_KEY, baggage);
|
|
1430
|
+
}
|
|
1431
|
+
function deleteBaggage(context2) {
|
|
1432
|
+
return context2.deleteValue(BAGGAGE_KEY);
|
|
1433
|
+
}
|
|
1434
|
+
var BAGGAGE_KEY;
|
|
1435
|
+
var init_context_helpers = __esm({
|
|
1436
|
+
"../../node_modules/@opentelemetry/api/build/esm/baggage/context-helpers.js"() {
|
|
1437
|
+
init_context2();
|
|
1438
|
+
init_context();
|
|
1439
|
+
BAGGAGE_KEY = createContextKey("OpenTelemetry Baggage Key");
|
|
1440
|
+
}
|
|
1441
|
+
});
|
|
1442
|
+
|
|
1443
|
+
// ../../node_modules/@opentelemetry/api/build/esm/api/propagation.js
|
|
1444
|
+
var API_NAME4, NOOP_TEXT_MAP_PROPAGATOR, PropagationAPI;
|
|
1445
|
+
var init_propagation = __esm({
|
|
1446
|
+
"../../node_modules/@opentelemetry/api/build/esm/api/propagation.js"() {
|
|
1447
|
+
init_global_utils();
|
|
1448
|
+
init_NoopTextMapPropagator();
|
|
1449
|
+
init_TextMapPropagator();
|
|
1450
|
+
init_context_helpers();
|
|
1451
|
+
init_utils();
|
|
1452
|
+
init_diag();
|
|
1453
|
+
API_NAME4 = "propagation";
|
|
1454
|
+
NOOP_TEXT_MAP_PROPAGATOR = new NoopTextMapPropagator();
|
|
1455
|
+
PropagationAPI = /** @class */
|
|
1456
|
+
(function() {
|
|
1457
|
+
function PropagationAPI2() {
|
|
1458
|
+
this.createBaggage = createBaggage;
|
|
1459
|
+
this.getBaggage = getBaggage;
|
|
1460
|
+
this.getActiveBaggage = getActiveBaggage;
|
|
1461
|
+
this.setBaggage = setBaggage;
|
|
1462
|
+
this.deleteBaggage = deleteBaggage;
|
|
1463
|
+
}
|
|
1464
|
+
PropagationAPI2.getInstance = function() {
|
|
1465
|
+
if (!this._instance) {
|
|
1466
|
+
this._instance = new PropagationAPI2();
|
|
1467
|
+
}
|
|
1468
|
+
return this._instance;
|
|
1469
|
+
};
|
|
1470
|
+
PropagationAPI2.prototype.setGlobalPropagator = function(propagator) {
|
|
1471
|
+
return registerGlobal(API_NAME4, propagator, DiagAPI.instance());
|
|
1472
|
+
};
|
|
1473
|
+
PropagationAPI2.prototype.inject = function(context2, carrier, setter) {
|
|
1474
|
+
if (setter === void 0) {
|
|
1475
|
+
setter = defaultTextMapSetter;
|
|
1476
|
+
}
|
|
1477
|
+
return this._getGlobalPropagator().inject(context2, carrier, setter);
|
|
1478
|
+
};
|
|
1479
|
+
PropagationAPI2.prototype.extract = function(context2, carrier, getter) {
|
|
1480
|
+
if (getter === void 0) {
|
|
1481
|
+
getter = defaultTextMapGetter;
|
|
1482
|
+
}
|
|
1483
|
+
return this._getGlobalPropagator().extract(context2, carrier, getter);
|
|
1484
|
+
};
|
|
1485
|
+
PropagationAPI2.prototype.fields = function() {
|
|
1486
|
+
return this._getGlobalPropagator().fields();
|
|
1487
|
+
};
|
|
1488
|
+
PropagationAPI2.prototype.disable = function() {
|
|
1489
|
+
unregisterGlobal(API_NAME4, DiagAPI.instance());
|
|
1490
|
+
};
|
|
1491
|
+
PropagationAPI2.prototype._getGlobalPropagator = function() {
|
|
1492
|
+
return getGlobal(API_NAME4) || NOOP_TEXT_MAP_PROPAGATOR;
|
|
1493
|
+
};
|
|
1494
|
+
return PropagationAPI2;
|
|
1495
|
+
})();
|
|
1496
|
+
}
|
|
1497
|
+
});
|
|
1498
|
+
|
|
1499
|
+
// ../../node_modules/@opentelemetry/api/build/esm/propagation-api.js
|
|
1500
|
+
var propagation;
|
|
1501
|
+
var init_propagation_api = __esm({
|
|
1502
|
+
"../../node_modules/@opentelemetry/api/build/esm/propagation-api.js"() {
|
|
1503
|
+
init_propagation();
|
|
1504
|
+
propagation = PropagationAPI.getInstance();
|
|
1505
|
+
}
|
|
1506
|
+
});
|
|
1507
|
+
|
|
1508
|
+
// ../../node_modules/@opentelemetry/api/build/esm/api/trace.js
|
|
1509
|
+
var API_NAME5, TraceAPI;
|
|
1510
|
+
var init_trace = __esm({
|
|
1511
|
+
"../../node_modules/@opentelemetry/api/build/esm/api/trace.js"() {
|
|
1512
|
+
init_global_utils();
|
|
1513
|
+
init_ProxyTracerProvider();
|
|
1514
|
+
init_spancontext_utils();
|
|
1515
|
+
init_context_utils();
|
|
1516
|
+
init_diag();
|
|
1517
|
+
API_NAME5 = "trace";
|
|
1518
|
+
TraceAPI = /** @class */
|
|
1519
|
+
(function() {
|
|
1520
|
+
function TraceAPI2() {
|
|
1521
|
+
this._proxyTracerProvider = new ProxyTracerProvider();
|
|
1522
|
+
this.wrapSpanContext = wrapSpanContext;
|
|
1523
|
+
this.isSpanContextValid = isSpanContextValid;
|
|
1524
|
+
this.deleteSpan = deleteSpan;
|
|
1525
|
+
this.getSpan = getSpan;
|
|
1526
|
+
this.getActiveSpan = getActiveSpan;
|
|
1527
|
+
this.getSpanContext = getSpanContext;
|
|
1528
|
+
this.setSpan = setSpan;
|
|
1529
|
+
this.setSpanContext = setSpanContext;
|
|
1530
|
+
}
|
|
1531
|
+
TraceAPI2.getInstance = function() {
|
|
1532
|
+
if (!this._instance) {
|
|
1533
|
+
this._instance = new TraceAPI2();
|
|
1534
|
+
}
|
|
1535
|
+
return this._instance;
|
|
1536
|
+
};
|
|
1537
|
+
TraceAPI2.prototype.setGlobalTracerProvider = function(provider) {
|
|
1538
|
+
var success = registerGlobal(API_NAME5, this._proxyTracerProvider, DiagAPI.instance());
|
|
1539
|
+
if (success) {
|
|
1540
|
+
this._proxyTracerProvider.setDelegate(provider);
|
|
1541
|
+
}
|
|
1542
|
+
return success;
|
|
1543
|
+
};
|
|
1544
|
+
TraceAPI2.prototype.getTracerProvider = function() {
|
|
1545
|
+
return getGlobal(API_NAME5) || this._proxyTracerProvider;
|
|
1546
|
+
};
|
|
1547
|
+
TraceAPI2.prototype.getTracer = function(name, version) {
|
|
1548
|
+
return this.getTracerProvider().getTracer(name, version);
|
|
1549
|
+
};
|
|
1550
|
+
TraceAPI2.prototype.disable = function() {
|
|
1551
|
+
unregisterGlobal(API_NAME5, DiagAPI.instance());
|
|
1552
|
+
this._proxyTracerProvider = new ProxyTracerProvider();
|
|
1553
|
+
};
|
|
1554
|
+
return TraceAPI2;
|
|
1555
|
+
})();
|
|
1556
|
+
}
|
|
1557
|
+
});
|
|
1558
|
+
|
|
1559
|
+
// ../../node_modules/@opentelemetry/api/build/esm/trace-api.js
|
|
1560
|
+
var trace;
|
|
1561
|
+
var init_trace_api = __esm({
|
|
1562
|
+
"../../node_modules/@opentelemetry/api/build/esm/trace-api.js"() {
|
|
1563
|
+
init_trace();
|
|
1564
|
+
trace = TraceAPI.getInstance();
|
|
1565
|
+
}
|
|
1566
|
+
});
|
|
1567
|
+
|
|
1568
|
+
// ../../node_modules/@opentelemetry/api/build/esm/index.js
|
|
1569
|
+
var esm_exports = {};
|
|
1570
|
+
__export(esm_exports, {
|
|
1571
|
+
DiagConsoleLogger: () => DiagConsoleLogger,
|
|
1572
|
+
DiagLogLevel: () => DiagLogLevel,
|
|
1573
|
+
INVALID_SPANID: () => INVALID_SPANID,
|
|
1574
|
+
INVALID_SPAN_CONTEXT: () => INVALID_SPAN_CONTEXT,
|
|
1575
|
+
INVALID_TRACEID: () => INVALID_TRACEID,
|
|
1576
|
+
ProxyTracer: () => ProxyTracer,
|
|
1577
|
+
ProxyTracerProvider: () => ProxyTracerProvider,
|
|
1578
|
+
ROOT_CONTEXT: () => ROOT_CONTEXT,
|
|
1579
|
+
SamplingDecision: () => SamplingDecision,
|
|
1580
|
+
SpanKind: () => SpanKind,
|
|
1581
|
+
SpanStatusCode: () => SpanStatusCode,
|
|
1582
|
+
TraceFlags: () => TraceFlags,
|
|
1583
|
+
ValueType: () => ValueType,
|
|
1584
|
+
baggageEntryMetadataFromString: () => baggageEntryMetadataFromString,
|
|
1585
|
+
context: () => context,
|
|
1586
|
+
createContextKey: () => createContextKey,
|
|
1587
|
+
createNoopMeter: () => createNoopMeter,
|
|
1588
|
+
createTraceState: () => createTraceState,
|
|
1589
|
+
default: () => esm_default,
|
|
1590
|
+
defaultTextMapGetter: () => defaultTextMapGetter,
|
|
1591
|
+
defaultTextMapSetter: () => defaultTextMapSetter,
|
|
1592
|
+
diag: () => diag2,
|
|
1593
|
+
isSpanContextValid: () => isSpanContextValid,
|
|
1594
|
+
isValidSpanId: () => isValidSpanId,
|
|
1595
|
+
isValidTraceId: () => isValidTraceId,
|
|
1596
|
+
metrics: () => metrics,
|
|
1597
|
+
propagation: () => propagation,
|
|
1598
|
+
trace: () => trace
|
|
1599
|
+
});
|
|
1600
|
+
var esm_default;
|
|
1601
|
+
var init_esm = __esm({
|
|
1602
|
+
"../../node_modules/@opentelemetry/api/build/esm/index.js"() {
|
|
1603
|
+
init_utils();
|
|
1604
|
+
init_context();
|
|
1605
|
+
init_consoleLogger();
|
|
1606
|
+
init_types();
|
|
1607
|
+
init_NoopMeter();
|
|
1608
|
+
init_Metric();
|
|
1609
|
+
init_TextMapPropagator();
|
|
1610
|
+
init_ProxyTracer();
|
|
1611
|
+
init_ProxyTracerProvider();
|
|
1612
|
+
init_SamplingResult();
|
|
1613
|
+
init_span_kind();
|
|
1614
|
+
init_status();
|
|
1615
|
+
init_trace_flags();
|
|
1616
|
+
init_utils2();
|
|
1617
|
+
init_spancontext_utils();
|
|
1618
|
+
init_invalid_span_constants();
|
|
1619
|
+
init_context_api();
|
|
1620
|
+
init_diag_api();
|
|
1621
|
+
init_metrics_api();
|
|
1622
|
+
init_propagation_api();
|
|
1623
|
+
init_trace_api();
|
|
1624
|
+
esm_default = {
|
|
1625
|
+
context,
|
|
1626
|
+
diag: diag2,
|
|
1627
|
+
metrics,
|
|
1628
|
+
propagation,
|
|
1629
|
+
trace
|
|
1630
|
+
};
|
|
1631
|
+
}
|
|
1632
|
+
});
|
|
1633
|
+
|
|
1634
|
+
export {
|
|
1635
|
+
diag2 as diag,
|
|
1636
|
+
esm_exports,
|
|
1637
|
+
init_esm
|
|
1638
|
+
};
|