@systemfsoftware/stryker-js 10.2.0 → 11.0.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 (33) hide show
  1. package/CHANGELOG.md +6 -0
  2. package/README.md +34 -26
  3. package/dist/Run.schema-B_qdjbe9.mjs +226 -0
  4. package/dist/{Run.schema-B-Pi3bCB.d.mts → Run.schema-CUpTIyrj.d.mts} +91 -19
  5. package/dist/RunEnvironment.service-zgwzyXpO.d.mts +456 -0
  6. package/dist/config.d.mts +6 -22
  7. package/dist/config.mjs +2 -7
  8. package/dist/{Run.schema-Ba34IwAY.mjs → dist-ClUhPgb6.mjs} +3432 -4856
  9. package/dist/{dist-CjdAPjrJ.mjs → dist-DKhCurgc.mjs} +95 -1
  10. package/dist/events.d.mts +2 -2
  11. package/dist/events.mjs +2 -2
  12. package/dist/index-CMCCQdTd.d.mts +4087 -0
  13. package/dist/index.d.mts +1084 -3321
  14. package/dist/index.mjs +116 -3
  15. package/dist/main.mjs +114296 -87310
  16. package/dist/promises.d.mts +4 -4
  17. package/dist/promises.mjs +6 -10
  18. package/dist/{rolldown-runtime-XITHOX9H.mjs → rolldown-runtime-8H4AJuhK.mjs} +1 -2
  19. package/dist/run-stages.cell-CPpkn7og.mjs +8639 -0
  20. package/dist/stryker-config.schema-CCnDtVuW.mjs +82 -0
  21. package/dist/stryker-config.schema-lr7GMjpY.d.mts +35 -0
  22. package/package.json +31 -46
  23. package/dist/compiler-BTpMWGqK.mjs +0 -48955
  24. package/dist/compiler-CEwQzMxZ.mjs +0 -48955
  25. package/dist/dist-Cpq7Esc3.mjs +0 -17404
  26. package/dist/dist-Dmv1WEP8.mjs +0 -5337
  27. package/dist/dist-DsmXFb2_.mjs +0 -17404
  28. package/dist/index-tt2EziOT.d.mts +0 -1216
  29. package/dist/merge-config-CHZWyvVQ.mjs +0 -19
  30. package/dist/mutation-test.cell-Dq23b2NP.d.mts +0 -1758
  31. package/dist/output-mode-CfGHDpi5.d.mts +0 -17
  32. package/dist/sourcemap-codec-qFD3eFBj.mjs +0 -186
  33. package/dist/src-CcqEZJIY.mjs +0 -6559
