mootant 0.0.0 → 0.2.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (1656) hide show
  1. package/bin/mootant.js +5 -0
  2. package/dist/adapters/jest/build-dry-file.d.ts +54 -0
  3. package/dist/adapters/jest/build-dry-file.js +73 -0
  4. package/dist/adapters/jest/build-isolated-facts.d.ts +45 -0
  5. package/dist/adapters/jest/build-isolated-facts.js +37 -0
  6. package/dist/adapters/jest/check-jest-support.d.ts +16 -0
  7. package/dist/adapters/jest/check-jest-support.js +5 -0
  8. package/dist/adapters/jest/check-repeatable.d.ts +39 -0
  9. package/dist/adapters/jest/check-repeatable.js +63 -0
  10. package/dist/adapters/jest/collect-jest-dependencies.d.ts +26 -0
  11. package/dist/adapters/jest/collect-jest-dependencies.js +15 -0
  12. package/dist/adapters/jest/create-heap-cap.d.ts +16 -0
  13. package/dist/adapters/jest/create-heap-cap.js +12 -0
  14. package/dist/adapters/jest/create-record-reader.d.ts +14 -0
  15. package/dist/adapters/jest/create-record-reader.js +25 -0
  16. package/dist/adapters/jest/create-worker-pool.d.ts +16 -0
  17. package/dist/adapters/jest/create-worker-pool.js +41 -0
  18. package/dist/adapters/jest/filter-jest-arguments.d.ts +32 -0
  19. package/dist/adapters/jest/filter-jest-arguments.js +210 -0
  20. package/dist/adapters/jest/find-jest-command.d.ts +15 -0
  21. package/dist/adapters/jest/find-jest-command.js +117 -0
  22. package/dist/adapters/jest/fold-attempts.d.ts +13 -0
  23. package/dist/adapters/jest/fold-attempts.js +21 -0
  24. package/dist/adapters/jest/get-dry-deadline.d.ts +20 -0
  25. package/dist/adapters/jest/get-dry-deadline.js +8 -0
  26. package/dist/adapters/jest/get-jest-base-arguments.d.ts +13 -0
  27. package/dist/adapters/jest/get-jest-base-arguments.js +18 -0
  28. package/dist/adapters/jest/get-jest-cache-directory.d.ts +9 -0
  29. package/dist/adapters/jest/get-jest-cache-directory.js +5 -0
  30. package/dist/adapters/jest/get-jest-cache-inputs.d.ts +61 -0
  31. package/dist/adapters/jest/get-jest-cache-inputs.js +58 -0
  32. package/dist/adapters/jest/get-jest-console.d.ts +22 -0
  33. package/dist/adapters/jest/get-jest-console.js +5 -0
  34. package/dist/adapters/jest/get-unit-deadline.d.ts +15 -0
  35. package/dist/adapters/jest/get-unit-deadline.js +8 -0
  36. package/dist/adapters/jest/index.d.ts +13 -0
  37. package/dist/adapters/jest/index.js +11 -0
  38. package/dist/adapters/jest/insert-jest-flags.d.ts +9 -0
  39. package/dist/adapters/jest/insert-jest-flags.js +9 -0
  40. package/dist/adapters/jest/is-transform-input.d.ts +14 -0
  41. package/dist/adapters/jest/is-transform-input.js +9 -0
  42. package/dist/adapters/jest/keep-late-transforms.d.ts +16 -0
  43. package/dist/adapters/jest/keep-late-transforms.js +5 -0
  44. package/dist/adapters/jest/keep-transform-reads.d.ts +34 -0
  45. package/dist/adapters/jest/keep-transform-reads.js +30 -0
  46. package/dist/adapters/jest/list-jest-config-files.d.ts +21 -0
  47. package/dist/adapters/jest/list-jest-config-files.js +29 -0
  48. package/dist/adapters/jest/list-jest-config-paths.d.ts +19 -0
  49. package/dist/adapters/jest/list-jest-config-paths.js +24 -0
  50. package/dist/adapters/jest/list-jest-projects.d.ts +24 -0
  51. package/dist/adapters/jest/list-jest-projects.js +29 -0
  52. package/dist/adapters/jest/list-jest-test-files.d.ts +21 -0
  53. package/dist/adapters/jest/list-jest-test-files.js +16 -0
  54. package/dist/adapters/jest/list-unserved-files.d.ts +16 -0
  55. package/dist/adapters/jest/list-unserved-files.js +12 -0
  56. package/dist/adapters/jest/read-host-config.d.ts +28 -0
  57. package/dist/adapters/jest/read-host-config.js +26 -0
  58. package/dist/adapters/jest/read-jest-config.d.ts +27 -0
  59. package/dist/adapters/jest/read-jest-config.js +43 -0
  60. package/dist/adapters/jest/read-teardown.d.ts +23 -0
  61. package/dist/adapters/jest/read-teardown.js +34 -0
  62. package/dist/adapters/jest/resolve-jest-packages.d.ts +20 -0
  63. package/dist/adapters/jest/resolve-jest-packages.js +45 -0
  64. package/dist/adapters/jest/results-mark.d.ts +6 -0
  65. package/dist/adapters/jest/results-mark.js +2 -0
  66. package/dist/adapters/jest/run-dry.d.ts +37 -0
  67. package/dist/adapters/jest/run-dry.js +165 -0
  68. package/dist/adapters/jest/run-isolated.d.ts +26 -0
  69. package/dist/adapters/jest/run-isolated.js +113 -0
  70. package/dist/adapters/jest/run-on-worker.d.ts +46 -0
  71. package/dist/adapters/jest/run-on-worker.js +76 -0
  72. package/dist/adapters/jest/runner.d.ts +23 -0
  73. package/dist/adapters/jest/runner.js +2 -0
  74. package/dist/adapters/jest/score-jest.d.ts +12 -0
  75. package/dist/adapters/jest/score-jest.js +19 -0
  76. package/dist/adapters/jest/start-jest-host.d.ts +37 -0
  77. package/dist/adapters/jest/start-jest-host.js +85 -0
  78. package/dist/adapters/jest/start-jest-session.d.ts +40 -0
  79. package/dist/adapters/jest/start-jest-session.js +185 -0
  80. package/dist/adapters/jest/start-worker.d.ts +32 -0
  81. package/dist/adapters/jest/start-worker.js +50 -0
  82. package/dist/adapters/jest/transform-config-names.d.ts +6 -0
  83. package/dist/adapters/jest/transform-config-names.js +20 -0
  84. package/dist/adapters/jest/ts-jest-path.d.ts +7 -0
  85. package/dist/adapters/jest/ts-jest-path.js +2 -0
  86. package/dist/adapters/jest/types/booted-project.d.ts +25 -0
  87. package/dist/adapters/jest/types/circus-event.d.ts +103 -0
  88. package/dist/adapters/jest/types/circus-state.d.ts +50 -0
  89. package/dist/adapters/jest/types/error-realm.d.ts +7 -0
  90. package/dist/adapters/jest/types/flag-kind.d.ts +6 -0
  91. package/dist/adapters/jest/types/folded-test.d.ts +55 -0
  92. package/dist/adapters/jest/types/heap-cap.d.ts +18 -0
  93. package/dist/adapters/jest/types/host-test.d.ts +26 -0
  94. package/dist/adapters/jest/types/inline-cjs.d.ts +7 -0
  95. package/dist/adapters/jest/types/jest-adapter-options.d.ts +22 -0
  96. package/dist/adapters/jest/types/jest-command.d.ts +27 -0
  97. package/dist/adapters/jest/types/jest-config.d.ts +16 -0
  98. package/dist/adapters/jest/types/jest-console.d.ts +6 -0
  99. package/dist/adapters/jest/types/jest-file-facts.d.ts +14 -0
  100. package/dist/adapters/jest/types/jest-file-result.d.ts +47 -0
  101. package/dist/adapters/jest/types/jest-global-config.d.ts +49 -0
  102. package/dist/adapters/jest/types/jest-handle.d.ts +119 -0
  103. package/dist/adapters/jest/types/jest-host.d.ts +72 -0
  104. package/dist/adapters/jest/types/jest-module-map.d.ts +15 -0
  105. package/dist/adapters/jest/types/jest-packages.d.ts +57 -0
  106. package/dist/adapters/jest/types/jest-project-config.d.ts +112 -0
  107. package/dist/adapters/jest/types/jest-project.d.ts +16 -0
  108. package/dist/adapters/jest/types/jest-ready.d.ts +58 -0
  109. package/dist/adapters/jest/types/jest-record.d.ts +333 -0
  110. package/dist/adapters/jest/types/jest-test-runner.d.ts +46 -0
  111. package/dist/adapters/jest/types/jest-timed-record.d.ts +6 -0
  112. package/dist/adapters/jest/types/jest-unit.d.ts +42 -0
  113. package/dist/adapters/jest/types/jest-worker.d.ts +49 -0
  114. package/dist/adapters/jest/types/record-reader.d.ts +16 -0
  115. package/dist/adapters/jest/types/unit-outcome.d.ts +45 -0
  116. package/dist/adapters/jest/types/unit-worker.d.ts +174 -0
  117. package/dist/adapters/jest/types/vm-side.d.ts +43 -0
  118. package/dist/adapters/jest/types/worker-calls.d.ts +66 -0
  119. package/dist/adapters/jest/types/worker-channel.d.ts +53 -0
  120. package/dist/adapters/jest/types/worker-files.d.ts +31 -0
  121. package/dist/adapters/jest/types/worker-pool.d.ts +55 -0
  122. package/dist/adapters/jest/types/worker-process.d.ts +64 -0
  123. package/dist/adapters/jest/types/worker-project.d.ts +15 -0
  124. package/dist/adapters/jest/types/worker-session.d.ts +62 -0
  125. package/dist/adapters/jest/types/worker-slot.d.ts +20 -0
  126. package/dist/adapters/jest/wait-for-jest-exit.d.ts +15 -0
  127. package/dist/adapters/jest/wait-for-jest-exit.js +28 -0
  128. package/dist/adapters/jest/worker/boot-worker.d.ts +40 -0
  129. package/dist/adapters/jest/worker/channel-slot.d.ts +6 -0
  130. package/dist/adapters/jest/worker/count-default-resolver-calls.d.ts +18 -0
  131. package/dist/adapters/jest/worker/count-resolver-calls.d.ts +16 -0
  132. package/dist/adapters/jest/worker/create-circus-tracker.d.ts +61 -0
  133. package/dist/adapters/jest/worker/create-state-guard.d.ts +55 -0
  134. package/dist/adapters/jest/worker/create-test-runner.d.ts +76 -0
  135. package/dist/adapters/jest/worker/create-transformer-factory.d.ts +124 -0
  136. package/dist/adapters/jest/worker/create-worker-channel.d.ts +11 -0
  137. package/dist/adapters/jest/worker/install-exit-guards.d.ts +34 -0
  138. package/dist/adapters/jest/worker/install-vm-side.d.ts +36 -0
  139. package/dist/adapters/jest/worker/read-error-facts.d.ts +21 -0
  140. package/dist/adapters/jest/worker/read-jest-result.d.ts +11 -0
  141. package/dist/adapters/jest/worker/run-unit.d.ts +54 -0
  142. package/dist/adapters/jest/worker/switch-source.d.ts +16 -0
  143. package/dist/adapters/jest/worker/track-stores.d.ts +10 -0
  144. package/dist/adapters/jest/worker/vm-setup.d.ts +1 -0
  145. package/dist/adapters/jest/worker/vm-setup.js +2 -0
  146. package/dist/adapters/jest/worker/worker.d.ts +1 -0
  147. package/dist/adapters/jest/worker/worker.js +2 -0
  148. package/dist/adapters/jest/worker/wrap-project-config.d.ts +24 -0
  149. package/dist/adapters/jest/write-worker-files.d.ts +13 -0
  150. package/dist/adapters/jest/write-worker-files.js +31 -0
  151. package/dist/adapters/jest/write-worker-session.d.ts +29 -0
  152. package/dist/adapters/jest/write-worker-session.js +23 -0
  153. package/dist/adapters/node-test/build-dry-file.d.ts +52 -0
  154. package/dist/adapters/node-test/build-dry-file.js +56 -0
  155. package/dist/adapters/node-test/build-isolated-facts.d.ts +33 -0
  156. package/dist/adapters/node-test/build-isolated-facts.js +34 -0
  157. package/dist/adapters/node-test/check-node-support.d.ts +8 -0
  158. package/dist/adapters/node-test/check-node-support.js +5 -0
  159. package/dist/adapters/node-test/check-todo-bail.d.ts +10 -0
  160. package/dist/adapters/node-test/check-todo-bail.js +5 -0
  161. package/dist/adapters/node-test/check-typescript.d.ts +24 -0
  162. package/dist/adapters/node-test/check-typescript.js +17 -0
  163. package/dist/adapters/node-test/collect-node-dependencies.d.ts +31 -0
  164. package/dist/adapters/node-test/collect-node-dependencies.js +24 -0
  165. package/dist/adapters/node-test/create-glob-pattern.d.ts +11 -0
  166. package/dist/adapters/node-test/create-glob-pattern.js +21 -0
  167. package/dist/adapters/node-test/describe-hook-failure.d.ts +14 -0
  168. package/dist/adapters/node-test/describe-hook-failure.js +4 -0
  169. package/dist/adapters/node-test/drop-todo-errors.d.ts +10 -0
  170. package/dist/adapters/node-test/drop-todo-errors.js +5 -0
  171. package/dist/adapters/node-test/filter-exec-argv.d.ts +19 -0
  172. package/dist/adapters/node-test/filter-exec-argv.js +33 -0
  173. package/dist/adapters/node-test/find-test-command.d.ts +13 -0
  174. package/dist/adapters/node-test/find-test-command.js +18 -0
  175. package/dist/adapters/node-test/get-default-patterns.d.ts +13 -0
  176. package/dist/adapters/node-test/get-default-patterns.js +14 -0
  177. package/dist/adapters/node-test/get-dry-deadline.d.ts +17 -0
  178. package/dist/adapters/node-test/get-dry-deadline.js +6 -0
  179. package/dist/adapters/node-test/get-node-cache-inputs.d.ts +31 -0
  180. package/dist/adapters/node-test/get-node-cache-inputs.js +33 -0
  181. package/dist/adapters/node-test/get-preload-path.d.ts +10 -0
  182. package/dist/adapters/node-test/get-preload-path.js +7 -0
  183. package/dist/adapters/node-test/get-unit-deadline.d.ts +13 -0
  184. package/dist/adapters/node-test/get-unit-deadline.js +5 -0
  185. package/dist/adapters/node-test/includes-tsx.d.ts +9 -0
  186. package/dist/adapters/node-test/includes-tsx.js +5 -0
  187. package/dist/adapters/node-test/index.d.ts +13 -0
  188. package/dist/adapters/node-test/index.js +11 -0
  189. package/dist/adapters/node-test/list-file-errors.d.ts +18 -0
  190. package/dist/adapters/node-test/list-file-errors.js +8 -0
  191. package/dist/adapters/node-test/list-flag-values.d.ts +10 -0
  192. package/dist/adapters/node-test/list-flag-values.js +9 -0
  193. package/dist/adapters/node-test/list-loaded-files.d.ts +9 -0
  194. package/dist/adapters/node-test/list-loaded-files.js +7 -0
  195. package/dist/adapters/node-test/list-node-test-files.d.ts +13 -0
  196. package/dist/adapters/node-test/list-node-test-files.js +42 -0
  197. package/dist/adapters/node-test/list-running-tries.d.ts +16 -0
  198. package/dist/adapters/node-test/list-running-tries.js +6 -0
  199. package/dist/adapters/node-test/list-setup-files.d.ts +11 -0
  200. package/dist/adapters/node-test/list-setup-files.js +9 -0
  201. package/dist/adapters/node-test/loader-flags.d.ts +4 -0
  202. package/dist/adapters/node-test/loader-flags.js +8 -0
  203. package/dist/adapters/node-test/place-preload.d.ts +17 -0
  204. package/dist/adapters/node-test/place-preload.js +27 -0
  205. package/dist/adapters/node-test/preload/create-bail-error.d.ts +9 -0
  206. package/dist/adapters/node-test/preload/create-bail-error.js +7 -0
  207. package/dist/adapters/node-test/preload/create-commonjs-route.d.ts +24 -0
  208. package/dist/adapters/node-test/preload/create-commonjs-route.js +15 -0
  209. package/dist/adapters/node-test/preload/create-file-recorder.d.ts +10 -0
  210. package/dist/adapters/node-test/preload/create-file-recorder.js +10 -0
  211. package/dist/adapters/node-test/preload/create-load-hook.d.ts +22 -0
  212. package/dist/adapters/node-test/preload/create-load-hook.js +18 -0
  213. package/dist/adapters/node-test/preload/create-record-writer.d.ts +13 -0
  214. package/dist/adapters/node-test/preload/create-record-writer.js +8 -0
  215. package/dist/adapters/node-test/preload/create-report-reader.d.ts +35 -0
  216. package/dist/adapters/node-test/preload/create-report-reader.js +34 -0
  217. package/dist/adapters/node-test/preload/create-source-switcher.d.ts +25 -0
  218. package/dist/adapters/node-test/preload/create-source-switcher.js +25 -0
  219. package/dist/adapters/node-test/preload/create-try-tracker.d.ts +71 -0
  220. package/dist/adapters/node-test/preload/create-try-tracker.js +125 -0
  221. package/dist/adapters/node-test/preload/hooks.d.ts +19 -0
  222. package/dist/adapters/node-test/preload/hooks.js +17 -0
  223. package/dist/adapters/node-test/preload/install-marker-receivers.d.ts +30 -0
  224. package/dist/adapters/node-test/preload/install-marker-receivers.js +16 -0
  225. package/dist/adapters/node-test/preload/install-module-hooks.d.ts +79 -0
  226. package/dist/adapters/node-test/preload/install-module-hooks.js +13 -0
  227. package/dist/adapters/node-test/preload/loaded-key.d.ts +5 -0
  228. package/dist/adapters/node-test/preload/loaded-key.js +2 -0
  229. package/dist/adapters/node-test/preload/patch-module-compile.d.ts +14 -0
  230. package/dist/adapters/node-test/preload/patch-module-compile.js +11 -0
  231. package/dist/adapters/node-test/preload/preload.d.ts +1 -0
  232. package/dist/adapters/node-test/preload/preload.js +74 -0
  233. package/dist/adapters/node-test/preload/read-unit.d.ts +13 -0
  234. package/dist/adapters/node-test/preload/read-unit.js +5 -0
  235. package/dist/adapters/node-test/preload/reported-key.d.ts +5 -0
  236. package/dist/adapters/node-test/preload/reported-key.js +2 -0
  237. package/dist/adapters/node-test/preload/reporter.d.ts +10 -0
  238. package/dist/adapters/node-test/preload/reporter.js +12 -0
  239. package/dist/adapters/node-test/preload/served-key.d.ts +5 -0
  240. package/dist/adapters/node-test/preload/served-key.js +2 -0
  241. package/dist/adapters/node-test/read-node-runtime.d.ts +22 -0
  242. package/dist/adapters/node-test/read-node-runtime.js +40 -0
  243. package/dist/adapters/node-test/read-test-timeout.d.ts +8 -0
  244. package/dist/adapters/node-test/read-test-timeout.js +12 -0
  245. package/dist/adapters/node-test/read-tries.d.ts +47 -0
  246. package/dist/adapters/node-test/read-tries.js +31 -0
  247. package/dist/adapters/node-test/resolve-command.d.ts +15 -0
  248. package/dist/adapters/node-test/resolve-command.js +87 -0
  249. package/dist/adapters/node-test/resolve-tsx.d.ts +8 -0
  250. package/dist/adapters/node-test/resolve-tsx.js +12 -0
  251. package/dist/adapters/node-test/run-dry.d.ts +32 -0
  252. package/dist/adapters/node-test/run-dry.js +87 -0
  253. package/dist/adapters/node-test/run-isolated.d.ts +22 -0
  254. package/dist/adapters/node-test/run-isolated.js +56 -0
  255. package/dist/adapters/node-test/run-test-file.d.ts +22 -0
  256. package/dist/adapters/node-test/run-test-file.js +36 -0
  257. package/dist/adapters/node-test/run-test-process.d.ts +63 -0
  258. package/dist/adapters/node-test/run-test-process.js +69 -0
  259. package/dist/adapters/node-test/score-node-test.d.ts +11 -0
  260. package/dist/adapters/node-test/score-node-test.js +32 -0
  261. package/dist/adapters/node-test/start-node-test-session.d.ts +26 -0
  262. package/dist/adapters/node-test/start-node-test-session.js +124 -0
  263. package/dist/adapters/node-test/types/node-test-adapter-options.d.ts +33 -0
  264. package/dist/adapters/node-test/types/node-test-command.d.ts +28 -0
  265. package/dist/adapters/node-test/types/node-test-handle.d.ts +118 -0
  266. package/dist/adapters/node-test/types/node-test-hooks-data.d.ts +20 -0
  267. package/dist/adapters/node-test/types/node-test-record.d.ts +330 -0
  268. package/dist/adapters/node-test/types/node-test-unit.d.ts +62 -0
  269. package/dist/adapters/node-test/types/process-watch.d.ts +22 -0
  270. package/dist/adapters/node-test/types/source-switcher.d.ts +21 -0
  271. package/dist/adapters/node-test/types/test-process-outcome.d.ts +31 -0
  272. package/dist/adapters/node-test/types/try-context.d.ts +26 -0
  273. package/dist/adapters/node-test/types/try-tracker.d.ts +44 -0
  274. package/dist/adapters/shared/capture-clock.d.ts +11 -0
  275. package/dist/adapters/shared/capture-clock.js +14 -0
  276. package/dist/adapters/shared/create-environment-proxy.d.ts +12 -0
  277. package/dist/adapters/shared/create-environment-proxy.js +17 -0
  278. package/dist/adapters/shared/create-input-filter.d.ts +26 -0
  279. package/dist/adapters/shared/create-input-filter.js +32 -0
  280. package/dist/adapters/shared/describe-exit.d.ts +14 -0
  281. package/dist/adapters/shared/describe-exit.js +4 -0
  282. package/dist/adapters/shared/environment-slot.d.ts +5 -0
  283. package/dist/adapters/shared/environment-slot.js +2 -0
  284. package/dist/adapters/shared/get-error-message.d.ts +9 -0
  285. package/dist/adapters/shared/get-error-message.js +10 -0
  286. package/dist/adapters/shared/get-test-id.d.ts +19 -0
  287. package/dist/adapters/shared/get-test-id.js +11 -0
  288. package/dist/adapters/shared/hash-environment.d.ts +9 -0
  289. package/dist/adapters/shared/hash-environment.js +6 -0
  290. package/dist/adapters/shared/index-environment-hashes.d.ts +13 -0
  291. package/dist/adapters/shared/index-environment-hashes.js +19 -0
  292. package/dist/adapters/shared/list-package-files.d.ts +11 -0
  293. package/dist/adapters/shared/list-package-files.js +9 -0
  294. package/dist/adapters/shared/list-tsconfig-files.d.ts +12 -0
  295. package/dist/adapters/shared/list-tsconfig-files.js +15 -0
  296. package/dist/adapters/shared/live-process-groups.d.ts +5 -0
  297. package/dist/adapters/shared/live-process-groups.js +2 -0
  298. package/dist/adapters/shared/parse-command.d.ts +16 -0
  299. package/dist/adapters/shared/parse-command.js +27 -0
  300. package/dist/adapters/shared/read-command-prefix.d.ts +16 -0
  301. package/dist/adapters/shared/read-command-prefix.js +33 -0
  302. package/dist/adapters/shared/read-out-file.d.ts +8 -0
  303. package/dist/adapters/shared/read-out-file.js +11 -0
  304. package/dist/adapters/shared/read-package-type.d.ts +8 -0
  305. package/dist/adapters/shared/read-package-type.js +12 -0
  306. package/dist/adapters/shared/read-test-scripts.d.ts +14 -0
  307. package/dist/adapters/shared/read-test-scripts.js +55 -0
  308. package/dist/adapters/shared/read-tsconfig-extends.d.ts +12 -0
  309. package/dist/adapters/shared/read-tsconfig-extends.js +39 -0
  310. package/dist/adapters/shared/run-in-pool.d.ts +16 -0
  311. package/dist/adapters/shared/run-in-pool.js +22 -0
  312. package/dist/adapters/shared/split-node-arguments.d.ts +14 -0
  313. package/dist/adapters/shared/split-node-arguments.js +18 -0
  314. package/dist/adapters/shared/stop-live-process-groups.d.ts +5 -0
  315. package/dist/adapters/shared/stop-live-process-groups.js +7 -0
  316. package/dist/adapters/shared/stop-process-group.d.ts +9 -0
  317. package/dist/adapters/shared/stop-process-group.js +10 -0
  318. package/dist/adapters/shared/track-environment.d.ts +43 -0
  319. package/dist/adapters/shared/track-environment.js +18 -0
  320. package/dist/adapters/shared/track-file-inputs.d.ts +16 -0
  321. package/dist/adapters/shared/track-file-inputs.js +30 -0
  322. package/dist/adapters/shared/track-file-reads.d.ts +42 -0
  323. package/dist/adapters/shared/track-file-reads.js +243 -0
  324. package/dist/adapters/shared/track-inputs.d.ts +23 -0
  325. package/dist/adapters/shared/track-inputs.js +21 -0
  326. package/dist/adapters/shared/track-process-group.d.ts +9 -0
  327. package/dist/adapters/shared/track-process-group.js +20 -0
  328. package/dist/adapters/shared/track-spawners.d.ts +20 -0
  329. package/dist/adapters/shared/track-spawners.js +49 -0
  330. package/dist/adapters/shared/types/environment-proxy-state.d.ts +23 -0
  331. package/dist/adapters/shared/types/file-input-tracking.d.ts +26 -0
  332. package/dist/adapters/shared/types/input-tracking.d.ts +26 -0
  333. package/dist/adapters/shared/types/safe-clock.d.ts +25 -0
  334. package/dist/adapters/shared/types/switch-plan.d.ts +7 -0
  335. package/dist/adapters/shared/verdict-variable-pattern.d.ts +6 -0
  336. package/dist/adapters/shared/verdict-variable-pattern.js +2 -0
  337. package/dist/adapters/shared/write-switch-plan.d.ts +11 -0
  338. package/dist/adapters/shared/write-switch-plan.js +16 -0
  339. package/dist/adapters/vitest/build-isolated-facts.d.ts +19 -0
  340. package/dist/adapters/vitest/build-isolated-facts.js +31 -0
  341. package/dist/adapters/vitest/check-project-config.d.ts +10 -0
  342. package/dist/adapters/vitest/check-project-config.js +6 -0
  343. package/dist/adapters/vitest/check-vitest-copy.d.ts +12 -0
  344. package/dist/adapters/vitest/check-vitest-copy.js +15 -0
  345. package/dist/adapters/vitest/collect-dependencies.d.ts +30 -0
  346. package/dist/adapters/vitest/collect-dependencies.js +39 -0
  347. package/dist/adapters/vitest/configure-project.d.ts +17 -0
  348. package/dist/adapters/vitest/configure-project.js +24 -0
  349. package/dist/adapters/vitest/create-forks-pool.d.ts +22 -0
  350. package/dist/adapters/vitest/create-forks-pool.js +49 -0
  351. package/dist/adapters/vitest/create-interleaved-sequencer.d.ts +13 -0
  352. package/dist/adapters/vitest/create-interleaved-sequencer.js +21 -0
  353. package/dist/adapters/vitest/create-mootant-plugin.d.ts +18 -0
  354. package/dist/adapters/vitest/create-mootant-plugin.js +31 -0
  355. package/dist/adapters/vitest/create-output-reporter.d.ts +28 -0
  356. package/dist/adapters/vitest/create-output-reporter.js +7 -0
  357. package/dist/adapters/vitest/create-output-stream.d.ts +11 -0
  358. package/dist/adapters/vitest/create-output-stream.js +16 -0
  359. package/dist/adapters/vitest/detect-vitest.d.ts +28 -0
  360. package/dist/adapters/vitest/detect-vitest.js +26 -0
  361. package/dist/adapters/vitest/get-cache-inputs.d.ts +16 -0
  362. package/dist/adapters/vitest/get-cache-inputs.js +77 -0
  363. package/dist/adapters/vitest/get-file-key.d.ts +10 -0
  364. package/dist/adapters/vitest/get-file-key.js +15 -0
  365. package/dist/adapters/vitest/get-module-file.d.ts +10 -0
  366. package/dist/adapters/vitest/get-module-file.js +7 -0
  367. package/dist/adapters/vitest/get-project-label.d.ts +8 -0
  368. package/dist/adapters/vitest/get-project-label.js +4 -0
  369. package/dist/adapters/vitest/get-runner-path.d.ts +9 -0
  370. package/dist/adapters/vitest/get-runner-path.js +7 -0
  371. package/dist/adapters/vitest/get-switchable-path.d.ts +12 -0
  372. package/dist/adapters/vitest/get-switchable-path.js +8 -0
  373. package/dist/adapters/vitest/index-switched-files.d.ts +10 -0
  374. package/dist/adapters/vitest/index-switched-files.js +5 -0
  375. package/dist/adapters/vitest/index.d.ts +11 -0
  376. package/dist/adapters/vitest/index.js +11 -0
  377. package/dist/adapters/vitest/is-virtual-module.d.ts +11 -0
  378. package/dist/adapters/vitest/is-virtual-module.js +8 -0
  379. package/dist/adapters/vitest/read-environment-hashes.d.ts +9 -0
  380. package/dist/adapters/vitest/read-environment-hashes.js +13 -0
  381. package/dist/adapters/vitest/read-out-files.d.ts +14 -0
  382. package/dist/adapters/vitest/read-out-files.js +9 -0
  383. package/dist/adapters/vitest/read-out-records.d.ts +17 -0
  384. package/dist/adapters/vitest/read-out-records.js +27 -0
  385. package/dist/adapters/vitest/read-strays.d.ts +20 -0
  386. package/dist/adapters/vitest/read-strays.js +53 -0
  387. package/dist/adapters/vitest/read-unit-inputs.d.ts +33 -0
  388. package/dist/adapters/vitest/read-unit-inputs.js +15 -0
  389. package/dist/adapters/vitest/reset-run-directory.d.ts +9 -0
  390. package/dist/adapters/vitest/reset-run-directory.js +21 -0
  391. package/dist/adapters/vitest/run-batch.d.ts +16 -0
  392. package/dist/adapters/vitest/run-batch.js +70 -0
  393. package/dist/adapters/vitest/run-dry.d.ts +26 -0
  394. package/dist/adapters/vitest/run-dry.js +136 -0
  395. package/dist/adapters/vitest/run-isolated.d.ts +15 -0
  396. package/dist/adapters/vitest/run-isolated.js +29 -0
  397. package/dist/adapters/vitest/run-plan.d.ts +41 -0
  398. package/dist/adapters/vitest/run-plan.js +60 -0
  399. package/dist/adapters/vitest/run-specifications.d.ts +24 -0
  400. package/dist/adapters/vitest/run-specifications.js +19 -0
  401. package/dist/adapters/vitest/runner.d.ts +464 -0
  402. package/dist/adapters/vitest/runner.js +360 -0
  403. package/dist/adapters/vitest/score-vitest.d.ts +11 -0
  404. package/dist/adapters/vitest/score-vitest.js +7 -0
  405. package/dist/adapters/vitest/start-vitest-session.d.ts +24 -0
  406. package/dist/adapters/vitest/start-vitest-session.js +88 -0
  407. package/dist/adapters/vitest/stop-hung-worker.d.ts +11 -0
  408. package/dist/adapters/vitest/stop-hung-worker.js +29 -0
  409. package/dist/adapters/vitest/types/stray-decisions.d.ts +8 -0
  410. package/dist/adapters/vitest/types/unit-outcome.d.ts +27 -0
  411. package/dist/adapters/vitest/types/vitest-adapter-options.d.ts +10 -0
  412. package/dist/adapters/vitest/types/vitest-session-state.d.ts +94 -0
  413. package/dist/adapters/vitest/types/vitest-worker.d.ts +317 -0
  414. package/dist/adapters/vitest/wait-for-workers.d.ts +30 -0
  415. package/dist/adapters/vitest/wait-for-workers.js +39 -0
  416. package/dist/adapters/vitest/watch-heartbeats.d.ts +23 -0
  417. package/dist/adapters/vitest/watch-heartbeats.js +25 -0
  418. package/dist/adapters/vitest/watch-unit-ends.d.ts +22 -0
  419. package/dist/adapters/vitest/watch-unit-ends.js +14 -0
  420. package/dist/adapters/vitest/worker/claim-unit.d.ts +16 -0
  421. package/dist/adapters/vitest/worker/claim-unit.js +16 -0
  422. package/dist/adapters/vitest/worker/encode-stray.d.ts +16 -0
  423. package/dist/adapters/vitest/worker/encode-stray.js +16 -0
  424. package/dist/adapters/vitest/worker/find-hook-error.d.ts +10 -0
  425. package/dist/adapters/vitest/worker/find-hook-error.js +12 -0
  426. package/dist/adapters/vitest/worker/get-file-hash.d.ts +11 -0
  427. package/dist/adapters/vitest/worker/get-file-hash.js +5 -0
  428. package/dist/adapters/vitest/worker/get-hook-budget.d.ts +16 -0
  429. package/dist/adapters/vitest/worker/get-hook-budget.js +36 -0
  430. package/dist/adapters/vitest/worker/install-try-hook.d.ts +16 -0
  431. package/dist/adapters/vitest/worker/install-try-hook.js +11 -0
  432. package/dist/adapters/vitest/worker/intercept-strays.d.ts +26 -0
  433. package/dist/adapters/vitest/worker/intercept-strays.js +13 -0
  434. package/dist/adapters/vitest/worker/is-process-alive.d.ts +9 -0
  435. package/dist/adapters/vitest/worker/is-process-alive.js +9 -0
  436. package/dist/adapters/vitest/worker/is-timeout-message.d.ts +7 -0
  437. package/dist/adapters/vitest/worker/is-timeout-message.js +5 -0
  438. package/dist/adapters/vitest/worker/list-dependencies.d.ts +35 -0
  439. package/dist/adapters/vitest/worker/list-dependencies.js +10 -0
  440. package/dist/adapters/vitest/worker/list-tests.d.ts +8 -0
  441. package/dist/adapters/vitest/worker/list-tests.js +4 -0
  442. package/dist/adapters/vitest/worker/order-tests.d.ts +14 -0
  443. package/dist/adapters/vitest/worker/order-tests.js +7 -0
  444. package/dist/adapters/vitest/worker/race-try-timeout.d.ts +13 -0
  445. package/dist/adapters/vitest/worker/race-try-timeout.js +17 -0
  446. package/dist/adapters/vitest/worker/read-try-facts.d.ts +37 -0
  447. package/dist/adapters/vitest/worker/read-try-facts.js +19 -0
  448. package/dist/adapters/vitest/worker/read-worker-plan.d.ts +11 -0
  449. package/dist/adapters/vitest/worker/read-worker-plan.js +13 -0
  450. package/dist/adapters/vitest/worker/vitest-variables.d.ts +6 -0
  451. package/dist/adapters/vitest/worker/vitest-variables.js +2 -0
  452. package/dist/adapters/vitest/worker/wait-for-turn.d.ts +24 -0
  453. package/dist/adapters/vitest/worker/wait-for-turn.js +11 -0
  454. package/dist/adapters/vitest/worker/watch-worker-close.d.ts +20 -0
  455. package/dist/adapters/vitest/worker/watch-worker-close.js +32 -0
  456. package/dist/adapters/vitest/worker/write-heartbeat.d.ts +14 -0
  457. package/dist/adapters/vitest/worker/write-heartbeat.js +6 -0
  458. package/dist/adapters/vitest/worker/write-out-record.d.ts +10 -0
  459. package/dist/adapters/vitest/worker/write-out-record.js +5 -0
  460. package/dist/adapters/vitest/write-plan-files.d.ts +12 -0
  461. package/dist/adapters/vitest/write-plan-files.js +14 -0
  462. package/dist/cli/create-run-progress.d.ts +50 -0
  463. package/dist/cli/create-run-progress.js +218 -0
  464. package/dist/cli/create-time-estimator.d.ts +80 -0
  465. package/dist/cli/create-time-estimator.js +63 -0
  466. package/dist/cli/diff/format-change.d.ts +38 -0
  467. package/dist/cli/diff/format-change.js +101 -0
  468. package/dist/cli/diff/format-diff-groups.d.ts +46 -0
  469. package/dist/cli/diff/format-diff-groups.js +48 -0
  470. package/dist/cli/diff/format-diff.d.ts +20 -0
  471. package/dist/cli/diff/format-diff.js +94 -0
  472. package/dist/cli/diff/get-diff-lines.d.ts +23 -0
  473. package/dist/cli/diff/get-diff-lines.js +24 -0
  474. package/dist/cli/diff/is-joined.d.ts +10 -0
  475. package/dist/cli/diff/is-joined.js +5 -0
  476. package/dist/cli/diff/mark-diff.d.ts +63 -0
  477. package/dist/cli/diff/mark-diff.js +43 -0
  478. package/dist/cli/diff/narrow-change.d.ts +36 -0
  479. package/dist/cli/diff/narrow-change.js +46 -0
  480. package/dist/cli/diff/separate-replacement.d.ts +21 -0
  481. package/dist/cli/diff/separate-replacement.js +6 -0
  482. package/dist/cli/get-built-in-adapters.d.ts +15 -0
  483. package/dist/cli/get-built-in-adapters.js +29 -0
  484. package/dist/cli/html/build-html-report.d.ts +48 -0
  485. package/dist/cli/html/build-html-report.js +113 -0
  486. package/dist/cli/html/client/copy-text.d.ts +9 -0
  487. package/dist/cli/html/client/describe-status.d.ts +13 -0
  488. package/dist/cli/html/client/download-json.d.ts +8 -0
  489. package/dist/cli/html/client/escape-html.d.ts +7 -0
  490. package/dist/cli/html/client/escape-html.js +4 -0
  491. package/dist/cli/html/client/filter-by-status.d.ts +11 -0
  492. package/dist/cli/html/client/find-search-results.d.ts +30 -0
  493. package/dist/cli/html/client/format-date.d.ts +8 -0
  494. package/dist/cli/html/client/format-score.d.ts +8 -0
  495. package/dist/cli/html/client/format-time.d.ts +8 -0
  496. package/dist/cli/html/client/get-file-href.d.ts +10 -0
  497. package/dist/cli/html/client/get-icon.d.ts +37 -0
  498. package/dist/cli/html/client/get-line-end.d.ts +10 -0
  499. package/dist/cli/html/client/get-table-layout.d.ts +15 -0
  500. package/dist/cli/html/client/get-test-groups.d.ts +11 -0
  501. package/dist/cli/html/client/get-wordmark.d.ts +9 -0
  502. package/dist/cli/html/client/html.d.ts +12 -0
  503. package/dist/cli/html/client/index-report.d.ts +14 -0
  504. package/dist/cli/html/client/is-overlapping.d.ts +10 -0
  505. package/dist/cli/html/client/main.d.ts +1 -0
  506. package/dist/cli/html/client/main.js +2 -0
  507. package/dist/cli/html/client/measure-column.d.ts +10 -0
  508. package/dist/cli/html/client/paint-ranges.d.ts +33 -0
  509. package/dist/cli/html/client/parse-route.d.ts +13 -0
  510. package/dist/cli/html/client/render-attention.d.ts +12 -0
  511. package/dist/cli/html/client/render-change.d.ts +12 -0
  512. package/dist/cli/html/client/render-code.d.ts +50 -0
  513. package/dist/cli/html/client/render-command.d.ts +8 -0
  514. package/dist/cli/html/client/render-count-cells.d.ts +10 -0
  515. package/dist/cli/html/client/render-diff.d.ts +16 -0
  516. package/dist/cli/html/client/render-file-code.d.ts +12 -0
  517. package/dist/cli/html/client/render-file-panel.d.ts +12 -0
  518. package/dist/cli/html/client/render-files-table.d.ts +10 -0
  519. package/dist/cli/html/client/render-files-view.d.ts +14 -0
  520. package/dist/cli/html/client/render-frame.d.ts +12 -0
  521. package/dist/cli/html/client/render-mutant-link.d.ts +11 -0
  522. package/dist/cli/html/client/render-mutant-panel.d.ts +18 -0
  523. package/dist/cli/html/client/render-mutant-row.d.ts +13 -0
  524. package/dist/cli/html/client/render-mutants-table.d.ts +13 -0
  525. package/dist/cli/html/client/render-mutants-view.d.ts +12 -0
  526. package/dist/cli/html/client/render-mutators-view.d.ts +11 -0
  527. package/dist/cli/html/client/render-overview.d.ts +14 -0
  528. package/dist/cli/html/client/render-side-panel.d.ts +12 -0
  529. package/dist/cli/html/client/render-skip-panel.d.ts +14 -0
  530. package/dist/cli/html/client/render-skipped-summary.d.ts +10 -0
  531. package/dist/cli/html/client/render-spotlight.d.ts +12 -0
  532. package/dist/cli/html/client/render-status-bar.d.ts +10 -0
  533. package/dist/cli/html/client/render-status-filter.d.ts +40 -0
  534. package/dist/cli/html/client/render-test-name.d.ts +8 -0
  535. package/dist/cli/html/client/render-tests-view.d.ts +16 -0
  536. package/dist/cli/html/client/render-tree.d.ts +11 -0
  537. package/dist/cli/html/client/set-markup.d.ts +9 -0
  538. package/dist/cli/html/client/start-report.d.ts +14 -0
  539. package/dist/cli/html/client/tokenize-source.d.ts +12 -0
  540. package/dist/cli/html/client/unpack-replacement.d.ts +15 -0
  541. package/dist/cli/html/client/unpack-run-report.d.ts +12 -0
  542. package/dist/cli/html/format-html-report.d.ts +12 -0
  543. package/dist/cli/html/format-html-report.js +52 -0
  544. package/dist/cli/html/pack-replacement.d.ts +15 -0
  545. package/dist/cli/html/pack-replacement.js +11 -0
  546. package/dist/cli/html/read-project-name.d.ts +8 -0
  547. package/dist/cli/html/read-project-name.js +12 -0
  548. package/dist/cli/html/report.js +2 -0
  549. package/dist/cli/html/serialize-report-data.d.ts +11 -0
  550. package/dist/cli/html/serialize-report-data.js +4 -0
  551. package/dist/cli/html/write-html-report.d.ts +7 -0
  552. package/dist/cli/html/write-html-report.js +6 -0
  553. package/dist/cli/index.d.ts +6 -0
  554. package/dist/cli/index.js +14 -0
  555. package/dist/cli/parse-arguments.d.ts +127 -0
  556. package/dist/cli/parse-arguments.js +137 -0
  557. package/dist/cli/report/build-list-report.d.ts +13 -0
  558. package/dist/cli/report/build-list-report.js +131 -0
  559. package/dist/cli/report/build-run-report.d.ts +39 -0
  560. package/dist/cli/report/build-run-report.js +108 -0
  561. package/dist/cli/report/format-command.d.ts +59 -0
  562. package/dist/cli/report/format-command.js +14 -0
  563. package/dist/cli/report/format-duration.d.ts +8 -0
  564. package/dist/cli/report/format-duration.js +9 -0
  565. package/dist/cli/report/format-fields.d.ts +11 -0
  566. package/dist/cli/report/format-fields.js +15 -0
  567. package/dist/cli/report/format-file-groups.d.ts +66 -0
  568. package/dist/cli/report/format-file-groups.js +53 -0
  569. package/dist/cli/report/format-header.d.ts +19 -0
  570. package/dist/cli/report/format-header.js +12 -0
  571. package/dist/cli/report/format-report.d.ts +16 -0
  572. package/dist/cli/report/format-report.js +10 -0
  573. package/dist/cli/report/format-run-report.d.ts +13 -0
  574. package/dist/cli/report/format-run-report.js +10 -0
  575. package/dist/cli/report/format-run-text-report.d.ts +59 -0
  576. package/dist/cli/report/format-run-text-report.js +126 -0
  577. package/dist/cli/report/format-text-report.d.ts +33 -0
  578. package/dist/cli/report/format-text-report.js +57 -0
  579. package/dist/cli/report/format-time-left.d.ts +10 -0
  580. package/dist/cli/report/format-time-left.js +9 -0
  581. package/dist/cli/report/get-file-scores.d.ts +11 -0
  582. package/dist/cli/report/get-file-scores.js +21 -0
  583. package/dist/cli/report/get-short-id-length.d.ts +9 -0
  584. package/dist/cli/report/get-short-id-length.js +11 -0
  585. package/dist/cli/report/print-diagnostics.d.ts +11 -0
  586. package/dist/cli/report/print-diagnostics.js +15 -0
  587. package/dist/cli/report/slim-diff.d.ts +11 -0
  588. package/dist/cli/report/slim-diff.js +9 -0
  589. package/dist/cli/report/slim-focus.d.ts +10 -0
  590. package/dist/cli/report/slim-focus.js +9 -0
  591. package/dist/cli/report/slim-list-mutant.d.ts +17 -0
  592. package/dist/cli/report/slim-list-mutant.js +18 -0
  593. package/dist/cli/report/slim-list-report.d.ts +14 -0
  594. package/dist/cli/report/slim-list-report.js +20 -0
  595. package/dist/cli/report/slim-run-report.d.ts +20 -0
  596. package/dist/cli/report/slim-run-report.js +66 -0
  597. package/dist/cli/report/sort-by-location.d.ts +16 -0
  598. package/dist/cli/report/sort-by-location.js +9 -0
  599. package/dist/cli/run-list.d.ts +9 -0
  600. package/dist/cli/run-list.js +27 -0
  601. package/dist/cli/run-mutation.d.ts +18 -0
  602. package/dist/cli/run-mutation.js +72 -0
  603. package/dist/cli/terminal/count-terminal-rows.d.ts +13 -0
  604. package/dist/cli/terminal/count-terminal-rows.js +7 -0
  605. package/dist/cli/terminal/create-colors.d.ts +59 -0
  606. package/dist/cli/terminal/create-colors.js +26 -0
  607. package/dist/cli/terminal/create-spinner.d.ts +37 -0
  608. package/dist/cli/terminal/create-spinner.js +62 -0
  609. package/dist/cli/terminal/cut-to-width.d.ts +17 -0
  610. package/dist/cli/terminal/cut-to-width.js +14 -0
  611. package/dist/cli/terminal/fit-parts.d.ts +12 -0
  612. package/dist/cli/terminal/fit-parts.js +10 -0
  613. package/dist/cli/terminal/format-by-file.d.ts +35 -0
  614. package/dist/cli/terminal/format-by-file.js +15 -0
  615. package/dist/cli/terminal/get-display-width.d.ts +24 -0
  616. package/dist/cli/terminal/get-display-width.js +15 -0
  617. package/dist/cli/terminal/get-max-display-width.d.ts +9 -0
  618. package/dist/cli/terminal/get-max-display-width.js +5 -0
  619. package/dist/cli/terminal/get-symbols.d.ts +37 -0
  620. package/dist/cli/terminal/get-symbols.js +18 -0
  621. package/dist/cli/terminal/get-text-style.d.ts +15 -0
  622. package/dist/cli/terminal/get-text-style.js +16 -0
  623. package/dist/cli/terminal/is-interactive-terminal.d.ts +12 -0
  624. package/dist/cli/terminal/is-interactive-terminal.js +5 -0
  625. package/dist/cli/terminal/is-unicode-supported.d.ts +10 -0
  626. package/dist/cli/terminal/is-unicode-supported.js +5 -0
  627. package/dist/cli/terminal/measure-parts.d.ts +10 -0
  628. package/dist/cli/terminal/measure-parts.js +6 -0
  629. package/dist/cli/terminal/pad-to-width.d.ts +9 -0
  630. package/dist/cli/terminal/pad-to-width.js +5 -0
  631. package/dist/cli/terminal/strip-ansi.d.ts +7 -0
  632. package/dist/cli/terminal/strip-ansi.js +14 -0
  633. package/dist/cli/terminal/wrap-text.d.ts +9 -0
  634. package/dist/cli/terminal/wrap-text.js +10 -0
  635. package/dist/core/cache/apply-cached-batch.d.ts +21 -0
  636. package/dist/core/cache/apply-cached-batch.js +37 -0
  637. package/dist/core/cache/apply-cached-units.d.ts +15 -0
  638. package/dist/core/cache/apply-cached-units.js +19 -0
  639. package/dist/core/cache/cache-version.d.ts +6 -0
  640. package/dist/core/cache/create-digest.d.ts +7 -0
  641. package/dist/core/cache/create-digest.js +5 -0
  642. package/dist/core/cache/create-run-cache.d.ts +93 -0
  643. package/dist/core/cache/create-run-cache.js +126 -0
  644. package/dist/core/cache/find-changed-files.d.ts +10 -0
  645. package/dist/core/cache/find-changed-files.js +11 -0
  646. package/dist/core/cache/find-lockfile.d.ts +8 -0
  647. package/dist/core/cache/find-lockfile.js +23 -0
  648. package/dist/core/cache/get-cache-path.d.ts +9 -0
  649. package/dist/core/cache/get-cache-path.js +5 -0
  650. package/dist/core/cache/get-environment-key.d.ts +63 -0
  651. package/dist/core/cache/get-environment-key.js +25 -0
  652. package/dist/core/cache/get-portable-path.d.ts +11 -0
  653. package/dist/core/cache/get-portable-path.js +5 -0
  654. package/dist/core/cache/get-test-file-keys.d.ts +31 -0
  655. package/dist/core/cache/get-test-file-keys.js +24 -0
  656. package/dist/core/cache/hash-files.d.ts +15 -0
  657. package/dist/core/cache/hash-files.js +23 -0
  658. package/dist/core/cache/list-file-hashes.d.ts +16 -0
  659. package/dist/core/cache/list-file-hashes.js +7 -0
  660. package/dist/core/cache/prepare-run-cache.d.ts +114 -0
  661. package/dist/core/cache/prepare-run-cache.js +105 -0
  662. package/dist/core/cache/prune-cache-entries.d.ts +10 -0
  663. package/dist/core/cache/prune-cache-entries.js +6 -0
  664. package/dist/core/cache/read-run-cache.d.ts +11 -0
  665. package/dist/core/cache/read-run-cache.js +33 -0
  666. package/dist/core/cache/run-in-chunks.d.ts +10 -0
  667. package/dist/core/cache/run-in-chunks.js +6 -0
  668. package/dist/core/cache/save-run-cache.d.ts +34 -0
  669. package/dist/core/cache/save-run-cache.js +55 -0
  670. package/dist/core/cache/unknown-hash.d.ts +7 -0
  671. package/dist/core/cache/unknown-hash.js +2 -0
  672. package/dist/core/cache/write-run-cache.d.ts +22 -0
  673. package/dist/core/cache/write-run-cache.js +20 -0
  674. package/dist/core/compare-code-units.d.ts +10 -0
  675. package/dist/core/compare-code-units.js +4 -0
  676. package/dist/core/config/define-config.d.ts +13 -0
  677. package/dist/core/config/define-config.js +4 -0
  678. package/dist/core/config/import-config.d.ts +9 -0
  679. package/dist/core/config/import-config.js +5 -0
  680. package/dist/core/config/load-config.d.ts +38 -0
  681. package/dist/core/config/load-config.js +55 -0
  682. package/dist/core/config/load-typescript-config.d.ts +11 -0
  683. package/dist/core/config/load-typescript-config.js +13 -0
  684. package/dist/core/config/prepare-run.d.ts +67 -0
  685. package/dist/core/config/prepare-run.js +36 -0
  686. package/dist/core/config/resolve-run-settings.d.ts +15 -0
  687. package/dist/core/config/resolve-run-settings.js +20 -0
  688. package/dist/core/config/validate-config.d.ts +17 -0
  689. package/dist/core/config/validate-config.js +74 -0
  690. package/dist/core/files/expand-paths.d.ts +46 -0
  691. package/dist/core/files/expand-paths.js +106 -0
  692. package/dist/core/files/is-source-file.d.ts +8 -0
  693. package/dist/core/files/is-source-file.js +6 -0
  694. package/dist/core/files/list-file-mutants.d.ts +71 -0
  695. package/dist/core/files/list-file-mutants.js +69 -0
  696. package/dist/core/files/select-changed-mutants.d.ts +20 -0
  697. package/dist/core/files/select-changed-mutants.js +47 -0
  698. package/dist/core/generate/apply-solitary-rule.d.ts +33 -0
  699. package/dist/core/generate/apply-solitary-rule.js +55 -0
  700. package/dist/core/generate/collect-candidates.d.ts +148 -0
  701. package/dist/core/generate/collect-candidates.js +247 -0
  702. package/dist/core/generate/compare-candidates.d.ts +18 -0
  703. package/dist/core/generate/compare-candidates.js +4 -0
  704. package/dist/core/generate/compare-targets.d.ts +14 -0
  705. package/dist/core/generate/compare-targets.js +6 -0
  706. package/dist/core/generate/deduplicate-candidates.d.ts +32 -0
  707. package/dist/core/generate/deduplicate-candidates.js +27 -0
  708. package/dist/core/generate/find-list-removal.d.ts +20 -0
  709. package/dist/core/generate/find-list-removal.js +26 -0
  710. package/dist/core/generate/fit-template-text.d.ts +26 -0
  711. package/dist/core/generate/fit-template-text.js +17 -0
  712. package/dist/core/generate/generate-file-mutants.d.ts +77 -0
  713. package/dist/core/generate/generate-file-mutants.js +226 -0
  714. package/dist/core/generate/get-mutant-regions.d.ts +49 -0
  715. package/dist/core/generate/get-mutant-regions.js +69 -0
  716. package/dist/core/generate/get-mutant-site.d.ts +18 -0
  717. package/dist/core/generate/get-mutant-site.js +4 -0
  718. package/dist/core/generate/get-replacement-kind.d.ts +12 -0
  719. package/dist/core/generate/get-replacement-kind.js +24 -0
  720. package/dist/core/generate/get-target.d.ts +14 -0
  721. package/dist/core/generate/get-target.js +4 -0
  722. package/dist/core/generate/group-replacement.d.ts +40 -0
  723. package/dist/core/generate/group-replacement.js +151 -0
  724. package/dist/core/generate/pick-focus.d.ts +14 -0
  725. package/dist/core/generate/pick-focus.js +4 -0
  726. package/dist/core/generate/pick-host.d.ts +10 -0
  727. package/dist/core/generate/pick-host.js +16 -0
  728. package/dist/core/generate/validate-replacement.d.ts +28 -0
  729. package/dist/core/generate/validate-replacement.js +44 -0
  730. package/dist/core/git/find-git-root.d.ts +10 -0
  731. package/dist/core/git/find-git-root.js +8 -0
  732. package/dist/core/git/get-merge-base.d.ts +12 -0
  733. package/dist/core/git/get-merge-base.js +32 -0
  734. package/dist/core/git/parse-binary-paths.d.ts +11 -0
  735. package/dist/core/git/parse-binary-paths.js +9 -0
  736. package/dist/core/git/parse-unified-diff.d.ts +15 -0
  737. package/dist/core/git/parse-unified-diff.js +26 -0
  738. package/dist/core/git/read-changed-lines.d.ts +18 -0
  739. package/dist/core/git/read-changed-lines.js +60 -0
  740. package/dist/core/git/run-git.d.ts +30 -0
  741. package/dist/core/git/run-git.js +30 -0
  742. package/dist/core/git/unquote-git-path.d.ts +9 -0
  743. package/dist/core/git/unquote-git-path.js +25 -0
  744. package/dist/core/hints/analyze-scopes.d.ts +15 -0
  745. package/dist/core/hints/analyze-scopes.js +317 -0
  746. package/dist/core/hints/create-inferred-type.d.ts +12 -0
  747. package/dist/core/hints/create-inferred-type.js +5 -0
  748. package/dist/core/hints/create-syntactic-type-provider.d.ts +19 -0
  749. package/dist/core/hints/create-syntactic-type-provider.js +63 -0
  750. package/dist/core/hints/create-type-hints.d.ts +11 -0
  751. package/dist/core/hints/create-type-hints.js +21 -0
  752. package/dist/core/hints/find-this-class.d.ts +25 -0
  753. package/dist/core/hints/find-this-class.js +27 -0
  754. package/dist/core/hints/get-asserted-type.d.ts +9 -0
  755. package/dist/core/hints/get-asserted-type.js +5 -0
  756. package/dist/core/hints/infer-annotation-type.d.ts +14 -0
  757. package/dist/core/hints/infer-annotation-type.js +171 -0
  758. package/dist/core/hints/infer-binding-type.d.ts +13 -0
  759. package/dist/core/hints/infer-binding-type.js +93 -0
  760. package/dist/core/hints/infer-call-type.d.ts +14 -0
  761. package/dist/core/hints/infer-call-type.js +116 -0
  762. package/dist/core/hints/infer-expression-type.d.ts +12 -0
  763. package/dist/core/hints/infer-expression-type.js +104 -0
  764. package/dist/core/hints/infer-member-type.d.ts +13 -0
  765. package/dist/core/hints/infer-member-type.js +131 -0
  766. package/dist/core/hints/infer-operator-type.d.ts +18 -0
  767. package/dist/core/hints/infer-operator-type.js +103 -0
  768. package/dist/core/hints/infer-this-type.d.ts +16 -0
  769. package/dist/core/hints/infer-this-type.js +21 -0
  770. package/dist/core/hints/non-nullish-kinds.d.ts +5 -0
  771. package/dist/core/hints/non-nullish-kinds.js +12 -0
  772. package/dist/core/hints/object-kinds.d.ts +6 -0
  773. package/dist/core/hints/object-kinds.js +7 -0
  774. package/dist/core/hints/remove-nullish.d.ts +9 -0
  775. package/dist/core/hints/remove-nullish.js +5 -0
  776. package/dist/core/hints/union-inferred-types.d.ts +10 -0
  777. package/dist/core/hints/union-inferred-types.js +11 -0
  778. package/dist/core/hints/well-known-calls.d.ts +9 -0
  779. package/dist/core/hints/well-known-calls.js +100 -0
  780. package/dist/core/identity/assert-unique-ids.d.ts +12 -0
  781. package/dist/core/identity/assert-unique-ids.js +21 -0
  782. package/dist/core/identity/assign-mutant-ids.d.ts +16 -0
  783. package/dist/core/identity/assign-mutant-ids.js +26 -0
  784. package/dist/core/identity/create-mutant-id.d.ts +42 -0
  785. package/dist/core/identity/create-mutant-id.js +22 -0
  786. package/dist/core/identity/get-scope-path.d.ts +15 -0
  787. package/dist/core/identity/get-scope-path.js +69 -0
  788. package/dist/core/identity/resolve-mutant-ids.d.ts +15 -0
  789. package/dist/core/identity/resolve-mutant-ids.js +15 -0
  790. package/dist/core/ignore/create-ignore-rules.d.ts +35 -0
  791. package/dist/core/ignore/create-ignore-rules.js +83 -0
  792. package/dist/core/ignore/find-ignore-rule.d.ts +32 -0
  793. package/dist/core/ignore/find-ignore-rule.js +18 -0
  794. package/dist/core/ignore/parse-ignore-directives.d.ts +28 -0
  795. package/dist/core/ignore/parse-ignore-directives.js +72 -0
  796. package/dist/core/index.d.ts +31 -0
  797. package/dist/core/index.js +4 -0
  798. package/dist/core/instrument/check-svelte-compile.d.ts +16 -0
  799. package/dist/core/instrument/check-svelte-compile.js +15 -0
  800. package/dist/core/instrument/check-vue-compile.d.ts +18 -0
  801. package/dist/core/instrument/check-vue-compile.js +28 -0
  802. package/dist/core/instrument/create-switched-files.d.ts +52 -0
  803. package/dist/core/instrument/create-switched-files.js +52 -0
  804. package/dist/core/instrument/find-attribute-values.d.ts +12 -0
  805. package/dist/core/instrument/find-attribute-values.js +13 -0
  806. package/dist/core/instrument/find-statement-starts.d.ts +26 -0
  807. package/dist/core/instrument/find-statement-starts.js +46 -0
  808. package/dist/core/instrument/get-site-syntax.d.ts +14 -0
  809. package/dist/core/instrument/get-site-syntax.js +12 -0
  810. package/dist/core/instrument/group-mutant-ranges.d.ts +18 -0
  811. package/dist/core/instrument/group-mutant-ranges.js +30 -0
  812. package/dist/core/instrument/instrument-file.d.ts +41 -0
  813. package/dist/core/instrument/instrument-file.js +22 -0
  814. package/dist/core/instrument/instrumenter-version.d.ts +6 -0
  815. package/dist/core/instrument/render-branch.d.ts +17 -0
  816. package/dist/core/instrument/render-branch.js +81 -0
  817. package/dist/core/instrument/render-mutant-range.d.ts +33 -0
  818. package/dist/core/instrument/render-mutant-range.js +44 -0
  819. package/dist/core/instrument/resolve-switched-text.d.ts +13 -0
  820. package/dist/core/instrument/resolve-switched-text.js +5 -0
  821. package/dist/core/list-mutants.d.ts +56 -0
  822. package/dist/core/list-mutants.js +27 -0
  823. package/dist/core/mutators/arithmetic-operator.d.ts +14 -0
  824. package/dist/core/mutators/arithmetic-operator.js +94 -0
  825. package/dist/core/mutators/array-element.d.ts +14 -0
  826. package/dist/core/mutators/array-element.js +35 -0
  827. package/dist/core/mutators/assignment-operator.d.ts +26 -0
  828. package/dist/core/mutators/assignment-operator.js +189 -0
  829. package/dist/core/mutators/bitwise-operator.d.ts +11 -0
  830. package/dist/core/mutators/bitwise-operator.js +48 -0
  831. package/dist/core/mutators/boolean-literal.d.ts +15 -0
  832. package/dist/core/mutators/boolean-literal.js +21 -0
  833. package/dist/core/mutators/comparison-operator.d.ts +6 -0
  834. package/dist/core/mutators/comparison-operator.js +16 -0
  835. package/dist/core/mutators/condition.d.ts +5 -0
  836. package/dist/core/mutators/condition.js +44 -0
  837. package/dist/core/mutators/logical-operator.d.ts +22 -0
  838. package/dist/core/mutators/logical-operator.js +53 -0
  839. package/dist/core/mutators/method-call.d.ts +21 -0
  840. package/dist/core/mutators/method-call.js +265 -0
  841. package/dist/core/mutators/missing-await.d.ts +17 -0
  842. package/dist/core/mutators/missing-await.js +144 -0
  843. package/dist/core/mutators/number-literal.d.ts +23 -0
  844. package/dist/core/mutators/number-literal.js +94 -0
  845. package/dist/core/mutators/object-property.d.ts +10 -0
  846. package/dist/core/mutators/object-property.js +18 -0
  847. package/dist/core/mutators/optional-chaining.d.ts +19 -0
  848. package/dist/core/mutators/optional-chaining.js +95 -0
  849. package/dist/core/mutators/regex-flag.d.ts +20 -0
  850. package/dist/core/mutators/regex-flag.js +86 -0
  851. package/dist/core/mutators/regex-pattern.d.ts +23 -0
  852. package/dist/core/mutators/regex-pattern.js +54 -0
  853. package/dist/core/mutators/return-value.d.ts +16 -0
  854. package/dist/core/mutators/return-value.js +248 -0
  855. package/dist/core/mutators/shared/create-run-context.d.ts +42 -0
  856. package/dist/core/mutators/shared/create-run-context.js +9 -0
  857. package/dist/core/mutators/shared/create-static-run-context.d.ts +12 -0
  858. package/dist/core/mutators/shared/create-static-run-context.js +9 -0
  859. package/dist/core/mutators/shared/distinguishes-nullish-swap.d.ts +32 -0
  860. package/dist/core/mutators/shared/distinguishes-nullish-swap.js +11 -0
  861. package/dist/core/mutators/shared/empties-callback.d.ts +15 -0
  862. package/dist/core/mutators/shared/empties-callback.js +6 -0
  863. package/dist/core/mutators/shared/get-branch-copy-skip.d.ts +29 -0
  864. package/dist/core/mutators/shared/get-branch-copy-skip.js +41 -0
  865. package/dist/core/mutators/shared/get-branch-pair.d.ts +33 -0
  866. package/dist/core/mutators/shared/get-branch-pair.js +33 -0
  867. package/dist/core/mutators/shared/get-call-target.d.ts +13 -0
  868. package/dist/core/mutators/shared/get-call-target.js +5 -0
  869. package/dist/core/mutators/shared/get-call-top.d.ts +12 -0
  870. package/dist/core/mutators/shared/get-call-top.js +5 -0
  871. package/dist/core/mutators/shared/get-callback-owner.d.ts +19 -0
  872. package/dist/core/mutators/shared/get-callback-owner.js +15 -0
  873. package/dist/core/mutators/shared/get-callback-result.d.ts +36 -0
  874. package/dist/core/mutators/shared/get-callback-result.js +15 -0
  875. package/dist/core/mutators/shared/get-canonical-falsy-default.d.ts +32 -0
  876. package/dist/core/mutators/shared/get-canonical-falsy-default.js +11 -0
  877. package/dist/core/mutators/shared/get-canonical-falsy.d.ts +11 -0
  878. package/dist/core/mutators/shared/get-canonical-falsy.js +10 -0
  879. package/dist/core/mutators/shared/get-comparison-plan.d.ts +78 -0
  880. package/dist/core/mutators/shared/get-comparison-plan.js +384 -0
  881. package/dist/core/mutators/shared/get-condition-constants.d.ts +40 -0
  882. package/dist/core/mutators/shared/get-condition-constants.js +150 -0
  883. package/dist/core/mutators/shared/get-default-option-skip.d.ts +25 -0
  884. package/dist/core/mutators/shared/get-default-option-skip.js +89 -0
  885. package/dist/core/mutators/shared/get-endless-value.d.ts +20 -0
  886. package/dist/core/mutators/shared/get-endless-value.js +25 -0
  887. package/dist/core/mutators/shared/get-fixed-truth.d.ts +15 -0
  888. package/dist/core/mutators/shared/get-fixed-truth.js +23 -0
  889. package/dist/core/mutators/shared/get-forced-test-justifier.d.ts +44 -0
  890. package/dist/core/mutators/shared/get-forced-test-justifier.js +25 -0
  891. package/dist/core/mutators/shared/get-function-returns.d.ts +10 -0
  892. package/dist/core/mutators/shared/get-function-returns.js +7 -0
  893. package/dist/core/mutators/shared/get-group-constant.d.ts +32 -0
  894. package/dist/core/mutators/shared/get-group-constant.js +44 -0
  895. package/dist/core/mutators/shared/get-innermost.d.ts +22 -0
  896. package/dist/core/mutators/shared/get-innermost.js +11 -0
  897. package/dist/core/mutators/shared/get-leave-now-value.d.ts +17 -0
  898. package/dist/core/mutators/shared/get-leave-now-value.js +22 -0
  899. package/dist/core/mutators/shared/get-literal-flip.d.ts +18 -0
  900. package/dist/core/mutators/shared/get-literal-flip.js +10 -0
  901. package/dist/core/mutators/shared/get-literal-mutator.d.ts +10 -0
  902. package/dist/core/mutators/shared/get-literal-mutator.js +13 -0
  903. package/dist/core/mutators/shared/get-literal-skip.d.ts +38 -0
  904. package/dist/core/mutators/shared/get-literal-skip.js +61 -0
  905. package/dist/core/mutators/shared/get-literal-truth.d.ts +12 -0
  906. package/dist/core/mutators/shared/get-literal-truth.js +7 -0
  907. package/dist/core/mutators/shared/get-literal-value.d.ts +16 -0
  908. package/dist/core/mutators/shared/get-literal-value.js +23 -0
  909. package/dist/core/mutators/shared/get-logical-drops.d.ts +45 -0
  910. package/dist/core/mutators/shared/get-logical-drops.js +121 -0
  911. package/dist/core/mutators/shared/get-loop-running-skip.d.ts +9 -0
  912. package/dist/core/mutators/shared/get-loop-running-skip.js +7 -0
  913. package/dist/core/mutators/shared/get-negation-top.d.ts +25 -0
  914. package/dist/core/mutators/shared/get-negation-top.js +10 -0
  915. package/dist/core/mutators/shared/get-next-literal-value.d.ts +9 -0
  916. package/dist/core/mutators/shared/get-next-literal-value.js +9 -0
  917. package/dist/core/mutators/shared/get-nullish-directions.d.ts +32 -0
  918. package/dist/core/mutators/shared/get-nullish-directions.js +31 -0
  919. package/dist/core/mutators/shared/get-nullish-plan.d.ts +60 -0
  920. package/dist/core/mutators/shared/get-nullish-plan.js +94 -0
  921. package/dist/core/mutators/shared/get-nullish-swap-skip.d.ts +16 -0
  922. package/dist/core/mutators/shared/get-nullish-swap-skip.js +12 -0
  923. package/dist/core/mutators/shared/get-number-text.d.ts +16 -0
  924. package/dist/core/mutators/shared/get-number-text.js +19 -0
  925. package/dist/core/mutators/shared/get-or-default-skip.d.ts +18 -0
  926. package/dist/core/mutators/shared/get-or-default-skip.js +29 -0
  927. package/dist/core/mutators/shared/get-owned-constants.d.ts +17 -0
  928. package/dist/core/mutators/shared/get-owned-constants.js +39 -0
  929. package/dist/core/mutators/shared/get-owner-constant.d.ts +22 -0
  930. package/dist/core/mutators/shared/get-owner-constant.js +34 -0
  931. package/dist/core/mutators/shared/get-proven-comparison-value.d.ts +13 -0
  932. package/dist/core/mutators/shared/get-proven-comparison-value.js +24 -0
  933. package/dist/core/mutators/shared/get-return-switch.d.ts +33 -0
  934. package/dist/core/mutators/shared/get-return-switch.js +16 -0
  935. package/dist/core/mutators/shared/get-return-value-kind.d.ts +40 -0
  936. package/dist/core/mutators/shared/get-return-value-kind.js +47 -0
  937. package/dist/core/mutators/shared/get-returned-value.d.ts +10 -0
  938. package/dist/core/mutators/shared/get-returned-value.js +7 -0
  939. package/dist/core/mutators/shared/get-running-value.d.ts +32 -0
  940. package/dist/core/mutators/shared/get-running-value.js +25 -0
  941. package/dist/core/mutators/shared/get-shifted-literal.d.ts +25 -0
  942. package/dist/core/mutators/shared/get-shifted-literal.js +19 -0
  943. package/dist/core/mutators/shared/get-toward-mutant.d.ts +26 -0
  944. package/dist/core/mutators/shared/get-toward-mutant.js +71 -0
  945. package/dist/core/mutators/shared/get-type-view.d.ts +29 -0
  946. package/dist/core/mutators/shared/get-type-view.js +31 -0
  947. package/dist/core/mutators/shared/get-typeof-name.d.ts +10 -0
  948. package/dist/core/mutators/shared/get-typeof-name.js +20 -0
  949. package/dist/core/mutators/shared/has-defined-falsy-value.d.ts +10 -0
  950. package/dist/core/mutators/shared/has-defined-falsy-value.js +10 -0
  951. package/dist/core/mutators/shared/has-other-exit.d.ts +19 -0
  952. package/dist/core/mutators/shared/has-other-exit.js +36 -0
  953. package/dist/core/mutators/shared/has-polar-mutant.d.ts +34 -0
  954. package/dist/core/mutators/shared/has-polar-mutant.js +33 -0
  955. package/dist/core/mutators/shared/is-always-nullish.d.ts +9 -0
  956. package/dist/core/mutators/shared/is-always-nullish.js +5 -0
  957. package/dist/core/mutators/shared/is-always-truthy.d.ts +9 -0
  958. package/dist/core/mutators/shared/is-always-truthy.js +10 -0
  959. package/dist/core/mutators/shared/is-and-or.d.ts +11 -0
  960. package/dist/core/mutators/shared/is-and-or.js +4 -0
  961. package/dist/core/mutators/shared/is-boolean-mode-operand.d.ts +12 -0
  962. package/dist/core/mutators/shared/is-boolean-mode-operand.js +8 -0
  963. package/dist/core/mutators/shared/is-boolean-mode.d.ts +13 -0
  964. package/dist/core/mutators/shared/is-boolean-mode.js +10 -0
  965. package/dist/core/mutators/shared/is-boolean-result-source.d.ts +13 -0
  966. package/dist/core/mutators/shared/is-boolean-result-source.js +15 -0
  967. package/dist/core/mutators/shared/is-boolean-result.d.ts +13 -0
  968. package/dist/core/mutators/shared/is-boolean-result.js +5 -0
  969. package/dist/core/mutators/shared/is-boolean-valued.d.ts +13 -0
  970. package/dist/core/mutators/shared/is-boolean-valued.js +19 -0
  971. package/dist/core/mutators/shared/is-canonical-falsy.d.ts +13 -0
  972. package/dist/core/mutators/shared/is-canonical-falsy.js +8 -0
  973. package/dist/core/mutators/shared/is-comparator-result.d.ts +13 -0
  974. package/dist/core/mutators/shared/is-comparator-result.js +8 -0
  975. package/dist/core/mutators/shared/is-comparison-operand.d.ts +13 -0
  976. package/dist/core/mutators/shared/is-comparison-operand.js +7 -0
  977. package/dist/core/mutators/shared/is-comparison.d.ts +13 -0
  978. package/dist/core/mutators/shared/is-comparison.js +5 -0
  979. package/dist/core/mutators/shared/is-constant-eligible-group.d.ts +16 -0
  980. package/dist/core/mutators/shared/is-constant-eligible-group.js +15 -0
  981. package/dist/core/mutators/shared/is-expected-boolean.d.ts +14 -0
  982. package/dist/core/mutators/shared/is-expected-boolean.js +30 -0
  983. package/dist/core/mutators/shared/is-falsy-constant.d.ts +13 -0
  984. package/dist/core/mutators/shared/is-falsy-constant.js +11 -0
  985. package/dist/core/mutators/shared/is-global-identifier.d.ts +14 -0
  986. package/dist/core/mutators/shared/is-global-identifier.js +4 -0
  987. package/dist/core/mutators/shared/is-lookup-position.d.ts +14 -0
  988. package/dist/core/mutators/shared/is-lookup-position.js +10 -0
  989. package/dist/core/mutators/shared/is-loop-exit.d.ts +20 -0
  990. package/dist/core/mutators/shared/is-loop-exit.js +32 -0
  991. package/dist/core/mutators/shared/is-negation.d.ts +10 -0
  992. package/dist/core/mutators/shared/is-negation.js +4 -0
  993. package/dist/core/mutators/shared/is-no-op-callback-constant.d.ts +15 -0
  994. package/dist/core/mutators/shared/is-no-op-callback-constant.js +10 -0
  995. package/dist/core/mutators/shared/is-no-op-callback-literal.d.ts +15 -0
  996. package/dist/core/mutators/shared/is-no-op-callback-literal.js +14 -0
  997. package/dist/core/mutators/shared/is-non-nullable.d.ts +10 -0
  998. package/dist/core/mutators/shared/is-non-nullable.js +5 -0
  999. package/dist/core/mutators/shared/is-non-number-type.d.ts +9 -0
  1000. package/dist/core/mutators/shared/is-non-number-type.js +5 -0
  1001. package/dist/core/mutators/shared/is-nullish-constant.d.ts +12 -0
  1002. package/dist/core/mutators/shared/is-nullish-constant.js +12 -0
  1003. package/dist/core/mutators/shared/is-number-literal.d.ts +9 -0
  1004. package/dist/core/mutators/shared/is-number-literal.js +6 -0
  1005. package/dist/core/mutators/shared/is-number-type.d.ts +10 -0
  1006. package/dist/core/mutators/shared/is-number-type.js +9 -0
  1007. package/dist/core/mutators/shared/is-numeric-pair.d.ts +11 -0
  1008. package/dist/core/mutators/shared/is-numeric-pair.js +6 -0
  1009. package/dist/core/mutators/shared/is-plain-return-value.d.ts +14 -0
  1010. package/dist/core/mutators/shared/is-plain-return-value.js +15 -0
  1011. package/dist/core/mutators/shared/is-read-only.d.ts +26 -0
  1012. package/dist/core/mutators/shared/is-read-only.js +53 -0
  1013. package/dist/core/mutators/shared/is-tail-position.d.ts +16 -0
  1014. package/dist/core/mutators/shared/is-tail-position.js +28 -0
  1015. package/dist/core/mutators/shared/is-timer-wait.d.ts +15 -0
  1016. package/dist/core/mutators/shared/is-timer-wait.js +5 -0
  1017. package/dist/core/mutators/shared/is-truth-flipping-literal.d.ts +11 -0
  1018. package/dist/core/mutators/shared/is-truth-flipping-literal.js +12 -0
  1019. package/dist/core/mutators/shared/is-typed-by-method-name.d.ts +16 -0
  1020. package/dist/core/mutators/shared/is-typed-by-method-name.js +26 -0
  1021. package/dist/core/mutators/shared/is-void-operand.d.ts +12 -0
  1022. package/dist/core/mutators/shared/is-void-operand.js +6 -0
  1023. package/dist/core/mutators/shared/is-whole-body.d.ts +12 -0
  1024. package/dist/core/mutators/shared/is-whole-body.js +5 -0
  1025. package/dist/core/mutators/shared/leave-now-skip.d.ts +6 -0
  1026. package/dist/core/mutators/shared/leave-now-skip.js +5 -0
  1027. package/dist/core/mutators/shared/may-be-boolean.d.ts +9 -0
  1028. package/dist/core/mutators/shared/may-be-boolean.js +6 -0
  1029. package/dist/core/mutators/shared/may-be-nullish.d.ts +9 -0
  1030. package/dist/core/mutators/shared/may-be-nullish.js +5 -0
  1031. package/dist/core/mutators/shared/no-op-callback-skip.d.ts +6 -0
  1032. package/dist/core/mutators/shared/no-op-callback-skip.js +5 -0
  1033. package/dist/core/mutators/statement-removal.d.ts +24 -0
  1034. package/dist/core/mutators/statement-removal.js +182 -0
  1035. package/dist/core/mutators/string-literal.d.ts +37 -0
  1036. package/dist/core/mutators/string-literal.js +167 -0
  1037. package/dist/core/mutators/unary-operator.d.ts +14 -0
  1038. package/dist/core/mutators/unary-operator.js +51 -0
  1039. package/dist/core/mutators/update-operator.d.ts +13 -0
  1040. package/dist/core/mutators/update-operator.js +29 -0
  1041. package/dist/core/parser/collect-svelte-expressions.d.ts +19 -0
  1042. package/dist/core/parser/collect-svelte-expressions.js +104 -0
  1043. package/dist/core/parser/collect-vue-expressions.d.ts +22 -0
  1044. package/dist/core/parser/collect-vue-expressions.js +69 -0
  1045. package/dist/core/parser/create-comment-program.d.ts +19 -0
  1046. package/dist/core/parser/create-comment-program.js +25 -0
  1047. package/dist/core/parser/create-template-failure.d.ts +19 -0
  1048. package/dist/core/parser/create-template-failure.js +19 -0
  1049. package/dist/core/parser/find-vue-template.d.ts +10 -0
  1050. package/dist/core/parser/find-vue-template.js +9 -0
  1051. package/dist/core/parser/get-component-framework.d.ts +9 -0
  1052. package/dist/core/parser/get-component-framework.js +5 -0
  1053. package/dist/core/parser/get-parser-options.d.ts +9 -0
  1054. package/dist/core/parser/get-parser-options.js +42 -0
  1055. package/dist/core/parser/get-shared-scopes.d.ts +24 -0
  1056. package/dist/core/parser/get-shared-scopes.js +8 -0
  1057. package/dist/core/parser/get-source-blocks.d.ts +13 -0
  1058. package/dist/core/parser/get-source-blocks.js +22 -0
  1059. package/dist/core/parser/get-template-language.d.ts +11 -0
  1060. package/dist/core/parser/get-template-language.js +4 -0
  1061. package/dist/core/parser/is-declaration-file.d.ts +8 -0
  1062. package/dist/core/parser/is-declaration-file.js +5 -0
  1063. package/dist/core/parser/load-svelte-compiler.d.ts +9 -0
  1064. package/dist/core/parser/load-svelte-compiler.js +13 -0
  1065. package/dist/core/parser/load-vue-compiler.d.ts +10 -0
  1066. package/dist/core/parser/load-vue-compiler.js +13 -0
  1067. package/dist/core/parser/parse-component-template.d.ts +14 -0
  1068. package/dist/core/parser/parse-component-template.js +8 -0
  1069. package/dist/core/parser/parse-file.d.ts +34 -0
  1070. package/dist/core/parser/parse-file.js +72 -0
  1071. package/dist/core/parser/parse-svelte-template.d.ts +21 -0
  1072. package/dist/core/parser/parse-svelte-template.js +17 -0
  1073. package/dist/core/parser/parse-template-expressions.d.ts +60 -0
  1074. package/dist/core/parser/parse-template-expressions.js +147 -0
  1075. package/dist/core/parser/parse-vue-template.d.ts +20 -0
  1076. package/dist/core/parser/parse-vue-template.js +20 -0
  1077. package/dist/core/parser/read-template-program.d.ts +19 -0
  1078. package/dist/core/parser/read-template-program.js +28 -0
  1079. package/dist/core/parser/scan-script-blocks.d.ts +19 -0
  1080. package/dist/core/parser/scan-script-blocks.js +267 -0
  1081. package/dist/core/plugins/core-plugin.d.ts +6 -0
  1082. package/dist/core/plugins/core-plugin.js +51 -0
  1083. package/dist/core/plugins/create-mutator-registry.d.ts +17 -0
  1084. package/dist/core/plugins/create-mutator-registry.js +31 -0
  1085. package/dist/core/plugins/get-settings-problem.d.ts +9 -0
  1086. package/dist/core/plugins/get-settings-problem.js +29 -0
  1087. package/dist/core/plugins/is-kebab-case-name.d.ts +8 -0
  1088. package/dist/core/plugins/is-kebab-case-name.js +5 -0
  1089. package/dist/core/plugins/is-mutator-id.d.ts +9 -0
  1090. package/dist/core/plugins/is-mutator-id.js +6 -0
  1091. package/dist/core/plugins/is-mutator-setting.d.ts +9 -0
  1092. package/dist/core/plugins/is-mutator-setting.js +5 -0
  1093. package/dist/core/plugins/is-record.d.ts +8 -0
  1094. package/dist/core/plugins/is-record.js +4 -0
  1095. package/dist/core/plugins/resolve-preset.d.ts +31 -0
  1096. package/dist/core/plugins/resolve-preset.js +60 -0
  1097. package/dist/core/plugins/validate-plugin.d.ts +14 -0
  1098. package/dist/core/plugins/validate-plugin.js +46 -0
  1099. package/dist/core/presets/default-loggers.d.ts +6 -0
  1100. package/dist/core/presets/default-loggers.js +8 -0
  1101. package/dist/core/presets/recommended.d.ts +7 -0
  1102. package/dist/core/presets/recommended.js +32 -0
  1103. package/dist/core/presets/strict.d.ts +9 -0
  1104. package/dist/core/presets/strict.js +28 -0
  1105. package/dist/core/regex/can-match-empty.d.ts +14 -0
  1106. package/dist/core/regex/can-match-empty.js +18 -0
  1107. package/dist/core/regex/collect-pattern-changes.d.ts +24 -0
  1108. package/dist/core/regex/collect-pattern-changes.js +133 -0
  1109. package/dist/core/regex/compiles-regex.d.ts +9 -0
  1110. package/dist/core/regex/compiles-regex.js +8 -0
  1111. package/dist/core/regex/create-regex-replacement.d.ts +42 -0
  1112. package/dist/core/regex/create-regex-replacement.js +36 -0
  1113. package/dist/core/regex/create-regex-visitors.d.ts +15 -0
  1114. package/dist/core/regex/create-regex-visitors.js +19 -0
  1115. package/dist/core/regex/encode-pattern-text.d.ts +20 -0
  1116. package/dist/core/regex/encode-pattern-text.js +25 -0
  1117. package/dist/core/regex/find-open-repeat-scope.d.ts +26 -0
  1118. package/dist/core/regex/find-open-repeat-scope.js +21 -0
  1119. package/dist/core/regex/find-string-match-call.d.ts +15 -0
  1120. package/dist/core/regex/find-string-match-call.js +12 -0
  1121. package/dist/core/regex/get-regex-usage.d.ts +15 -0
  1122. package/dist/core/regex/get-regex-usage.js +8 -0
  1123. package/dist/core/regex/has-backreference.d.ts +10 -0
  1124. package/dist/core/regex/has-backreference.js +8 -0
  1125. package/dist/core/regex/has-capturing-group.d.ts +11 -0
  1126. package/dist/core/regex/has-capturing-group.js +8 -0
  1127. package/dist/core/regex/has-cased-character.d.ts +15 -0
  1128. package/dist/core/regex/has-cased-character.js +29 -0
  1129. package/dist/core/regex/has-named-group.d.ts +10 -0
  1130. package/dist/core/regex/has-named-group.js +8 -0
  1131. package/dist/core/regex/is-edge-wildcard.d.ts +20 -0
  1132. package/dist/core/regex/is-edge-wildcard.js +10 -0
  1133. package/dist/core/regex/is-mandatory-group.d.ts +16 -0
  1134. package/dist/core/regex/is-mandatory-group.js +10 -0
  1135. package/dist/core/regex/is-raw-template-text.d.ts +12 -0
  1136. package/dist/core/regex/is-raw-template-text.js +13 -0
  1137. package/dist/core/regex/is-valid-regex-literal.d.ts +14 -0
  1138. package/dist/core/regex/is-valid-regex-literal.js +20 -0
  1139. package/dist/core/regex/keeps-neighbor-tokens.d.ts +18 -0
  1140. package/dist/core/regex/keeps-neighbor-tokens.js +29 -0
  1141. package/dist/core/regex/load-regexpp.d.ts +15 -0
  1142. package/dist/core/regex/load-regexpp.js +6 -0
  1143. package/dist/core/regex/map-pattern-offsets.d.ts +11 -0
  1144. package/dist/core/regex/map-pattern-offsets.js +9 -0
  1145. package/dist/core/regex/map-string-units.d.ts +33 -0
  1146. package/dist/core/regex/map-string-units.js +82 -0
  1147. package/dist/core/regex/matches-any-character.d.ts +13 -0
  1148. package/dist/core/regex/matches-any-character.js +22 -0
  1149. package/dist/core/regex/parse-regex-pattern.d.ts +12 -0
  1150. package/dist/core/regex/parse-regex-pattern.js +17 -0
  1151. package/dist/core/regex/print-flags-edit.d.ts +33 -0
  1152. package/dist/core/regex/print-flags-edit.js +38 -0
  1153. package/dist/core/regex/print-pattern-edit.d.ts +34 -0
  1154. package/dist/core/regex/print-pattern-edit.js +42 -0
  1155. package/dist/core/regex/print-regex-literal.d.ts +9 -0
  1156. package/dist/core/regex/print-regex-literal.js +4 -0
  1157. package/dist/core/regex/read-regex-argument.d.ts +14 -0
  1158. package/dist/core/regex/read-regex-argument.js +56 -0
  1159. package/dist/core/regex/read-regex-call.d.ts +16 -0
  1160. package/dist/core/regex/read-regex-call.js +27 -0
  1161. package/dist/core/regex/read-regex-literal.d.ts +13 -0
  1162. package/dist/core/regex/read-regex-literal.js +19 -0
  1163. package/dist/core/regex/reads-regex-statics.d.ts +15 -0
  1164. package/dist/core/regex/reads-regex-statics.js +5 -0
  1165. package/dist/core/run/apply-batch-result.d.ts +41 -0
  1166. package/dist/core/run/apply-batch-result.js +119 -0
  1167. package/dist/core/run/apply-isolated-result.d.ts +35 -0
  1168. package/dist/core/run/apply-isolated-result.js +62 -0
  1169. package/dist/core/run/classify-mutants.d.ts +32 -0
  1170. package/dist/core/run/classify-mutants.js +34 -0
  1171. package/dist/core/run/classify-try.d.ts +21 -0
  1172. package/dist/core/run/classify-try.js +28 -0
  1173. package/dist/core/run/compare-dry-entries.d.ts +20 -0
  1174. package/dist/core/run/compare-dry-entries.js +5 -0
  1175. package/dist/core/run/compute-score.d.ts +11 -0
  1176. package/dist/core/run/compute-score.js +11 -0
  1177. package/dist/core/run/compute-static-cost.d.ts +11 -0
  1178. package/dist/core/run/compute-static-cost.js +16 -0
  1179. package/dist/core/run/count-run.d.ts +31 -0
  1180. package/dist/core/run/count-run.js +19 -0
  1181. package/dist/core/run/count-statuses.d.ts +11 -0
  1182. package/dist/core/run/count-statuses.js +13 -0
  1183. package/dist/core/run/count-verdicts.d.ts +16 -0
  1184. package/dist/core/run/count-verdicts.js +32 -0
  1185. package/dist/core/run/create-run-state.d.ts +67 -0
  1186. package/dist/core/run/create-run-state.js +61 -0
  1187. package/dist/core/run/create-work-directory.d.ts +21 -0
  1188. package/dist/core/run/create-work-directory.js +14 -0
  1189. package/dist/core/run/decide-evidence.d.ts +18 -0
  1190. package/dist/core/run/decide-evidence.js +13 -0
  1191. package/dist/core/run/decide-results.d.ts +20 -0
  1192. package/dist/core/run/decide-results.js +45 -0
  1193. package/dist/core/run/get-batch-unit-cost.d.ts +16 -0
  1194. package/dist/core/run/get-batch-unit-cost.js +11 -0
  1195. package/dist/core/run/get-display-path.d.ts +9 -0
  1196. package/dist/core/run/get-display-path.js +5 -0
  1197. package/dist/core/run/get-file-cost.d.ts +12 -0
  1198. package/dist/core/run/get-file-cost.js +6 -0
  1199. package/dist/core/run/get-final-status.d.ts +14 -0
  1200. package/dist/core/run/get-final-status.js +8 -0
  1201. package/dist/core/run/get-html-path.d.ts +19 -0
  1202. package/dist/core/run/get-html-path.js +6 -0
  1203. package/dist/core/run/get-package-directory.d.ts +9 -0
  1204. package/dist/core/run/get-package-directory.js +12 -0
  1205. package/dist/core/run/get-test-file-key.d.ts +15 -0
  1206. package/dist/core/run/get-test-file-key.js +4 -0
  1207. package/dist/core/run/get-test-file-limits.d.ts +13 -0
  1208. package/dist/core/run/get-test-file-limits.js +13 -0
  1209. package/dist/core/run/get-try-limits.d.ts +18 -0
  1210. package/dist/core/run/get-try-limits.js +8 -0
  1211. package/dist/core/run/get-unit-evidence.d.ts +17 -0
  1212. package/dist/core/run/get-unit-evidence.js +4 -0
  1213. package/dist/core/run/index-module-tests.d.ts +15 -0
  1214. package/dist/core/run/index-module-tests.js +11 -0
  1215. package/dist/core/run/mark-outside-mutants.d.ts +14 -0
  1216. package/dist/core/run/mark-outside-mutants.js +28 -0
  1217. package/dist/core/run/number-chains.d.ts +8 -0
  1218. package/dist/core/run/number-chains.js +8 -0
  1219. package/dist/core/run/order-covering-tests.d.ts +15 -0
  1220. package/dist/core/run/order-covering-tests.js +15 -0
  1221. package/dist/core/run/plan-batch.d.ts +19 -0
  1222. package/dist/core/run/plan-batch.js +53 -0
  1223. package/dist/core/run/plan-isolated.d.ts +15 -0
  1224. package/dist/core/run/plan-isolated.js +16 -0
  1225. package/dist/core/run/preview-isolated-unit.d.ts +14 -0
  1226. package/dist/core/run/preview-isolated-unit.js +17 -0
  1227. package/dist/core/run/rank-module-files.d.ts +17 -0
  1228. package/dist/core/run/rank-module-files.js +24 -0
  1229. package/dist/core/run/rank-mutant-files.d.ts +21 -0
  1230. package/dist/core/run/rank-mutant-files.js +26 -0
  1231. package/dist/core/run/rank-test-file.d.ts +40 -0
  1232. package/dist/core/run/rank-test-file.js +34 -0
  1233. package/dist/core/run/read-dry-run.d.ts +20 -0
  1234. package/dist/core/run/read-dry-run.js +53 -0
  1235. package/dist/core/run/read-isolated-unit.d.ts +29 -0
  1236. package/dist/core/run/read-isolated-unit.js +70 -0
  1237. package/dist/core/run/read-test-imports.d.ts +12 -0
  1238. package/dist/core/run/read-test-imports.js +26 -0
  1239. package/dist/core/run/resolve-adapter.d.ts +34 -0
  1240. package/dist/core/run/resolve-adapter.js +22 -0
  1241. package/dist/core/run/route-isolated.d.ts +14 -0
  1242. package/dist/core/run/route-isolated.js +6 -0
  1243. package/dist/core/run/run-batch-phases.d.ts +17 -0
  1244. package/dist/core/run/run-batch-phases.js +84 -0
  1245. package/dist/core/run/run-dry-phase.d.ts +107 -0
  1246. package/dist/core/run/run-dry-phase.js +254 -0
  1247. package/dist/core/run/run-isolated-rounds.d.ts +27 -0
  1248. package/dist/core/run/run-isolated-rounds.js +58 -0
  1249. package/dist/core/run/select-run-files.d.ts +28 -0
  1250. package/dist/core/run/select-run-files.js +30 -0
  1251. package/dist/core/run/sort-test-files.d.ts +15 -0
  1252. package/dist/core/run/sort-test-files.js +6 -0
  1253. package/dist/core/run/sort-tests.d.ts +10 -0
  1254. package/dist/core/run/sort-tests.js +5 -0
  1255. package/dist/core/run/validate-adapter.d.ts +12 -0
  1256. package/dist/core/run/validate-adapter.js +11 -0
  1257. package/dist/core/run-mutants.d.ts +113 -0
  1258. package/dist/core/run-mutants.js +334 -0
  1259. package/dist/core/runtime/create-hit-limit-error.d.ts +11 -0
  1260. package/dist/core/runtime/create-hit-limit-error.js +7 -0
  1261. package/dist/core/runtime/index.d.ts +5 -0
  1262. package/dist/core/runtime/index.js +5 -0
  1263. package/dist/core/runtime/install-mutant-runtime.d.ts +13 -0
  1264. package/dist/core/runtime/install-mutant-runtime.js +44 -0
  1265. package/dist/core/runtime/is-hit-limit-error.d.ts +9 -0
  1266. package/dist/core/runtime/is-hit-limit-error.js +4 -0
  1267. package/dist/core/runtime/runtime-global.d.ts +5 -0
  1268. package/dist/core/runtime/runtime-global.js +2 -0
  1269. package/dist/core/runtime/runtime-symbol-key.d.ts +7 -0
  1270. package/dist/core/runtime/runtime-symbol-key.js +2 -0
  1271. package/dist/core/runtime/runtime-version.d.ts +6 -0
  1272. package/dist/core/skips/skip-rules.d.ts +392 -0
  1273. package/dist/core/skips/skip-rules.js +387 -0
  1274. package/dist/core/syntax/advances-loop.d.ts +19 -0
  1275. package/dist/core/syntax/advances-loop.js +62 -0
  1276. package/dist/core/syntax/create-syntax-helpers.d.ts +49 -0
  1277. package/dist/core/syntax/create-syntax-helpers.js +100 -0
  1278. package/dist/core/syntax/find-compiler-pins.d.ts +18 -0
  1279. package/dist/core/syntax/find-compiler-pins.js +79 -0
  1280. package/dist/core/syntax/find-logging-calls.d.ts +21 -0
  1281. package/dist/core/syntax/find-logging-calls.js +74 -0
  1282. package/dist/core/syntax/find-message-texts.d.ts +13 -0
  1283. package/dist/core/syntax/find-message-texts.js +10 -0
  1284. package/dist/core/syntax/get-binding-closure.d.ts +36 -0
  1285. package/dist/core/syntax/get-binding-closure.js +20 -0
  1286. package/dist/core/syntax/get-chain-end.d.ts +12 -0
  1287. package/dist/core/syntax/get-chain-end.js +6 -0
  1288. package/dist/core/syntax/get-chain-root.d.ts +16 -0
  1289. package/dist/core/syntax/get-chain-root.js +17 -0
  1290. package/dist/core/syntax/get-checked-name.d.ts +19 -0
  1291. package/dist/core/syntax/get-checked-name.js +9 -0
  1292. package/dist/core/syntax/get-closed-initializer.d.ts +20 -0
  1293. package/dist/core/syntax/get-closed-initializer.js +14 -0
  1294. package/dist/core/syntax/get-collection-class.d.ts +28 -0
  1295. package/dist/core/syntax/get-collection-class.js +34 -0
  1296. package/dist/core/syntax/get-count-map.d.ts +18 -0
  1297. package/dist/core/syntax/get-count-map.js +35 -0
  1298. package/dist/core/syntax/get-enclosing-function.d.ts +12 -0
  1299. package/dist/core/syntax/get-enclosing-function.js +8 -0
  1300. package/dist/core/syntax/get-exited-loops.d.ts +25 -0
  1301. package/dist/core/syntax/get-exited-loops.js +38 -0
  1302. package/dist/core/syntax/get-fixed-initializer.d.ts +16 -0
  1303. package/dist/core/syntax/get-fixed-initializer.js +7 -0
  1304. package/dist/core/syntax/get-guard-bound.d.ts +28 -0
  1305. package/dist/core/syntax/get-guard-bound.js +79 -0
  1306. package/dist/core/syntax/get-logical-chain.d.ts +13 -0
  1307. package/dist/core/syntax/get-logical-chain.js +10 -0
  1308. package/dist/core/syntax/get-lower-bound.d.ts +12 -0
  1309. package/dist/core/syntax/get-lower-bound.js +6 -0
  1310. package/dist/core/syntax/get-match-regex.d.ts +26 -0
  1311. package/dist/core/syntax/get-match-regex.js +48 -0
  1312. package/dist/core/syntax/get-match-result-use.d.ts +29 -0
  1313. package/dist/core/syntax/get-match-result-use.js +40 -0
  1314. package/dist/core/syntax/get-member-path.d.ts +14 -0
  1315. package/dist/core/syntax/get-member-path.js +30 -0
  1316. package/dist/core/syntax/get-member-root.d.ts +12 -0
  1317. package/dist/core/syntax/get-member-root.js +7 -0
  1318. package/dist/core/syntax/get-named-groups-fact.d.ts +34 -0
  1319. package/dist/core/syntax/get-named-groups-fact.js +44 -0
  1320. package/dist/core/syntax/get-never-falsy-fact.d.ts +23 -0
  1321. package/dist/core/syntax/get-never-falsy-fact.js +31 -0
  1322. package/dist/core/syntax/get-result-slot.d.ts +14 -0
  1323. package/dist/core/syntax/get-result-slot.js +7 -0
  1324. package/dist/core/syntax/get-root-name.d.ts +10 -0
  1325. package/dist/core/syntax/get-root-name.js +19 -0
  1326. package/dist/core/syntax/get-statement-list.d.ts +14 -0
  1327. package/dist/core/syntax/get-statement-list.js +13 -0
  1328. package/dist/core/syntax/get-truth-only-name.d.ts +16 -0
  1329. package/dist/core/syntax/get-truth-only-name.js +6 -0
  1330. package/dist/core/syntax/get-value-bound.d.ts +48 -0
  1331. package/dist/core/syntax/get-value-bound.js +192 -0
  1332. package/dist/core/syntax/is-boolean-context.d.ts +20 -0
  1333. package/dist/core/syntax/is-boolean-context.js +43 -0
  1334. package/dist/core/syntax/is-brace-sensitive-attribute.d.ts +18 -0
  1335. package/dist/core/syntax/is-brace-sensitive-attribute.js +28 -0
  1336. package/dist/core/syntax/is-caught-in-loop.d.ts +15 -0
  1337. package/dist/core/syntax/is-caught-in-loop.js +19 -0
  1338. package/dist/core/syntax/is-comparison-operator.d.ts +12 -0
  1339. package/dist/core/syntax/is-comparison-operator.js +16 -0
  1340. package/dist/core/syntax/is-condition-test.d.ts +12 -0
  1341. package/dist/core/syntax/is-condition-test.js +7 -0
  1342. package/dist/core/syntax/is-console-path.d.ts +11 -0
  1343. package/dist/core/syntax/is-console-path.js +5 -0
  1344. package/dist/core/syntax/is-effect-free.d.ts +11 -0
  1345. package/dist/core/syntax/is-effect-free.js +20 -0
  1346. package/dist/core/syntax/is-error-message.d.ts +17 -0
  1347. package/dist/core/syntax/is-error-message.js +31 -0
  1348. package/dist/core/syntax/is-for-each-result.d.ts +18 -0
  1349. package/dist/core/syntax/is-for-each-result.js +12 -0
  1350. package/dist/core/syntax/is-format-free.d.ts +14 -0
  1351. package/dist/core/syntax/is-format-free.js +9 -0
  1352. package/dist/core/syntax/is-function.d.ts +10 -0
  1353. package/dist/core/syntax/is-function.js +9 -0
  1354. package/dist/core/syntax/is-global-name.d.ts +20 -0
  1355. package/dist/core/syntax/is-global-name.js +8 -0
  1356. package/dist/core/syntax/is-global-type-name.d.ts +17 -0
  1357. package/dist/core/syntax/is-global-type-name.js +13 -0
  1358. package/dist/core/syntax/is-inside-try-block.d.ts +14 -0
  1359. package/dist/core/syntax/is-inside-try-block.js +18 -0
  1360. package/dist/core/syntax/is-joined-array.d.ts +21 -0
  1361. package/dist/core/syntax/is-joined-array.js +27 -0
  1362. package/dist/core/syntax/is-log-message.d.ts +18 -0
  1363. package/dist/core/syntax/is-log-message.js +7 -0
  1364. package/dist/core/syntax/is-logger-factory-call.d.ts +13 -0
  1365. package/dist/core/syntax/is-logger-factory-call.js +21 -0
  1366. package/dist/core/syntax/is-logger-label.d.ts +13 -0
  1367. package/dist/core/syntax/is-logger-label.js +15 -0
  1368. package/dist/core/syntax/is-logger-name.d.ts +11 -0
  1369. package/dist/core/syntax/is-logger-name.js +8 -0
  1370. package/dist/core/syntax/is-logging-call.d.ts +15 -0
  1371. package/dist/core/syntax/is-logging-call.js +31 -0
  1372. package/dist/core/syntax/is-logical-operand.d.ts +12 -0
  1373. package/dist/core/syntax/is-logical-operand.js +5 -0
  1374. package/dist/core/syntax/is-loop-advance-value.d.ts +20 -0
  1375. package/dist/core/syntax/is-loop-advance-value.js +16 -0
  1376. package/dist/core/syntax/is-loop-test.d.ts +12 -0
  1377. package/dist/core/syntax/is-loop-test.js +7 -0
  1378. package/dist/core/syntax/is-module-call.d.ts +12 -0
  1379. package/dist/core/syntax/is-module-call.js +12 -0
  1380. package/dist/core/syntax/is-non-thenable.d.ts +17 -0
  1381. package/dist/core/syntax/is-non-thenable.js +18 -0
  1382. package/dist/core/syntax/is-plain-message.d.ts +13 -0
  1383. package/dist/core/syntax/is-plain-message.js +11 -0
  1384. package/dist/core/syntax/is-presence-test.d.ts +16 -0
  1385. package/dist/core/syntax/is-presence-test.js +19 -0
  1386. package/dist/core/syntax/is-property-key.d.ts +13 -0
  1387. package/dist/core/syntax/is-property-key.js +12 -0
  1388. package/dist/core/syntax/is-read-chain.d.ts +12 -0
  1389. package/dist/core/syntax/is-read-chain.js +13 -0
  1390. package/dist/core/syntax/is-regex-only-tested.d.ts +23 -0
  1391. package/dist/core/syntax/is-regex-only-tested.js +18 -0
  1392. package/dist/core/syntax/is-result-unused.d.ts +19 -0
  1393. package/dist/core/syntax/is-result-unused.js +13 -0
  1394. package/dist/core/syntax/is-rune-call.d.ts +15 -0
  1395. package/dist/core/syntax/is-rune-call.js +34 -0
  1396. package/dist/core/syntax/is-spread-safe-member.d.ts +18 -0
  1397. package/dist/core/syntax/is-spread-safe-member.js +18 -0
  1398. package/dist/core/syntax/is-statement.d.ts +9 -0
  1399. package/dist/core/syntax/is-statement.js +5 -0
  1400. package/dist/core/syntax/is-tested-loop.d.ts +9 -0
  1401. package/dist/core/syntax/is-tested-loop.js +9 -0
  1402. package/dist/core/syntax/is-timer-delay.d.ts +23 -0
  1403. package/dist/core/syntax/is-timer-delay.js +39 -0
  1404. package/dist/core/syntax/is-truth-test.d.ts +17 -0
  1405. package/dist/core/syntax/is-truth-test.js +17 -0
  1406. package/dist/core/syntax/is-value-position.d.ts +20 -0
  1407. package/dist/core/syntax/is-value-position.js +83 -0
  1408. package/dist/core/syntax/is-vue-macro-call.d.ts +11 -0
  1409. package/dist/core/syntax/is-vue-macro-call.js +13 -0
  1410. package/dist/core/syntax/is-write-target.d.ts +11 -0
  1411. package/dist/core/syntax/is-write-target.js +15 -0
  1412. package/dist/core/syntax/is-written-member.d.ts +13 -0
  1413. package/dist/core/syntax/is-written-member.js +8 -0
  1414. package/dist/core/syntax/never-empty-methods.d.ts +9 -0
  1415. package/dist/core/syntax/never-empty-methods.js +8 -0
  1416. package/dist/core/syntax/passes-truthiness.d.ts +13 -0
  1417. package/dist/core/syntax/passes-truthiness.js +10 -0
  1418. package/dist/core/syntax/read-import.d.ts +13 -0
  1419. package/dist/core/syntax/read-import.js +19 -0
  1420. package/dist/core/syntax/read-literal-type.d.ts +15 -0
  1421. package/dist/core/syntax/read-literal-type.js +27 -0
  1422. package/dist/core/syntax/read-number-literal.d.ts +9 -0
  1423. package/dist/core/syntax/read-number-literal.js +6 -0
  1424. package/dist/core/syntax/read-timer-call.d.ts +27 -0
  1425. package/dist/core/syntax/read-timer-call.js +70 -0
  1426. package/dist/core/syntax/resolve-closed-expression.d.ts +18 -0
  1427. package/dist/core/syntax/resolve-closed-expression.js +9 -0
  1428. package/dist/core/syntax/solve-value-bounds.d.ts +41 -0
  1429. package/dist/core/syntax/solve-value-bounds.js +168 -0
  1430. package/dist/core/text/blank-outside.d.ts +12 -0
  1431. package/dist/core/text/blank-outside.js +10 -0
  1432. package/dist/core/text/create-source-code.d.ts +16 -0
  1433. package/dist/core/text/create-source-code.js +33 -0
  1434. package/dist/core/text/edit-text.d.ts +17 -0
  1435. package/dist/core/text/edit-text.js +12 -0
  1436. package/dist/core/text/find-closest-name.d.ts +12 -0
  1437. package/dist/core/text/find-closest-name.js +21 -0
  1438. package/dist/core/text/find-last-start.d.ts +11 -0
  1439. package/dist/core/text/find-last-start.js +9 -0
  1440. package/dist/core/text/find-token-start.d.ts +14 -0
  1441. package/dist/core/text/find-token-start.js +12 -0
  1442. package/dist/core/text/get-line-starts.d.ts +8 -0
  1443. package/dist/core/text/get-line-starts.js +7 -0
  1444. package/dist/core/text/get-list-removal-range.d.ts +22 -0
  1445. package/dist/core/text/get-list-removal-range.js +46 -0
  1446. package/dist/core/text/get-operator-range.d.ts +15 -0
  1447. package/dist/core/text/get-operator-range.js +21 -0
  1448. package/dist/core/text/get-source-position.d.ts +11 -0
  1449. package/dist/core/text/get-source-position.js +9 -0
  1450. package/dist/core/text/is-plain-attribute-string.d.ts +10 -0
  1451. package/dist/core/text/is-plain-attribute-string.js +5 -0
  1452. package/dist/core/text/needs-grouping.d.ts +30 -0
  1453. package/dist/core/text/needs-grouping.js +54 -0
  1454. package/dist/core/text/needs-separator.d.ts +11 -0
  1455. package/dist/core/text/needs-separator.js +15 -0
  1456. package/dist/core/text/parse-expression.d.ts +20 -0
  1457. package/dist/core/text/parse-expression.js +24 -0
  1458. package/dist/core/text/pluralize.d.ts +8 -0
  1459. package/dist/core/text/pluralize.js +4 -0
  1460. package/dist/core/text/remove-list-element.d.ts +14 -0
  1461. package/dist/core/text/remove-list-element.js +6 -0
  1462. package/dist/core/text/replace-operator.d.ts +16 -0
  1463. package/dist/core/text/replace-operator.js +82 -0
  1464. package/dist/core/text/swap-string-quotes.d.ts +13 -0
  1465. package/dist/core/text/swap-string-quotes.js +24 -0
  1466. package/dist/core/tree/get-callee-name.d.ts +10 -0
  1467. package/dist/core/tree/get-callee-name.js +6 -0
  1468. package/dist/core/tree/get-context-slot.d.ts +14 -0
  1469. package/dist/core/tree/get-context-slot.js +8 -0
  1470. package/dist/core/tree/get-raw-slot.d.ts +13 -0
  1471. package/dist/core/tree/get-raw-slot.js +6 -0
  1472. package/dist/core/tree/get-slot.d.ts +14 -0
  1473. package/dist/core/tree/get-slot.js +7 -0
  1474. package/dist/core/tree/index-tree.d.ts +17 -0
  1475. package/dist/core/tree/index-tree.js +56 -0
  1476. package/dist/core/tree/is-expression-wrapper.d.ts +15 -0
  1477. package/dist/core/tree/is-expression-wrapper.js +12 -0
  1478. package/dist/core/tree/is-name-position.d.ts +10 -0
  1479. package/dist/core/tree/is-name-position.js +17 -0
  1480. package/dist/core/tree/unwrap-expression.d.ts +9 -0
  1481. package/dist/core/tree/unwrap-expression.js +7 -0
  1482. package/dist/core/tree/unwrap-parentheses.d.ts +9 -0
  1483. package/dist/core/tree/unwrap-parentheses.js +6 -0
  1484. package/dist/core/tree/walk-tree.d.ts +12 -0
  1485. package/dist/core/tree/walk-tree.js +44 -0
  1486. package/dist/docs/public/fonts/jetbrains-mono.js +2 -0
  1487. package/dist/docs/public/fonts/sora-bold.js +2 -0
  1488. package/dist/docs/public/fonts/sora-regular.js +2 -0
  1489. package/dist/docs/styles/base.js +2 -0
  1490. package/dist/docs/styles/colors.js +2 -0
  1491. package/dist/docs/styles/fonts.js +2 -0
  1492. package/dist/docs/styles/sizes.js +2 -0
  1493. package/dist/docs/styles/spaces.js +2 -0
  1494. package/dist/package.js +2 -0
  1495. package/dist/types/adapter/adapter-context.d.ts +51 -0
  1496. package/dist/types/adapter/adapter-session.d.ts +71 -0
  1497. package/dist/types/adapter/batch-plan.d.ts +63 -0
  1498. package/dist/types/adapter/batch-result.d.ts +80 -0
  1499. package/dist/types/adapter/built-in-adapters.d.ts +31 -0
  1500. package/dist/types/adapter/cache-inputs.d.ts +29 -0
  1501. package/dist/types/adapter/dry-file.d.ts +84 -0
  1502. package/dist/types/adapter/dry-run-request.d.ts +41 -0
  1503. package/dist/types/adapter/dry-run-result.d.ts +53 -0
  1504. package/dist/types/adapter/dry-test.d.ts +35 -0
  1505. package/dist/types/adapter/isolated-plan.d.ts +42 -0
  1506. package/dist/types/adapter/isolated-result.d.ts +84 -0
  1507. package/dist/types/adapter/mutant-runtime.d.ts +69 -0
  1508. package/dist/types/adapter/run-inputs.d.ts +20 -0
  1509. package/dist/types/adapter/switched-file.d.ts +20 -0
  1510. package/dist/types/adapter/test-adapter.d.ts +34 -0
  1511. package/dist/types/adapter/try-facts.d.ts +63 -0
  1512. package/dist/types/adapter/try-limits.d.ts +14 -0
  1513. package/dist/types/adapter/unit-end.d.ts +25 -0
  1514. package/dist/types/cache/cache-entry.d.ts +66 -0
  1515. package/dist/types/cache/cached-inputs.d.ts +18 -0
  1516. package/dist/types/cache/run-cache-file.d.ts +23 -0
  1517. package/dist/types/cache/run-cache.d.ts +130 -0
  1518. package/dist/types/cache/stored-cache.d.ts +16 -0
  1519. package/dist/types/cli/line-part.d.ts +22 -0
  1520. package/dist/types/cli/text-style.d.ts +21 -0
  1521. package/dist/types/config/config.d.ts +36 -0
  1522. package/dist/types/config/plugin.d.ts +17 -0
  1523. package/dist/types/config/preset-settings.d.ts +43 -0
  1524. package/dist/types/config/preset.d.ts +28 -0
  1525. package/dist/types/config/run-config.d.ts +80 -0
  1526. package/dist/types/config/run-settings.d.ts +38 -0
  1527. package/dist/types/git/changed-lines.d.ts +15 -0
  1528. package/dist/types/git/since-revision.d.ts +15 -0
  1529. package/dist/types/hints/inferred-type.d.ts +19 -0
  1530. package/dist/types/hints/type-hint-provider.d.ts +18 -0
  1531. package/dist/types/hints/type-hints.d.ts +34 -0
  1532. package/dist/types/hints/type-inference.d.ts +28 -0
  1533. package/dist/types/hints/value-kind.d.ts +16 -0
  1534. package/dist/types/html/file-view.d.ts +39 -0
  1535. package/dist/types/html/indexed-file.d.ts +73 -0
  1536. package/dist/types/html/indexed-mutant.d.ts +32 -0
  1537. package/dist/types/html/indexed-mutator.d.ts +21 -0
  1538. package/dist/types/html/indexed-skip.d.ts +31 -0
  1539. package/dist/types/html/inline-script.d.ts +9 -0
  1540. package/dist/types/html/mutants-filter.d.ts +26 -0
  1541. package/dist/types/html/report-index.d.ts +49 -0
  1542. package/dist/types/html/report-route.d.ts +48 -0
  1543. package/dist/types/html/shown-change.d.ts +27 -0
  1544. package/dist/types/html/tests-filter.d.ts +20 -0
  1545. package/dist/types/mutant/diagnostic.d.ts +64 -0
  1546. package/dist/types/mutant/file-mutants.d.ts +54 -0
  1547. package/dist/types/mutant/ignore-directive.d.ts +46 -0
  1548. package/dist/types/mutant/ignore-rule.d.ts +46 -0
  1549. package/dist/types/mutant/ignore-source.d.ts +20 -0
  1550. package/dist/types/mutant/list-removal.d.ts +37 -0
  1551. package/dist/types/mutant/mutant-candidate.d.ts +55 -0
  1552. package/dist/types/mutant/mutant-host.d.ts +49 -0
  1553. package/dist/types/mutant/mutant-kind.d.ts +18 -0
  1554. package/dist/types/mutant/mutant-range.d.ts +38 -0
  1555. package/dist/types/mutant/mutant-status.d.ts +5 -0
  1556. package/dist/types/mutant/mutant.d.ts +69 -0
  1557. package/dist/types/mutant/site-syntax.d.ts +14 -0
  1558. package/dist/types/mutant/skip-category.d.ts +16 -0
  1559. package/dist/types/mutant/skip-justifier.d.ts +23 -0
  1560. package/dist/types/mutant/skip-note.d.ts +30 -0
  1561. package/dist/types/mutant/skip-rule-id.d.ts +6 -0
  1562. package/dist/types/mutant/skip-rule.d.ts +17 -0
  1563. package/dist/types/mutant/skipped-candidate.d.ts +68 -0
  1564. package/dist/types/mutant/skipped-mutant.d.ts +74 -0
  1565. package/dist/types/mutator/active-mutator.d.ts +10 -0
  1566. package/dist/types/mutator/mutator-context.d.ts +58 -0
  1567. package/dist/types/mutator/mutator-meta.d.ts +24 -0
  1568. package/dist/types/mutator/mutator-registry.d.ts +16 -0
  1569. package/dist/types/mutator/mutator-setting.d.ts +5 -0
  1570. package/dist/types/mutator/mutator-visitors.d.ts +24 -0
  1571. package/dist/types/mutator/mutator.d.ts +19 -0
  1572. package/dist/types/mutator/regex-flag-options.d.ts +10 -0
  1573. package/dist/types/mutator/regex-pattern-options.d.ts +28 -0
  1574. package/dist/types/mutator/registered-mutator.d.ts +21 -0
  1575. package/dist/types/mutator/replacement.d.ts +53 -0
  1576. package/dist/types/regex/regex-call.d.ts +28 -0
  1577. package/dist/types/regex/regex-change.d.ts +26 -0
  1578. package/dist/types/regex/regex-source.d.ts +67 -0
  1579. package/dist/types/report/file-score.d.ts +24 -0
  1580. package/dist/types/report/html-report.d.ts +384 -0
  1581. package/dist/types/report/list-report-diff.d.ts +28 -0
  1582. package/dist/types/report/list-report-file.d.ts +20 -0
  1583. package/dist/types/report/list-report-focus.d.ts +37 -0
  1584. package/dist/types/report/list-report-justifier.d.ts +28 -0
  1585. package/dist/types/report/list-report-mutant.d.ts +103 -0
  1586. package/dist/types/report/list-report-mutator.d.ts +19 -0
  1587. package/dist/types/report/list-report-skipped.d.ts +82 -0
  1588. package/dist/types/report/list-report-summary.d.ts +46 -0
  1589. package/dist/types/report/list-report.d.ts +66 -0
  1590. package/dist/types/report/list-result.d.ts +39 -0
  1591. package/dist/types/report/run-report.d.ts +336 -0
  1592. package/dist/types/report/slim-list-report.d.ts +113 -0
  1593. package/dist/types/report/slim-run-report.d.ts +196 -0
  1594. package/dist/types/run/dry-analysis.d.ts +68 -0
  1595. package/dist/types/run/isolated-evidence.d.ts +9 -0
  1596. package/dist/types/run/isolated-reason.d.ts +26 -0
  1597. package/dist/types/run/live-verdicts.d.ts +42 -0
  1598. package/dist/types/run/module-cost.d.ts +25 -0
  1599. package/dist/types/run/mutant-class.d.ts +28 -0
  1600. package/dist/types/run/mutant-result.d.ts +82 -0
  1601. package/dist/types/run/mutant-state.d.ts +131 -0
  1602. package/dist/types/run/run-durations.d.ts +30 -0
  1603. package/dist/types/run/run-event.d.ts +227 -0
  1604. package/dist/types/run/run-kind.d.ts +11 -0
  1605. package/dist/types/run/run-mode.d.ts +13 -0
  1606. package/dist/types/run/run-result.d.ts +120 -0
  1607. package/dist/types/run/run-score.d.ts +15 -0
  1608. package/dist/types/run/run-state.d.ts +141 -0
  1609. package/dist/types/run/run-status.d.ts +14 -0
  1610. package/dist/types/run/status-counts.d.ts +5 -0
  1611. package/dist/types/run/try-cause.d.ts +28 -0
  1612. package/dist/types/run/try-verdict.d.ts +20 -0
  1613. package/dist/types/source/component-framework.d.ts +4 -0
  1614. package/dist/types/source/parse-settings.d.ts +23 -0
  1615. package/dist/types/source/parsed-file.d.ts +49 -0
  1616. package/dist/types/source/script-block.d.ts +26 -0
  1617. package/dist/types/source/source-block.d.ts +12 -0
  1618. package/dist/types/source/source-code.d.ts +101 -0
  1619. package/dist/types/source/source-position.d.ts +14 -0
  1620. package/dist/types/source/source-range.d.ts +14 -0
  1621. package/dist/types/source/svelte-compiler.d.ts +7 -0
  1622. package/dist/types/source/template-compilers.d.ts +17 -0
  1623. package/dist/types/source/template-expression.d.ts +27 -0
  1624. package/dist/types/source/template-outcome.d.ts +46 -0
  1625. package/dist/types/source/template-parts.d.ts +17 -0
  1626. package/dist/types/source/template-source.d.ts +20 -0
  1627. package/dist/types/source/text-edit.d.ts +11 -0
  1628. package/dist/types/source/vue-compiler.d.ts +7 -0
  1629. package/dist/types/syntax/analyzed-program.d.ts +24 -0
  1630. package/dist/types/syntax/binding-closure.d.ts +11 -0
  1631. package/dist/types/syntax/binding.d.ts +53 -0
  1632. package/dist/types/syntax/bound-evaluation.d.ts +33 -0
  1633. package/dist/types/syntax/compiler-pin.d.ts +18 -0
  1634. package/dist/types/syntax/count-map.d.ts +18 -0
  1635. package/dist/types/syntax/imported-name.d.ts +15 -0
  1636. package/dist/types/syntax/list-expression.d.ts +6 -0
  1637. package/dist/types/syntax/literal-change.d.ts +27 -0
  1638. package/dist/types/syntax/logging-call.d.ts +23 -0
  1639. package/dist/types/syntax/match-regex.d.ts +18 -0
  1640. package/dist/types/syntax/node-slot.d.ts +20 -0
  1641. package/dist/types/syntax/operator-expression.d.ts +11 -0
  1642. package/dist/types/syntax/read-check.d.ts +7 -0
  1643. package/dist/types/syntax/scope-analysis.d.ts +42 -0
  1644. package/dist/types/syntax/syntax-helpers.d.ts +294 -0
  1645. package/dist/types/syntax/timer-call.d.ts +18 -0
  1646. package/dist/types/syntax/timer-kind.d.ts +15 -0
  1647. package/dist/types/syntax/tree-index.d.ts +18 -0
  1648. package/dist/types/syntax/value-bound.d.ts +37 -0
  1649. package/dist/types/syntax/value-bounds.d.ts +47 -0
  1650. package/license.md +20 -0
  1651. package/package.json +83 -6
  1652. package/readme.md +132 -0
  1653. package/skills/mootant/SKILL.md +234 -0
  1654. package/skills/mootant/references/mutators.md +45 -0
  1655. package/skills/readme.md +11 -0
  1656. package/README.md +0 -45
