slnodejs 6.0.34 → 6.1.70

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.
Files changed (203) hide show
  1. package/browser-agent/dist/browser-agent-all.js +195 -111
  2. package/browser-agent/dist/browser-agent-all.min.js +28 -28
  3. package/browser-agent/package.json +2 -2
  4. package/package.json +6 -5
  5. package/tsOutputs/api.d.ts +2 -0
  6. package/tsOutputs/api.js +2 -1
  7. package/tsOutputs/build-scanner/ast-utils.js +39 -0
  8. package/tsOutputs/build-scanner/ast-utils.js.map +1 -0
  9. package/tsOutputs/build-scanner/build-diff-process.js +15 -9
  10. package/tsOutputs/build-scanner/build-diff-process.js.map +1 -1
  11. package/tsOutputs/build-scanner/file-system/actual-file.js +38 -18
  12. package/tsOutputs/build-scanner/file-system/actual-file.js.map +1 -1
  13. package/tsOutputs/build-scanner/instrumentation/file-instrumenter.js +6 -6
  14. package/tsOutputs/build-scanner/instrumentation/file-instrumenter.js.map +1 -1
  15. package/tsOutputs/build-scanner/instrumentation/markup-file-instrumenter.js +5 -8
  16. package/tsOutputs/build-scanner/instrumentation/markup-file-instrumenter.js.map +1 -1
  17. package/tsOutputs/build-scanner/js_diff/dry-run-files-mapping.js +1 -1
  18. package/tsOutputs/build-scanner/js_diff/dry-run-files-mapping.js.map +1 -1
  19. package/tsOutputs/build-scanner/js_diff/file-signature.js +9 -19
  20. package/tsOutputs/build-scanner/js_diff/file-signature.js.map +1 -1
  21. package/tsOutputs/build-scanner/js_diff/files-mapping.js +11 -24
  22. package/tsOutputs/build-scanner/js_diff/files-mapping.js.map +1 -1
  23. package/tsOutputs/build-scanner/js_diff/generated-file-signature.js.map +1 -1
  24. package/tsOutputs/build-scanner/js_diff/guess-method-location.js +3 -0
  25. package/tsOutputs/build-scanner/js_diff/guess-method-location.js.map +1 -1
  26. package/tsOutputs/build-scanner/js_diff/method-signature.js +3 -1
  27. package/tsOutputs/build-scanner/js_diff/method-signature.js.map +1 -1
  28. package/tsOutputs/build-scanner/js_diff/sl-mapper.js +61 -0
  29. package/tsOutputs/build-scanner/js_diff/sl-mapper.js.map +1 -1
  30. package/tsOutputs/build-scanner/js_diff/source-data-enricher.js +1 -1
  31. package/tsOutputs/build-scanner/js_diff/source-data-enricher.js.map +1 -1
  32. package/tsOutputs/build-scanner/mappings/contracts.js +3 -0
  33. package/tsOutputs/build-scanner/mappings/contracts.js.map +1 -0
  34. package/tsOutputs/build-scanner/mappings/ensure-files-handler.service.js +214 -0
  35. package/tsOutputs/build-scanner/mappings/ensure-files-handler.service.js.map +1 -0
  36. package/tsOutputs/build-scanner/mappings/file-element-utils.js +47 -0
  37. package/tsOutputs/build-scanner/mappings/file-element-utils.js.map +1 -0
  38. package/tsOutputs/build-scanner/mappings/file-enricher.js +207 -0
  39. package/tsOutputs/build-scanner/mappings/file-enricher.js.map +1 -0
  40. package/tsOutputs/build-scanner/mappings/files-data-container.js +52 -0
  41. package/tsOutputs/build-scanner/mappings/files-data-container.js.map +1 -0
  42. package/tsOutputs/build-scanner/mappings/scm-file-fixer.js +80 -0
  43. package/tsOutputs/build-scanner/mappings/scm-file-fixer.js.map +1 -0
  44. package/tsOutputs/cli-parse/child-process-wrapper.js +3 -3
  45. package/tsOutputs/cli-parse/child-process-wrapper.js.map +1 -1
  46. package/tsOutputs/cli-parse/cli.js +10 -8
  47. package/tsOutputs/cli-parse/cli.js.map +1 -1
  48. package/tsOutputs/cli-parse/constants/constants.js +9 -9
  49. package/tsOutputs/cli-parse/constants/constants.js.map +1 -1
  50. package/tsOutputs/cli-parse/custom-commander.js +2 -2
  51. package/tsOutputs/cli-parse/custom-commander.js.map +1 -1
  52. package/tsOutputs/cli-parse/executors/base-executor.js +35 -26
  53. package/tsOutputs/cli-parse/executors/base-executor.js.map +1 -1
  54. package/tsOutputs/cli-parse/executors/build-end-executor.js +1 -1
  55. package/tsOutputs/cli-parse/executors/build-end-executor.js.map +1 -1
  56. package/tsOutputs/cli-parse/executors/build-executor.js +2 -2
  57. package/tsOutputs/cli-parse/executors/build-executor.js.map +1 -1
  58. package/tsOutputs/cli-parse/executors/config-executor.js +5 -2
  59. package/tsOutputs/cli-parse/executors/config-executor.js.map +1 -1
  60. package/tsOutputs/cli-parse/executors/dry-run/base-data.js +4 -4
  61. package/tsOutputs/cli-parse/executors/dry-run/base-data.js.map +1 -1
  62. package/tsOutputs/cli-parse/executors/dry-run/build-mapping-data.js +21 -21
  63. package/tsOutputs/cli-parse/executors/dry-run/build-mapping-data.js.map +1 -1
  64. package/tsOutputs/cli-parse/executors/dry-run/dry-run-executor.js +25 -23
  65. package/tsOutputs/cli-parse/executors/dry-run/dry-run-executor.js.map +1 -1
  66. package/tsOutputs/cli-parse/executors/dry-run/dry-run-validation.js +1 -1
  67. package/tsOutputs/cli-parse/executors/dry-run/dry-run-validation.js.map +1 -1
  68. package/tsOutputs/cli-parse/executors/dry-run/footprints-data.js +79 -19
  69. package/tsOutputs/cli-parse/executors/dry-run/footprints-data.js.map +1 -1
  70. package/tsOutputs/cli-parse/executors/dry-run/helper-methods.js +15 -10
  71. package/tsOutputs/cli-parse/executors/dry-run/helper-methods.js.map +1 -1
  72. package/tsOutputs/cli-parse/executors/end-execution-executor.js +1 -1
  73. package/tsOutputs/cli-parse/executors/end-execution-executor.js.map +1 -1
  74. package/tsOutputs/cli-parse/executors/integration-build-components-executor.js +1 -1
  75. package/tsOutputs/cli-parse/executors/integration-build-components-executor.js.map +1 -1
  76. package/tsOutputs/cli-parse/executors/mocha-executor.js +1 -1
  77. package/tsOutputs/cli-parse/executors/mocha-executor.js.map +1 -1
  78. package/tsOutputs/cli-parse/executors/nyc-report-executor.js +3 -3
  79. package/tsOutputs/cli-parse/executors/nyc-report-executor.js.map +1 -1
  80. package/tsOutputs/cli-parse/executors/start-execution-executor.js +1 -1
  81. package/tsOutputs/cli-parse/executors/start-execution-executor.js.map +1 -1
  82. package/tsOutputs/cli-parse/executors/test-listener-executor.js +1 -1
  83. package/tsOutputs/cli-parse/executors/test-listener-executor.js.map +1 -1
  84. package/tsOutputs/cli-parse/executors/test-runner-build-session-data-builder.js +1 -1
  85. package/tsOutputs/cli-parse/executors/test-runner-build-session-data-builder.js.map +1 -1
  86. package/tsOutputs/cli-parse/executors/upload-report-executor.js +1 -1
  87. package/tsOutputs/cli-parse/executors/upload-report-executor.js.map +1 -1
  88. package/tsOutputs/cli-parse/utils.js +5 -5
  89. package/tsOutputs/cli-parse/utils.js.map +1 -1
  90. package/tsOutputs/common/agent-events/agent-events-controller.js +7 -7
  91. package/tsOutputs/common/agent-events/agent-events-controller.js.map +1 -1
  92. package/tsOutputs/common/agent-events/agent-instance-info-builder.js +1 -1
  93. package/tsOutputs/common/agent-events/agent-instance-info-builder.js.map +1 -1
  94. package/tsOutputs/common/agent-events/cockpit-notifier.js +1 -1
  95. package/tsOutputs/common/agent-events/machine-info-builder.js +1 -1
  96. package/tsOutputs/common/agent-events/machine-info-builder.js.map +1 -1
  97. package/tsOutputs/common/agent-events/sensitive-data-filter.js +1 -1
  98. package/tsOutputs/common/agent-events/sensitive-data-filter.js.map +1 -1
  99. package/tsOutputs/common/agent-instance-data.js +2 -2
  100. package/tsOutputs/common/agent-instance-data.js.map +1 -1
  101. package/tsOutputs/common/config-process/config.js +1 -1
  102. package/tsOutputs/common/config-process/config.js.map +1 -1
  103. package/tsOutputs/common/constants/constants.js +1 -1
  104. package/tsOutputs/common/constants/constants.js.map +1 -1
  105. package/tsOutputs/common/contracts.d.ts +1 -0
  106. package/tsOutputs/common/coverage-elements/new-id-resolver.js +7 -7
  107. package/tsOutputs/common/coverage-elements/new-id-resolver.js.map +1 -1
  108. package/tsOutputs/common/coverage-elements/unique-id-converter.js +4 -4
  109. package/tsOutputs/common/coverage-elements/unique-id-converter.js.map +1 -1
  110. package/tsOutputs/common/events-process/events-creator.js +2 -2
  111. package/tsOutputs/common/events-process/events-creator.js.map +1 -1
  112. package/tsOutputs/common/events-process/index.js +4 -4
  113. package/tsOutputs/common/events-process/index.js.map +1 -1
  114. package/tsOutputs/common/footprints-process/collection-interval.js +2 -2
  115. package/tsOutputs/common/footprints-process/collection-interval.js.map +1 -1
  116. package/tsOutputs/common/footprints-process/index.js +2 -2
  117. package/tsOutputs/common/footprints-process/index.js.map +1 -1
  118. package/tsOutputs/common/footprints-process/istanbul-to-footprints.js +5 -5
  119. package/tsOutputs/common/footprints-process/istanbul-to-footprints.js.map +1 -1
  120. package/tsOutputs/common/footprints-process/production-footprints-handler.js +4 -4
  121. package/tsOutputs/common/footprints-process/production-footprints-handler.js.map +1 -1
  122. package/tsOutputs/common/footprints-process-v6/base-browser-hits-converter.js +1 -1
  123. package/tsOutputs/common/footprints-process-v6/base-browser-hits-converter.js.map +1 -1
  124. package/tsOutputs/common/footprints-process-v6/hits-converter.js +12 -3
  125. package/tsOutputs/common/footprints-process-v6/hits-converter.js.map +1 -1
  126. package/tsOutputs/common/footprints-process-v6/index.js +6 -6
  127. package/tsOutputs/common/footprints-process-v6/index.js.map +1 -1
  128. package/tsOutputs/common/footprints-process-v6/location-formatter.js +2 -2
  129. package/tsOutputs/common/footprints-process-v6/location-formatter.js.map +1 -1
  130. package/tsOutputs/common/footprints-process-v6/source-map-data.js +1 -1
  131. package/tsOutputs/common/footprints-process-v6/source-map-data.js.map +1 -1
  132. package/tsOutputs/common/http/backend-proxy.d.ts +1 -0
  133. package/tsOutputs/common/http/backend-proxy.js +10 -0
  134. package/tsOutputs/common/http/backend-proxy.js.map +1 -1
  135. package/tsOutputs/common/http/contracts.d.ts +78 -1
  136. package/tsOutputs/common/http/contracts.js +1 -1
  137. package/tsOutputs/common/http/contracts.js.map +1 -1
  138. package/tsOutputs/common/http/http-client.js +15 -11
  139. package/tsOutputs/common/http/http-client.js.map +1 -1
  140. package/tsOutputs/common/http/sl-routes.js +1 -1
  141. package/tsOutputs/common/http/sl-routes.js.map +1 -1
  142. package/tsOutputs/common/ignored-files-handler.js +2 -2
  143. package/tsOutputs/common/ignored-files-handler.js.map +1 -1
  144. package/tsOutputs/common/logger.js +4 -4
  145. package/tsOutputs/common/logger.js.map +1 -1
  146. package/tsOutputs/common/scm/git-cloner.js +138 -0
  147. package/tsOutputs/common/scm/git-cloner.js.map +1 -0
  148. package/tsOutputs/common/scm/git-format-builder.js +1 -1
  149. package/tsOutputs/common/scm/git.js +1 -1
  150. package/tsOutputs/common/scm/git.js.map +1 -1
  151. package/tsOutputs/common/short-name-to-file-mapper.js +3 -3
  152. package/tsOutputs/common/short-name-to-file-mapper.js.map +1 -1
  153. package/tsOutputs/common/source-map-handler.js +7 -7
  154. package/tsOutputs/common/source-map-handler.js.map +1 -1
  155. package/tsOutputs/common/source-map-reader.js +7 -7
  156. package/tsOutputs/common/source-map-reader.js.map +1 -1
  157. package/tsOutputs/common/state-tracker-fpv6.js +1 -1
  158. package/tsOutputs/common/state-tracker-fpv6.js.map +1 -1
  159. package/tsOutputs/common/state-tracker.js +5 -8
  160. package/tsOutputs/common/state-tracker.js.map +1 -1
  161. package/tsOutputs/common/utils/abstract-data-builder.js +2 -2
  162. package/tsOutputs/common/utils/abstract-data-builder.js.map +1 -1
  163. package/tsOutputs/common/utils/build-session-data-builder.js +3 -3
  164. package/tsOutputs/common/utils/build-session-data-builder.js.map +1 -1
  165. package/tsOutputs/common/utils/files-utils.d.ts +1 -0
  166. package/tsOutputs/common/utils/files-utils.js +9 -0
  167. package/tsOutputs/common/utils/files-utils.js.map +1 -1
  168. package/tsOutputs/common/utils/test-utils/mock-server-utils/mock-server-proxy.js +3 -3
  169. package/tsOutputs/common/utils/test-utils/mock-server-utils/mock-server-proxy.js.map +1 -1
  170. package/tsOutputs/common/utils/token-data-builder.js +2 -2
  171. package/tsOutputs/common/utils/token-data-builder.js.map +1 -1
  172. package/tsOutputs/common/utils/validation-utils.js +2 -2
  173. package/tsOutputs/common/utils/validation-utils.js.map +1 -1
  174. package/tsOutputs/test-listener/agent.js +3 -3
  175. package/tsOutputs/test-listener/agent.js.map +1 -1
  176. package/tsOutputs/test-listener/child-process-patcher.js +1 -1
  177. package/tsOutputs/test-listener/child-process-patcher.js.map +1 -1
  178. package/tsOutputs/test-listener/execution-process/execution-service-proxy.js +1 -1
  179. package/tsOutputs/test-listener/execution-process/execution-service-proxy.js.map +1 -1
  180. package/tsOutputs/test-listener/footprints-process/index.js +2 -2
  181. package/tsOutputs/test-listener/footprints-process/index.js.map +1 -1
  182. package/tsOutputs/test-listener/footprints-process/istanbul-to-footprints-base.js +1 -1
  183. package/tsOutputs/test-listener/footprints-process/istanbul-to-footprints-base.js.map +1 -1
  184. package/tsOutputs/test-listener/logs-process/index.js +1 -1
  185. package/tsOutputs/test-listener/logs-process/index.js.map +1 -1
  186. package/tsOutputs/test-listener/nyc-report-executor-fpv6.js +10 -3
  187. package/tsOutputs/test-listener/nyc-report-executor-fpv6.js.map +1 -1
  188. package/tsOutputs/test-listener/nyc-report-executor.js +3 -3
  189. package/tsOutputs/test-listener/nyc-report-executor.js.map +1 -1
  190. package/tsOutputs/test-listener/remote-agent.js +1 -1
  191. package/tsOutputs/test-listener/remote-agent.js.map +1 -1
  192. package/tsOutputs/test-listener/resolvers/ArgumentResolver.js +2 -2
  193. package/tsOutputs/test-listener/resolvers/ArgumentResolver.js.map +1 -1
  194. package/tsOutputs/test-listener/state-tracker-process/index.js +2 -2
  195. package/tsOutputs/test-listener/state-tracker-process/index.js.map +1 -1
  196. package/tsOutputs/test-listener/state-tracker-process/state-tracker-proxy.js +1 -1
  197. package/tsOutputs/test-listener/state-tracker-process/state-tracker-proxy.js.map +1 -1
  198. package/tsOutputs/test-listener/test-recommendation-handler.js +4 -4
  199. package/tsOutputs/test-listener/test-recommendation-handler.js.map +1 -1
  200. package/tsOutputs/test-listener/upload-report-handler.js +1 -1
  201. package/tsOutputs/test-listener/upload-report-handler.js.map +1 -1
  202. package/tsOutputs/build-scanner/git-format-builder.js +0 -69
  203. package/tsOutputs/build-scanner/git-format-builder.js.map +0 -1