package/dist/index.mjs CHANGED
@@ -1,3 +1,116 @@
1
- import { A as MetricsSchema, B as ReporterEventBatch, C as CheckerRequest, D as FileResultSchema, E as ExitClass, F as MutationTestingPlanReady, H as ReporterInitOptions, M as MutantTested, N as MutationTestReportReady, P as MutationTestResultSchema, R as ReporterAck, S as CheckerMutantWire, T as DryRunCompleted, U as ReporterRpcs, W as StrykerOptionsSchema, X as TraceContextMiddleware, _ as RunStarted, b as CheckerFailed, c as PhaseEntered, dt as PositionSchema, et as WorkerPluginKind, h as RunPhase, i as HelpRendered, j as MutantResultSchema, l as PlanKnown, lt as MutantActivationSchema, m as RunMutantTested, n as StageError, p as RunFailed, q as TestRunnerConfigSchema, r as Heartbeat, st as LocationSchema, ut as MutantStatusSchema, v as VerdictReached, w as CheckerRpcs, x as CheckerGroupResult, y as CheckerCheckResult, z as ReporterDrained } from "./Run.schema-Ba34IwAY.mjs";
2
- import { $ as OutOfMemoryError, A as strykerVersion, At as defaultOptions, B as initialExtendsStepState, C as checkerMutantsSkipped, Ct as extendsPropertySchema, D as CheckerSkippedRequested, Dt as SUPPORTED_CONFIG_FILE_NAMES, E as CheckerAnsweredUnrequested, Et as CONFIG_SYNTAX_HELP, F as spawnReporterWorker, Ft as toRelativeNormalizedFileName, G as buildTestRunner, H as mergeConfigs, I as decideExtendsStep, It as RunEvents, J as connectRetry, K as isCommandRunner, L as describeErrors, Lt as RunIdentity, M as RunEnvironment, Mt as isModuleSpecifier, N as REPORTER_EVENT_BATCH_BOUND, Nt as isWarningEnabled, O as createFileMatcher, Ot as createDefaultOptions, P as reporterWorkerFactory, Pt as optionsPath, Q as ChildProcessCrashedError, R as forkCoreSchema, Rt as RunEventWireLine, S as checkerMutantsChecked, St as ReadConfigCommand, T as checkerRpcFailures, Tt as survivorsPriorReport, U as readConfig, V as loadConfigCell, W as validateOptions, X as IdGenerator, Y as makeWorkerClient, Z as classifyWorkerExit, _ as verdictExitClass, _t as ExtendsStepResolve, a as RUN_EVENTS_QUEUE_BOUND, at as vmTestRunner, b as checkGroupedPlans, bt as MergeCommand, c as shouldKeepTempDir, ct as ConfigError, d as buildVerdictEnvelope, dt as ConfigFileUnreadableError, et as WorkerBootTimeoutError, f as generateRunId, ft as ConfigFileUnsupportedError, g as resolveExitCode, gt as ExtendsStepRefused, h as highestExitClass, ht as ExtendsStepRead, i as makeRunEventStream, it as vmRunnerName, j as IncrementalReportSchema, jt as findUnserializables, k as matchesFile, kt as deepFreeze, l as ACTIONABLE_STATUSES, lt as ConfigFileInvalidError, m as EXIT_CODE, mt as ExtendsStepDone, n as RunEventDrain, nt as isVmRunner, o as makeRunLayer, ot as StrykerError, p as isActionableStatus, pt as ExtendsStepDocumentSchema, q as WorkerLauncher, r as RunEventDrainLive, rt as vmRunnerCapabilities, s as mutationTestCell, st as ConfigDocumentSchema, t as strykerCell, tt as VmRunner, u as VERDICT_ENVELOPE_SCHEMA_VERSION, ut as ConfigFileNotFoundError, v as calculateMetrics, vt as ExtendsStepStateSchema, w as checkerProcessCrashes, wt as forkOptionsSchema, x as checkerDuration, xt as MergeResult, y as countMutants, yt as ImportedModuleSchema, z as importModule, zt as S } from "./src-CcqEZJIY.mjs";
3
- export { ACTIONABLE_STATUSES, CONFIG_SYNTAX_HELP, CheckerAnsweredUnrequested, CheckerCheckResult, CheckerFailed, CheckerGroupResult, CheckerMutantWire, CheckerRequest, CheckerRpcs, CheckerSkippedRequested, ChildProcessCrashedError, ConfigDocumentSchema, ConfigError, ConfigFileInvalidError, ConfigFileNotFoundError, ConfigFileUnreadableError, ConfigFileUnsupportedError, DryRunCompleted, EXIT_CODE, ExitClass, ExtendsStepDocumentSchema, ExtendsStepDone, ExtendsStepRead, ExtendsStepRefused, ExtendsStepResolve, ExtendsStepStateSchema, FileResultSchema, Heartbeat, HelpRendered, IdGenerator, ImportedModuleSchema, IncrementalReportSchema, LocationSchema, MergeCommand, MergeResult, MetricsSchema, MutantActivationSchema, MutantResultSchema, MutantStatusSchema, MutantTested, MutationTestReportReady, MutationTestResultSchema, MutationTestingPlanReady, OutOfMemoryError, PhaseEntered, PlanKnown, PositionSchema, REPORTER_EVENT_BATCH_BOUND, RUN_EVENTS_QUEUE_BOUND, ReadConfigCommand, ReporterAck, ReporterDrained, ReporterEventBatch, ReporterInitOptions, ReporterRpcs, RunEnvironment, RunEventDrain, RunEventDrainLive, RunEventWireLine, RunEvents, RunFailed, RunIdentity, RunMutantTested, RunPhase, RunStarted, S, SUPPORTED_CONFIG_FILE_NAMES, StageError, StrykerError, StrykerOptionsSchema, TestRunnerConfigSchema, TraceContextMiddleware, VERDICT_ENVELOPE_SCHEMA_VERSION, VerdictReached, VmRunner, WorkerBootTimeoutError, WorkerLauncher, WorkerPluginKind, buildTestRunner, buildVerdictEnvelope, calculateMetrics, checkGroupedPlans, checkerDuration, checkerMutantsChecked, checkerMutantsSkipped, checkerProcessCrashes, checkerRpcFailures, classifyWorkerExit, connectRetry, countMutants, createDefaultOptions, createFileMatcher, decideExtendsStep, deepFreeze, defaultOptions, describeErrors, extendsPropertySchema, findUnserializables, forkCoreSchema, forkOptionsSchema, generateRunId, highestExitClass, importModule, initialExtendsStepState, isActionableStatus, isCommandRunner, isModuleSpecifier, isVmRunner, isWarningEnabled, loadConfigCell, makeRunEventStream, makeRunLayer, makeWorkerClient, matchesFile, mergeConfigs, mutationTestCell, optionsPath, readConfig, reporterWorkerFactory, resolveExitCode, shouldKeepTempDir, spawnReporterWorker, strykerCell, strykerVersion, survivorsPriorReport, toRelativeNormalizedFileName, validateOptions, verdictExitClass, vmRunnerCapabilities, vmRunnerName, vmTestRunner };
1
+ import { t as __exportAll } from "./rolldown-runtime-8H4AJuhK.mjs";
2
+ import { $ as ImportedModuleSchema, A as VerdictMutant, B as FileMatcher, C as readConfig, D as RunEvents, E as IdGenerator, F as makeWorkerClient, G as ConfigFileUnsupportedError, H as ConfigFileInvalidError, I as WorkerLauncher, J as ExtendsStepDone, K as ConfigDocumentSchema, L as make, M as MetricsResultFromReport, N as reporterWorkerFactory, O as RunIdentity, P as spawnReporterWorker, Q as ExtendsStepStateSchema, R as StrykerError, S as mergeConfigs, T as RunEnvironment, U as ConfigFileNotFoundError, V as ConfigError, W as ConfigFileUnreadableError, X as ExtendsStepRefused, Y as ExtendsStepRead, Z as ExtendsStepResolve, _ as describeErrors, a as RunEventDrainLive, at as survivorsPriorReport, b as initialExtendsStepState, c as isVmRunner, ct as OutOfMemoryError, d as nodePlatformLayer, dt as CheckerSkippedRequested, et as MergeCommand, f as layerWorkerProtocol, g as decideExtendsStep, h as classifyWorkerExit, i as RunEventDrain, it as forkOptionsSchema, j as VerdictThresholds, k as VerdictEnvelope, l as vmTestRunner, lt as WorkerBootTimeoutError, m as ClassifyWorkerExitDecision, n as strykerCell, nt as ReadConfigCommand, o as makeRunEventStream, ot as checkGroupedPlans, p as ClassifyWorkerExitCommand, q as ExtendsStepDocumentSchema, r as buildTestRunner, rt as extendsPropertySchema, s as RunEventWireLine, st as ChildProcessCrashedError, t as mutationTestCell, tt as MergeResult, u as IncrementalReportSchema, ut as CheckerAnsweredUnrequested, v as forkCoreSchema, w as validateOptions, x as loadConfigCell, y as importModule, z as isCommandRunner } from "./run-stages.cell-CPpkn7og.mjs";
3
+ import { t as StrykerConfig } from "./stryker-config.schema-CCnDtVuW.mjs";
4
+ import { D as VerdictReached, E as SkippedReported, S as RunPhase, T as SkippedFileRow, _ as PluginsReported, a as FormatRegistryRow, b as RunFailed, c as Heartbeat, g as PluginFailureReason, i as FormatRegistryResolved, l as HelpRendered, m as PlanKnown, n as StageError, o as FrameworkContributionRow, p as PhaseEntered, r as FormatClaimShadowingRow, s as FrameworkModuleRow, w as RunStarted, x as RunMutantTested, y as RunEvent } from "./Run.schema-B_qdjbe9.mjs";
5
+ //#region src/Checker/mod.ts
6
+ var Checker_exports = /* @__PURE__ */ __exportAll({
7
+ CheckerAnsweredUnrequested: () => CheckerAnsweredUnrequested,
8
+ CheckerSkippedRequested: () => CheckerSkippedRequested,
9
+ checkGroupedPlans: () => checkGroupedPlans
10
+ });
11
+ //#endregion
12
+ //#region src/Configuration/mod.ts
13
+ var Configuration_exports = /* @__PURE__ */ __exportAll({
14
+ ConfigDocumentSchema: () => ConfigDocumentSchema,
15
+ ConfigError: () => ConfigError,
16
+ ConfigFileInvalidError: () => ConfigFileInvalidError,
17
+ ConfigFileNotFoundError: () => ConfigFileNotFoundError,
18
+ ConfigFileUnreadableError: () => ConfigFileUnreadableError,
19
+ ConfigFileUnsupportedError: () => ConfigFileUnsupportedError,
20
+ ExtendsStepDocumentSchema: () => ExtendsStepDocumentSchema,
21
+ ExtendsStepDone: () => ExtendsStepDone,
22
+ ExtendsStepRead: () => ExtendsStepRead,
23
+ ExtendsStepRefused: () => ExtendsStepRefused,
24
+ ExtendsStepResolve: () => ExtendsStepResolve,
25
+ ExtendsStepStateSchema: () => ExtendsStepStateSchema,
26
+ FileMatcher: () => FileMatcher,
27
+ ImportedModuleSchema: () => ImportedModuleSchema,
28
+ MergeCommand: () => MergeCommand,
29
+ MergeResult: () => MergeResult,
30
+ ReadConfigCommand: () => ReadConfigCommand,
31
+ StrykerConfig: () => StrykerConfig,
32
+ decideExtendsStep: () => decideExtendsStep,
33
+ describeErrors: () => describeErrors,
34
+ extendsPropertySchema: () => extendsPropertySchema,
35
+ forkCoreSchema: () => forkCoreSchema,
36
+ forkOptionsSchema: () => forkOptionsSchema,
37
+ importModule: () => importModule,
38
+ initialExtendsStepState: () => initialExtendsStepState,
39
+ loadConfigCell: () => loadConfigCell,
40
+ mergeConfigs: () => mergeConfigs,
41
+ readConfig: () => readConfig,
42
+ survivorsPriorReport: () => survivorsPriorReport,
43
+ validateOptions: () => validateOptions
44
+ });
45
+ //#endregion
46
+ //#region src/Engine/mod.ts
47
+ var Engine_exports = /* @__PURE__ */ __exportAll({
48
+ IdGenerator: () => IdGenerator,
49
+ IncrementalReportSchema: () => IncrementalReportSchema,
50
+ RunEnvironment: () => RunEnvironment,
51
+ StageError: () => StageError,
52
+ StrykerError: () => StrykerError,
53
+ mutationTestCell: () => mutationTestCell,
54
+ nodePlatformLayer: () => nodePlatformLayer,
55
+ strykerCell: () => strykerCell
56
+ });
57
+ //#endregion
58
+ //#region src/Plugin/mod.ts
59
+ var Plugin_exports = /* @__PURE__ */ __exportAll({
60
+ REPORTER_EVENT_BATCH_BOUND: () => 128,
61
+ buildTestRunner: () => buildTestRunner,
62
+ isCommandRunner: () => isCommandRunner,
63
+ isVmRunner: () => isVmRunner,
64
+ reporterWorkerFactory: () => reporterWorkerFactory,
65
+ spawnReporterWorker: () => spawnReporterWorker,
66
+ vmTestRunner: () => vmTestRunner
67
+ });
68
+ //#endregion
69
+ //#region src/RunEvent/mod.ts
70
+ var RunEvent_exports = /* @__PURE__ */ __exportAll({
71
+ FormatClaimShadowingRow: () => FormatClaimShadowingRow,
72
+ FormatRegistryResolved: () => FormatRegistryResolved,
73
+ FormatRegistryRow: () => FormatRegistryRow,
74
+ FrameworkContributionRow: () => FrameworkContributionRow,
75
+ FrameworkModuleRow: () => FrameworkModuleRow,
76
+ Heartbeat: () => Heartbeat,
77
+ HelpRendered: () => HelpRendered,
78
+ MetricsResultFromReport: () => MetricsResultFromReport,
79
+ PhaseEntered: () => PhaseEntered,
80
+ PlanKnown: () => PlanKnown,
81
+ PluginFailureReason: () => PluginFailureReason,
82
+ PluginsReported: () => PluginsReported,
83
+ RunEvent: () => RunEvent,
84
+ RunEventDrain: () => RunEventDrain,
85
+ RunEventDrainLive: () => RunEventDrainLive,
86
+ RunEventWireLine: () => RunEventWireLine,
87
+ RunEvents: () => RunEvents,
88
+ RunFailed: () => RunFailed,
89
+ RunIdentity: () => RunIdentity,
90
+ RunMutantTested: () => RunMutantTested,
91
+ RunPhase: () => RunPhase,
92
+ RunStarted: () => RunStarted,
93
+ SkippedFileRow: () => SkippedFileRow,
94
+ SkippedReported: () => SkippedReported,
95
+ VerdictEnvelope: () => VerdictEnvelope,
96
+ VerdictMutant: () => VerdictMutant,
97
+ VerdictReached: () => VerdictReached,
98
+ VerdictThresholds: () => VerdictThresholds,
99
+ makeRunEventStream: () => makeRunEventStream
100
+ });
101
+ //#endregion
102
+ //#region src/Worker/mod.ts
103
+ var Worker_exports = /* @__PURE__ */ __exportAll({
104
+ ChildProcessCrashedError: () => ChildProcessCrashedError,
105
+ ClassifyWorkerExitCommand: () => ClassifyWorkerExitCommand,
106
+ ClassifyWorkerExitDecision: () => ClassifyWorkerExitDecision,
107
+ OutOfMemoryError: () => OutOfMemoryError,
108
+ WorkerBootTimeoutError: () => WorkerBootTimeoutError,
109
+ WorkerLauncher: () => WorkerLauncher,
110
+ classifyWorkerExit: () => classifyWorkerExit,
111
+ layerWorkerProtocol: () => layerWorkerProtocol,
112
+ makeSpawnedSocketWorker: () => make,
113
+ makeWorkerClient: () => makeWorkerClient
114
+ });
115
+ //#endregion
116
+ export { Checker_exports as Checker, Configuration_exports as Configuration, Engine_exports as Engine, Plugin_exports as Plugin, RunEvent_exports as RunEvent, Worker_exports as Worker };