@@ -0,0 +1,71 @@
1
+ import { IsolatedResult } from './isolated-result.js';
2
+ import { DryRunRequest } from './dry-run-request.js';
3
+ import { Diagnostic } from '../mutant/diagnostic.js';
4
+ import { DryRunResult } from './dry-run-result.js';
5
+ import { IsolatedPlan } from './isolated-plan.js';
6
+ import { BatchResult } from './batch-result.js';
7
+ import { CacheInputs } from './cache-inputs.js';
8
+ import { BatchPlan } from './batch-plan.js';
9
+ /**
10
+ * Live test runner of one mootant run. Methods are called one at a time.
11
+ */
12
+ export interface AdapterSession {
13
+ /**
14
+ * Executes isolated units in one run. Several units may share a test file;
15
+ * they run one after another, in plan order, never at the same time, since a
16
+ * plain run of the test runner never runs a test file twice at once and tests
17
+ * may rely on it (a fixed file, port or database).
18
+ */
19
+ runIsolated(plan: IsolatedPlan): Promise<IsolatedResult>
20
+
21
+ /**
22
+ * Runs the selected tests without a mutant, each twice or once (see
23
+ * `DryRunRequest.repeat`). A try is one run of a test as a plain run of the
24
+ * test runner makes it, with the test's own repeats and retries.
25
+ */
26
+ dryRun(request: DryRunRequest): Promise<DryRunResult>
27
+
28
+ /**
29
+ * Executes a batch plan in one run of the test runner. Only called when the
30
+ * adapter has `batch`.
31
+ */
32
+ runBatch(plan: BatchPlan): Promise<BatchResult>
33
+
34
+ /**
35
+ * Stops the test runner and frees its resources. Safe to call twice. It may
36
+ * give diagnostics of what failed as the test runner stopped, such as a
37
+ * global teardown, which join the result of a run that went through.
38
+ */
39
+ close(): Promise<Diagnostic[]> | Promise<void>
40
+
41
+ /**
42
+ * What every verdict of the session depends on beyond the dependencies of
43
+ * each test file, for the cache. Called once after the last dry run.
44
+ * Optional; without it no verdict is cached.
45
+ */
46
+ cacheInputs?(): Promise<CacheInputs>
47
+
48
+ /**
49
+ * Warnings found when the session started, such as test runner settings the
50
+ * adapter changed. Optional.
51
+ */
52
+ diagnostics?: readonly Diagnostic[]
53
+
54
+ /**
55
+ * Absolute paths of test files and of files that set tests up (setup files,
56
+ * global setup). They are never mutated.
57
+ */
58
+ listTestFiles(): Promise<string[]>
59
+
60
+ /**
61
+ * Version of the test runner, such as `5.0.4`. Optional; shown in reports.
62
+ */
63
+ version?: string
64
+
65
+ /**
66
+ * Most test files the runner runs at once, as it resolved its settings; the
67
+ * core plans for this many workers. Optional; the context's `concurrency`,
68
+ * else the available parallelism minus one, when omitted.
69
+ */
70
+ workers?: number
71
+ }
@@ -0,0 +1,63 @@
1
+ import { TryLimits } from './try-limits.js';
2
+ /**
3
+ * Work of one worker on one test file. Every test of the file up to the last
4
+ * planned one runs in file order: unplanned ones once without a mutant, as in
5
+ * the dry run; tests after the last planned one do not run.
6
+ */
7
+ export interface BatchUnit {
8
+ /**
9
+ * Bounds of loading the file and of the whole unit (watchdog budget).
10
+ */
11
+ limits: { load: TryLimits; total: number }
12
+
13
+ /**
14
+ * Planned tests in file order.
15
+ */
16
+ tests: BatchTest[]
17
+
18
+ /**
19
+ * Name of the test runner's project to run the test file in (see
20
+ * `DryFile.project`).
21
+ */
22
+ project: string
23
+
24
+ /**
25
+ * Absolute path of the test file.
26
+ */
27
+ file: string
28
+ }
29
+
30
+ /**
31
+ * Work of one batch run: one unit per test file and project. The adapter never
32
+ * runs two units of the same test file at once.
33
+ */
34
+ export interface BatchPlan {
35
+ /**
36
+ * Most units to run at once in this run; the session's own concurrency when
37
+ * omitted. The core halves it for the run that confirms timeouts.
38
+ */
39
+ concurrency?: number
40
+
41
+ /**
42
+ * Units of the run; results refer to them by index.
43
+ */
44
+ units: BatchUnit[]
45
+ }
46
+
47
+ /**
48
+ * One test and the mutants it tries in order. The adapter surrounds every
49
+ * mutant try with control tries (no mutant): control, m1, control, m2, …,
50
+ * control; the core trusts a kill only when both controls next to it passed. A
51
+ * mutant killed earlier in the same unit is not tried again.
52
+ */
53
+ export interface BatchTest extends TryLimits {
54
+ /**
55
+ * Ids of the mutants, not empty.
56
+ */
57
+ mutants: string[]
58
+
59
+ /**
60
+ * Id of the test.
61
+ */
62
+ id: string
63
+ }
@@ -0,0 +1,80 @@
1
+ import { RunInputs } from './run-inputs.js';
2
+ import { TryFacts } from './try-facts.js';
3
+ /**
4
+ * What a batch run reported. Planned tries without facts are missing: the core
5
+ * plans them again.
6
+ */
7
+ export interface BatchResult {
8
+ /**
9
+ * Units whose suite hooks (such as `beforeAll`/`before`, `afterAll`/`after`,
10
+ * `aroundAll`) or file teardown (such as the cleanup of worker-scoped
11
+ * fixtures or the teardown of the test environment) failed, with the first
12
+ * message; the core sends every mutant tried in such a unit that is not a
13
+ * trusted kill to the isolated path.
14
+ */
15
+ hookErrors: { message: string; unit: number }[]
16
+
17
+ /**
18
+ * What each unit that reported it read, with the index of the unit; the cache
19
+ * never stores kills of other units. Omitted when the adapter cannot tell.
20
+ */
21
+ inputs?: ({ unit: number } & RunInputs)[]
22
+
23
+ /**
24
+ * Tries in the order they ran per unit, control tries included, with the
25
+ * index of their unit in the plan.
26
+ */
27
+ tries: ({ unit: number } & TryFacts)[]
28
+
29
+ /**
30
+ * Units that did not finish.
31
+ */
32
+ incomplete: IncompleteUnit[]
33
+
34
+ /**
35
+ * Unhandled errors after a try ended, with the mutant and test of that try.
36
+ */
37
+ late: LateError[]
38
+ }
39
+
40
+ /**
41
+ * Unit of a batch plan that did not finish.
42
+ */
43
+ export interface IncompleteUnit {
44
+ /**
45
+ * `hang` when the watchdog stopped the worker (the hung try is reported with
46
+ * `timedOut`), `crash` when it died, `abandoned` when the worker stopped the
47
+ * unit after a timed-out try.
48
+ */
49
+ reason: 'abandoned' | 'crash' | 'hang'
50
+
51
+ /**
52
+ * Sentence naming what happened, such as the error of the run.
53
+ */
54
+ message: string
55
+
56
+ /**
57
+ * Index of the unit in the plan.
58
+ */
59
+ unit: number
60
+ }
61
+
62
+ /**
63
+ * Unhandled error that came after a batch try ended.
64
+ */
65
+ export interface LateError {
66
+ /**
67
+ * Id of the mutant active in the try before the error, or null.
68
+ */
69
+ mutant: string | null
70
+
71
+ /**
72
+ * First line of the error.
73
+ */
74
+ message: string
75
+
76
+ /**
77
+ * Id of the test of the try before the error.
78
+ */
79
+ test: string
80
+ }
@@ -0,0 +1,31 @@
1
+ import { TestAdapter } from './test-adapter.js';
2
+ /**
3
+ * Adapter that comes with mootant, loaded only when a run needs it.
4
+ */
5
+ export interface BuiltInAdapter {
6
+ /**
7
+ * Tells how surely the project uses the adapter's test runner, such as
8
+ * whether it is installed or named in the test scripts. `start` reports an
9
+ * unsupported version.
10
+ */
11
+ detect(root: string): Promise<DetectionScore>
12
+
13
+ /**
14
+ * Imports the adapter and creates it with default options.
15
+ */
16
+ load(): Promise<TestAdapter>
17
+ }
18
+
19
+ /**
20
+ * Adapters that come with mootant, keyed by the name `run.runner` uses, in
21
+ * detection order. The command line passes them to the core, so the core never
22
+ * names a test runner.
23
+ */
24
+ export type BuiltInAdapters = Record<string, BuiltInAdapter>
25
+
26
+ /**
27
+ * How surely a project uses a test runner: 0 or false when it does not, 1 or
28
+ * true when the runner is installed or its tests look like the runner's, 2 when
29
+ * a script the project runs its tests with calls the runner.
30
+ */
31
+ export type DetectionScore = boolean | 0 | 1 | 2
@@ -0,0 +1,29 @@
1
+ /**
2
+ * What every verdict of a session depends on beyond the files each test file
3
+ * loads (see `DryFile.dependencies`).
4
+ */
5
+ export interface CacheInputs {
6
+ /**
7
+ * Hashes of the values of the environment variables test files see, by name,
8
+ * for each project of the test runner by name (see `DryFile.project`), and
9
+ * under `*` a hash of all of them but those that change from one shell to
10
+ * another; a variable that is not set has no entry. Without it, variables
11
+ * test files read count as not set.
12
+ */
13
+ environment?: Record<string, Record<string, string>>
14
+
15
+ /**
16
+ * Resolved settings that change verdicts, as plain JSON, such as the pool,
17
+ * test isolation and the test environment of each project; never
18
+ * concurrency.
19
+ */
20
+ settings: unknown
21
+
22
+ /**
23
+ * Absolute paths of the files the test runner reads itself, such as its
24
+ * configuration file and the files that imports, the `.env` files it loads,
25
+ * global setup files and custom test environments. Missing files count too:
26
+ * creating one changes the key.
27
+ */
28
+ files: string[]
29
+ }
@@ -0,0 +1,84 @@
1
+ /**
2
+ * One test file as a dry run saw it.
3
+ */
4
+ export interface DryFile {
5
+ /**
6
+ * Absolute paths of the files the test file depended on in the run: the test
7
+ * file, its setup files, every module the runner evaluated for it, files
8
+ * plugins watch for them, files the test code read, a missing one or a
9
+ * directory included, and its snapshot files, whether they exist or not. Null
10
+ * or omitted when the adapter cannot tell; the cache then never reuses or
11
+ * stores verdicts of this test file, and the dry phase ties its failures to
12
+ * switched files by mutant sites alone.
13
+ */
14
+ dependencies?: string[] | null
15
+
16
+ /**
17
+ * Names of the environment variables the test code read in the run, or `*`
18
+ * when it listed them all; values come from `CacheInputs.environment`.
19
+ * Omitted when the adapter does not track them.
20
+ */
21
+ environment?: string[]
22
+
23
+ /**
24
+ * Milliseconds from the start of loading to the end of collection.
25
+ */
26
+ loadDuration: number
27
+
28
+ /**
29
+ * Milliseconds the file spent outside tries after it loaded, such as in the
30
+ * suite hooks (`beforeAll`/`before`, `afterAll`/`after`) and in the teardown
31
+ * after the file.
32
+ */
33
+ hookDuration: number
34
+
35
+ /**
36
+ * Absolute paths of the dependencies the test code changed itself in the run,
37
+ * such as a file it read and wrote back or a directory it listed and added a
38
+ * file to. Their modification time says nothing about edits while the run
39
+ * went on, so the cache compares their contents instead. Omitted when the
40
+ * adapter does not track them.
41
+ */
42
+ modified?: string[]
43
+
44
+ /**
45
+ * Whether the file failed to load, a suite hook of it failed, the teardown
46
+ * after it failed, or its plain run failed outside its tests.
47
+ */
48
+ loadFailed: boolean
49
+
50
+ /**
51
+ * Whether a suite or test of the file is marked to run concurrently. A dry
52
+ * run that tries each test twice ran them one at a time, as batch runs do.
53
+ */
54
+ concurrent: boolean
55
+
56
+ /**
57
+ * Ids of mutants whose sites ran outside any try: while the file and its
58
+ * imports loaded, in setup files, in suite hooks (`beforeAll`/`before`,
59
+ * `afterAll`/`after`). Sorted.
60
+ */
61
+ covers: string[]
62
+
63
+ /**
64
+ * The collection error, the first failed suite hook or file teardown and
65
+ * unhandled errors outside tries, as messages.
66
+ */
67
+ errors: string[]
68
+
69
+ /**
70
+ * Name of the test runner's project the file ran in, or an empty string. A
71
+ * test file that several projects include is a separate test file in each.
72
+ */
73
+ project: string
74
+
75
+ /**
76
+ * Site evaluations outside any try.
77
+ */
78
+ hits: number
79
+
80
+ /**
81
+ * Absolute path of the test file.
82
+ */
83
+ file: string
84
+ }
@@ -0,0 +1,41 @@
1
+ /**
2
+ * Which tests a dry run executes and how.
3
+ */
4
+ export interface DryRunRequest {
5
+ /**
6
+ * Test files to run, each whole, by path and project (an empty string without
7
+ * one); null runs the test files related to `related`, or more.
8
+ */
9
+ files: { project: string; file: string }[] | null
10
+
11
+ /**
12
+ * Milliseconds a try may take, its hooks included, on top of the test's own
13
+ * timeout (`test`), and milliseconds the work of a test file outside tries
14
+ * may take, such as loading it and its suite hooks (`file`). Past them the
15
+ * adapter stops the worker and reports it in `DryRunResult.hung`: a test
16
+ * runner's own timeouts do not stop a synchronous loop.
17
+ */
18
+ timeouts: { test: number; file: number }
19
+
20
+ /**
21
+ * False serves every file as is (used to tell instrumentation breakage from
22
+ * real failures); the adapter drops cached transforms first.
23
+ */
24
+ instrumented: boolean
25
+
26
+ /**
27
+ * Absolute paths of source files with mutants, a hint of which test files to
28
+ * run when `files` is null: those that may import them run. They include
29
+ * files the run does not switch, such as the files of mutants it does not
30
+ * run. An adapter may run more, such as every test file when it does not know
31
+ * yet what each one imports; each test file it runs is reported as usual.
32
+ */
33
+ related: string[]
34
+
35
+ /**
36
+ * True tries every test twice in a row; false runs each test once, as a plain
37
+ * run of the test runner does, so state one try leaves for the next cannot
38
+ * fail a later test or a suite hook.
39
+ */
40
+ repeat: boolean
41
+ }
@@ -0,0 +1,53 @@
1
+ import { DryFile } from './dry-file.js';
2
+ import { DryTest } from './dry-test.js';
3
+ /**
4
+ * What a dry run observed.
5
+ */
6
+ export interface DryRunResult {
7
+ /**
8
+ * Workers the adapter stopped because a try or the work outside tries ran
9
+ * past `DryRunRequest.timeouts`: the test file, and the id and full name of
10
+ * the test, or null outside tests.
11
+ */
12
+ hung: { test: string | null; name: string | null; file: string }[]
13
+
14
+ /**
15
+ * Switched files the tests loaded past the adapter, so it could not serve
16
+ * them, each with the end of a sentence that names how, such as `a test loads
17
+ * it through require() of an ES module, which Node before 22.15 runs past
18
+ * module hooks`; the core reports it for a file never served. Optional: an
19
+ * adapter that cannot tell leaves it out.
20
+ */
21
+ unserved?: { reason: string; file: string }[]
22
+
23
+ /**
24
+ * Switched files whose loaded text differed from `original`.
25
+ */
26
+ mismatched: string[]
27
+
28
+ /**
29
+ * Ids of the mutants whose sites the test runner evaluated outside the test
30
+ * workers since the session started, where the adapter cannot switch mutants,
31
+ * such as in a global setup file; sorted. The core gives such a mutant
32
+ * `Error` unless a test kills it or times out.
33
+ */
34
+ outside: string[]
35
+
36
+ /**
37
+ * Switched files the runner served at least once. A switched file outside
38
+ * this list was never loaded through the adapter (no test imports it, or
39
+ * tests load built output, an external or a pre-bundled dependency) and its
40
+ * mutants cannot be reached.
41
+ */
42
+ served: string[]
43
+
44
+ /**
45
+ * Test files that ran, sorted by path.
46
+ */
47
+ files: DryFile[]
48
+
49
+ /**
50
+ * Tests that ran, in file order; skipped and todo tests are not listed.
51
+ */
52
+ tests: DryTest[]
53
+ }
@@ -0,0 +1,35 @@
1
+ import { TryFacts } from './try-facts.js';
2
+ /**
3
+ * One test of a dry run with its tries.
4
+ */
5
+ export interface DryTest {
6
+ /**
7
+ * 1-based line of the test in its file, or null.
8
+ */
9
+ line: number | null
10
+
11
+ /**
12
+ * Both tries in order (one when the first skipped itself).
13
+ */
14
+ tries: TryFacts[]
15
+
16
+ /**
17
+ * Name of the test runner's project the test ran in, or an empty string.
18
+ */
19
+ project: string
20
+
21
+ /**
22
+ * Absolute path of the test file.
23
+ */
24
+ file: string
25
+
26
+ /**
27
+ * Full name with suites, joined by `>`.
28
+ */
29
+ name: string
30
+
31
+ /**
32
+ * Id of the test, stable across runs while the file is unchanged.
33
+ */
34
+ id: string
35
+ }
@@ -0,0 +1,42 @@
1
+ import { TryLimits } from './try-limits.js';
2
+ /**
3
+ * One mutant active in one whole test file from the moment the file starts
4
+ * loading, in a fresh module graph: every test of the file runs, since a test
5
+ * that does not reach the mutant may still see the state an earlier test left,
6
+ * until a test fails after the mutant was reached. That failure kills the
7
+ * mutant whatever runs next, so the adapter may skip the tests left; suite
8
+ * hooks that started, fixture cleanup and teardown still run.
9
+ */
10
+ export interface IsolatedUnit {
11
+ /**
12
+ * Hit limit and timeout of the whole unit (load plus its tests).
13
+ */
14
+ limits: TryLimits
15
+
16
+ /**
17
+ * Name of the test runner's project to run the test file in (see
18
+ * `DryFile.project`).
19
+ */
20
+ project: string
21
+
22
+ /**
23
+ * Id of the mutant.
24
+ */
25
+ mutant: string
26
+
27
+ /**
28
+ * Absolute path of the test file.
29
+ */
30
+ file: string
31
+ }
32
+
33
+ /**
34
+ * Units of one isolated run. Several units may share a test file; they never
35
+ * run at the same time.
36
+ */
37
+ export interface IsolatedPlan {
38
+ /**
39
+ * Units of the run; results refer to them by index.
40
+ */
41
+ units: IsolatedUnit[]
42
+ }
@@ -0,0 +1,84 @@
1
+ import { RunInputs } from './run-inputs.js';
2
+ import { TryFacts } from './try-facts.js';
3
+ /**
4
+ * Facts of one isolated unit.
5
+ */
6
+ export interface IsolatedFacts {
7
+ /**
8
+ * `crash` or `hang` when the unit did not finish, else null.
9
+ */
10
+ incomplete: 'crash' | 'hang' | null
11
+
12
+ /**
13
+ * What the unit read, or null or omitted when the adapter cannot tell, as
14
+ * after a crash; the cache then never stores the unit's evidence.
15
+ */
16
+ inputs?: RunInputs | null
17
+
18
+ /**
19
+ * Message of the first failed suite hook (such as `beforeAll`/`before`,
20
+ * `afterAll`/`after`, `aroundAll`) or, after them, of the failed file
21
+ * teardown, such as the cleanup of worker-scoped fixtures or the teardown of
22
+ * the test environment, or of a file whose run failed outside its tests, or
23
+ * null.
24
+ */
25
+ hookError: string | null
26
+
27
+ /**
28
+ * Message of the load failure, or null.
29
+ */
30
+ loadError: string | null
31
+
32
+ /**
33
+ * Whether a suite hook ran out of time; `hookError` then holds its message.
34
+ */
35
+ timedOut: boolean
36
+
37
+ /**
38
+ * Tries of the tests that ran, in file order.
39
+ */
40
+ tests: TryFacts[]
41
+
42
+ /**
43
+ * Unhandled errors outside tests.
44
+ */
45
+ strays: string[]
46
+
47
+ /**
48
+ * Whether the mutant's site returned true anywhere in the unit.
49
+ */
50
+ reached: boolean
51
+
52
+ /**
53
+ * Milliseconds from loading to the end of the file.
54
+ */
55
+ duration: number
56
+
57
+ /**
58
+ * Milliseconds the unit's process took to start before the unit began, such
59
+ * as forking and booting a worker, without waiting for other units; 0 or
60
+ * omitted when the adapter cannot tell.
61
+ */
62
+ startup?: number
63
+
64
+ /**
65
+ * Site evaluations of the whole unit.
66
+ */
67
+ hits: number
68
+
69
+ /**
70
+ * Index of the unit in the plan.
71
+ */
72
+ unit: number
73
+ }
74
+
75
+ /**
76
+ * What an isolated run reported; a unit without facts is planned once more,
77
+ * then becomes `Error`.
78
+ */
79
+ export interface IsolatedResult {
80
+ /**
81
+ * Facts of the units that reported, in any order.
82
+ */
83
+ units: IsolatedFacts[]
84
+ }
@@ -0,0 +1,69 @@
1
+ /**
2
+ * Switch and counters read through `globalThis.__mootant`. Adapters drive the
3
+ * fields; switched code calls `hit` and `hitAny`, and the copy of a literal
4
+ * that removes an element uses `gap`, `none` and `cut`.
5
+ */
6
+ export interface MutantRuntime {
7
+ /**
8
+ * Receives the id of every evaluated site while it is set, such as a `Set`,
9
+ * or null.
10
+ */
11
+ coverage: { add(id: string): unknown } | null
12
+
13
+ /**
14
+ * Calls `hit` for each id in order until one is active, as a chain of `hit`
15
+ * calls joined with `||` would, and tells whether one was.
16
+ *
17
+ * @throws Error - `MootantHitLimitError` as `hit` does.
18
+ */
19
+ hitAny(ids: readonly string[]): boolean
20
+
21
+ /**
22
+ * Drops every `gap` from an array literal that the switched code just built,
23
+ * in place, and returns it. It reads and writes only the own elements and the
24
+ * length of the array, so no code of the array or its prototypes runs.
25
+ */
26
+ cut<Value>(array: Value[]): Value[]
27
+
28
+ /**
29
+ * Counts one site evaluation, records the id when `coverage` is set, sets
30
+ * `reached` when `id` is active, and tells whether it is.
31
+ *
32
+ * @throws Error - `MootantHitLimitError` when `hits` exceeds `hitLimit`;
33
+ * every later call throws too until `hits` is reset.
34
+ */
35
+ hit(id: string): boolean
36
+
37
+ /**
38
+ * Iterable of no values, which the switched code spreads in place of a
39
+ * removed spread element; its iterator is its own, so no iterator of the
40
+ * array prototype runs.
41
+ */
42
+ none: Iterable<never>
43
+
44
+ /**
45
+ * Id of the active mutant, or null for the original code.
46
+ */
47
+ active: string | null
48
+
49
+ /**
50
+ * Whether `hit` returned true since the last reset.
51
+ */
52
+ reached: boolean
53
+
54
+ /**
55
+ * Evaluations allowed; `Infinity` when there is no limit.
56
+ */
57
+ hitLimit: number
58
+
59
+ /**
60
+ * Evaluations since the last reset.
61
+ */
62
+ hits: number
63
+
64
+ /**
65
+ * Value the switched code writes in place of a removed array element, which
66
+ * `cut` drops.
67
+ */
68
+ gap: symbol
69
+ }