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
|
@@ -1,38 +1,21 @@
|
|
|
1
1
|
"use strict";
|
|
2
|
-
var __extends = (this && this.__extends) || (function () {
|
|
3
|
-
var extendStatics = function (d, b) {
|
|
4
|
-
extendStatics = Object.setPrototypeOf ||
|
|
5
|
-
({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||
|
|
6
|
-
function (d, b) { for (var p in b) if (Object.prototype.hasOwnProperty.call(b, p)) d[p] = b[p]; };
|
|
7
|
-
return extendStatics(d, b);
|
|
8
|
-
};
|
|
9
|
-
return function (d, b) {
|
|
10
|
-
if (typeof b !== "function" && b !== null)
|
|
11
|
-
throw new TypeError("Class extends value " + String(b) + " is not a constructor or null");
|
|
12
|
-
extendStatics(d, b);
|
|
13
|
-
function __() { this.constructor = d; }
|
|
14
|
-
d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());
|
|
15
|
-
};
|
|
16
|
-
})();
|
|
17
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
18
3
|
exports.IstanbulToFootprintsV3 = void 0;
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
_this.totalTests = 0;
|
|
4
|
+
const istanbul_to_footprints_base_1 = require("./istanbul-to-footprints-base");
|
|
5
|
+
const fs = require("fs");
|
|
6
|
+
const path = require("path");
|
|
7
|
+
const sourceMap = require("source-map");
|
|
8
|
+
class IstanbulToFootprintsV3 extends istanbul_to_footprints_base_1.IstanbulToFootprintsBase {
|
|
9
|
+
constructor(cfg, logger) {
|
|
10
|
+
super(logger);
|
|
11
|
+
this.cfg = cfg;
|
|
12
|
+
this.totalTests = 0;
|
|
29
13
|
if (!logger)
|
|
30
14
|
throw new Error('logger is required');
|
|
31
15
|
if (!cfg)
|
|
32
16
|
throw new Error('cfg is required');
|
|
33
|
-
return _this;
|
|
34
17
|
}
|
|
35
|
-
|
|
18
|
+
resetState() {
|
|
36
19
|
this.totalTests = 0;
|
|
37
20
|
//Holds the a mapping between a uniqueId for an element in a test, to an index in this elements 'hits' array.
|
|
38
21
|
this.eidToHitsIndex = {};
|
|
@@ -40,79 +23,78 @@ var IstanbulToFootprintsV3 = /** @class */ (function (_super) {
|
|
|
40
23
|
this.testNameToTestData = {};
|
|
41
24
|
this.fileNameToAppFile = {};
|
|
42
25
|
this.fileToSourceMapConsumer = {};
|
|
43
|
-
}
|
|
44
|
-
|
|
45
|
-
var _this = this;
|
|
26
|
+
}
|
|
27
|
+
createFootprintsPackageForSending(queuedFootprints, extraData) {
|
|
46
28
|
this.resetState();
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
|
|
29
|
+
const result = this.createFootprintsFile(extraData);
|
|
30
|
+
const app = result.apps[0]; //We assume single App for now.
|
|
31
|
+
const istanbulMaps = this.getIstanbulCounters();
|
|
50
32
|
// eslint-disable-next-line @typescript-eslint/no-this-alias
|
|
51
|
-
|
|
52
|
-
queuedFootprints.forEach(
|
|
53
|
-
|
|
54
|
-
for (
|
|
55
|
-
|
|
56
|
-
|
|
57
|
-
|
|
58
|
-
|
|
33
|
+
const context = this;
|
|
34
|
+
queuedFootprints.forEach(fp => {
|
|
35
|
+
const test = this.getOrCreateTestData(fp.testName, fp.executionId, fp.localTime, result);
|
|
36
|
+
for (const moduleName in fp.footprints) {
|
|
37
|
+
const istanbulModule = fp.footprints[moduleName];
|
|
38
|
+
const moduleWithMaps = istanbulMaps[moduleName];
|
|
39
|
+
this.logger.debug('~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~');
|
|
40
|
+
this.logger.debug(`moduleName: ${moduleName}`);
|
|
59
41
|
if (!moduleWithMaps) {
|
|
60
42
|
continue;
|
|
61
43
|
}
|
|
62
|
-
|
|
44
|
+
const relPath = this.getRelativeModulePath(moduleWithMaps);
|
|
63
45
|
if (!context.fileToSourceMapConsumer[relPath]) {
|
|
64
|
-
context.fileToSourceMapConsumer[relPath] =
|
|
65
|
-
|
|
46
|
+
context.fileToSourceMapConsumer[relPath] = this.readSourceMaps(relPath);
|
|
47
|
+
this.logger.debug('Read source maps for file\':' + relPath + '\'');
|
|
66
48
|
}
|
|
67
|
-
|
|
68
|
-
|
|
49
|
+
const sourceMap = this.fileToSourceMapConsumer[relPath];
|
|
50
|
+
const file = this.getOrCreateFootprintsAppFile(relPath, app);
|
|
69
51
|
if (istanbulModule.f) {
|
|
70
|
-
for (
|
|
71
|
-
|
|
52
|
+
for (const funcId in istanbulModule.f) {
|
|
53
|
+
const hits = istanbulModule.f[funcId];
|
|
72
54
|
if (hits > 0) {
|
|
73
|
-
|
|
74
|
-
|
|
55
|
+
const funcInfo = moduleWithMaps.fnMap[funcId];
|
|
56
|
+
let start = funcInfo.loc.start;
|
|
75
57
|
if (funcInfo.decl) {
|
|
76
58
|
start = funcInfo.decl.start; //For NYC
|
|
77
59
|
}
|
|
78
|
-
|
|
79
|
-
|
|
60
|
+
const sourceMapData = this.readSourceMapData(sourceMap, start, relPath);
|
|
61
|
+
let filePath = relPath;
|
|
80
62
|
if (sourceMapData) {
|
|
81
63
|
filePath = sourceMapData.originalFilename;
|
|
82
64
|
start = sourceMapData.originalStart;
|
|
83
65
|
}
|
|
84
|
-
|
|
85
|
-
|
|
86
|
-
if (
|
|
66
|
+
const uniqueId = filePath + '@' + this.formatLoc(start);
|
|
67
|
+
const methodElement = this.getOrCreateMethodElement(uniqueId, file);
|
|
68
|
+
if (this.cfg.extendedFootprints.value) {
|
|
87
69
|
methodElement.funcInfo = JSON.stringify(funcInfo);
|
|
88
70
|
methodElement.sourceMapData = JSON.stringify(sourceMapData);
|
|
89
71
|
}
|
|
90
|
-
|
|
72
|
+
this.addOrUpdateElementHits(test, uniqueId, methodElement, hits);
|
|
91
73
|
}
|
|
92
74
|
}
|
|
93
75
|
}
|
|
94
76
|
if (istanbulModule.b) {
|
|
95
|
-
for (
|
|
96
|
-
|
|
97
|
-
|
|
98
|
-
for (
|
|
99
|
-
|
|
100
|
-
|
|
77
|
+
for (const branchId in istanbulModule.b) {
|
|
78
|
+
const ifElseAndSwitchCasesArr = istanbulModule.b[branchId];
|
|
79
|
+
const expressionInfo = moduleWithMaps.branchMap[branchId];
|
|
80
|
+
for (let idx = 0; idx < ifElseAndSwitchCasesArr.length; idx++) {
|
|
81
|
+
const branchInfo = expressionInfo.locations[idx];
|
|
82
|
+
const hits = ifElseAndSwitchCasesArr[idx];
|
|
101
83
|
if (hits > 0) {
|
|
102
|
-
|
|
103
|
-
|
|
104
|
-
|
|
84
|
+
let start = branchInfo.start;
|
|
85
|
+
const sourceMapData = this.readSourceMapData(sourceMap, start, relPath);
|
|
86
|
+
let filePath = relPath;
|
|
105
87
|
if (sourceMapData) {
|
|
106
88
|
filePath = sourceMapData.originalFilename;
|
|
107
89
|
start = sourceMapData.originalStart;
|
|
108
90
|
}
|
|
109
|
-
|
|
110
|
-
|
|
111
|
-
if (
|
|
91
|
+
const uniqueId = filePath + '|' + this.formatLoc(start) + '|' + idx;
|
|
92
|
+
const branchElement = this.getOrCreateBranchElement(uniqueId, file);
|
|
93
|
+
if (this.cfg.extendedFootprints.value) {
|
|
112
94
|
branchElement.branchInfo = JSON.stringify(branchInfo);
|
|
113
95
|
branchElement.sourceMapData = JSON.stringify(sourceMapData);
|
|
114
96
|
}
|
|
115
|
-
|
|
97
|
+
this.addOrUpdateElementHits(test, uniqueId, branchElement, hits);
|
|
116
98
|
}
|
|
117
99
|
}
|
|
118
100
|
}
|
|
@@ -120,43 +102,43 @@ var IstanbulToFootprintsV3 = /** @class */ (function (_super) {
|
|
|
120
102
|
}
|
|
121
103
|
});
|
|
122
104
|
return result;
|
|
123
|
-
}
|
|
124
|
-
|
|
125
|
-
|
|
126
|
-
|
|
127
|
-
|
|
105
|
+
}
|
|
106
|
+
addOrUpdateElementHits(testData, elementUniqueId, element, hits) {
|
|
107
|
+
const HITS_INDEX = 1;
|
|
108
|
+
const eid = elementUniqueId + '|' + testData.index;
|
|
109
|
+
const index = this.eidToHitsIndex[eid];
|
|
128
110
|
if (index != null) {
|
|
129
|
-
|
|
130
|
-
|
|
111
|
+
const testIndexAndHits = element.hits[index];
|
|
112
|
+
let elementHits = testIndexAndHits[HITS_INDEX];
|
|
131
113
|
elementHits = elementHits + hits;
|
|
132
114
|
testIndexAndHits[HITS_INDEX] = elementHits;
|
|
133
115
|
}
|
|
134
116
|
else {
|
|
135
|
-
|
|
117
|
+
const testIndexAndHits = new Array();
|
|
136
118
|
testIndexAndHits.push(testData.index);
|
|
137
119
|
testIndexAndHits.push(hits);
|
|
138
|
-
|
|
139
|
-
this.eidToHitsIndex[eid] =
|
|
120
|
+
const length = element.hits.push(testIndexAndHits);
|
|
121
|
+
this.eidToHitsIndex[eid] = length - 1;
|
|
140
122
|
}
|
|
141
|
-
}
|
|
142
|
-
|
|
123
|
+
}
|
|
124
|
+
getOrCreateTestData(testName, executionId, localTime, result) {
|
|
143
125
|
if (!this.testNameToTestData[testName]) {
|
|
144
|
-
|
|
126
|
+
const test = {
|
|
145
127
|
executionId: executionId,
|
|
146
128
|
localTime: localTime,
|
|
147
129
|
testName: testName
|
|
148
130
|
};
|
|
149
|
-
result.tests.push(
|
|
131
|
+
result.tests.push(test);
|
|
150
132
|
this.testNameToTestData[testName] = {
|
|
151
133
|
index: this.totalTests++,
|
|
152
|
-
test:
|
|
134
|
+
test: test
|
|
153
135
|
};
|
|
154
136
|
}
|
|
155
137
|
return this.testNameToTestData[testName];
|
|
156
|
-
}
|
|
157
|
-
|
|
138
|
+
}
|
|
139
|
+
getOrCreateMethodElement(uniqueId, file) {
|
|
158
140
|
if (!this.uniqueIdToElement[uniqueId]) {
|
|
159
|
-
|
|
141
|
+
const x = {
|
|
160
142
|
hits: new Array(),
|
|
161
143
|
uniqueId: uniqueId
|
|
162
144
|
};
|
|
@@ -164,10 +146,10 @@ var IstanbulToFootprintsV3 = /** @class */ (function (_super) {
|
|
|
164
146
|
file.methods.push(x);
|
|
165
147
|
}
|
|
166
148
|
return this.uniqueIdToElement[uniqueId];
|
|
167
|
-
}
|
|
168
|
-
|
|
149
|
+
}
|
|
150
|
+
getOrCreateBranchElement(uniqueId, file) {
|
|
169
151
|
if (!this.uniqueIdToElement[uniqueId]) {
|
|
170
|
-
|
|
152
|
+
const x = {
|
|
171
153
|
hits: new Array(),
|
|
172
154
|
uniqueId: uniqueId
|
|
173
155
|
};
|
|
@@ -175,13 +157,13 @@ var IstanbulToFootprintsV3 = /** @class */ (function (_super) {
|
|
|
175
157
|
file.branches.push(x);
|
|
176
158
|
}
|
|
177
159
|
return this.uniqueIdToElement[uniqueId];
|
|
178
|
-
}
|
|
179
|
-
|
|
160
|
+
}
|
|
161
|
+
getOrCreateFootprintsAppFile(fileName, app) {
|
|
180
162
|
if (this.fileNameToAppFile[fileName]) {
|
|
181
163
|
return this.fileNameToAppFile[fileName];
|
|
182
164
|
}
|
|
183
165
|
//File doesn't exist in request.
|
|
184
|
-
|
|
166
|
+
const file = {
|
|
185
167
|
methods: new Array(),
|
|
186
168
|
branches: new Array(),
|
|
187
169
|
lines: new Array(),
|
|
@@ -190,10 +172,10 @@ var IstanbulToFootprintsV3 = /** @class */ (function (_super) {
|
|
|
190
172
|
app.files.push(file);
|
|
191
173
|
this.fileNameToAppFile[fileName] = file;
|
|
192
174
|
return file;
|
|
193
|
-
}
|
|
194
|
-
|
|
175
|
+
}
|
|
176
|
+
createFootprintsFile(extraData) {
|
|
195
177
|
//Supporting only one app right now
|
|
196
|
-
|
|
178
|
+
const app = {
|
|
197
179
|
appName: this.cfg.appName.value,
|
|
198
180
|
branchName: this.cfg.branch.value,
|
|
199
181
|
buildName: this.cfg.build.value,
|
|
@@ -202,12 +184,12 @@ var IstanbulToFootprintsV3 = /** @class */ (function (_super) {
|
|
|
202
184
|
};
|
|
203
185
|
extraData.apps.push(app);
|
|
204
186
|
return extraData;
|
|
205
|
-
}
|
|
206
|
-
|
|
187
|
+
}
|
|
188
|
+
readSourceMaps(fullFilename) {
|
|
207
189
|
if (!fullFilename)
|
|
208
190
|
return;
|
|
209
|
-
|
|
210
|
-
|
|
191
|
+
const sourceMapsFilename = fullFilename + '.map';
|
|
192
|
+
let contents, rawSourceMapJsonData, consumer;
|
|
211
193
|
try {
|
|
212
194
|
contents = fs.readFileSync(sourceMapsFilename).toString();
|
|
213
195
|
}
|
|
@@ -231,24 +213,24 @@ var IstanbulToFootprintsV3 = /** @class */ (function (_super) {
|
|
|
231
213
|
console.error('[Sealights] Error processing source maps for file: ' + sourceMapsFilename);
|
|
232
214
|
return null;
|
|
233
215
|
}
|
|
234
|
-
}
|
|
235
|
-
|
|
216
|
+
}
|
|
217
|
+
readSourceMapData(sourceMaps, start, coveragePath) {
|
|
236
218
|
if (!sourceMaps)
|
|
237
219
|
return null;
|
|
238
220
|
try {
|
|
239
221
|
//console.log('Checking original position for '+name+' at'+JSON.stringify(start));
|
|
240
|
-
|
|
222
|
+
const originalPosition = sourceMaps.originalPositionFor(start); //{ line: start.line, column: start[1] });
|
|
241
223
|
//console.log('Original position: '+JSON.stringify(originalPosition));
|
|
242
224
|
if (originalPosition && originalPosition.source && originalPosition.line !== null && originalPosition.column !== null) {
|
|
243
|
-
|
|
225
|
+
let originalFilename = originalPosition.source;
|
|
244
226
|
if (originalFilename.indexOf('webpack:///webpack/') === -1 &&
|
|
245
227
|
originalFilename.indexOf('webpack:///external') === -1) { //Ignore embedded and external module
|
|
246
228
|
if (originalFilename.indexOf('webpack:///') === 0) {
|
|
247
229
|
originalFilename = originalFilename.substring(11); //'webpack:///'.length
|
|
248
230
|
}
|
|
249
231
|
originalFilename = this.fixRelPath(coveragePath, originalFilename);
|
|
250
|
-
|
|
251
|
-
|
|
232
|
+
const originalStart = { line: originalPosition.line, column: originalPosition.column };
|
|
233
|
+
const result = { originalFilename: originalFilename, originalStart: originalStart };
|
|
252
234
|
return result;
|
|
253
235
|
}
|
|
254
236
|
}
|
|
@@ -257,8 +239,8 @@ var IstanbulToFootprintsV3 = /** @class */ (function (_super) {
|
|
|
257
239
|
console.error(e);
|
|
258
240
|
}
|
|
259
241
|
return null;
|
|
260
|
-
}
|
|
261
|
-
|
|
242
|
+
}
|
|
243
|
+
fixRelPath(p1, p2) {
|
|
262
244
|
try {
|
|
263
245
|
if (!p1 || p1.length == 0)
|
|
264
246
|
return p1;
|
|
@@ -269,23 +251,22 @@ var IstanbulToFootprintsV3 = /** @class */ (function (_super) {
|
|
|
269
251
|
p2 = this.adjustPathSlashes(p2);
|
|
270
252
|
if (p2[0] == '/')
|
|
271
253
|
return p2; //Absolute path
|
|
272
|
-
|
|
254
|
+
const parts1 = p1.split('/');
|
|
273
255
|
parts1.pop(); //remove the filename
|
|
274
|
-
|
|
275
|
-
|
|
276
|
-
|
|
256
|
+
const parts2 = p2.split('/');
|
|
257
|
+
const p3 = parts1.concat(parts2);
|
|
258
|
+
const finalPath = this.adjustPathSlashes(path.normalize(p3.join('/')));
|
|
277
259
|
return finalPath;
|
|
278
260
|
}
|
|
279
261
|
catch (err) {
|
|
280
262
|
//log.error("Failed to fix real path for source maps. Error: " + err + ". Original File Name: " + p1 + ". Function: " + p2);
|
|
281
263
|
return p2;
|
|
282
264
|
}
|
|
283
|
-
}
|
|
284
|
-
|
|
265
|
+
}
|
|
266
|
+
adjustPathSlashes(filePath) {
|
|
285
267
|
filePath = (filePath || '').replace(/\\/g, '/');
|
|
286
268
|
return filePath;
|
|
287
|
-
}
|
|
288
|
-
|
|
289
|
-
}(istanbul_to_footprints_base_1.IstanbulToFootprintsBase));
|
|
269
|
+
}
|
|
270
|
+
}
|
|
290
271
|
exports.IstanbulToFootprintsV3 = IstanbulToFootprintsV3;
|
|
291
272
|
//# sourceMappingURL=istanbul-to-footprints-v3.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"istanbul-to-footprints-v3.js","sourceRoot":"","sources":["../../../test-listener/footprints-process/istanbul-to-footprints-v3.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"istanbul-to-footprints-v3.js","sourceRoot":"","sources":["../../../test-listener/footprints-process/istanbul-to-footprints-v3.ts"],"names":[],"mappings":";;;AACA,+EAAyE;AAGzE,yBAA0B;AAC1B,6BAA8B;AAC9B,wCAAyC;AAEzC,MAAa,sBAAuB,SAAQ,sDAAwB;IAShE,YAA2B,GAAgB,EAAE,MAAc;QACvD,KAAK,CAAC,MAAM,CAAC,CAAC;QADS,QAAG,GAAH,GAAG,CAAa;QAR3C,eAAU,GAAG,CAAC,CAAC;QAUX,IAAI,CAAC,MAAM;YAAE,MAAM,IAAI,KAAK,CAAC,oBAAoB,CAAC,CAAC;QACnD,IAAI,CAAC,GAAG;YAAE,MAAM,IAAI,KAAK,CAAC,iBAAiB,CAAC,CAAC;IACjD,CAAC;IAEO,UAAU;QACd,IAAI,CAAC,UAAU,GAAG,CAAC,CAAC;QACpB,6GAA6G;QAC7G,IAAI,CAAC,cAAc,GAAG,EAAE,CAAC;QACzB,IAAI,CAAC,iBAAiB,GAAG,EAAE,CAAC;QAC5B,IAAI,CAAC,kBAAkB,GAAG,EAAE,CAAC;QAC7B,IAAI,CAAC,iBAAiB,GAAG,EAAE,CAAC;QAC5B,IAAI,CAAC,uBAAuB,GAAG,EAAE,CAAC;IACtC,CAAC;IAGM,iCAAiC,CAAC,gBAAqC,EAAE,SAA6B;QACzG,IAAI,CAAC,UAAU,EAAE,CAAC;QAClB,MAAM,MAAM,GAAG,IAAI,CAAC,oBAAoB,CAAC,SAAS,CAAC,CAAC;QACpD,MAAM,GAAG,GAAG,MAAM,CAAC,IAAI,CAAC,CAAC,CAAC,CAAC,CAAC,+BAA+B;QAC3D,MAAM,YAAY,GAAG,IAAI,CAAC,mBAAmB,EAAE,CAAC;QAChD,4DAA4D;QAC5D,MAAM,O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