@@ -1,69 +0,0 @@
1
- var formatMap = {
2
- commit: '"%H"',
3
- authorName: '"%an"',
4
- authorEmail: '"%ae"',
5
- committerName: '"%cn"',
6
- committerEmail: '"%ce"',
7
- authorDate: '"%at000"',
8
- committerDate: '"%ct000"',
9
- title: '"%f"'
10
- };
11
- var formatBuilder = function () {
12
- var params = [];
13
- return {
14
- withCommit: function (alias) {
15
- alias = alias || 'commit';
16
- params.push('"' + alias + '":' + formatMap.commit);
17
- return this;
18
- },
19
- withAuthorName: function (alias) {
20
- alias = alias || 'authorName';
21
- params.push('"' + alias + '":' + formatMap.authorName);
22
- return this;
23
- },
24
- withAuthorEmail: function (alias) {
25
- alias = alias || 'authorEmail';
26
- params.push('"' + alias + '":' + formatMap.authorEmail);
27
- return this;
28
- },
29
- withAuthorDate: function (alias) {
30
- alias = alias || 'authorDate';
31
- params.push('"' + alias + '":' + formatMap.authorDate);
32
- return this;
33
- },
34
- withCommitTerEmail: function (alias) {
35
- alias = alias || 'committerEmail';
36
- params.push('"' + alias + '":' + formatMap.committerEmail);
37
- return this;
38
- },
39
- withCommitterName: function (alias) {
40
- alias = alias || 'committerName';
41
- params.push('"' + alias + '":' + formatMap.committerName);
42
- return this;
43
- },
44
- withCommitterDate: function (alias) {
45
- alias = alias || 'committerDate';
46
- params.push('"' + alias + '":' + formatMap.committerDate);
47
- return this;
48
- },
49
- withTitle: function (alias) {
50
- alias = alias || 'title';
51
- params.push('"' + alias + '":' + formatMap.title);
52
- return this;
53
- },
54
- build: function () {
55
- if (params.length < 1) {
56
- return '';
57
- }
58
- if (this.isWindows()) {
59
- return '{' + params.toString().replace(/"/g, '"""') + '}';
60
- }
61
- return '\'{' + params.toString() + '}\'';
62
- },
63
- isWindows: function () {
64
- return /^win/.test(process.platform);
65
- }
66
- };
67
- };
68
- module.exports = formatBuilder;
69
- //# sourceMappingURL=git-format-builder.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"git-format-builder.js","sourceRoot":"","sources":["../../build-scanner/git-format-builder.js"],"names":[],"mappings":"AAAA,IAAI,SAAS,GAAG;IACZ,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