slnodejs 6.1.415 → 6.1.447
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/browser-agent/dist/browser-agent-all.js +249 -414
- package/browser-agent/dist/browser-agent-all.min.js +3 -3
- package/browser-agent/package.json +1 -1
- package/package.json +2 -2
- package/tsOutputs/api.js +32 -86
- package/tsOutputs/build-scanner/ast-utils.js +11 -11
- package/tsOutputs/build-scanner/ast-utils.js.map +1 -1
- package/tsOutputs/build-scanner/build-diff-process.js +35 -16
- package/tsOutputs/build-scanner/build-diff-process.js.map +1 -1
- package/tsOutputs/build-scanner/cia.js +2 -2
- package/tsOutputs/build-scanner/cia.js.map +1 -1
- package/tsOutputs/build-scanner/default-values-resolver.js +5 -7
- package/tsOutputs/build-scanner/default-values-resolver.js.map +1 -1
- package/tsOutputs/build-scanner/diagnostic/build-scan-diagnosis.js +101 -159
- package/tsOutputs/build-scanner/diagnostic/build-scan-diagnosis.js.map +1 -1
- package/tsOutputs/build-scanner/diagnostic/none-diagnosis.js +23 -55
- package/tsOutputs/build-scanner/diagnostic/none-diagnosis.js.map +1 -1
- package/tsOutputs/build-scanner/file-and-folder-utils.js +3 -3
- package/tsOutputs/build-scanner/file-and-folder-utils.js.map +1 -1
- package/tsOutputs/build-scanner/file-system/actual-file.js +3 -3
- package/tsOutputs/build-scanner/file-system/actual-file.js.map +1 -1
- package/tsOutputs/build-scanner/instrumentation/browser-instrumenter.js +56 -60
- package/tsOutputs/build-scanner/instrumentation/browser-instrumenter.js.map +1 -1
- package/tsOutputs/build-scanner/instrumentation/content-instrumenter.js +9 -10
- package/tsOutputs/build-scanner/instrumentation/content-instrumenter.js.map +1 -1
- package/tsOutputs/build-scanner/instrumentation/files-instrumenter.js +80 -124
- package/tsOutputs/build-scanner/instrumentation/files-instrumenter.js.map +1 -1
- package/tsOutputs/build-scanner/instrumentation/instrumentation-utils.js +3 -3
- package/tsOutputs/build-scanner/instrumentation/instrumentation-utils.js.map +1 -1
- package/tsOutputs/build-scanner/instrumentation/instrumented-file-size-reducer.js +4 -4
- package/tsOutputs/build-scanner/instrumentation/instrumented-file-size-reducer.js.map +1 -1
- package/tsOutputs/build-scanner/instrumentation/process-pool/instrumenter-spawn.js +15 -50
- package/tsOutputs/build-scanner/instrumentation/process-pool/instrumenter-spawn.js.map +1 -1
- package/tsOutputs/build-scanner/instrumentation/process-pool/process-pool.js +84 -141
- package/tsOutputs/build-scanner/instrumentation/process-pool/process-pool.js.map +1 -1
- package/tsOutputs/build-scanner/instrumentation/process-pool/split-by-transform-stream.js +15 -34
- package/tsOutputs/build-scanner/instrumentation/process-pool/split-by-transform-stream.js.map +1 -1
- package/tsOutputs/build-scanner/instrumentation/process-pool/stop-by-condition-transform-stream.js +9 -27
- package/tsOutputs/build-scanner/instrumentation/process-pool/stop-by-condition-transform-stream.js.map +1 -1
- package/tsOutputs/build-scanner/instrumentation/strategies/copy-as-is-strategy.js +8 -10
- package/tsOutputs/build-scanner/instrumentation/strategies/copy-as-is-strategy.js.map +1 -1
- package/tsOutputs/build-scanner/instrumentation/strategies/js-instrumnetation-strategy.js +22 -54
- package/tsOutputs/build-scanner/instrumentation/strategies/js-instrumnetation-strategy.js.map +1 -1
- package/tsOutputs/build-scanner/instrumentation/strategies/markup-instrumnetation-strategy.js +55 -107
- package/tsOutputs/build-scanner/instrumentation/strategies/markup-instrumnetation-strategy.js.map +1 -1
- package/tsOutputs/build-scanner/js_diff/file-signature.js +5 -6
- package/tsOutputs/build-scanner/js_diff/file-signature.js.map +1 -1
- package/tsOutputs/build-scanner/js_diff/files-mapping.js +6 -6
- package/tsOutputs/build-scanner/js_diff/files-mapping.js.map +1 -1
- package/tsOutputs/build-scanner/js_diff/generated-file-signature.js +3 -3
- package/tsOutputs/build-scanner/js_diff/generated-file-signature.js.map +1 -1
- package/tsOutputs/build-scanner/js_diff/guess-method-location.js +26 -27
- package/tsOutputs/build-scanner/js_diff/guess-method-location.js.map +1 -1
- package/tsOutputs/build-scanner/js_diff/method-signature.js +1 -1
- package/tsOutputs/build-scanner/js_diff/method-signature.js.map +1 -1
- package/tsOutputs/build-scanner/js_diff/sl-mapper.js +28 -79
- package/tsOutputs/build-scanner/js_diff/sl-mapper.js.map +1 -1
- package/tsOutputs/build-scanner/js_diff/source-data-enricher.js +3 -2
- package/tsOutputs/build-scanner/js_diff/source-data-enricher.js.map +1 -1
- package/tsOutputs/build-scanner/js_diff/source-files-notifier.js +1 -1
- package/tsOutputs/build-scanner/js_diff/source-files-notifier.js.map +1 -1
- package/tsOutputs/build-scanner/mappings/ensure-files-handler.service.js +76 -149
- package/tsOutputs/build-scanner/mappings/ensure-files-handler.service.js.map +1 -1
- package/tsOutputs/build-scanner/mappings/file-element-utils.js +9 -9
- package/tsOutputs/build-scanner/mappings/file-element-utils.js.map +1 -1
- package/tsOutputs/build-scanner/mappings/file-enricher.js +71 -100
- package/tsOutputs/build-scanner/mappings/file-enricher.js.map +1 -1
- package/tsOutputs/build-scanner/mappings/file-path-fixer.js +112 -0
- package/tsOutputs/build-scanner/mappings/file-path-fixer.js.map +1 -0
- package/tsOutputs/build-scanner/mappings/files-container.js +89 -0
- package/tsOutputs/build-scanner/mappings/files-container.js.map +1 -0
- package/tsOutputs/build-scanner/mappings/files-data-container.js +18 -23
- package/tsOutputs/build-scanner/mappings/files-data-container.js.map +1 -1
- package/tsOutputs/build-scanner/mappings/source-path-mapper.js +15 -45
- package/tsOutputs/build-scanner/mappings/source-path-mapper.js.map +1 -1
- package/tsOutputs/build-scanner/markup-files-parser.js +1 -1
- package/tsOutputs/build-scanner/markup-files-parser.js.map +1 -1
- package/tsOutputs/build-scanner/scm/scm-file-fixer.js +27 -0
- package/tsOutputs/build-scanner/scm/scm-file-fixer.js.map +1 -0
- package/tsOutputs/build-scanner/scm/scm-files-container.js +9 -45
- package/tsOutputs/build-scanner/scm/scm-files-container.js.map +1 -1
- package/tsOutputs/build-scanner/sl-config-cia-cli.js +1 -1
- package/tsOutputs/build-scanner/sl-config-cia-cli.js.map +1 -1
- package/tsOutputs/build-scanner/utils.js +5 -5
- package/tsOutputs/build-scanner/utils.js.map +1 -1
- package/tsOutputs/cli-parse/agent-instance-data.js +2 -2
- package/tsOutputs/cli-parse/agent-instance-data.js.map +1 -1
- package/tsOutputs/cli-parse/child-process-wrapper.js +26 -60
- package/tsOutputs/cli-parse/child-process-wrapper.js.map +1 -1
- package/tsOutputs/cli-parse/cli.js +72 -191
- package/tsOutputs/cli-parse/cli.js.map +1 -1
- package/tsOutputs/cli-parse/constants/constants.js +9 -9
- package/tsOutputs/cli-parse/constants/constants.js.map +1 -1
- package/tsOutputs/cli-parse/custom-commander.js +17 -18
- package/tsOutputs/cli-parse/custom-commander.js.map +1 -1
- package/tsOutputs/cli-parse/executors/base-executor.js +121 -236
- package/tsOutputs/cli-parse/executors/base-executor.js.map +1 -1
- package/tsOutputs/cli-parse/executors/build-args-dto.js +10 -11
- package/tsOutputs/cli-parse/executors/build-args-dto.js.map +1 -1
- package/tsOutputs/cli-parse/executors/build-end-executor.js +34 -92
- package/tsOutputs/cli-parse/executors/build-end-executor.js.map +1 -1
- package/tsOutputs/cli-parse/executors/build-executor.js +64 -133
- package/tsOutputs/cli-parse/executors/build-executor.js.map +1 -1
- package/tsOutputs/cli-parse/executors/config-executor.js +35 -92
- package/tsOutputs/cli-parse/executors/config-executor.js.map +1 -1
- package/tsOutputs/cli-parse/executors/dry-run/base-data.js +29 -39
- package/tsOutputs/cli-parse/executors/dry-run/base-data.js.map +1 -1
- package/tsOutputs/cli-parse/executors/dry-run/build-mapping-data.js +92 -177
- package/tsOutputs/cli-parse/executors/dry-run/build-mapping-data.js.map +1 -1
- package/tsOutputs/cli-parse/executors/dry-run/dry-run-executor.js +110 -194
- package/tsOutputs/cli-parse/executors/dry-run/dry-run-executor.js.map +1 -1
- package/tsOutputs/cli-parse/executors/dry-run/dry-run-validation.js +49 -83
- package/tsOutputs/cli-parse/executors/dry-run/dry-run-validation.js.map +1 -1
- package/tsOutputs/cli-parse/executors/dry-run/footprints-data.js +55 -113
- package/tsOutputs/cli-parse/executors/dry-run/footprints-data.js.map +1 -1
- package/tsOutputs/cli-parse/executors/dry-run/helper-methods.js +24 -25
- package/tsOutputs/cli-parse/executors/dry-run/helper-methods.js.map +1 -1
- package/tsOutputs/cli-parse/executors/end-execution-executor.js +16 -64
- package/tsOutputs/cli-parse/executors/end-execution-executor.js.map +1 -1
- package/tsOutputs/cli-parse/executors/integration-build-components-executor.js +29 -82
- package/tsOutputs/cli-parse/executors/integration-build-components-executor.js.map +1 -1
- package/tsOutputs/cli-parse/executors/integration-build-delete-components-executor.js +12 -59
- package/tsOutputs/cli-parse/executors/integration-build-delete-components-executor.js.map +1 -1
- package/tsOutputs/cli-parse/executors/integration-build-update-components-executor.js +9 -58
- package/tsOutputs/cli-parse/executors/integration-build-update-components-executor.js.map +1 -1
- package/tsOutputs/cli-parse/executors/mocha-executor.js +41 -101
- package/tsOutputs/cli-parse/executors/mocha-executor.js.map +1 -1
- package/tsOutputs/cli-parse/executors/nyc-report-executor.js +24 -83
- package/tsOutputs/cli-parse/executors/nyc-report-executor.js.map +1 -1
- package/tsOutputs/cli-parse/executors/pr-config-executor.js +15 -63
- package/tsOutputs/cli-parse/executors/pr-config-executor.js.map +1 -1
- package/tsOutputs/cli-parse/executors/run-executor.js +23 -75
- package/tsOutputs/cli-parse/executors/run-executor.js.map +1 -1
- package/tsOutputs/cli-parse/executors/start-execution-executor.js +16 -64
- package/tsOutputs/cli-parse/executors/start-execution-executor.js.map +1 -1
- package/tsOutputs/cli-parse/executors/test-executions-executor.js +9 -63
- package/tsOutputs/cli-parse/executors/test-executions-executor.js.map +1 -1
- package/tsOutputs/cli-parse/executors/test-listener-executor.js +47 -117
- package/tsOutputs/cli-parse/executors/test-listener-executor.js.map +1 -1
- package/tsOutputs/cli-parse/executors/upload-report-executor.js +23 -71
- package/tsOutputs/cli-parse/executors/upload-report-executor.js.map +1 -1
- package/tsOutputs/cli-parse/utils.js +10 -10
- package/tsOutputs/cli-parse/utils.js.map +1 -1
- package/tsOutputs/common/agent-events/agent-events-controller.js +146 -251
- package/tsOutputs/common/agent-events/agent-events-controller.js.map +1 -1
- package/tsOutputs/common/agent-events/agent-events-guard.js +12 -15
- package/tsOutputs/common/agent-events/agent-events-guard.js.map +1 -1
- package/tsOutputs/common/agent-events/agent-instance-info-builder.js +22 -24
- package/tsOutputs/common/agent-events/agent-instance-info-builder.js.map +1 -1
- package/tsOutputs/common/agent-events/agent-start-info-builder.js +7 -8
- package/tsOutputs/common/agent-events/agent-start-info-builder.js.map +1 -1
- package/tsOutputs/common/agent-events/browser-info-builder.js +9 -10
- package/tsOutputs/common/agent-events/browser-info-builder.js.map +1 -1
- package/tsOutputs/common/agent-events/ci-info-builder.js +12 -13
- package/tsOutputs/common/agent-events/ci-info-builder.js.map +1 -1
- package/tsOutputs/common/agent-events/cockpit-notifier.js +38 -87
- package/tsOutputs/common/agent-events/cockpit-notifier.js.map +1 -1
- package/tsOutputs/common/agent-events/dry-run-agent-events-controller.js +10 -27
- package/tsOutputs/common/agent-events/dry-run-agent-events-controller.js.map +1 -1
- package/tsOutputs/common/agent-events/machine-info-builder.js +21 -22
- package/tsOutputs/common/agent-events/machine-info-builder.js.map +1 -1
- package/tsOutputs/common/agent-events/no-op-agent-events-controller.js +30 -84
- package/tsOutputs/common/agent-events/no-op-agent-events-controller.js.map +1 -1
- package/tsOutputs/common/agent-events/nodejs-env-info-builder.js +7 -8
- package/tsOutputs/common/agent-events/nodejs-env-info-builder.js.map +1 -1
- package/tsOutputs/common/agent-events/sensitive-data-filter.js +3 -4
- package/tsOutputs/common/agent-events/sensitive-data-filter.js.map +1 -1
- package/tsOutputs/common/agent-instance-data.js +23 -28
- package/tsOutputs/common/agent-instance-data.js.map +1 -1
- package/tsOutputs/common/cli-progress.js +16 -19
- package/tsOutputs/common/cli-progress.js.map +1 -1
- package/tsOutputs/common/config-process/config-loader.js +23 -24
- package/tsOutputs/common/config-process/config-loader.js.map +1 -1
- package/tsOutputs/common/config-process/config-system.js +104 -131
- package/tsOutputs/common/config-process/config-system.js.map +1 -1
- package/tsOutputs/common/config-process/config.js +52 -73
- package/tsOutputs/common/config-process/config.js.map +1 -1
- package/tsOutputs/common/config-process/index.js +38 -57
- package/tsOutputs/common/config-process/index.js.map +1 -1
- package/tsOutputs/common/config-process/no-op-config-process.js +9 -29
- package/tsOutputs/common/config-process/no-op-config-process.js.map +1 -1
- package/tsOutputs/common/constants/constants.js +19 -25
- package/tsOutputs/common/constants/constants.js.map +1 -1
- package/tsOutputs/common/constants/sl-env-vars.js +125 -131
- package/tsOutputs/common/constants/sl-env-vars.js.map +1 -1
- package/tsOutputs/common/coverage-elements/file-element.js +66 -103
- package/tsOutputs/common/coverage-elements/file-element.js.map +1 -1
- package/tsOutputs/common/coverage-elements/istanbul-unique-id-converter.js +28 -47
- package/tsOutputs/common/coverage-elements/istanbul-unique-id-converter.js.map +1 -1
- package/tsOutputs/common/coverage-elements/new-id-resolver.js +17 -17
- package/tsOutputs/common/coverage-elements/new-id-resolver.js.map +1 -1
- package/tsOutputs/common/coverage-elements/original-module-loader.js +71 -79
- package/tsOutputs/common/coverage-elements/original-module-loader.js.map +1 -1
- package/tsOutputs/common/coverage-elements/unique-id-converter.js +90 -110
- package/tsOutputs/common/coverage-elements/unique-id-converter.js.map +1 -1
- package/tsOutputs/common/environment-data-service.js +10 -11
- package/tsOutputs/common/environment-data-service.js.map +1 -1
- package/tsOutputs/common/events-process/events-creator.js +20 -32
- package/tsOutputs/common/events-process/events-creator.js.map +1 -1
- package/tsOutputs/common/events-process/index.js +97 -186
- package/tsOutputs/common/events-process/index.js.map +1 -1
- package/tsOutputs/common/footprints-process/collection-interval.js +10 -11
- package/tsOutputs/common/footprints-process/collection-interval.js.map +1 -1
- package/tsOutputs/common/footprints-process/footprints-service-proxy.js +21 -22
- package/tsOutputs/common/footprints-process/footprints-service-proxy.js.map +1 -1
- package/tsOutputs/common/footprints-process/index.js +68 -102
- package/tsOutputs/common/footprints-process/index.js.map +1 -1
- package/tsOutputs/common/footprints-process/istanbul-to-footprints-contract.js +2 -5
- package/tsOutputs/common/footprints-process/istanbul-to-footprints-contract.js.map +1 -1
- package/tsOutputs/common/footprints-process/istanbul-to-footprints.js +160 -162
- package/tsOutputs/common/footprints-process/istanbul-to-footprints.js.map +1 -1
- package/tsOutputs/common/footprints-process/production-footprints-handler.js +103 -156
- package/tsOutputs/common/footprints-process/production-footprints-handler.js.map +1 -1
- package/tsOutputs/common/footprints-process-v6/base-browser-hits-converter.js +30 -48
- package/tsOutputs/common/footprints-process-v6/base-browser-hits-converter.js.map +1 -1
- package/tsOutputs/common/footprints-process-v6/browser-footprints-buffer.js +7 -25
- package/tsOutputs/common/footprints-process-v6/browser-footprints-buffer.js.map +1 -1
- package/tsOutputs/common/footprints-process-v6/buffer-size-helper.js +13 -14
- package/tsOutputs/common/footprints-process-v6/buffer-size-helper.js.map +1 -1
- package/tsOutputs/common/footprints-process-v6/collector-footprints-buffer.js +14 -32
- package/tsOutputs/common/footprints-process-v6/collector-footprints-buffer.js.map +1 -1
- package/tsOutputs/common/footprints-process-v6/collector-footprints-process.js +43 -109
- package/tsOutputs/common/footprints-process-v6/collector-footprints-process.js.map +1 -1
- package/tsOutputs/common/footprints-process-v6/contracts.js +2 -5
- package/tsOutputs/common/footprints-process-v6/contracts.js.map +1 -1
- package/tsOutputs/common/footprints-process-v6/footprints-buffer.d.ts +1 -1
- package/tsOutputs/common/footprints-process-v6/footprints-buffer.js +55 -78
- package/tsOutputs/common/footprints-process-v6/footprints-buffer.js.map +1 -1
- package/tsOutputs/common/footprints-process-v6/hits-collector.js +89 -129
- package/tsOutputs/common/footprints-process-v6/hits-collector.js.map +1 -1
- package/tsOutputs/common/footprints-process-v6/hits-converter.js +70 -78
- package/tsOutputs/common/footprints-process-v6/hits-converter.js.map +1 -1
- package/tsOutputs/common/footprints-process-v6/index.d.ts +1 -0
- package/tsOutputs/common/footprints-process-v6/index.js +210 -347
- package/tsOutputs/common/footprints-process-v6/index.js.map +1 -1
- package/tsOutputs/common/footprints-process-v6/location-formatter.js +2 -2
- package/tsOutputs/common/footprints-process-v6/location-formatter.js.map +1 -1
- package/tsOutputs/common/footprints-process-v6/relative-path-resolver.js +10 -11
- package/tsOutputs/common/footprints-process-v6/relative-path-resolver.js.map +1 -1
- package/tsOutputs/common/footprints-process-v6/remote-browser-hits-converter.js +5 -25
- package/tsOutputs/common/footprints-process-v6/remote-browser-hits-converter.js.map +1 -1
- package/tsOutputs/common/footprints-process-v6/remote-footprints-process.js +6 -57
- package/tsOutputs/common/footprints-process-v6/remote-footprints-process.js.map +1 -1
- package/tsOutputs/common/footprints-process-v6/remote-hits-collector.js +7 -27
- package/tsOutputs/common/footprints-process-v6/remote-hits-collector.js.map +1 -1
- package/tsOutputs/common/footprints-process-v6/source-map-data.js +14 -15
- package/tsOutputs/common/footprints-process-v6/source-map-data.js.map +1 -1
- package/tsOutputs/common/http/backend-proxy.js +222 -321
- package/tsOutputs/common/http/backend-proxy.js.map +1 -1
- package/tsOutputs/common/http/contracts.js +40 -116
- package/tsOutputs/common/http/contracts.js.map +1 -1
- package/tsOutputs/common/http/dry-run-proxy.js +68 -111
- package/tsOutputs/common/http/dry-run-proxy.js.map +1 -1
- package/tsOutputs/common/http/entities-mapper.js +6 -9
- package/tsOutputs/common/http/entities-mapper.js.map +1 -1
- package/tsOutputs/common/http/http-client.js +76 -86
- package/tsOutputs/common/http/http-client.js.map +1 -1
- package/tsOutputs/common/http/sl-routes.js +119 -122
- package/tsOutputs/common/http/sl-routes.js.map +1 -1
- package/tsOutputs/common/ignored-files-handler.js +48 -49
- package/tsOutputs/common/ignored-files-handler.js.map +1 -1
- package/tsOutputs/common/logger.js +66 -88
- package/tsOutputs/common/logger.js.map +1 -1
- package/tsOutputs/common/messages-formatter.js +9 -14
- package/tsOutputs/common/messages-formatter.js.map +1 -1
- package/tsOutputs/common/no-op-state-tracker.js +14 -37
- package/tsOutputs/common/no-op-state-tracker.js.map +1 -1
- package/tsOutputs/common/queue.js +18 -36
- package/tsOutputs/common/queue.js.map +1 -1
- package/tsOutputs/common/scm/git-cloner.js +30 -94
- package/tsOutputs/common/scm/git-cloner.js.map +1 -1
- package/tsOutputs/common/scm/git-format-builder.js +24 -25
- package/tsOutputs/common/scm/git-format-builder.js.map +1 -1
- package/tsOutputs/common/scm/git.js +192 -327
- package/tsOutputs/common/scm/git.js.map +1 -1
- package/tsOutputs/common/scm/none.js +58 -110
- package/tsOutputs/common/scm/none.js.map +1 -1
- package/tsOutputs/common/scm/scm-factory.js +13 -16
- package/tsOutputs/common/scm/scm-factory.js.map +1 -1
- package/tsOutputs/common/short-name-to-file-mapper.js +30 -33
- package/tsOutputs/common/short-name-to-file-mapper.js.map +1 -1
- package/tsOutputs/common/source-map-handler.js +76 -98
- package/tsOutputs/common/source-map-handler.js.map +1 -1
- package/tsOutputs/common/source-map-reader.js +35 -36
- package/tsOutputs/common/source-map-reader.js.map +1 -1
- package/tsOutputs/common/source-maps-utils.js +8 -11
- package/tsOutputs/common/source-maps-utils.js.map +1 -1
- package/tsOutputs/common/state-tracker-fpv6.js +15 -37
- package/tsOutputs/common/state-tracker-fpv6.js.map +1 -1
- package/tsOutputs/common/state-tracker.js +124 -212
- package/tsOutputs/common/state-tracker.js.map +1 -1
- package/tsOutputs/common/system-date.js +3 -3
- package/tsOutputs/common/system-date.js.map +1 -1
- package/tsOutputs/common/utils/abstract-data-builder.js +8 -9
- package/tsOutputs/common/utils/abstract-data-builder.js.map +1 -1
- package/tsOutputs/common/utils/build-session-data-builder.js +25 -79
- package/tsOutputs/common/utils/build-session-data-builder.js.map +1 -1
- package/tsOutputs/common/utils/dependency-utils.js +13 -16
- package/tsOutputs/common/utils/dependency-utils.js.map +1 -1
- package/tsOutputs/common/utils/env-var-parsing.js +10 -14
- package/tsOutputs/common/utils/env-var-parsing.js.map +1 -1
- package/tsOutputs/common/utils/files-utils.js +16 -19
- package/tsOutputs/common/utils/files-utils.js.map +1 -1
- package/tsOutputs/common/utils/process-utils.js +12 -25
- package/tsOutputs/common/utils/process-utils.js.map +1 -1
- package/tsOutputs/common/utils/test-runner-build-session-data-builder.js +16 -62
- package/tsOutputs/common/utils/test-runner-build-session-data-builder.js.map +1 -1
- package/tsOutputs/common/utils/test-utils/mock-server-utils/mock-server-proxy.js +120 -192
- package/tsOutputs/common/utils/test-utils/mock-server-utils/mock-server-proxy.js.map +1 -1
- package/tsOutputs/common/utils/timer-utils.js +4 -7
- package/tsOutputs/common/utils/timer-utils.js.map +1 -1
- package/tsOutputs/common/utils/token-data-builder.js +30 -50
- package/tsOutputs/common/utils/token-data-builder.js.map +1 -1
- package/tsOutputs/common/utils/validation-utils.d.ts +4 -0
- package/tsOutputs/common/utils/validation-utils.js +13 -10
- package/tsOutputs/common/utils/validation-utils.js.map +1 -1
- package/tsOutputs/common/uuid.js +7 -10
- package/tsOutputs/common/uuid.js.map +1 -1
- package/tsOutputs/common/v8-utils.js +12 -50
- package/tsOutputs/common/v8-utils.js.map +1 -1
- package/tsOutputs/common/watchdog.js +35 -56
- package/tsOutputs/common/watchdog.js.map +1 -1
- package/tsOutputs/mocha-reporter/index.js +12 -12
- package/tsOutputs/mocha-reporter/index.js.map +1 -1
- package/tsOutputs/mocha-reporter/otel-agent.js +47 -118
- package/tsOutputs/mocha-reporter/otel-agent.js.map +1 -1
- package/tsOutputs/test-listener/SlNodeJsProxy.js +34 -35
- package/tsOutputs/test-listener/SlNodeJsProxy.js.map +1 -1
- package/tsOutputs/test-listener/UserMessageHelper.js +14 -19
- package/tsOutputs/test-listener/UserMessageHelper.js.map +1 -1
- package/tsOutputs/test-listener/agent-loader.js +42 -59
- package/tsOutputs/test-listener/agent-loader.js.map +1 -1
- package/tsOutputs/test-listener/agent.js +93 -150
- package/tsOutputs/test-listener/agent.js.map +1 -1
- package/tsOutputs/test-listener/api.js +36 -70
- package/tsOutputs/test-listener/api.js.map +1 -1
- package/tsOutputs/test-listener/base-proxy.js +25 -27
- package/tsOutputs/test-listener/base-proxy.js.map +1 -1
- package/tsOutputs/test-listener/bootstrap.js +6 -6
- package/tsOutputs/test-listener/bootstrap.js.map +1 -1
- package/tsOutputs/test-listener/child-process-patcher.js +10 -10
- package/tsOutputs/test-listener/child-process-patcher.js.map +1 -1
- package/tsOutputs/test-listener/cli.js +27 -30
- package/tsOutputs/test-listener/cli.js.map +1 -1
- package/tsOutputs/test-listener/coloring/http-coloring.js +30 -33
- package/tsOutputs/test-listener/coloring/http-coloring.js.map +1 -1
- package/tsOutputs/test-listener/coloring/listening-port.js +14 -17
- package/tsOutputs/test-listener/coloring/listening-port.js.map +1 -1
- package/tsOutputs/test-listener/command-line-arg-parser.js +12 -15
- package/tsOutputs/test-listener/command-line-arg-parser.js.map +1 -1
- package/tsOutputs/test-listener/config-process/config-loader.js +21 -22
- package/tsOutputs/test-listener/config-process/config-loader.js.map +1 -1
- package/tsOutputs/test-listener/config-process/config-system.js +100 -127
- package/tsOutputs/test-listener/config-process/config-system.js.map +1 -1
- package/tsOutputs/test-listener/config-process/index.js +38 -57
- package/tsOutputs/test-listener/config-process/index.js.map +1 -1
- package/tsOutputs/test-listener/config.js +38 -59
- package/tsOutputs/test-listener/config.js.map +1 -1
- package/tsOutputs/test-listener/entities/BasicConfigurationData.js +37 -64
- package/tsOutputs/test-listener/entities/BasicConfigurationData.js.map +1 -1
- package/tsOutputs/test-listener/entities/build-scanner/ConfigModeData.js +17 -42
- package/tsOutputs/test-listener/entities/build-scanner/ConfigModeData.js.map +1 -1
- package/tsOutputs/test-listener/entities/build-scanner/ScanModeData.js +19 -45
- package/tsOutputs/test-listener/entities/build-scanner/ScanModeData.js.map +1 -1
- package/tsOutputs/test-listener/environment-data-service.js +10 -11
- package/tsOutputs/test-listener/environment-data-service.js.map +1 -1
- package/tsOutputs/test-listener/execution-process/entities-mapper.js +11 -14
- package/tsOutputs/test-listener/execution-process/entities-mapper.js.map +1 -1
- package/tsOutputs/test-listener/execution-process/execution-service-proxy.js +54 -72
- package/tsOutputs/test-listener/execution-process/execution-service-proxy.js.map +1 -1
- package/tsOutputs/test-listener/execution-process/index.js +26 -26
- package/tsOutputs/test-listener/execution-process/index.js.map +1 -1
- package/tsOutputs/test-listener/factory.js +140 -175
- package/tsOutputs/test-listener/factory.js.map +1 -1
- package/tsOutputs/test-listener/footprints-process/footprints-service-proxy.js +17 -34
- package/tsOutputs/test-listener/footprints-process/footprints-service-proxy.js.map +1 -1
- package/tsOutputs/test-listener/footprints-process/index.js +53 -58
- package/tsOutputs/test-listener/footprints-process/index.js.map +1 -1
- package/tsOutputs/test-listener/footprints-process/istanbul-to-footprints-base.js +49 -50
- package/tsOutputs/test-listener/footprints-process/istanbul-to-footprints-base.js.map +1 -1
- package/tsOutputs/test-listener/footprints-process/istanbul-to-footprints-v3.js +98 -117
- package/tsOutputs/test-listener/footprints-process/istanbul-to-footprints-v3.js.map +1 -1
- package/tsOutputs/test-listener/footprints-process/ts-node-hits-collector.js +57 -141
- package/tsOutputs/test-listener/footprints-process/ts-node-hits-collector.js.map +1 -1
- package/tsOutputs/test-listener/integrations/SlGulp.js +25 -26
- package/tsOutputs/test-listener/integrations/SlGulp.js.map +1 -1
- package/tsOutputs/test-listener/logs-process/index.js +30 -35
- package/tsOutputs/test-listener/logs-process/index.js.map +1 -1
- package/tsOutputs/test-listener/logs-process/log-service-proxy.js +8 -25
- package/tsOutputs/test-listener/logs-process/log-service-proxy.js.map +1 -1
- package/tsOutputs/test-listener/nyc-report-executor-fpv6.js +53 -110
- package/tsOutputs/test-listener/nyc-report-executor-fpv6.js.map +1 -1
- package/tsOutputs/test-listener/nyc-report-executor.js +48 -85
- package/tsOutputs/test-listener/nyc-report-executor.js.map +1 -1
- package/tsOutputs/test-listener/otel-agent-loader.js +30 -33
- package/tsOutputs/test-listener/otel-agent-loader.js.map +1 -1
- package/tsOutputs/test-listener/queue.js +18 -36
- package/tsOutputs/test-listener/queue.js.map +1 -1
- package/tsOutputs/test-listener/remote-agent.js +97 -223
- package/tsOutputs/test-listener/remote-agent.js.map +1 -1
- package/tsOutputs/test-listener/resolvers/AppNameResolver.js +8 -25
- package/tsOutputs/test-listener/resolvers/AppNameResolver.js.map +1 -1
- package/tsOutputs/test-listener/resolvers/ArgumentResolver.js +11 -12
- package/tsOutputs/test-listener/resolvers/ArgumentResolver.js.map +1 -1
- package/tsOutputs/test-listener/resolvers/BuildResolver.js +8 -25
- package/tsOutputs/test-listener/resolvers/BuildResolver.js.map +1 -1
- package/tsOutputs/test-listener/resolvers/BuildSessionIdFileResolver.js +8 -25
- package/tsOutputs/test-listener/resolvers/BuildSessionIdFileResolver.js.map +1 -1
- package/tsOutputs/test-listener/resolvers/BuildSessionIdResolver.js +8 -25
- package/tsOutputs/test-listener/resolvers/BuildSessionIdResolver.js.map +1 -1
- package/tsOutputs/test-listener/resolvers/ProxyResolver.js +8 -25
- package/tsOutputs/test-listener/resolvers/ProxyResolver.js.map +1 -1
- package/tsOutputs/test-listener/resolvers/TokenResolver.js +8 -25
- package/tsOutputs/test-listener/resolvers/TokenResolver.js.map +1 -1
- package/tsOutputs/test-listener/state-tracker-process/index.js +54 -74
- package/tsOutputs/test-listener/state-tracker-process/index.js.map +1 -1
- package/tsOutputs/test-listener/state-tracker-process/state-tracker-proxy.js +18 -37
- package/tsOutputs/test-listener/state-tracker-process/state-tracker-proxy.js.map +1 -1
- package/tsOutputs/test-listener/test-recommendation-handler.js +66 -109
- package/tsOutputs/test-listener/test-recommendation-handler.js.map +1 -1
- package/tsOutputs/test-listener/upload-report-handler.js +33 -35
- package/tsOutputs/test-listener/upload-report-handler.js.map +1 -1
- package/tsOutputs/test-listener/utils.js +13 -14
- package/tsOutputs/test-listener/utils.js.map +1 -1
- package/tsOutputs/test-listener/uuid.js +7 -10
- package/tsOutputs/test-listener/uuid.js.map +1 -1
- package/tsOutputs/test-listener/wait-for-multiple-callbacks.js +17 -19
- package/tsOutputs/test-listener/wait-for-multiple-callbacks.js.map +1 -1
- package/tsOutputs/test-listener/watchdog.js +32 -51
- package/tsOutputs/test-listener/watchdog.js.map +1 -1
- package/tsOutputs/build-scanner/mappings/scm-file-fixer.js +0 -96
- package/tsOutputs/build-scanner/mappings/scm-file-fixer.js.map +0 -1
|
@@ -27189,14 +27189,14 @@ arguments[4][160][0].apply(exports,arguments)
|
|
|
27189
27189
|
}
|
|
27190
27190
|
});
|
|
27191
27191
|
|
|
27192
|
-
},{"./lib/browser-agent":
|
|
27192
|
+
},{"./lib/browser-agent":221,"./lib/config":227,"./lib/configuration-override":229,"./lib/events-bridge":241,"./lib/feature-detection":244,"./lib/logger/log-factory":249}],218:[function(require,module,exports){
|
|
27193
27193
|
(function (factory) {
|
|
27194
27194
|
if (typeof module === "object" && typeof module.exports === "object") {
|
|
27195
27195
|
var v = factory(require, exports);
|
|
27196
27196
|
if (v !== undefined) module.exports = v;
|
|
27197
27197
|
}
|
|
27198
27198
|
else if (typeof define === "function" && define.amd) {
|
|
27199
|
-
define(["require", "exports", "./state-tracker", "../../common/state-tracker-fpv6", "../../common/no-op-state-tracker", "./test-state-helper", "./entities/environment-data", "./services/http/http-client", "./services/json/json-client", "./istanbul-to-footprints-convertor", "./istanbul-to-footprints-convertor-v3", "./services/light-backend-proxy", "./footprints-queue-sender", "./watchdog", "./code-coverage-manager", "./
|
|
27199
|
+
define(["require", "exports", "./state-tracker", "../../common/state-tracker-fpv6", "../../common/no-op-state-tracker", "./test-state-helper", "./entities/environment-data", "./services/http/http-client", "./services/json/json-client", "./istanbul-to-footprints-convertor", "./istanbul-to-footprints-convertor-v3", "./services/light-backend-proxy", "./footprints-queue-sender", "./watchdog", "./code-coverage-manager", "./queues/footprints-items-queue", "./configuration-manager", "./logger/log-factory", "./basic-uuid-generator", "./window-timers-wrapper", "./color-cookie-handler", "./queues/queue", "./delegate", "./services/json/json-client-adapter", "./browser-events-process", "./browser-hits-converter", "./browser-agent-instance-fpv6", "./browser-hits-collector", "./sl-mapping-loader", "./services/json/noop-json-client", "../../common/agent-instance-data", "../../common/agent-events/agent-events-contracts", "../../common/agent-events/cockpit-notifier", "../../common/http/backend-proxy", "../../common/config-process/config-loader", "../../common/footprints-process-v6/relative-path-resolver", "../../common/footprints-process-v6/collector-footprints-buffer", "../../common/footprints-process-v6/index", "../../common/footprints-process-v6/collector-footprints-process", "../../common/config-process", "../../common/config-process/no-op-config-process", "../../common/system-date", "../../common/footprints-process-v6/browser-footprints-buffer"], factory);
|
|
27200
27200
|
}
|
|
27201
27201
|
})(function (require, exports) {
|
|
27202
27202
|
"use strict";
|
|
@@ -27215,7 +27215,6 @@ arguments[4][160][0].apply(exports,arguments)
|
|
|
27215
27215
|
const footprints_queue_sender_1 = require("./footprints-queue-sender");
|
|
27216
27216
|
const watchdog_1 = require("./watchdog");
|
|
27217
27217
|
const code_coverage_manager_1 = require("./code-coverage-manager");
|
|
27218
|
-
const browser_agent_instance_1 = require("./browser-agent-instance");
|
|
27219
27218
|
const footprints_items_queue_1 = require("./queues/footprints-items-queue");
|
|
27220
27219
|
const configuration_manager_1 = require("./configuration-manager");
|
|
27221
27220
|
const log_factory_1 = require("./logger/log-factory");
|
|
@@ -27266,13 +27265,7 @@ arguments[4][160][0].apply(exports,arguments)
|
|
|
27266
27265
|
if (basicConfiguration.collectorUrl) {
|
|
27267
27266
|
return this.createFootprintsOnlyInstance(window, featureDetection, configuration, agentInstanceData, logger, agentConfiguration, backendProxy, eventProcess, colorCookieHandler);
|
|
27268
27267
|
}
|
|
27269
|
-
|
|
27270
|
-
return this.createBrowserAgentInstanceFPV6(window, featureDetection, configuration, agentInstanceData, logger, agentConfiguration, backendProxy, eventProcess, colorCookieHandler);
|
|
27271
|
-
}
|
|
27272
|
-
const stateTracker = AgentFactory.createStateTracker(configuration, window, featureDetection, agentInstanceData);
|
|
27273
|
-
const footprintsQueueSender = AgentFactory.createFootprintsQueueSender(window, featureDetection, configuration, stateTracker, agentInstanceData, backendProxy);
|
|
27274
|
-
const agent = new browser_agent_instance_1.BrowserAgentInstance(logger, footprintsQueueSender, configuration, window, colorCookieHandler, stateTracker, eventProcess, agentConfiguration);
|
|
27275
|
-
return agent;
|
|
27268
|
+
return this.createBrowserAgentInstanceFPV6(window, featureDetection, configuration, agentInstanceData, logger, agentConfiguration, backendProxy, eventProcess, colorCookieHandler);
|
|
27276
27269
|
}
|
|
27277
27270
|
static notifyAgentStart(agentConfiguration, agentInstanceData, logger, backendProxy, basicConfiguration) {
|
|
27278
27271
|
if (basicConfiguration.collectorUrl) {
|
|
@@ -27473,7 +27466,7 @@ arguments[4][160][0].apply(exports,arguments)
|
|
|
27473
27466
|
exports.AgentFactory = AgentFactory;
|
|
27474
27467
|
});
|
|
27475
27468
|
|
|
27476
|
-
},{"../../common/agent-events/agent-events-contracts":
|
|
27469
|
+
},{"../../common/agent-events/agent-events-contracts":267,"../../common/agent-events/cockpit-notifier":274,"../../common/agent-instance-data":280,"../../common/config-process":284,"../../common/config-process/config-loader":281,"../../common/config-process/no-op-config-process":285,"../../common/footprints-process-v6/browser-footprints-buffer":297,"../../common/footprints-process-v6/collector-footprints-buffer":299,"../../common/footprints-process-v6/collector-footprints-process":300,"../../common/footprints-process-v6/index":304,"../../common/footprints-process-v6/relative-path-resolver":306,"../../common/http/backend-proxy":308,"../../common/no-op-state-tracker":314,"../../common/state-tracker-fpv6":316,"../../common/system-date":318,"./basic-uuid-generator":219,"./browser-agent-instance-fpv6":220,"./browser-events-process":222,"./browser-hits-collector":223,"./browser-hits-converter":224,"./code-coverage-manager":225,"./color-cookie-handler":226,"./configuration-manager":228,"./delegate":231,"./entities/environment-data":234,"./footprints-queue-sender":245,"./istanbul-to-footprints-convertor":247,"./istanbul-to-footprints-convertor-v3":246,"./logger/log-factory":249,"./queues/footprints-items-queue":251,"./queues/queue":252,"./services/http/http-client":253,"./services/json/json-client":257,"./services/json/json-client-adapter":256,"./services/json/noop-json-client":258,"./services/light-backend-proxy":259,"./sl-mapping-loader":260,"./state-tracker":261,"./test-state-helper":262,"./watchdog":264,"./window-timers-wrapper":265}],219:[function(require,module,exports){
|
|
27477
27470
|
(function (factory) {
|
|
27478
27471
|
if (typeof module === "object" && typeof module.exports === "object") {
|
|
27479
27472
|
var v = factory(require, exports);
|
|
@@ -27514,23 +27507,41 @@ var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, ge
|
|
|
27514
27507
|
if (v !== undefined) module.exports = v;
|
|
27515
27508
|
}
|
|
27516
27509
|
else if (typeof define === "function" && define.amd) {
|
|
27517
|
-
define(["require", "exports", "./
|
|
27510
|
+
define(["require", "exports", "./feature-detection", "../../common/http/sl-routes", "./config", "./basic-uuid-generator", "../../common/agent-events/cockpit-notifier"], factory);
|
|
27518
27511
|
}
|
|
27519
27512
|
})(function (require, exports) {
|
|
27520
27513
|
"use strict";
|
|
27521
27514
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
27522
27515
|
exports.BrowserAgentInstanceFpv6 = void 0;
|
|
27523
|
-
const
|
|
27524
|
-
|
|
27516
|
+
const feature_detection_1 = require("./feature-detection");
|
|
27517
|
+
const sl_routes_1 = require("../../common/http/sl-routes");
|
|
27518
|
+
const config_1 = require("./config");
|
|
27519
|
+
const basic_uuid_generator_1 = require("./basic-uuid-generator");
|
|
27520
|
+
const cockpit_notifier_1 = require("../../common/agent-events/cockpit-notifier");
|
|
27521
|
+
class BrowserAgentInstanceFpv6 {
|
|
27525
27522
|
constructor(logger, footprintsProcess, configuration, window, colorCookieHandler, stateTracker, eventsProcess, agentConfig, flushFootprintsWatchdog, slMappingLoader) {
|
|
27526
|
-
|
|
27523
|
+
this.logger = logger;
|
|
27524
|
+
this.configuration = configuration;
|
|
27525
|
+
this.window = window;
|
|
27526
|
+
this.stateTracker = stateTracker;
|
|
27527
|
+
this.eventsProcess = eventsProcess;
|
|
27528
|
+
this._isStarted = false;
|
|
27529
|
+
if (logger == null)
|
|
27530
|
+
throw new Error('\'logger\' cannot be null or undefined');
|
|
27531
|
+
if (configuration == null)
|
|
27532
|
+
throw new Error('\'configuration\' cannot be null or undefined');
|
|
27533
|
+
if (window == null)
|
|
27534
|
+
throw new Error('\'window\' cannot be null or undefined');
|
|
27535
|
+
if (eventsProcess == null)
|
|
27536
|
+
throw new Error('\'eventsProcess\' cannot be null or undefined');
|
|
27537
|
+
if (agentConfig == null)
|
|
27538
|
+
throw new Error('\'agentConfig\' cannot be null or undefined');
|
|
27539
|
+
logger.info('Sealights ' + config_1.SL_AGENT_TYPE + ' version ' + config_1.SL_AGENT_VERSION + ' has been loaded');
|
|
27527
27540
|
this.footprintsProcess = footprintsProcess;
|
|
27528
27541
|
this.flushFootprintsWatchdog = flushFootprintsWatchdog;
|
|
27529
27542
|
this.slMappingLoader = slMappingLoader;
|
|
27530
27543
|
this.stateTracker.on('test_identifier_changed', this.footprintsProcess.handleTestIdChanged.bind(this.footprintsProcess));
|
|
27531
27544
|
}
|
|
27532
|
-
delegateEvents() {
|
|
27533
|
-
}
|
|
27534
27545
|
startFootprintsProcess() {
|
|
27535
27546
|
this.flushFootprintsWatchdog.addOnAlarmListener(this.footprintsProcess.flushCurrentFootprints.bind(this.footprintsProcess));
|
|
27536
27547
|
this.flushFootprintsWatchdog.start();
|
|
@@ -27560,89 +27571,35 @@ var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, ge
|
|
|
27560
27571
|
}
|
|
27561
27572
|
});
|
|
27562
27573
|
}
|
|
27563
|
-
}
|
|
27564
|
-
exports.BrowserAgentInstanceFpv6 = BrowserAgentInstanceFpv6;
|
|
27565
|
-
});
|
|
27566
|
-
|
|
27567
|
-
},{"./browser-agent-instance":221}],221:[function(require,module,exports){
|
|
27568
|
-
var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, generator) {
|
|
27569
|
-
function adopt(value) { return value instanceof P ? value : new P(function (resolve) { resolve(value); }); }
|
|
27570
|
-
return new (P || (P = Promise))(function (resolve, reject) {
|
|
27571
|
-
function fulfilled(value) { try { step(generator.next(value)); } catch (e) { reject(e); } }
|
|
27572
|
-
function rejected(value) { try { step(generator["throw"](value)); } catch (e) { reject(e); } }
|
|
27573
|
-
function step(result) { result.done ? resolve(result.value) : adopt(result.value).then(fulfilled, rejected); }
|
|
27574
|
-
step((generator = generator.apply(thisArg, _arguments || [])).next());
|
|
27575
|
-
});
|
|
27576
|
-
};
|
|
27577
|
-
(function (factory) {
|
|
27578
|
-
if (typeof module === "object" && typeof module.exports === "object") {
|
|
27579
|
-
var v = factory(require, exports);
|
|
27580
|
-
if (v !== undefined) module.exports = v;
|
|
27581
|
-
}
|
|
27582
|
-
else if (typeof define === "function" && define.amd) {
|
|
27583
|
-
define(["require", "exports", "./config", "./karma-handler", "./basic-uuid-generator", "../../common/agent-events/cockpit-notifier"], factory);
|
|
27584
|
-
}
|
|
27585
|
-
})(function (require, exports) {
|
|
27586
|
-
"use strict";
|
|
27587
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
27588
|
-
exports.BrowserAgentInstance = void 0;
|
|
27589
|
-
const config_1 = require("./config");
|
|
27590
|
-
const karma_handler_1 = require("./karma-handler");
|
|
27591
|
-
const basic_uuid_generator_1 = require("./basic-uuid-generator");
|
|
27592
|
-
const cockpit_notifier_1 = require("../../common/agent-events/cockpit-notifier");
|
|
27593
|
-
class BrowserAgentInstance {
|
|
27594
|
-
constructor(logger, footprintsQueueSender, configuration, window, colorCookieHandler, stateTracker, eventsProcess, agentConfig) {
|
|
27595
|
-
this.logger = logger;
|
|
27596
|
-
this.footprintsQueueSender = footprintsQueueSender;
|
|
27597
|
-
this.configuration = configuration;
|
|
27598
|
-
this.window = window;
|
|
27599
|
-
this.colorCookieHandler = colorCookieHandler;
|
|
27600
|
-
this.stateTracker = stateTracker;
|
|
27601
|
-
this.eventsProcess = eventsProcess;
|
|
27602
|
-
this.agentConfig = agentConfig;
|
|
27603
|
-
this._isStarted = false;
|
|
27604
|
-
if (logger == null)
|
|
27605
|
-
throw new Error('\'logger\' cannot be null or undefined');
|
|
27606
|
-
if (configuration == null)
|
|
27607
|
-
throw new Error('\'configuration\' cannot be null or undefined');
|
|
27608
|
-
if (window == null)
|
|
27609
|
-
throw new Error('\'window\' cannot be null or undefined');
|
|
27610
|
-
if (eventsProcess == null)
|
|
27611
|
-
throw new Error('\'eventsProcess\' cannot be null or undefined');
|
|
27612
|
-
if (agentConfig == null)
|
|
27613
|
-
throw new Error('\'agentConfig\' cannot be null or undefined');
|
|
27614
|
-
logger.info('Sealights ' + config_1.SL_AGENT_TYPE + ' version ' + config_1.SL_AGENT_VERSION + ' has been loaded');
|
|
27615
|
-
this.delegateEvents();
|
|
27616
|
-
}
|
|
27617
|
-
delegateEvents(footprintsProcess) {
|
|
27618
|
-
this.stateTracker.addOnColorChangedListener(() => {
|
|
27619
|
-
const color = this.stateTracker.getCurrentColor();
|
|
27620
|
-
this.colorCookieHandler.handleColorChange(color);
|
|
27621
|
-
});
|
|
27622
|
-
}
|
|
27623
27574
|
static getExecutionId() {
|
|
27624
|
-
if (!
|
|
27575
|
+
if (!BrowserAgentInstanceFpv6.executionId) {
|
|
27625
27576
|
const execId = basic_uuid_generator_1.BasicUuidGenerator.createUuid();
|
|
27626
|
-
|
|
27577
|
+
BrowserAgentInstanceFpv6.executionId = execId;
|
|
27627
27578
|
}
|
|
27628
|
-
return
|
|
27579
|
+
return BrowserAgentInstanceFpv6.executionId;
|
|
27629
27580
|
}
|
|
27630
|
-
|
|
27631
|
-
this
|
|
27632
|
-
|
|
27633
|
-
|
|
27634
|
-
|
|
27635
|
-
|
|
27636
|
-
|
|
27637
|
-
|
|
27638
|
-
|
|
27639
|
-
}
|
|
27640
|
-
this.
|
|
27641
|
-
this.
|
|
27642
|
-
|
|
27581
|
+
registerShutdownHook() {
|
|
27582
|
+
const context = this;
|
|
27583
|
+
const oldUnload = this.window.onunload;
|
|
27584
|
+
this.window.onunload = function () {
|
|
27585
|
+
if (oldUnload) {
|
|
27586
|
+
oldUnload.call(arguments);
|
|
27587
|
+
}
|
|
27588
|
+
context.beaconSendAllFootprints();
|
|
27589
|
+
context.stop();
|
|
27590
|
+
};
|
|
27591
|
+
const oldBeforeUnload = this.window.onbeforeunload;
|
|
27592
|
+
this.window.onbeforeunload = function () {
|
|
27593
|
+
if (oldBeforeUnload) {
|
|
27594
|
+
oldBeforeUnload.call(arguments);
|
|
27595
|
+
}
|
|
27596
|
+
context.beaconSendAllFootprints();
|
|
27597
|
+
context.stop();
|
|
27598
|
+
};
|
|
27643
27599
|
}
|
|
27644
|
-
|
|
27645
|
-
this.
|
|
27600
|
+
setCurrentTestIdentifier(testIdentifier) {
|
|
27601
|
+
this.logger.info('Agent is setting current test identifier. testIdentifier:\'' + testIdentifier + '\'.');
|
|
27602
|
+
this.stateTracker.setCurrentTestIdentifier(testIdentifier);
|
|
27646
27603
|
}
|
|
27647
27604
|
stop() {
|
|
27648
27605
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -27655,59 +27612,53 @@ var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, ge
|
|
|
27655
27612
|
this._isStarted = false;
|
|
27656
27613
|
});
|
|
27657
27614
|
}
|
|
27658
|
-
|
|
27659
|
-
this.
|
|
27660
|
-
|
|
27661
|
-
|
|
27662
|
-
this.
|
|
27663
|
-
|
|
27664
|
-
}
|
|
27665
|
-
endTest() {
|
|
27666
|
-
this.logger.info('Test \'' + this.stateTracker.getCurrentTestIdentifier() + '\' ended, sending remaining footprints');
|
|
27667
|
-
this.submitFootprints();
|
|
27668
|
-
this.stateTracker.setCurrentTestIdentifier(null);
|
|
27669
|
-
}
|
|
27670
|
-
submitFootprints() {
|
|
27671
|
-
this.footprintsQueueSender.sendAll();
|
|
27672
|
-
}
|
|
27673
|
-
submitFootprintsSync() {
|
|
27674
|
-
try {
|
|
27675
|
-
this.footprintsQueueSender.sendAllSync();
|
|
27676
|
-
}
|
|
27677
|
-
catch (e) {
|
|
27678
|
-
this.logger.error(`Failed to submit footprint sync '${e.message}'`);
|
|
27615
|
+
start() {
|
|
27616
|
+
if (this._isStarted)
|
|
27617
|
+
return;
|
|
27618
|
+
this.logger.info('Agent is starting. registerShutdownHook:' + this.configuration.registerShutdownHook);
|
|
27619
|
+
if (this.configuration.registerShutdownHook) {
|
|
27620
|
+
this.registerShutdownHook();
|
|
27679
27621
|
}
|
|
27622
|
+
this.eventsProcess.start();
|
|
27623
|
+
this.startFootprintsProcess();
|
|
27624
|
+
this._isStarted = true;
|
|
27680
27625
|
}
|
|
27681
|
-
|
|
27682
|
-
return this.
|
|
27626
|
+
getInstanceBSID() {
|
|
27627
|
+
return this.configuration.buildSessionId;
|
|
27683
27628
|
}
|
|
27684
|
-
|
|
27685
|
-
|
|
27686
|
-
|
|
27687
|
-
|
|
27688
|
-
if (
|
|
27689
|
-
|
|
27629
|
+
getAllRemainingFootprints() {
|
|
27630
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
27631
|
+
let footprintsData = undefined;
|
|
27632
|
+
const packet = yield this.getCurrentFootprints();
|
|
27633
|
+
if (typeof packet === 'object' && packet !== null && Object.keys(packet).length) {
|
|
27634
|
+
footprintsData = {
|
|
27635
|
+
bsid: this.getInstanceBSID(),
|
|
27636
|
+
packet: packet
|
|
27637
|
+
};
|
|
27690
27638
|
}
|
|
27691
|
-
|
|
27692
|
-
};
|
|
27693
|
-
|
|
27694
|
-
|
|
27695
|
-
|
|
27696
|
-
|
|
27639
|
+
return footprintsData;
|
|
27640
|
+
});
|
|
27641
|
+
}
|
|
27642
|
+
beaconSendAllFootprints() {
|
|
27643
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
27644
|
+
const featureDetection = new feature_detection_1.FeatureDetection(this.window);
|
|
27645
|
+
const footprintsData = yield this.getAllRemainingFootprints();
|
|
27646
|
+
if (featureDetection.hasBeaconAPI() && footprintsData) {
|
|
27647
|
+
const url = sl_routes_1.SLRoutes.footprintsToCollector(footprintsData.bsid);
|
|
27648
|
+
this.window.navigator.sendBeacon(url, JSON.stringify(footprintsData.packet));
|
|
27697
27649
|
}
|
|
27698
|
-
|
|
27699
|
-
|
|
27700
|
-
|
|
27701
|
-
|
|
27702
|
-
|
|
27703
|
-
|
|
27704
|
-
}
|
|
27650
|
+
});
|
|
27651
|
+
}
|
|
27652
|
+
getCurrentFootprints() {
|
|
27653
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
27654
|
+
return yield this.footprintsProcess.getBufferPacket();
|
|
27655
|
+
});
|
|
27705
27656
|
}
|
|
27706
27657
|
}
|
|
27707
|
-
exports.
|
|
27658
|
+
exports.BrowserAgentInstanceFpv6 = BrowserAgentInstanceFpv6;
|
|
27708
27659
|
});
|
|
27709
27660
|
|
|
27710
|
-
},{"../../common/agent-events/cockpit-notifier":
|
|
27661
|
+
},{"../../common/agent-events/cockpit-notifier":274,"../../common/http/sl-routes":313,"./basic-uuid-generator":219,"./config":227,"./feature-detection":244}],221:[function(require,module,exports){
|
|
27711
27662
|
var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, generator) {
|
|
27712
27663
|
function adopt(value) { return value instanceof P ? value : new P(function (resolve) { resolve(value); }); }
|
|
27713
27664
|
return new (P || (P = Promise))(function (resolve, reject) {
|
|
@@ -27799,7 +27750,7 @@ var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, ge
|
|
|
27799
27750
|
exports.BrowserAgent = BrowserAgent;
|
|
27800
27751
|
});
|
|
27801
27752
|
|
|
27802
|
-
},{"./agent-factory":218,"./events-bridge":
|
|
27753
|
+
},{"./agent-factory":218,"./events-bridge":241,"./events-bridge/context-message-manager":237,"./logger/log-factory":249}],222:[function(require,module,exports){
|
|
27803
27754
|
var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, generator) {
|
|
27804
27755
|
function adopt(value) { return value instanceof P ? value : new P(function (resolve) { resolve(value); }); }
|
|
27805
27756
|
return new (P || (P = Promise))(function (resolve, reject) {
|
|
@@ -27846,7 +27797,7 @@ var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, ge
|
|
|
27846
27797
|
exports.BrowserEventsProcess = BrowserEventsProcess;
|
|
27847
27798
|
});
|
|
27848
27799
|
|
|
27849
|
-
},{"../../common/events-process":
|
|
27800
|
+
},{"../../common/events-process":295}],223:[function(require,module,exports){
|
|
27850
27801
|
(function (factory) {
|
|
27851
27802
|
if (typeof module === "object" && typeof module.exports === "object") {
|
|
27852
27803
|
var v = factory(require, exports);
|
|
@@ -27877,7 +27828,7 @@ var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, ge
|
|
|
27877
27828
|
exports.BrowserHitsCollector = BrowserHitsCollector;
|
|
27878
27829
|
});
|
|
27879
27830
|
|
|
27880
|
-
},{"../../common/footprints-process-v6/hits-collector":
|
|
27831
|
+
},{"../../common/footprints-process-v6/hits-collector":302}],224:[function(require,module,exports){
|
|
27881
27832
|
(function (factory) {
|
|
27882
27833
|
if (typeof module === "object" && typeof module.exports === "object") {
|
|
27883
27834
|
var v = factory(require, exports);
|
|
@@ -27903,7 +27854,7 @@ var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, ge
|
|
|
27903
27854
|
exports.BrowserHitsConverter = BrowserHitsConverter;
|
|
27904
27855
|
});
|
|
27905
27856
|
|
|
27906
|
-
},{"../../common/footprints-process-v6/base-browser-hits-converter":
|
|
27857
|
+
},{"../../common/footprints-process-v6/base-browser-hits-converter":296}],225:[function(require,module,exports){
|
|
27907
27858
|
(function (factory) {
|
|
27908
27859
|
if (typeof module === "object" && typeof module.exports === "object") {
|
|
27909
27860
|
var v = factory(require, exports);
|
|
@@ -28012,7 +27963,7 @@ var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, ge
|
|
|
28012
27963
|
exports.CodeCoverageManager = CodeCoverageManager;
|
|
28013
27964
|
});
|
|
28014
27965
|
|
|
28015
|
-
},{}],
|
|
27966
|
+
},{}],226:[function(require,module,exports){
|
|
28016
27967
|
(function (factory) {
|
|
28017
27968
|
if (typeof module === "object" && typeof module.exports === "object") {
|
|
28018
27969
|
var v = factory(require, exports);
|
|
@@ -28053,7 +28004,7 @@ var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, ge
|
|
|
28053
28004
|
exports.ColorCookieHandler = ColorCookieHandler;
|
|
28054
28005
|
});
|
|
28055
28006
|
|
|
28056
|
-
},{"./state-tracker":
|
|
28007
|
+
},{"./state-tracker":261}],227:[function(require,module,exports){
|
|
28057
28008
|
(function (factory) {
|
|
28058
28009
|
if (typeof module === "object" && typeof module.exports === "object") {
|
|
28059
28010
|
var v = factory(require, exports);
|
|
@@ -28066,11 +28017,11 @@ var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, ge
|
|
|
28066
28017
|
"use strict";
|
|
28067
28018
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
28068
28019
|
exports.SL_AGENT_TYPE = exports.SL_AGENT_VERSION = void 0;
|
|
28069
|
-
exports.SL_AGENT_VERSION = '6.1.
|
|
28020
|
+
exports.SL_AGENT_VERSION = '6.1.447';
|
|
28070
28021
|
exports.SL_AGENT_TYPE = 'browser';
|
|
28071
28022
|
});
|
|
28072
28023
|
|
|
28073
|
-
},{}],
|
|
28024
|
+
},{}],228:[function(require,module,exports){
|
|
28074
28025
|
(function (factory) {
|
|
28075
28026
|
if (typeof module === "object" && typeof module.exports === "object") {
|
|
28076
28027
|
var v = factory(require, exports);
|
|
@@ -28207,7 +28158,7 @@ var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, ge
|
|
|
28207
28158
|
ConfigurationManager.LAB_ID_KEY = '__sl.labId__';
|
|
28208
28159
|
});
|
|
28209
28160
|
|
|
28210
|
-
},{"./entities/configuration-data":
|
|
28161
|
+
},{"./entities/configuration-data":233}],229:[function(require,module,exports){
|
|
28211
28162
|
(function (factory) {
|
|
28212
28163
|
if (typeof module === "object" && typeof module.exports === "object") {
|
|
28213
28164
|
var v = factory(require, exports);
|
|
@@ -28258,7 +28209,7 @@ var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, ge
|
|
|
28258
28209
|
exports.ConfigurationOverride = ConfigurationOverride;
|
|
28259
28210
|
});
|
|
28260
28211
|
|
|
28261
|
-
},{"./logger/console-logger":
|
|
28212
|
+
},{"./logger/console-logger":248,"events":168}],230:[function(require,module,exports){
|
|
28262
28213
|
(function (factory) {
|
|
28263
28214
|
if (typeof module === "object" && typeof module.exports === "object") {
|
|
28264
28215
|
var v = factory(require, exports);
|
|
@@ -28278,7 +28229,7 @@ var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, ge
|
|
|
28278
28229
|
})(ExecutionStatus = exports.ExecutionStatus || (exports.ExecutionStatus = {}));
|
|
28279
28230
|
});
|
|
28280
28231
|
|
|
28281
|
-
},{}],
|
|
28232
|
+
},{}],231:[function(require,module,exports){
|
|
28282
28233
|
(function (factory) {
|
|
28283
28234
|
if (typeof module === "object" && typeof module.exports === "object") {
|
|
28284
28235
|
var v = factory(require, exports);
|
|
@@ -28312,7 +28263,7 @@ var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, ge
|
|
|
28312
28263
|
exports.Delegate = Delegate;
|
|
28313
28264
|
});
|
|
28314
28265
|
|
|
28315
|
-
},{}],
|
|
28266
|
+
},{}],232:[function(require,module,exports){
|
|
28316
28267
|
(function (factory) {
|
|
28317
28268
|
if (typeof module === "object" && typeof module.exports === "object") {
|
|
28318
28269
|
var v = factory(require, exports);
|
|
@@ -28330,7 +28281,7 @@ var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, ge
|
|
|
28330
28281
|
exports.BasicConfigurationData = BasicConfigurationData;
|
|
28331
28282
|
});
|
|
28332
28283
|
|
|
28333
|
-
},{}],
|
|
28284
|
+
},{}],233:[function(require,module,exports){
|
|
28334
28285
|
(function (factory) {
|
|
28335
28286
|
if (typeof module === "object" && typeof module.exports === "object") {
|
|
28336
28287
|
var v = factory(require, exports);
|
|
@@ -28354,7 +28305,7 @@ var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, ge
|
|
|
28354
28305
|
exports.ConfigurationData = ConfigurationData;
|
|
28355
28306
|
});
|
|
28356
28307
|
|
|
28357
|
-
},{"./basic-configuation-data":
|
|
28308
|
+
},{"./basic-configuation-data":232}],234:[function(require,module,exports){
|
|
28358
28309
|
(function (factory) {
|
|
28359
28310
|
if (typeof module === "object" && typeof module.exports === "object") {
|
|
28360
28311
|
var v = factory(require, exports);
|
|
@@ -28386,7 +28337,7 @@ var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, ge
|
|
|
28386
28337
|
exports.EnvironmentData = EnvironmentData;
|
|
28387
28338
|
});
|
|
28388
28339
|
|
|
28389
|
-
},{"../config":
|
|
28340
|
+
},{"../config":227}],235:[function(require,module,exports){
|
|
28390
28341
|
(function (factory) {
|
|
28391
28342
|
if (typeof module === "object" && typeof module.exports === "object") {
|
|
28392
28343
|
var v = factory(require, exports);
|
|
@@ -28404,7 +28355,7 @@ var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, ge
|
|
|
28404
28355
|
exports.FootprintsItemData = FootprintsItemData;
|
|
28405
28356
|
});
|
|
28406
28357
|
|
|
28407
|
-
},{}],
|
|
28358
|
+
},{}],236:[function(require,module,exports){
|
|
28408
28359
|
(function (factory) {
|
|
28409
28360
|
if (typeof module === "object" && typeof module.exports === "object") {
|
|
28410
28361
|
var v = factory(require, exports);
|
|
@@ -28447,7 +28398,7 @@ var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, ge
|
|
|
28447
28398
|
exports.relativePathRegex = new RegExp('^(?!www\\.|(?:http|ftp)s?://|[A-Za-z]:\\\\|//).*');
|
|
28448
28399
|
});
|
|
28449
28400
|
|
|
28450
|
-
},{}],
|
|
28401
|
+
},{}],237:[function(require,module,exports){
|
|
28451
28402
|
(function (factory) {
|
|
28452
28403
|
if (typeof module === "object" && typeof module.exports === "object") {
|
|
28453
28404
|
var v = factory(require, exports);
|
|
@@ -28526,7 +28477,7 @@ var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, ge
|
|
|
28526
28477
|
ContextMessageManager.DEFAULT_SEND_INTERVAL = 60 * 1000;
|
|
28527
28478
|
});
|
|
28528
28479
|
|
|
28529
|
-
},{"../../../common/agent-events/agent-events-contracts":
|
|
28480
|
+
},{"../../../common/agent-events/agent-events-contracts":267,"../../../common/agent-events/cockpit-notifier":274,"../../../common/system-date":318}],238:[function(require,module,exports){
|
|
28530
28481
|
(function (factory) {
|
|
28531
28482
|
if (typeof module === "object" && typeof module.exports === "object") {
|
|
28532
28483
|
var v = factory(require, exports);
|
|
@@ -28559,8 +28510,8 @@ var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, ge
|
|
|
28559
28510
|
window.$Sealights.eventsBridge.getContext = () => (SlContext.getValue(api.createContextKey(SlConst.CONTEXT)));
|
|
28560
28511
|
window.$Sealights.eventsBridge.otel = true;
|
|
28561
28512
|
}
|
|
28562
|
-
addEventListener(SlConst.EVENTS.SET_BAGGAGE, ({ detail }) => setBaggageHandler(detail, contextMessageManager, withOpenTelemetry));
|
|
28563
|
-
addEventListener(SlConst.EVENTS.SET_CONTEXT, ({ detail }) => setContextHandler(detail, contextMessageManager, withOpenTelemetry));
|
|
28513
|
+
addEventListener(SlConst.EVENTS.SET_BAGGAGE, ({ detail }) => setBaggageHandler(detail, contextMessageManager, withOpenTelemetry, logger));
|
|
28514
|
+
addEventListener(SlConst.EVENTS.SET_CONTEXT, ({ detail }) => setContextHandler(detail, contextMessageManager, withOpenTelemetry, logger));
|
|
28564
28515
|
addEventListener(SlConst.EVENTS.REQUEST_AGENT_CONTEXT, () => {
|
|
28565
28516
|
dispatchEvent(new CustomEvent(SlConst.EVENTS.RESPONSE_AGENT_CONTEXT, {
|
|
28566
28517
|
detail: { components: window.$Sealights.components || {} },
|
|
@@ -28591,13 +28542,17 @@ var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, ge
|
|
|
28591
28542
|
}
|
|
28592
28543
|
}
|
|
28593
28544
|
exports.checkExistingContext = checkExistingContext;
|
|
28594
|
-
function setBaggageHandler(detail, contextMessageManager, withOpenTelemetry) {
|
|
28545
|
+
function setBaggageHandler(detail, contextMessageManager, withOpenTelemetry, logger) {
|
|
28595
28546
|
var _a, _b;
|
|
28596
|
-
|
|
28547
|
+
logger.info(`setBaggage: Received event "detail": ${JSON.stringify(detail, null, 4)}`);
|
|
28548
|
+
if (!detail) {
|
|
28549
|
+
logger.info(`Received setBaggage event with no detail, not changing baggage.`);
|
|
28597
28550
|
return;
|
|
28551
|
+
}
|
|
28598
28552
|
const sessionId = detail[SlConst.SL_SESSION_ID];
|
|
28599
28553
|
const testName = detail[SlConst.SL_TEST_NAME];
|
|
28600
28554
|
if (!(sessionId === null || sessionId === void 0 ? void 0 : sessionId.length) || !(testName === null || testName === void 0 ? void 0 : testName.length)) {
|
|
28555
|
+
logger.info(`Received setBaggage event with with missing testName/sessionId: testName=${testName} sessionId=${sessionId}`);
|
|
28601
28556
|
contextMessageManager.incrementContextEventValue(context_message_manager_1.CONTEXT_EVENTS_KEYS.WITHOUT_BAGGAGE, 1);
|
|
28602
28557
|
return;
|
|
28603
28558
|
}
|
|
@@ -28608,7 +28563,7 @@ var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, ge
|
|
|
28608
28563
|
if (withOpenTelemetry) {
|
|
28609
28564
|
SlContext = SlContext.setValue(api.createContextKey(SlConst.SL_BAGGAGE_HEADER), {
|
|
28610
28565
|
[SlConst.SL_SESSION_ID]: sessionId,
|
|
28611
|
-
[SlConst.SL_TEST_NAME]:
|
|
28566
|
+
[SlConst.SL_TEST_NAME]: encodeURIComponent(testName),
|
|
28612
28567
|
});
|
|
28613
28568
|
}
|
|
28614
28569
|
(_b = (_a = window.$SealightsAgent) === null || _a === void 0 ? void 0 : _a.setCurrentTestIdentifier) === null || _b === void 0 ? void 0 : _b.call(_a, `${sessionId}/${testName}`);
|
|
@@ -28616,10 +28571,13 @@ var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, ge
|
|
|
28616
28571
|
(0, utils_1.sendAckEvent)(detail);
|
|
28617
28572
|
}
|
|
28618
28573
|
exports.setBaggageHandler = setBaggageHandler;
|
|
28619
|
-
function setContextHandler(detail, contextMessageManager, withOpenTelemetry) {
|
|
28574
|
+
function setContextHandler(detail, contextMessageManager, withOpenTelemetry, logger) {
|
|
28620
28575
|
var _a;
|
|
28621
|
-
|
|
28576
|
+
logger.info(`setContext: Received event "detail": ${JSON.stringify(detail, null, 4)}`);
|
|
28577
|
+
if (!detail) {
|
|
28578
|
+
logger.info(`Received setContext event with no detail, not changing context.`);
|
|
28622
28579
|
return;
|
|
28580
|
+
}
|
|
28623
28581
|
contextMessageManager.incrementContextEventValue(context_message_manager_1.CONTEXT_EVENTS_KEYS.TOTAL, 1);
|
|
28624
28582
|
if ((0, utils_1.checkIsDiagnosisBaggage)(detail[SlConst.SL_BAGGAGE_HEADER])) {
|
|
28625
28583
|
contextMessageManager.incrementContextEventValue(context_message_manager_1.CONTEXT_EVENTS_KEYS.WITH_BAGGAGE, 1);
|
|
@@ -28657,7 +28615,7 @@ var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, ge
|
|
|
28657
28615
|
exports.deleteBaggageHandler = deleteBaggageHandler;
|
|
28658
28616
|
});
|
|
28659
28617
|
|
|
28660
|
-
},{"../../../common/agent-events/cockpit-notifier":
|
|
28618
|
+
},{"../../../common/agent-events/cockpit-notifier":274,"./const":236,"./context-message-manager":237,"./utils":243,"@opentelemetry/api":18}],239:[function(require,module,exports){
|
|
28661
28619
|
(function (factory) {
|
|
28662
28620
|
if (typeof module === "object" && typeof module.exports === "object") {
|
|
28663
28621
|
var v = factory(require, exports);
|
|
@@ -28679,10 +28637,16 @@ var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, ge
|
|
|
28679
28637
|
}
|
|
28680
28638
|
}
|
|
28681
28639
|
};
|
|
28682
|
-
function handleAddHeaders(options, spanUrl, allowCORS) {
|
|
28640
|
+
function handleAddHeaders(options, spanUrl, allowCORS, logger) {
|
|
28683
28641
|
const allowHeadersPropagation = (0, utils_1.shouldAddHeaders)(window.location.origin, spanUrl, allowCORS);
|
|
28684
|
-
if (!allowHeadersPropagation)
|
|
28642
|
+
if (!allowHeadersPropagation) {
|
|
28643
|
+
const originLog = {
|
|
28644
|
+
current: window.location.origin,
|
|
28645
|
+
target: spanUrl,
|
|
28646
|
+
};
|
|
28647
|
+
logger.warn(`Not adding header in CustomFetchInstrumentation because of origin difference: ${JSON.stringify(originLog, null, 4)}`);
|
|
28685
28648
|
return;
|
|
28649
|
+
}
|
|
28686
28650
|
const contextPropagationHeaders = Object.assign(Object.assign({}, (0, utils_1.constructBaggageHeader)()), (0, utils_1.constructContextHeaders)());
|
|
28687
28651
|
if (options instanceof Request && contextPropagationHeaders) {
|
|
28688
28652
|
setPropagationHeaders(options, contextPropagationHeaders);
|
|
@@ -28703,13 +28667,13 @@ var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, ge
|
|
|
28703
28667
|
class CustomFetchInstrumentation extends instrumentation_fetch_1.FetchInstrumentation {
|
|
28704
28668
|
constructor(config) {
|
|
28705
28669
|
super(config);
|
|
28706
|
-
this['_addHeaders'] = (options, spanUrl) => handleAddHeaders(options, spanUrl, config
|
|
28670
|
+
this['_addHeaders'] = (options, spanUrl) => handleAddHeaders(options, spanUrl, config.allowCORS, config.logger);
|
|
28707
28671
|
}
|
|
28708
28672
|
}
|
|
28709
28673
|
exports.CustomFetchInstrumentation = CustomFetchInstrumentation;
|
|
28710
28674
|
});
|
|
28711
28675
|
|
|
28712
|
-
},{"../utils":
|
|
28676
|
+
},{"../utils":243,"@opentelemetry/instrumentation-fetch":89}],240:[function(require,module,exports){
|
|
28713
28677
|
(function (factory) {
|
|
28714
28678
|
if (typeof module === "object" && typeof module.exports === "object") {
|
|
28715
28679
|
var v = factory(require, exports);
|
|
@@ -28724,10 +28688,16 @@ var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, ge
|
|
|
28724
28688
|
exports.CustomXMLHttpRequestInstrumentation = exports.handleAddHeaders = void 0;
|
|
28725
28689
|
const instrumentation_xml_http_request_1 = require("@opentelemetry/instrumentation-xml-http-request");
|
|
28726
28690
|
const utils_1 = require("../utils");
|
|
28727
|
-
function handleAddHeaders(xhr, spanUrl, allowCORS) {
|
|
28691
|
+
function handleAddHeaders(xhr, spanUrl, allowCORS, logger) {
|
|
28728
28692
|
const allowHeadersPropagation = (0, utils_1.shouldAddHeaders)(window.location.origin, spanUrl, allowCORS);
|
|
28729
|
-
if (!allowHeadersPropagation)
|
|
28693
|
+
if (!allowHeadersPropagation) {
|
|
28694
|
+
const originLog = {
|
|
28695
|
+
current: window.location.origin,
|
|
28696
|
+
target: spanUrl,
|
|
28697
|
+
};
|
|
28698
|
+
logger.warn(`Not adding header in CustomXMLHttpRequestInstrumentation because of origin difference: ${JSON.stringify(originLog, null, 4)}`);
|
|
28730
28699
|
return;
|
|
28700
|
+
}
|
|
28731
28701
|
const headers = Object.assign(Object.assign({}, (0, utils_1.constructBaggageHeader)()), (0, utils_1.constructContextHeaders)());
|
|
28732
28702
|
Object.keys(headers).forEach((headerKey) => {
|
|
28733
28703
|
xhr.setRequestHeader(headerKey, headers[headerKey]);
|
|
@@ -28737,13 +28707,13 @@ var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, ge
|
|
|
28737
28707
|
class CustomXMLHttpRequestInstrumentation extends instrumentation_xml_http_request_1.XMLHttpRequestInstrumentation {
|
|
28738
28708
|
constructor(config) {
|
|
28739
28709
|
super(config);
|
|
28740
|
-
this['_addHeaders'] = (xhr, spanUrl) => handleAddHeaders(xhr, spanUrl, config
|
|
28710
|
+
this['_addHeaders'] = (xhr, spanUrl) => handleAddHeaders(xhr, spanUrl, config.allowCORS, config.logger);
|
|
28741
28711
|
}
|
|
28742
28712
|
}
|
|
28743
28713
|
exports.CustomXMLHttpRequestInstrumentation = CustomXMLHttpRequestInstrumentation;
|
|
28744
28714
|
});
|
|
28745
28715
|
|
|
28746
|
-
},{"../utils":
|
|
28716
|
+
},{"../utils":243,"@opentelemetry/instrumentation-xml-http-request":93}],241:[function(require,module,exports){
|
|
28747
28717
|
(function (factory) {
|
|
28748
28718
|
if (typeof module === "object" && typeof module.exports === "object") {
|
|
28749
28719
|
var v = factory(require, exports);
|
|
@@ -28775,7 +28745,7 @@ var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, ge
|
|
|
28775
28745
|
exports.registerEventsBridge = registerEventsBridge;
|
|
28776
28746
|
});
|
|
28777
28747
|
|
|
28778
|
-
},{"./const":
|
|
28748
|
+
},{"./const":236,"./events":238,"./otel":242}],242:[function(require,module,exports){
|
|
28779
28749
|
(function (factory) {
|
|
28780
28750
|
if (typeof module === "object" && typeof module.exports === "object") {
|
|
28781
28751
|
var v = factory(require, exports);
|
|
@@ -28796,8 +28766,8 @@ var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, ge
|
|
|
28796
28766
|
try {
|
|
28797
28767
|
(0, instrumentation_1.registerInstrumentations)({
|
|
28798
28768
|
instrumentations: [
|
|
28799
|
-
new CustomFetchInstrumentation_1.CustomFetchInstrumentation({ allowCORS }),
|
|
28800
|
-
new CustomXMLHttpRequestInstrumentation_1.CustomXMLHttpRequestInstrumentation({ allowCORS }),
|
|
28769
|
+
new CustomFetchInstrumentation_1.CustomFetchInstrumentation({ allowCORS, logger }),
|
|
28770
|
+
new CustomXMLHttpRequestInstrumentation_1.CustomXMLHttpRequestInstrumentation({ allowCORS, logger }),
|
|
28801
28771
|
],
|
|
28802
28772
|
});
|
|
28803
28773
|
}
|
|
@@ -28810,7 +28780,7 @@ var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, ge
|
|
|
28810
28780
|
exports.registerOpenTelemetry = registerOpenTelemetry;
|
|
28811
28781
|
});
|
|
28812
28782
|
|
|
28813
|
-
},{"../../../common/agent-events/cockpit-notifier":
|
|
28783
|
+
},{"../../../common/agent-events/cockpit-notifier":274,"./implementations/CustomFetchInstrumentation":239,"./implementations/CustomXMLHttpRequestInstrumentation":240,"@opentelemetry/instrumentation":98}],243:[function(require,module,exports){
|
|
28814
28784
|
(function (factory) {
|
|
28815
28785
|
if (typeof module === "object" && typeof module.exports === "object") {
|
|
28816
28786
|
var v = factory(require, exports);
|
|
@@ -28891,7 +28861,7 @@ var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, ge
|
|
|
28891
28861
|
exports.shouldAddHeaders = shouldAddHeaders;
|
|
28892
28862
|
});
|
|
28893
28863
|
|
|
28894
|
-
},{"./const":
|
|
28864
|
+
},{"./const":236}],244:[function(require,module,exports){
|
|
28895
28865
|
(function (factory) {
|
|
28896
28866
|
if (typeof module === "object" && typeof module.exports === "object") {
|
|
28897
28867
|
var v = factory(require, exports);
|
|
@@ -28929,7 +28899,7 @@ var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, ge
|
|
|
28929
28899
|
exports.FeatureDetection = FeatureDetection;
|
|
28930
28900
|
});
|
|
28931
28901
|
|
|
28932
|
-
},{}],
|
|
28902
|
+
},{}],245:[function(require,module,exports){
|
|
28933
28903
|
(function (factory) {
|
|
28934
28904
|
if (typeof module === "object" && typeof module.exports === "object") {
|
|
28935
28905
|
var v = factory(require, exports);
|
|
@@ -29081,8 +29051,7 @@ var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, ge
|
|
|
29081
29051
|
}
|
|
29082
29052
|
getCurrentFootprints() {
|
|
29083
29053
|
this.pushCurrentFootprints();
|
|
29084
|
-
|
|
29085
|
-
return footprints;
|
|
29054
|
+
return this.footprintsQueue.getQueueContentsAndEmptyQueue();
|
|
29086
29055
|
}
|
|
29087
29056
|
createRequest(data) {
|
|
29088
29057
|
if (this.configuration.resolveWithoutHash) {
|
|
@@ -29135,7 +29104,7 @@ var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, ge
|
|
|
29135
29104
|
exports.FootprintsQueueSender = FootprintsQueueSender;
|
|
29136
29105
|
});
|
|
29137
29106
|
|
|
29138
|
-
},{"../../common/system-date":
|
|
29107
|
+
},{"../../common/system-date":318,"./entities/footprints-item-data":235}],246:[function(require,module,exports){
|
|
29139
29108
|
(function (factory) {
|
|
29140
29109
|
if (typeof module === "object" && typeof module.exports === "object") {
|
|
29141
29110
|
var v = factory(require, exports);
|
|
@@ -29390,7 +29359,7 @@ var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, ge
|
|
|
29390
29359
|
exports.IstanbulToFootprintsConvertorV3 = IstanbulToFootprintsConvertorV3;
|
|
29391
29360
|
});
|
|
29392
29361
|
|
|
29393
|
-
},{"../../common/footprints-process-v6/location-formatter":
|
|
29362
|
+
},{"../../common/footprints-process-v6/location-formatter":305,"../../common/footprints-process/collection-interval":307,"../../common/system-date":318,"./logger/log-factory":249}],247:[function(require,module,exports){
|
|
29394
29363
|
(function (factory) {
|
|
29395
29364
|
if (typeof module === "object" && typeof module.exports === "object") {
|
|
29396
29365
|
var v = factory(require, exports);
|
|
@@ -29496,82 +29465,7 @@ var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, ge
|
|
|
29496
29465
|
exports.IstanbulToFootprintsConverter = IstanbulToFootprintsConverter;
|
|
29497
29466
|
});
|
|
29498
29467
|
|
|
29499
|
-
},{"./utils":
|
|
29500
|
-
(function (factory) {
|
|
29501
|
-
if (typeof module === "object" && typeof module.exports === "object") {
|
|
29502
|
-
var v = factory(require, exports);
|
|
29503
|
-
if (v !== undefined) module.exports = v;
|
|
29504
|
-
}
|
|
29505
|
-
else if (typeof define === "function" && define.amd) {
|
|
29506
|
-
define(["require", "exports", "./browser-agent-instance", "../../common/utils/validation-utils", "../../common/events-process/events-creator", "../../common/events-process/events-contracts"], factory);
|
|
29507
|
-
}
|
|
29508
|
-
})(function (require, exports) {
|
|
29509
|
-
"use strict";
|
|
29510
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
29511
|
-
exports.KarmaHandler = void 0;
|
|
29512
|
-
const browser_agent_instance_1 = require("./browser-agent-instance");
|
|
29513
|
-
const validation_utils_1 = require("../../common/utils/validation-utils");
|
|
29514
|
-
const events_creator_1 = require("../../common/events-process/events-creator");
|
|
29515
|
-
const events_contracts_1 = require("../../common/events-process/events-contracts");
|
|
29516
|
-
class KarmaHandler {
|
|
29517
|
-
constructor(window, agent, logger) {
|
|
29518
|
-
validation_utils_1.ValidationUtils.verifyNotNullOrEmpty(window, 'window');
|
|
29519
|
-
validation_utils_1.ValidationUtils.verifyNotNullOrEmpty(agent, 'agent');
|
|
29520
|
-
validation_utils_1.ValidationUtils.verifyNotNullOrEmpty(logger, 'logger');
|
|
29521
|
-
this.window = window;
|
|
29522
|
-
this.agent = agent;
|
|
29523
|
-
this.logger = logger;
|
|
29524
|
-
}
|
|
29525
|
-
overrideKarmaMethods() {
|
|
29526
|
-
if (!this.window.__karma__) {
|
|
29527
|
-
this.logger.warn('Could not find \'__karma__\' object on window, skip overriding methods');
|
|
29528
|
-
return;
|
|
29529
|
-
}
|
|
29530
|
-
const that = this;
|
|
29531
|
-
const originalResult = this.window.__karma__.result;
|
|
29532
|
-
const originalComplete = this.window.__karma__.complete;
|
|
29533
|
-
this.window.__karma__.result = function (resultObject) {
|
|
29534
|
-
const testResult = that.resolveTestResult(resultObject);
|
|
29535
|
-
const testStartEvent = events_creator_1.EventsCreator.createTestStartedEvent(browser_agent_instance_1.BrowserAgentInstance.getExecutionId(), 'karma', resultObject.fullName, resultObject.time);
|
|
29536
|
-
const testEndEvent = events_creator_1.EventsCreator.createTestEndEvent(browser_agent_instance_1.BrowserAgentInstance.getExecutionId(), 'karma', resultObject.fullName, testResult, resultObject.time);
|
|
29537
|
-
that.agent.enqueueEvent(testStartEvent);
|
|
29538
|
-
that.agent.enqueueEvent(testEndEvent);
|
|
29539
|
-
const currentTestIdentifier = browser_agent_instance_1.BrowserAgentInstance.getExecutionId() + '/'
|
|
29540
|
-
+ resultObject.fullName;
|
|
29541
|
-
that.agent.setCurrentTestIdentifier(currentTestIdentifier);
|
|
29542
|
-
if (originalResult instanceof Function) {
|
|
29543
|
-
originalResult.apply(this, arguments);
|
|
29544
|
-
}
|
|
29545
|
-
};
|
|
29546
|
-
this.window.__karma__.complete = function () {
|
|
29547
|
-
const executionEndEvent = events_creator_1.EventsCreator.createEvent(events_contracts_1.EventTypes.ExecutionIdEnded, browser_agent_instance_1.BrowserAgentInstance.getExecutionId(), 'karma');
|
|
29548
|
-
that.agent.enqueueEvent(executionEndEvent);
|
|
29549
|
-
that.agent.stop();
|
|
29550
|
-
if (originalComplete instanceof Function) {
|
|
29551
|
-
originalComplete.apply(this, arguments);
|
|
29552
|
-
}
|
|
29553
|
-
};
|
|
29554
|
-
}
|
|
29555
|
-
start() {
|
|
29556
|
-
const agentStartedEvent = events_creator_1.EventsCreator.createEvent(events_contracts_1.EventTypes.AgentStarted, browser_agent_instance_1.BrowserAgentInstance.getExecutionId(), 'karma');
|
|
29557
|
-
const executionStartedEvent = events_creator_1.EventsCreator.createEvent(events_contracts_1.EventTypes.ExecutionIdStarted, browser_agent_instance_1.BrowserAgentInstance.getExecutionId(), 'karma');
|
|
29558
|
-
this.agent.enqueueEvent(agentStartedEvent);
|
|
29559
|
-
this.agent.enqueueEvent(executionStartedEvent);
|
|
29560
|
-
}
|
|
29561
|
-
resolveTestResult(result) {
|
|
29562
|
-
if (result.skipped) {
|
|
29563
|
-
return 'skipped';
|
|
29564
|
-
}
|
|
29565
|
-
if (result.success) {
|
|
29566
|
-
return 'passed';
|
|
29567
|
-
}
|
|
29568
|
-
return 'failed';
|
|
29569
|
-
}
|
|
29570
|
-
}
|
|
29571
|
-
exports.KarmaHandler = KarmaHandler;
|
|
29572
|
-
});
|
|
29573
|
-
|
|
29574
|
-
},{"../../common/events-process/events-contracts":297,"../../common/events-process/events-creator":298,"../../common/utils/validation-utils":326,"./browser-agent-instance":221}],250:[function(require,module,exports){
|
|
29468
|
+
},{"./utils":263}],248:[function(require,module,exports){
|
|
29575
29469
|
(function (factory) {
|
|
29576
29470
|
if (typeof module === "object" && typeof module.exports === "object") {
|
|
29577
29471
|
var v = factory(require, exports);
|
|
@@ -29762,7 +29656,7 @@ var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, ge
|
|
|
29762
29656
|
exports.ConsoleLogger = ConsoleLogger;
|
|
29763
29657
|
});
|
|
29764
29658
|
|
|
29765
|
-
},{"../../../common/system-date":
|
|
29659
|
+
},{"../../../common/system-date":318,"../configuration-override":229}],249:[function(require,module,exports){
|
|
29766
29660
|
(function (factory) {
|
|
29767
29661
|
if (typeof module === "object" && typeof module.exports === "object") {
|
|
29768
29662
|
var v = factory(require, exports);
|
|
@@ -29792,7 +29686,7 @@ var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, ge
|
|
|
29792
29686
|
exports.LogFactory = LogFactory;
|
|
29793
29687
|
});
|
|
29794
29688
|
|
|
29795
|
-
},{"./console-logger":
|
|
29689
|
+
},{"./console-logger":248,"./null-logger":250}],250:[function(require,module,exports){
|
|
29796
29690
|
(function (factory) {
|
|
29797
29691
|
if (typeof module === "object" && typeof module.exports === "object") {
|
|
29798
29692
|
var v = factory(require, exports);
|
|
@@ -29849,7 +29743,7 @@ var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, ge
|
|
|
29849
29743
|
NullLogger.INSTANCE = new NullLogger();
|
|
29850
29744
|
});
|
|
29851
29745
|
|
|
29852
|
-
},{}],
|
|
29746
|
+
},{}],251:[function(require,module,exports){
|
|
29853
29747
|
(function (factory) {
|
|
29854
29748
|
if (typeof module === "object" && typeof module.exports === "object") {
|
|
29855
29749
|
var v = factory(require, exports);
|
|
@@ -29930,7 +29824,7 @@ var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, ge
|
|
|
29930
29824
|
exports.FootprintsItemsQueue = FootprintsItemsQueue;
|
|
29931
29825
|
});
|
|
29932
29826
|
|
|
29933
|
-
},{"../../../common/system-date":
|
|
29827
|
+
},{"../../../common/system-date":318,"../delegate":231,"../entities/footprints-item-data":235}],252:[function(require,module,exports){
|
|
29934
29828
|
(function (factory) {
|
|
29935
29829
|
if (typeof module === "object" && typeof module.exports === "object") {
|
|
29936
29830
|
var v = factory(require, exports);
|
|
@@ -29997,7 +29891,7 @@ var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, ge
|
|
|
29997
29891
|
Queue.DEFAULT_MAX_ITEMS_IN_QUEUE = 1000;
|
|
29998
29892
|
});
|
|
29999
29893
|
|
|
30000
|
-
},{"../../../common/utils/validation-utils":
|
|
29894
|
+
},{"../../../common/utils/validation-utils":322}],253:[function(require,module,exports){
|
|
30001
29895
|
(function (factory) {
|
|
30002
29896
|
if (typeof module === "object" && typeof module.exports === "object") {
|
|
30003
29897
|
var v = factory(require, exports);
|
|
@@ -30060,7 +29954,7 @@ var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, ge
|
|
|
30060
29954
|
exports.HttpClient = HttpClient;
|
|
30061
29955
|
});
|
|
30062
29956
|
|
|
30063
|
-
},{"./http-response":
|
|
29957
|
+
},{"./http-response":255}],254:[function(require,module,exports){
|
|
30064
29958
|
(function (factory) {
|
|
30065
29959
|
if (typeof module === "object" && typeof module.exports === "object") {
|
|
30066
29960
|
var v = factory(require, exports);
|
|
@@ -30081,7 +29975,7 @@ var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, ge
|
|
|
30081
29975
|
exports.HttpRequest = HttpRequest;
|
|
30082
29976
|
});
|
|
30083
29977
|
|
|
30084
|
-
},{}],
|
|
29978
|
+
},{}],255:[function(require,module,exports){
|
|
30085
29979
|
(function (factory) {
|
|
30086
29980
|
if (typeof module === "object" && typeof module.exports === "object") {
|
|
30087
29981
|
var v = factory(require, exports);
|
|
@@ -30099,7 +29993,7 @@ var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, ge
|
|
|
30099
29993
|
exports.HttpResponse = HttpResponse;
|
|
30100
29994
|
});
|
|
30101
29995
|
|
|
30102
|
-
},{}],
|
|
29996
|
+
},{}],256:[function(require,module,exports){
|
|
30103
29997
|
(function (factory) {
|
|
30104
29998
|
if (typeof module === "object" && typeof module.exports === "object") {
|
|
30105
29999
|
var v = factory(require, exports);
|
|
@@ -30158,7 +30052,7 @@ var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, ge
|
|
|
30158
30052
|
exports.JsonClientAdapter = JsonClientAdapter;
|
|
30159
30053
|
});
|
|
30160
30054
|
|
|
30161
|
-
},{"../../../../common/utils/validation-utils":
|
|
30055
|
+
},{"../../../../common/utils/validation-utils":322}],257:[function(require,module,exports){
|
|
30162
30056
|
(function (factory) {
|
|
30163
30057
|
if (typeof module === "object" && typeof module.exports === "object") {
|
|
30164
30058
|
var v = factory(require, exports);
|
|
@@ -30269,7 +30163,7 @@ var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, ge
|
|
|
30269
30163
|
exports.JsonClient = JsonClient;
|
|
30270
30164
|
});
|
|
30271
30165
|
|
|
30272
|
-
},{"../../../../common/http/contracts":
|
|
30166
|
+
},{"../../../../common/http/contracts":309,"../http/http-request":254}],258:[function(require,module,exports){
|
|
30273
30167
|
(function (factory) {
|
|
30274
30168
|
if (typeof module === "object" && typeof module.exports === "object") {
|
|
30275
30169
|
var v = factory(require, exports);
|
|
@@ -30297,7 +30191,7 @@ var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, ge
|
|
|
30297
30191
|
exports.NoopJsonClient = NoopJsonClient;
|
|
30298
30192
|
});
|
|
30299
30193
|
|
|
30300
|
-
},{"../../logger/log-factory":
|
|
30194
|
+
},{"../../logger/log-factory":249,"./json-client":257}],259:[function(require,module,exports){
|
|
30301
30195
|
(function (factory) {
|
|
30302
30196
|
if (typeof module === "object" && typeof module.exports === "object") {
|
|
30303
30197
|
var v = factory(require, exports);
|
|
@@ -30337,7 +30231,7 @@ var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, ge
|
|
|
30337
30231
|
exports.LightBackendProxy = LightBackendProxy;
|
|
30338
30232
|
});
|
|
30339
30233
|
|
|
30340
|
-
},{}],
|
|
30234
|
+
},{}],260:[function(require,module,exports){
|
|
30341
30235
|
var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, generator) {
|
|
30342
30236
|
function adopt(value) { return value instanceof P ? value : new P(function (resolve) { resolve(value); }); }
|
|
30343
30237
|
return new (P || (P = Promise))(function (resolve, reject) {
|
|
@@ -30406,7 +30300,7 @@ var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, ge
|
|
|
30406
30300
|
exports.SlMappingLoader = SlMappingLoader;
|
|
30407
30301
|
});
|
|
30408
30302
|
|
|
30409
|
-
},{"../../common/agent-events/cockpit-notifier":
|
|
30303
|
+
},{"../../common/agent-events/cockpit-notifier":274,"../../common/contracts":288}],261:[function(require,module,exports){
|
|
30410
30304
|
(function (factory) {
|
|
30411
30305
|
if (typeof module === "object" && typeof module.exports === "object") {
|
|
30412
30306
|
var v = factory(require, exports);
|
|
@@ -30529,7 +30423,7 @@ var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, ge
|
|
|
30529
30423
|
StateTracker.ANONYMOUS_FOOTPRINTS_COLOR = '00000000-0000-0000-0000-000000000000/__init';
|
|
30530
30424
|
});
|
|
30531
30425
|
|
|
30532
|
-
},{"./contracts":
|
|
30426
|
+
},{"./contracts":230,"./delegate":231}],262:[function(require,module,exports){
|
|
30533
30427
|
(function (factory) {
|
|
30534
30428
|
if (typeof module === "object" && typeof module.exports === "object") {
|
|
30535
30429
|
var v = factory(require, exports);
|
|
@@ -30563,7 +30457,7 @@ var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, ge
|
|
|
30563
30457
|
exports.TestStateHelper = TestStateHelper;
|
|
30564
30458
|
});
|
|
30565
30459
|
|
|
30566
|
-
},{}],
|
|
30460
|
+
},{}],263:[function(require,module,exports){
|
|
30567
30461
|
(function (factory) {
|
|
30568
30462
|
if (typeof module === "object" && typeof module.exports === "object") {
|
|
30569
30463
|
var v = factory(require, exports);
|
|
@@ -30611,7 +30505,7 @@ var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, ge
|
|
|
30611
30505
|
exports.Utils = Utils;
|
|
30612
30506
|
});
|
|
30613
30507
|
|
|
30614
|
-
},{"path":185}],
|
|
30508
|
+
},{"path":185}],264:[function(require,module,exports){
|
|
30615
30509
|
(function (factory) {
|
|
30616
30510
|
if (typeof module === "object" && typeof module.exports === "object") {
|
|
30617
30511
|
var v = factory(require, exports);
|
|
@@ -30696,7 +30590,7 @@ var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, ge
|
|
|
30696
30590
|
exports.Watchdog = Watchdog;
|
|
30697
30591
|
});
|
|
30698
30592
|
|
|
30699
|
-
},{"./delegate":
|
|
30593
|
+
},{"./delegate":231}],265:[function(require,module,exports){
|
|
30700
30594
|
(function (factory) {
|
|
30701
30595
|
if (typeof module === "object" && typeof module.exports === "object") {
|
|
30702
30596
|
var v = factory(require, exports);
|
|
@@ -30731,7 +30625,7 @@ var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, ge
|
|
|
30731
30625
|
exports.WindowTimersWrapper = WindowTimersWrapper;
|
|
30732
30626
|
});
|
|
30733
30627
|
|
|
30734
|
-
},{}],
|
|
30628
|
+
},{}],266:[function(require,module,exports){
|
|
30735
30629
|
(function (factory) {
|
|
30736
30630
|
if (typeof module === "object" && typeof module.exports === "object") {
|
|
30737
30631
|
var v = factory(require, exports);
|
|
@@ -30774,7 +30668,7 @@ var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, ge
|
|
|
30774
30668
|
})(COMMAND_ARGS = exports.COMMAND_ARGS || (exports.COMMAND_ARGS = {}));
|
|
30775
30669
|
});
|
|
30776
30670
|
|
|
30777
|
-
},{}],
|
|
30671
|
+
},{}],267:[function(require,module,exports){
|
|
30778
30672
|
(function (factory) {
|
|
30779
30673
|
if (typeof module === "object" && typeof module.exports === "object") {
|
|
30780
30674
|
var v = factory(require, exports);
|
|
@@ -30840,7 +30734,7 @@ var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, ge
|
|
|
30840
30734
|
})(Technology = exports.Technology || (exports.Technology = {}));
|
|
30841
30735
|
});
|
|
30842
30736
|
|
|
30843
|
-
},{}],
|
|
30737
|
+
},{}],268:[function(require,module,exports){
|
|
30844
30738
|
var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, generator) {
|
|
30845
30739
|
function adopt(value) { return value instanceof P ? value : new P(function (resolve) { resolve(value); }); }
|
|
30846
30740
|
return new (P || (P = Promise))(function (resolve, reject) {
|
|
@@ -31073,7 +30967,7 @@ var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, ge
|
|
|
31073
30967
|
})(StartRequestStatus || (StartRequestStatus = {}));
|
|
31074
30968
|
});
|
|
31075
30969
|
|
|
31076
|
-
},{"../http/backend-proxy":
|
|
30970
|
+
},{"../http/backend-proxy":308,"../system-date":318,"../utils/validation-utils":322,"../watchdog":323,"./agent-events-contracts":267,"./agent-instance-info-builder":270,"./agent-start-info-builder":271,"./browser-info-builder":272,"./ci-info-builder":273,"./machine-info-builder":276,"./nodejs-env-info-builder":278}],269:[function(require,module,exports){
|
|
31077
30971
|
(function (factory) {
|
|
31078
30972
|
if (typeof module === "object" && typeof module.exports === "object") {
|
|
31079
30973
|
var v = factory(require, exports);
|
|
@@ -31106,7 +31000,7 @@ var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, ge
|
|
|
31106
31000
|
AgentEventsGuard.EVENT_CODE_TO_LAST_CALL = new Map();
|
|
31107
31001
|
});
|
|
31108
31002
|
|
|
31109
|
-
},{"../system-date":
|
|
31003
|
+
},{"../system-date":318,"./cockpit-notifier":274}],270:[function(require,module,exports){
|
|
31110
31004
|
(function (process){(function (){
|
|
31111
31005
|
(function (factory) {
|
|
31112
31006
|
if (typeof module === "object" && typeof module.exports === "object") {
|
|
@@ -31319,7 +31213,7 @@ var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, ge
|
|
|
31319
31213
|
});
|
|
31320
31214
|
|
|
31321
31215
|
}).call(this)}).call(this,require('_process'))
|
|
31322
|
-
},{"./sensitive-data-filter":
|
|
31216
|
+
},{"./sensitive-data-filter":279,"_process":187}],271:[function(require,module,exports){
|
|
31323
31217
|
(function (factory) {
|
|
31324
31218
|
if (typeof module === "object" && typeof module.exports === "object") {
|
|
31325
31219
|
var v = factory(require, exports);
|
|
@@ -31357,7 +31251,7 @@ var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, ge
|
|
|
31357
31251
|
exports.AgentStartInfoBuilder = AgentStartInfoBuilder;
|
|
31358
31252
|
});
|
|
31359
31253
|
|
|
31360
|
-
},{}],
|
|
31254
|
+
},{}],272:[function(require,module,exports){
|
|
31361
31255
|
(function (factory) {
|
|
31362
31256
|
if (typeof module === "object" && typeof module.exports === "object") {
|
|
31363
31257
|
var v = factory(require, exports);
|
|
@@ -31390,7 +31284,7 @@ var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, ge
|
|
|
31390
31284
|
exports.BrowserInfoBuilder = BrowserInfoBuilder;
|
|
31391
31285
|
});
|
|
31392
31286
|
|
|
31393
|
-
},{"../system-date":
|
|
31287
|
+
},{"../system-date":318}],273:[function(require,module,exports){
|
|
31394
31288
|
(function (process){(function (){
|
|
31395
31289
|
(function (factory) {
|
|
31396
31290
|
if (typeof module === "object" && typeof module.exports === "object") {
|
|
@@ -31432,7 +31326,7 @@ var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, ge
|
|
|
31432
31326
|
});
|
|
31433
31327
|
|
|
31434
31328
|
}).call(this)}).call(this,require('_process'))
|
|
31435
|
-
},{"_process":187}],
|
|
31329
|
+
},{"_process":187}],274:[function(require,module,exports){
|
|
31436
31330
|
var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, generator) {
|
|
31437
31331
|
function adopt(value) { return value instanceof P ? value : new P(function (resolve) { resolve(value); }); }
|
|
31438
31332
|
return new (P || (P = Promise))(function (resolve, reject) {
|
|
@@ -31518,7 +31412,7 @@ var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, ge
|
|
|
31518
31412
|
CockpitNotifier.controllerNullLogged = false;
|
|
31519
31413
|
});
|
|
31520
31414
|
|
|
31521
|
-
},{"./agent-events-controller":
|
|
31415
|
+
},{"./agent-events-controller":268,"./dry-run-agent-events-controller":275,"./no-op-agent-events-controller":277}],275:[function(require,module,exports){
|
|
31522
31416
|
(function (factory) {
|
|
31523
31417
|
if (typeof module === "object" && typeof module.exports === "object") {
|
|
31524
31418
|
var v = factory(require, exports);
|
|
@@ -31546,7 +31440,7 @@ var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, ge
|
|
|
31546
31440
|
exports.DryRunAgentEventsController = DryRunAgentEventsController;
|
|
31547
31441
|
});
|
|
31548
31442
|
|
|
31549
|
-
},{"../agent-instance-data":
|
|
31443
|
+
},{"../agent-instance-data":280,"../config-process/config":283,"./agent-events-contracts":267,"./agent-events-controller":268}],276:[function(require,module,exports){
|
|
31550
31444
|
(function (process){(function (){
|
|
31551
31445
|
(function (factory) {
|
|
31552
31446
|
if (typeof module === "object" && typeof module.exports === "object") {
|
|
@@ -31598,7 +31492,7 @@ var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, ge
|
|
|
31598
31492
|
});
|
|
31599
31493
|
|
|
31600
31494
|
}).call(this)}).call(this,require('_process'))
|
|
31601
|
-
},{"../footprints-process-v6/buffer-size-helper":
|
|
31495
|
+
},{"../footprints-process-v6/buffer-size-helper":298,"../system-date":318,"_process":187,"os":173}],277:[function(require,module,exports){
|
|
31602
31496
|
var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, generator) {
|
|
31603
31497
|
function adopt(value) { return value instanceof P ? value : new P(function (resolve) { resolve(value); }); }
|
|
31604
31498
|
return new (P || (P = Promise))(function (resolve, reject) {
|
|
@@ -31656,7 +31550,7 @@ var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, ge
|
|
|
31656
31550
|
exports.NoOpAgentEventsController = NoOpAgentEventsController;
|
|
31657
31551
|
});
|
|
31658
31552
|
|
|
31659
|
-
},{"./agent-events-controller":
|
|
31553
|
+
},{"./agent-events-controller":268}],278:[function(require,module,exports){
|
|
31660
31554
|
(function (process){(function (){
|
|
31661
31555
|
(function (factory) {
|
|
31662
31556
|
if (typeof module === "object" && typeof module.exports === "object") {
|
|
@@ -31691,7 +31585,7 @@ var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, ge
|
|
|
31691
31585
|
});
|
|
31692
31586
|
|
|
31693
31587
|
}).call(this)}).call(this,require('_process'))
|
|
31694
|
-
},{"_process":187}],
|
|
31588
|
+
},{"_process":187}],279:[function(require,module,exports){
|
|
31695
31589
|
(function (factory) {
|
|
31696
31590
|
if (typeof module === "object" && typeof module.exports === "object") {
|
|
31697
31591
|
var v = factory(require, exports);
|
|
@@ -31756,7 +31650,7 @@ var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, ge
|
|
|
31756
31650
|
exports.isSensitive = isSensitive;
|
|
31757
31651
|
});
|
|
31758
31652
|
|
|
31759
|
-
},{}],
|
|
31653
|
+
},{}],280:[function(require,module,exports){
|
|
31760
31654
|
(function (__dirname){(function (){
|
|
31761
31655
|
(function (factory) {
|
|
31762
31656
|
if (typeof module === "object" && typeof module.exports === "object") {
|
|
@@ -31815,7 +31709,7 @@ var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, ge
|
|
|
31815
31709
|
});
|
|
31816
31710
|
|
|
31817
31711
|
}).call(this)}).call(this,"/tsOutputs/common")
|
|
31818
|
-
},{"./agent-events/agent-events-contracts":
|
|
31712
|
+
},{"./agent-events/agent-events-contracts":267,"./agent-events/agent-instance-info-builder":270,"./utils/files-utils":320,"fs":165,"uuid":327}],281:[function(require,module,exports){
|
|
31819
31713
|
(function (process){(function (){
|
|
31820
31714
|
(function (factory) {
|
|
31821
31715
|
if (typeof module === "object" && typeof module.exports === "object") {
|
|
@@ -31908,7 +31802,7 @@ var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, ge
|
|
|
31908
31802
|
});
|
|
31909
31803
|
|
|
31910
31804
|
}).call(this)}).call(this,require('_process'))
|
|
31911
|
-
},{"../../cli-parse/contracts":
|
|
31805
|
+
},{"../../cli-parse/contracts":266,"../constants/sl-env-vars":287,"./config":283,"./config-system":282,"_process":187,"fs":165,"jwt-decode":326}],282:[function(require,module,exports){
|
|
31912
31806
|
(function (process){(function (){
|
|
31913
31807
|
(function (factory) {
|
|
31914
31808
|
if (typeof module === "object" && typeof module.exports === "object") {
|
|
@@ -32188,7 +32082,7 @@ var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, ge
|
|
|
32188
32082
|
});
|
|
32189
32083
|
|
|
32190
32084
|
}).call(this)}).call(this,require('_process'))
|
|
32191
|
-
},{"_process":187,"fs":165}],
|
|
32085
|
+
},{"_process":187,"fs":165}],283:[function(require,module,exports){
|
|
32192
32086
|
(function (factory) {
|
|
32193
32087
|
if (typeof module === "object" && typeof module.exports === "object") {
|
|
32194
32088
|
var v = factory(require, exports);
|
|
@@ -32259,7 +32153,7 @@ var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, ge
|
|
|
32259
32153
|
exports.AgentConfigWithRuntimeArgs = AgentConfigWithRuntimeArgs;
|
|
32260
32154
|
});
|
|
32261
32155
|
|
|
32262
|
-
},{"./config-system":
|
|
32156
|
+
},{"./config-system":282}],284:[function(require,module,exports){
|
|
32263
32157
|
(function (factory) {
|
|
32264
32158
|
if (typeof module === "object" && typeof module.exports === "object") {
|
|
32265
32159
|
var v = factory(require, exports);
|
|
@@ -32376,7 +32270,7 @@ var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, ge
|
|
|
32376
32270
|
exports.ConfigProcess = ConfigProcess;
|
|
32377
32271
|
});
|
|
32378
32272
|
|
|
32379
|
-
},{"./config-system":
|
|
32273
|
+
},{"./config-system":282,"events":168,"jwt-decode":326,"object-assign":172}],285:[function(require,module,exports){
|
|
32380
32274
|
(function (factory) {
|
|
32381
32275
|
if (typeof module === "object" && typeof module.exports === "object") {
|
|
32382
32276
|
var v = factory(require, exports);
|
|
@@ -32404,7 +32298,7 @@ var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, ge
|
|
|
32404
32298
|
exports.NoopConfigProcess = NoopConfigProcess;
|
|
32405
32299
|
});
|
|
32406
32300
|
|
|
32407
|
-
},{"./index":
|
|
32301
|
+
},{"./index":284}],286:[function(require,module,exports){
|
|
32408
32302
|
(function (factory) {
|
|
32409
32303
|
if (typeof module === "object" && typeof module.exports === "object") {
|
|
32410
32304
|
var v = factory(require, exports);
|
|
@@ -32439,7 +32333,7 @@ var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, ge
|
|
|
32439
32333
|
_a);
|
|
32440
32334
|
});
|
|
32441
32335
|
|
|
32442
|
-
},{}],
|
|
32336
|
+
},{}],287:[function(require,module,exports){
|
|
32443
32337
|
(function (process){(function (){
|
|
32444
32338
|
(function (factory) {
|
|
32445
32339
|
if (typeof module === "object" && typeof module.exports === "object") {
|
|
@@ -32586,7 +32480,7 @@ var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, ge
|
|
|
32586
32480
|
});
|
|
32587
32481
|
|
|
32588
32482
|
}).call(this)}).call(this,require('_process'))
|
|
32589
|
-
},{"../footprints-process-v6/buffer-size-helper":
|
|
32483
|
+
},{"../footprints-process-v6/buffer-size-helper":298,"../utils/env-var-parsing":319,"_process":187}],288:[function(require,module,exports){
|
|
32590
32484
|
(function (factory) {
|
|
32591
32485
|
if (typeof module === "object" && typeof module.exports === "object") {
|
|
32592
32486
|
var v = factory(require, exports);
|
|
@@ -32606,7 +32500,7 @@ var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, ge
|
|
|
32606
32500
|
})(FootprintsMapping = exports.FootprintsMapping || (exports.FootprintsMapping = {}));
|
|
32607
32501
|
});
|
|
32608
32502
|
|
|
32609
|
-
},{}],
|
|
32503
|
+
},{}],289:[function(require,module,exports){
|
|
32610
32504
|
(function (factory) {
|
|
32611
32505
|
if (typeof module === "object" && typeof module.exports === "object") {
|
|
32612
32506
|
var v = factory(require, exports);
|
|
@@ -32626,7 +32520,7 @@ var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, ge
|
|
|
32626
32520
|
})(ElementType = exports.ElementType || (exports.ElementType = {}));
|
|
32627
32521
|
});
|
|
32628
32522
|
|
|
32629
|
-
},{}],
|
|
32523
|
+
},{}],290:[function(require,module,exports){
|
|
32630
32524
|
(function (factory) {
|
|
32631
32525
|
if (typeof module === "object" && typeof module.exports === "object") {
|
|
32632
32526
|
var v = factory(require, exports);
|
|
@@ -32759,7 +32653,7 @@ var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, ge
|
|
|
32759
32653
|
exports.FileElement = FileElement;
|
|
32760
32654
|
});
|
|
32761
32655
|
|
|
32762
|
-
},{"../utils/validation-utils":
|
|
32656
|
+
},{"../utils/validation-utils":322}],291:[function(require,module,exports){
|
|
32763
32657
|
(function (factory) {
|
|
32764
32658
|
if (typeof module === "object" && typeof module.exports === "object") {
|
|
32765
32659
|
var v = factory(require, exports);
|
|
@@ -32829,7 +32723,7 @@ var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, ge
|
|
|
32829
32723
|
exports.IstanbulUniqueIdConverter = IstanbulUniqueIdConverter;
|
|
32830
32724
|
});
|
|
32831
32725
|
|
|
32832
|
-
},{"./contracts":
|
|
32726
|
+
},{"./contracts":289,"./unique-id-converter":294}],292:[function(require,module,exports){
|
|
32833
32727
|
(function (factory) {
|
|
32834
32728
|
if (typeof module === "object" && typeof module.exports === "object") {
|
|
32835
32729
|
var v = factory(require, exports);
|
|
@@ -32886,7 +32780,7 @@ var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, ge
|
|
|
32886
32780
|
}
|
|
32887
32781
|
});
|
|
32888
32782
|
|
|
32889
|
-
},{"../system-date":
|
|
32783
|
+
},{"../system-date":318,"../utils/files-utils":320,"./istanbul-unique-id-converter":291,"path":185}],293:[function(require,module,exports){
|
|
32890
32784
|
(function (factory) {
|
|
32891
32785
|
if (typeof module === "object" && typeof module.exports === "object") {
|
|
32892
32786
|
var v = factory(require, exports);
|
|
@@ -33070,7 +32964,7 @@ var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, ge
|
|
|
33070
32964
|
exports.OriginalModuleLoader = OriginalModuleLoader;
|
|
33071
32965
|
});
|
|
33072
32966
|
|
|
33073
|
-
},{"../source-maps-utils":
|
|
32967
|
+
},{"../source-maps-utils":315,"../utils/files-utils":320,"../utils/validation-utils":322}],294:[function(require,module,exports){
|
|
33074
32968
|
(function (factory) {
|
|
33075
32969
|
if (typeof module === "object" && typeof module.exports === "object") {
|
|
33076
32970
|
var v = factory(require, exports);
|
|
@@ -33282,78 +33176,7 @@ var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, ge
|
|
|
33282
33176
|
exports.UniqueIdConverter = UniqueIdConverter;
|
|
33283
33177
|
});
|
|
33284
33178
|
|
|
33285
|
-
},{"./contracts":
|
|
33286
|
-
(function (factory) {
|
|
33287
|
-
if (typeof module === "object" && typeof module.exports === "object") {
|
|
33288
|
-
var v = factory(require, exports);
|
|
33289
|
-
if (v !== undefined) module.exports = v;
|
|
33290
|
-
}
|
|
33291
|
-
else if (typeof define === "function" && define.amd) {
|
|
33292
|
-
define(["require", "exports"], factory);
|
|
33293
|
-
}
|
|
33294
|
-
})(function (require, exports) {
|
|
33295
|
-
"use strict";
|
|
33296
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
33297
|
-
exports.TestSelectionStatus = exports.EventTypes = void 0;
|
|
33298
|
-
var EventTypes;
|
|
33299
|
-
(function (EventTypes) {
|
|
33300
|
-
EventTypes["AgentStarted"] = "agentStarted";
|
|
33301
|
-
EventTypes["ExecutionIdStarted"] = "executionIdStarted";
|
|
33302
|
-
EventTypes["ExecutionIdEnded"] = "executionIdEnded";
|
|
33303
|
-
EventTypes["TestStart"] = "testStart";
|
|
33304
|
-
EventTypes["TestEnd"] = "testEnd";
|
|
33305
|
-
})(EventTypes = exports.EventTypes || (exports.EventTypes = {}));
|
|
33306
|
-
var TestSelectionStatus;
|
|
33307
|
-
(function (TestSelectionStatus) {
|
|
33308
|
-
TestSelectionStatus["RECOMMENDED_TESTS"] = "recommendedTests";
|
|
33309
|
-
TestSelectionStatus["DISABLED"] = "disabled";
|
|
33310
|
-
TestSelectionStatus["DISABLED_BY_CONFIGURATION"] = "disabledByConfiguration";
|
|
33311
|
-
TestSelectionStatus["RECOMMENDATIONS_NOT_AVAILABLE"] = "recommendationsNotAvailable";
|
|
33312
|
-
TestSelectionStatus["ERROR"] = "error";
|
|
33313
|
-
})(TestSelectionStatus = exports.TestSelectionStatus || (exports.TestSelectionStatus = {}));
|
|
33314
|
-
});
|
|
33315
|
-
|
|
33316
|
-
},{}],298:[function(require,module,exports){
|
|
33317
|
-
(function (factory) {
|
|
33318
|
-
if (typeof module === "object" && typeof module.exports === "object") {
|
|
33319
|
-
var v = factory(require, exports);
|
|
33320
|
-
if (v !== undefined) module.exports = v;
|
|
33321
|
-
}
|
|
33322
|
-
else if (typeof define === "function" && define.amd) {
|
|
33323
|
-
define(["require", "exports", "./events-contracts", "../system-date"], factory);
|
|
33324
|
-
}
|
|
33325
|
-
})(function (require, exports) {
|
|
33326
|
-
"use strict";
|
|
33327
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
33328
|
-
exports.EventsCreator = void 0;
|
|
33329
|
-
const events_contracts_1 = require("./events-contracts");
|
|
33330
|
-
const system_date_1 = require("../system-date");
|
|
33331
|
-
class EventsCreator {
|
|
33332
|
-
static createTestStartedEvent(executionId, framework, testName, duration) {
|
|
33333
|
-
const eventBase = this.createEvent(events_contracts_1.EventTypes.TestStart, executionId, framework);
|
|
33334
|
-
const startTimeStamp = (0, system_date_1.getSystemDateValueOf)() - duration;
|
|
33335
|
-
eventBase.localTime = startTimeStamp;
|
|
33336
|
-
return Object.assign(Object.assign({}, eventBase), { testName });
|
|
33337
|
-
}
|
|
33338
|
-
static createTestEndEvent(executionId, framework, testName, result, duration) {
|
|
33339
|
-
const eventBase = this.createEvent(events_contracts_1.EventTypes.TestEnd, executionId, framework);
|
|
33340
|
-
return Object.assign(Object.assign({}, eventBase), { result,
|
|
33341
|
-
duration,
|
|
33342
|
-
testName });
|
|
33343
|
-
}
|
|
33344
|
-
static createEvent(type, executionId, framework) {
|
|
33345
|
-
return {
|
|
33346
|
-
type,
|
|
33347
|
-
executionId,
|
|
33348
|
-
framework,
|
|
33349
|
-
localTime: (0, system_date_1.getSystemDateValueOf)()
|
|
33350
|
-
};
|
|
33351
|
-
}
|
|
33352
|
-
}
|
|
33353
|
-
exports.EventsCreator = EventsCreator;
|
|
33354
|
-
});
|
|
33355
|
-
|
|
33356
|
-
},{"../system-date":322,"./events-contracts":297}],299:[function(require,module,exports){
|
|
33179
|
+
},{"./contracts":289,"./file-element":290}],295:[function(require,module,exports){
|
|
33357
33180
|
var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, generator) {
|
|
33358
33181
|
function adopt(value) { return value instanceof P ? value : new P(function (resolve) { resolve(value); }); }
|
|
33359
33182
|
return new (P || (P = Promise))(function (resolve, reject) {
|
|
@@ -33541,7 +33364,7 @@ var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, ge
|
|
|
33541
33364
|
EventsProcess.ITEMS_TO_DEQUE = 1000;
|
|
33542
33365
|
});
|
|
33543
33366
|
|
|
33544
|
-
},{"../system-date":
|
|
33367
|
+
},{"../system-date":318,"../utils/validation-utils":322}],296:[function(require,module,exports){
|
|
33545
33368
|
(function (factory) {
|
|
33546
33369
|
if (typeof module === "object" && typeof module.exports === "object") {
|
|
33547
33370
|
var v = factory(require, exports);
|
|
@@ -33597,7 +33420,7 @@ var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, ge
|
|
|
33597
33420
|
exports.BaseBrowserHitsConverter = BaseBrowserHitsConverter;
|
|
33598
33421
|
});
|
|
33599
33422
|
|
|
33600
|
-
},{"../../common/footprints-process-v6/hits-converter":
|
|
33423
|
+
},{"../../common/footprints-process-v6/hits-converter":303,"../utils/files-utils":320,"./location-formatter":305}],297:[function(require,module,exports){
|
|
33601
33424
|
(function (factory) {
|
|
33602
33425
|
if (typeof module === "object" && typeof module.exports === "object") {
|
|
33603
33426
|
var v = factory(require, exports);
|
|
@@ -33621,7 +33444,7 @@ var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, ge
|
|
|
33621
33444
|
exports.BrowserFootprintsBuffer = BrowserFootprintsBuffer;
|
|
33622
33445
|
});
|
|
33623
33446
|
|
|
33624
|
-
},{"../contracts":
|
|
33447
|
+
},{"../contracts":288,"./footprints-buffer":301}],298:[function(require,module,exports){
|
|
33625
33448
|
(function (factory) {
|
|
33626
33449
|
if (typeof module === "object" && typeof module.exports === "object") {
|
|
33627
33450
|
var v = factory(require, exports);
|
|
@@ -33667,7 +33490,7 @@ var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, ge
|
|
|
33667
33490
|
BufferSizeHelper.BYTES_IN_GB = 1024 * 1024 * 1024;
|
|
33668
33491
|
});
|
|
33669
33492
|
|
|
33670
|
-
},{}],
|
|
33493
|
+
},{}],299:[function(require,module,exports){
|
|
33671
33494
|
(function (factory) {
|
|
33672
33495
|
if (typeof module === "object" && typeof module.exports === "object") {
|
|
33673
33496
|
var v = factory(require, exports);
|
|
@@ -33700,7 +33523,7 @@ var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, ge
|
|
|
33700
33523
|
exports.CollectorFootprintsBuffer = CollectorFootprintsBuffer;
|
|
33701
33524
|
});
|
|
33702
33525
|
|
|
33703
|
-
},{"../agent-events/agent-events-contracts":
|
|
33526
|
+
},{"../agent-events/agent-events-contracts":267,"./browser-footprints-buffer":297}],300:[function(require,module,exports){
|
|
33704
33527
|
var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, generator) {
|
|
33705
33528
|
function adopt(value) { return value instanceof P ? value : new P(function (resolve) { resolve(value); }); }
|
|
33706
33529
|
return new (P || (P = Promise))(function (resolve, reject) {
|
|
@@ -33770,7 +33593,7 @@ var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, ge
|
|
|
33770
33593
|
exports.CollectorFootprintsProcess = CollectorFootprintsProcess;
|
|
33771
33594
|
});
|
|
33772
33595
|
|
|
33773
|
-
},{".":
|
|
33596
|
+
},{".":304,"../no-op-state-tracker":314}],301:[function(require,module,exports){
|
|
33774
33597
|
(function (factory) {
|
|
33775
33598
|
if (typeof module === "object" && typeof module.exports === "object") {
|
|
33776
33599
|
var v = factory(require, exports);
|
|
@@ -33891,7 +33714,7 @@ var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, ge
|
|
|
33891
33714
|
FootprintsBuffer.BUFFER_FULL = 'bufferFull';
|
|
33892
33715
|
});
|
|
33893
33716
|
|
|
33894
|
-
},{"../agent-events/agent-events-contracts":
|
|
33717
|
+
},{"../agent-events/agent-events-contracts":267,"../agent-events/cockpit-notifier":274,"./buffer-size-helper":298,"events":168}],302:[function(require,module,exports){
|
|
33895
33718
|
(function (global){(function (){
|
|
33896
33719
|
var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, generator) {
|
|
33897
33720
|
function adopt(value) { return value instanceof P ? value : new P(function (resolve) { resolve(value); }); }
|
|
@@ -34079,7 +33902,7 @@ var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, ge
|
|
|
34079
33902
|
});
|
|
34080
33903
|
|
|
34081
33904
|
}).call(this)}).call(this,typeof global !== "undefined" ? global : typeof self !== "undefined" ? self : typeof window !== "undefined" ? window : {})
|
|
34082
|
-
},{"../agent-events/cockpit-notifier":
|
|
33905
|
+
},{"../agent-events/cockpit-notifier":274,"../constants/sl-env-vars":287,"../coverage-elements/original-module-loader":293}],303:[function(require,module,exports){
|
|
34083
33906
|
(function (factory) {
|
|
34084
33907
|
if (typeof module === "object" && typeof module.exports === "object") {
|
|
34085
33908
|
var v = factory(require, exports);
|
|
@@ -34229,7 +34052,7 @@ var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, ge
|
|
|
34229
34052
|
HitsConverter.BRANCH_ID_DEL = '|';
|
|
34230
34053
|
});
|
|
34231
34054
|
|
|
34232
|
-
},{"../agent-events/cockpit-notifier":
|
|
34055
|
+
},{"../agent-events/cockpit-notifier":274,"../constants/sl-env-vars":287,"../coverage-elements/new-id-resolver":292,"../coverage-elements/original-module-loader":293,"./hits-collector":302}],304:[function(require,module,exports){
|
|
34233
34056
|
var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, generator) {
|
|
34234
34057
|
function adopt(value) { return value instanceof P ? value : new P(function (resolve) { resolve(value); }); }
|
|
34235
34058
|
return new (P || (P = Promise))(function (resolve, reject) {
|
|
@@ -34303,6 +34126,12 @@ var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, ge
|
|
|
34303
34126
|
this.footprintsBuffer.agentConfig = updatedCfg;
|
|
34304
34127
|
});
|
|
34305
34128
|
}
|
|
34129
|
+
getBufferPacket() {
|
|
34130
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
34131
|
+
yield this.flushCurrentFootprints(true);
|
|
34132
|
+
return this.footprintsBuffer.toJson();
|
|
34133
|
+
});
|
|
34134
|
+
}
|
|
34306
34135
|
stopIfNeededAfterConfigChanged(updatedCfg) {
|
|
34307
34136
|
return __awaiter(this, void 0, void 0, function* () {
|
|
34308
34137
|
if (updatedCfg.sendFootprints.value === false || updatedCfg.enabled.value === false) {
|
|
@@ -34523,7 +34352,7 @@ var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, ge
|
|
|
34523
34352
|
FootprintsProcess.ALARM_FIRED = 'alarm';
|
|
34524
34353
|
});
|
|
34525
34354
|
|
|
34526
|
-
},{"../agent-events/agent-events-contracts":
|
|
34355
|
+
},{"../agent-events/agent-events-contracts":267,"../agent-events/agent-events-guard":269,"../agent-events/cockpit-notifier":274,"../constants/sl-env-vars":287,"../footprints-process/collection-interval":307,"../state-tracker":317,"./footprints-buffer":301}],305:[function(require,module,exports){
|
|
34527
34356
|
(function (factory) {
|
|
34528
34357
|
if (typeof module === "object" && typeof module.exports === "object") {
|
|
34529
34358
|
var v = factory(require, exports);
|
|
@@ -34557,7 +34386,7 @@ var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, ge
|
|
|
34557
34386
|
}
|
|
34558
34387
|
});
|
|
34559
34388
|
|
|
34560
|
-
},{}],
|
|
34389
|
+
},{}],306:[function(require,module,exports){
|
|
34561
34390
|
(function (process){(function (){
|
|
34562
34391
|
(function (factory) {
|
|
34563
34392
|
if (typeof module === "object" && typeof module.exports === "object") {
|
|
@@ -34598,7 +34427,7 @@ var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, ge
|
|
|
34598
34427
|
});
|
|
34599
34428
|
|
|
34600
34429
|
}).call(this)}).call(this,require('_process'))
|
|
34601
|
-
},{"_process":187}],
|
|
34430
|
+
},{"_process":187}],307:[function(require,module,exports){
|
|
34602
34431
|
(function (factory) {
|
|
34603
34432
|
if (typeof module === "object" && typeof module.exports === "object") {
|
|
34604
34433
|
var v = factory(require, exports);
|
|
@@ -34636,7 +34465,7 @@ var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, ge
|
|
|
34636
34465
|
exports.CollectionInterval = CollectionInterval;
|
|
34637
34466
|
});
|
|
34638
34467
|
|
|
34639
|
-
},{"../system-date":
|
|
34468
|
+
},{"../system-date":318}],308:[function(require,module,exports){
|
|
34640
34469
|
var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, generator) {
|
|
34641
34470
|
function adopt(value) { return value instanceof P ? value : new P(function (resolve) { resolve(value); }); }
|
|
34642
34471
|
return new (P || (P = Promise))(function (resolve, reject) {
|
|
@@ -34983,7 +34812,7 @@ var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, ge
|
|
|
34983
34812
|
BackendProxy.DEFAULT_HTTP_ATTEMPT_INTERVAL = 5 * 1000;
|
|
34984
34813
|
});
|
|
34985
34814
|
|
|
34986
|
-
},{"../constants/constants":
|
|
34815
|
+
},{"../constants/constants":286,"../constants/sl-env-vars":287,"../utils/timer-utils":321,"../utils/validation-utils":322,"./contracts":309,"./entities-mapper":310,"./http-client":311,"./sl-routes":313}],309:[function(require,module,exports){
|
|
34987
34816
|
(function (factory) {
|
|
34988
34817
|
if (typeof module === "object" && typeof module.exports === "object") {
|
|
34989
34818
|
var v = factory(require, exports);
|
|
@@ -35089,7 +34918,7 @@ var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, ge
|
|
|
35089
34918
|
})(SealightsHaderValues = exports.SealightsHaderValues || (exports.SealightsHaderValues = {}));
|
|
35090
34919
|
});
|
|
35091
34920
|
|
|
35092
|
-
},{"../system-date":
|
|
34921
|
+
},{"../system-date":318}],310:[function(require,module,exports){
|
|
35093
34922
|
(function (factory) {
|
|
35094
34923
|
if (typeof module === "object" && typeof module.exports === "object") {
|
|
35095
34924
|
var v = factory(require, exports);
|
|
@@ -35115,7 +34944,7 @@ var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, ge
|
|
|
35115
34944
|
exports.EntitiesMapper = EntitiesMapper;
|
|
35116
34945
|
});
|
|
35117
34946
|
|
|
35118
|
-
},{"./contracts":
|
|
34947
|
+
},{"./contracts":309}],311:[function(require,module,exports){
|
|
35119
34948
|
(function (process,Buffer){(function (){
|
|
35120
34949
|
(function (factory) {
|
|
35121
34950
|
if (typeof module === "object" && typeof module.exports === "object") {
|
|
@@ -35334,7 +35163,7 @@ var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, ge
|
|
|
35334
35163
|
});
|
|
35335
35164
|
|
|
35336
35165
|
}).call(this)}).call(this,require('_process'),require("buffer").Buffer)
|
|
35337
|
-
},{"../../common/system-date":
|
|
35166
|
+
},{"../../common/system-date":318,"../constants/sl-env-vars":287,"../utils/validation-utils":322,"./contracts":309,"./http-verb":312,"_process":187,"buffer":166,"request":162,"zlib":164}],312:[function(require,module,exports){
|
|
35338
35167
|
(function (factory) {
|
|
35339
35168
|
if (typeof module === "object" && typeof module.exports === "object") {
|
|
35340
35169
|
var v = factory(require, exports);
|
|
@@ -35356,7 +35185,7 @@ var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, ge
|
|
|
35356
35185
|
})(HttpVerb = exports.HttpVerb || (exports.HttpVerb = {}));
|
|
35357
35186
|
});
|
|
35358
35187
|
|
|
35359
|
-
},{}],
|
|
35188
|
+
},{}],313:[function(require,module,exports){
|
|
35360
35189
|
(function (factory) {
|
|
35361
35190
|
if (typeof module === "object" && typeof module.exports === "object") {
|
|
35362
35191
|
var v = factory(require, exports);
|
|
@@ -35587,7 +35416,7 @@ var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, ge
|
|
|
35587
35416
|
SLRoutes.ACTIVE = 'active';
|
|
35588
35417
|
});
|
|
35589
35418
|
|
|
35590
|
-
},{"../constants/constants":
|
|
35419
|
+
},{"../constants/constants":286,"../utils/validation-utils":322}],314:[function(require,module,exports){
|
|
35591
35420
|
(function (factory) {
|
|
35592
35421
|
if (typeof module === "object" && typeof module.exports === "object") {
|
|
35593
35422
|
var v = factory(require, exports);
|
|
@@ -35619,7 +35448,7 @@ var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, ge
|
|
|
35619
35448
|
exports.NoopStateTracker = NoopStateTracker;
|
|
35620
35449
|
});
|
|
35621
35450
|
|
|
35622
|
-
},{"./state-tracker-fpv6":
|
|
35451
|
+
},{"./state-tracker-fpv6":316}],315:[function(require,module,exports){
|
|
35623
35452
|
(function (factory) {
|
|
35624
35453
|
if (typeof module === "object" && typeof module.exports === "object") {
|
|
35625
35454
|
var v = factory(require, exports);
|
|
@@ -35666,7 +35495,7 @@ var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, ge
|
|
|
35666
35495
|
exports.SourceMapsUtils = SourceMapsUtils;
|
|
35667
35496
|
});
|
|
35668
35497
|
|
|
35669
|
-
},{"fs":165,"source-map":211}],
|
|
35498
|
+
},{"fs":165,"source-map":211}],316:[function(require,module,exports){
|
|
35670
35499
|
(function (factory) {
|
|
35671
35500
|
if (typeof module === "object" && typeof module.exports === "object") {
|
|
35672
35501
|
var v = factory(require, exports);
|
|
@@ -35699,7 +35528,7 @@ var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, ge
|
|
|
35699
35528
|
exports.StateTrackerFpv6 = StateTrackerFpv6;
|
|
35700
35529
|
});
|
|
35701
35530
|
|
|
35702
|
-
},{"./state-tracker":
|
|
35531
|
+
},{"./state-tracker":317}],317:[function(require,module,exports){
|
|
35703
35532
|
var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, generator) {
|
|
35704
35533
|
function adopt(value) { return value instanceof P ? value : new P(function (resolve) { resolve(value); }); }
|
|
35705
35534
|
return new (P || (P = Promise))(function (resolve, reject) {
|
|
@@ -35976,7 +35805,7 @@ var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, ge
|
|
|
35976
35805
|
StateTracker.NO_ACTIVE_EXECUTION = 'noActiveExecution';
|
|
35977
35806
|
});
|
|
35978
35807
|
|
|
35979
|
-
},{"./agent-events/agent-events-contracts":
|
|
35808
|
+
},{"./agent-events/agent-events-contracts":267,"./agent-events/cockpit-notifier":274,"./constants/sl-env-vars":287,"./utils/validation-utils":322,"events":168}],318:[function(require,module,exports){
|
|
35980
35809
|
(function (factory) {
|
|
35981
35810
|
if (typeof module === "object" && typeof module.exports === "object") {
|
|
35982
35811
|
var v = factory(require, exports);
|
|
@@ -36002,7 +35831,7 @@ var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, ge
|
|
|
36002
35831
|
exports.getSystemDateValueOf = getSystemDateValueOf;
|
|
36003
35832
|
});
|
|
36004
35833
|
|
|
36005
|
-
},{}],
|
|
35834
|
+
},{}],319:[function(require,module,exports){
|
|
36006
35835
|
(function (process){(function (){
|
|
36007
35836
|
(function (factory) {
|
|
36008
35837
|
if (typeof module === "object" && typeof module.exports === "object") {
|
|
@@ -36041,7 +35870,7 @@ var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, ge
|
|
|
36041
35870
|
});
|
|
36042
35871
|
|
|
36043
35872
|
}).call(this)}).call(this,require('_process'))
|
|
36044
|
-
},{"_process":187}],
|
|
35873
|
+
},{"_process":187}],320:[function(require,module,exports){
|
|
36045
35874
|
(function (factory) {
|
|
36046
35875
|
if (typeof module === "object" && typeof module.exports === "object") {
|
|
36047
35876
|
var v = factory(require, exports);
|
|
@@ -36095,7 +35924,7 @@ var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, ge
|
|
|
36095
35924
|
exports.FilesUtils = FilesUtils;
|
|
36096
35925
|
});
|
|
36097
35926
|
|
|
36098
|
-
},{"fs":165,"path":185}],
|
|
35927
|
+
},{"fs":165,"path":185}],321:[function(require,module,exports){
|
|
36099
35928
|
(function (factory) {
|
|
36100
35929
|
if (typeof module === "object" && typeof module.exports === "object") {
|
|
36101
35930
|
var v = factory(require, exports);
|
|
@@ -36116,7 +35945,7 @@ var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, ge
|
|
|
36116
35945
|
exports.TimerUtils = TimerUtils;
|
|
36117
35946
|
});
|
|
36118
35947
|
|
|
36119
|
-
},{}],
|
|
35948
|
+
},{}],322:[function(require,module,exports){
|
|
36120
35949
|
(function (factory) {
|
|
36121
35950
|
if (typeof module === "object" && typeof module.exports === "object") {
|
|
36122
35951
|
var v = factory(require, exports);
|
|
@@ -36139,11 +35968,17 @@ var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, ge
|
|
|
36139
35968
|
throw new Error(`${paramName} ${constants_1.Constants.Messages.CANNOT_BE_EMPTY_STRING}.`);
|
|
36140
35969
|
}
|
|
36141
35970
|
}
|
|
35971
|
+
static verifyNotNullOrEmptyMultiParams(params) {
|
|
35972
|
+
for (const param of params) {
|
|
35973
|
+
const { value, paramName } = param;
|
|
35974
|
+
ValidationUtils.verifyNotNullOrEmpty(value, paramName);
|
|
35975
|
+
}
|
|
35976
|
+
}
|
|
36142
35977
|
}
|
|
36143
35978
|
exports.ValidationUtils = ValidationUtils;
|
|
36144
35979
|
});
|
|
36145
35980
|
|
|
36146
|
-
},{"../constants/constants":
|
|
35981
|
+
},{"../constants/constants":286}],323:[function(require,module,exports){
|
|
36147
35982
|
(function (factory) {
|
|
36148
35983
|
if (typeof module === "object" && typeof module.exports === "object") {
|
|
36149
35984
|
var v = factory(require, exports);
|
|
@@ -36250,7 +36085,7 @@ var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, ge
|
|
|
36250
36085
|
exports.Watchdog = Watchdog;
|
|
36251
36086
|
});
|
|
36252
36087
|
|
|
36253
|
-
},{"events":168}],
|
|
36088
|
+
},{"events":168}],324:[function(require,module,exports){
|
|
36254
36089
|
/**
|
|
36255
36090
|
* The code was extracted from:
|
|
36256
36091
|
* https://github.com/davidchambers/Base64.js
|
|
@@ -36290,7 +36125,7 @@ function polyfill (input) {
|
|
|
36290
36125
|
|
|
36291
36126
|
module.exports = typeof window !== 'undefined' && window.atob && window.atob.bind(window) || polyfill;
|
|
36292
36127
|
|
|
36293
|
-
},{}],
|
|
36128
|
+
},{}],325:[function(require,module,exports){
|
|
36294
36129
|
var atob = require('./atob');
|
|
36295
36130
|
|
|
36296
36131
|
function b64DecodeUnicode(str) {
|
|
@@ -36325,7 +36160,7 @@ module.exports = function(str) {
|
|
|
36325
36160
|
}
|
|
36326
36161
|
};
|
|
36327
36162
|
|
|
36328
|
-
},{"./atob":
|
|
36163
|
+
},{"./atob":324}],326:[function(require,module,exports){
|
|
36329
36164
|
'use strict';
|
|
36330
36165
|
|
|
36331
36166
|
var base64_url_decode = require('./base64_url_decode');
|
|
@@ -36353,7 +36188,7 @@ module.exports = function (token,options) {
|
|
|
36353
36188
|
|
|
36354
36189
|
module.exports.InvalidTokenError = InvalidTokenError;
|
|
36355
36190
|
|
|
36356
|
-
},{"./base64_url_decode":
|
|
36191
|
+
},{"./base64_url_decode":325}],327:[function(require,module,exports){
|
|
36357
36192
|
var v1 = require('./v1');
|
|
36358
36193
|
var v4 = require('./v4');
|
|
36359
36194
|
|
|
@@ -36363,7 +36198,7 @@ uuid.v4 = v4;
|
|
|
36363
36198
|
|
|
36364
36199
|
module.exports = uuid;
|
|
36365
36200
|
|
|
36366
|
-
},{"./v1":
|
|
36201
|
+
},{"./v1":330,"./v4":331}],328:[function(require,module,exports){
|
|
36367
36202
|
/**
|
|
36368
36203
|
* Convert array of 16 byte values to UUID string format of the form:
|
|
36369
36204
|
* XXXXXXXX-XXXX-XXXX-XXXX-XXXXXXXXXXXX
|
|
@@ -36388,7 +36223,7 @@ function bytesToUuid(buf, offset) {
|
|
|
36388
36223
|
|
|
36389
36224
|
module.exports = bytesToUuid;
|
|
36390
36225
|
|
|
36391
|
-
},{}],
|
|
36226
|
+
},{}],329:[function(require,module,exports){
|
|
36392
36227
|
(function (global){(function (){
|
|
36393
36228
|
// Unique ID creation requires a high quality random # generator. In the
|
|
36394
36229
|
// browser this is a little complicated due to unknown quality of Math.random()
|
|
@@ -36425,7 +36260,7 @@ if (!rng) {
|
|
|
36425
36260
|
module.exports = rng;
|
|
36426
36261
|
|
|
36427
36262
|
}).call(this)}).call(this,typeof global !== "undefined" ? global : typeof self !== "undefined" ? self : typeof window !== "undefined" ? window : {})
|
|
36428
|
-
},{}],
|
|
36263
|
+
},{}],330:[function(require,module,exports){
|
|
36429
36264
|
var rng = require('./lib/rng');
|
|
36430
36265
|
var bytesToUuid = require('./lib/bytesToUuid');
|
|
36431
36266
|
|
|
@@ -36527,7 +36362,7 @@ function v1(options, buf, offset) {
|
|
|
36527
36362
|
|
|
36528
36363
|
module.exports = v1;
|
|
36529
36364
|
|
|
36530
|
-
},{"./lib/bytesToUuid":
|
|
36365
|
+
},{"./lib/bytesToUuid":328,"./lib/rng":329}],331:[function(require,module,exports){
|
|
36531
36366
|
var rng = require('./lib/rng');
|
|
36532
36367
|
var bytesToUuid = require('./lib/bytesToUuid');
|
|
36533
36368
|
|
|
@@ -36558,4 +36393,4 @@ function v4(options, buf, offset) {
|
|
|
36558
36393
|
|
|
36559
36394
|
module.exports = v4;
|
|
36560
36395
|
|
|
36561
|
-
},{"./lib/bytesToUuid":
|
|
36396
|
+
},{"./lib/bytesToUuid":328,"./lib/rng":329}]},{},[217]);
|