@systemfsoftware/stryker-js 6.1.0 → 7.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.
- package/CHANGELOG.md +10 -0
- package/README.md +5 -7
- package/dist/config.d.mts +2 -2
- package/dist/index.d.mts +4 -4
- package/dist/index.mjs +1 -3
- package/dist/main.mjs +59890 -59829
- package/dist/{Plugins-DF95m9KO.d.mts → mutation-test.cell-689vUxaq.d.mts} +554 -37
- package/dist/{index-BInJWa0x.d.mts → output-mode-C5DpB11I.d.mts} +144 -110
- package/dist/promises.d.mts +2 -2
- package/dist/promises.mjs +1 -1
- package/dist/{src-BoVgxGWD.mjs → src-BY5pFAY5.mjs} +9362 -6388
- package/dist/{stryker-config-DIGmQrm1.d.mts → stryker-config-CTcO2hiS.d.mts} +1 -2
- package/package.json +7 -15
- package/dist/builtin-reporters-BqePgAN0.mjs +0 -671
- package/dist/builtin-reporters.d.mts +0 -312
- package/dist/builtin-reporters.mjs +0 -3
- package/dist/dist-CWbipfGB.mjs +0 -711
- package/dist/mutation-test.cell-Cw1ZzDnb.d.mts +0 -561
- package/dist/output-mode-CfGHDpi5.d.mts +0 -17
- package/dist/plugin-loader.d.mts +0 -1673
- package/dist/plugin-loader.mjs +0 -3
- package/dist/plugin-worker-entry-D00fedxV.mjs +0 -1585
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,15 @@
|
|
|
1
1
|
# @systemfsoftware/stryker-js
|
|
2
2
|
|
|
3
|
+
## 7.0.0
|
|
4
|
+
|
|
5
|
+
### Major Changes
|
|
6
|
+
|
|
7
|
+
- The built-in reporters, plugin loading and their types are no longer published
|
|
8
|
+
from separate entry points on `@systemfsoftware/stryker-js`; import them from
|
|
9
|
+
`@systemfsoftware/stryker-js`. The mutant vocabulary — `Mutant`, `Location`,
|
|
10
|
+
`Position` and their schemas — is importable only from
|
|
11
|
+
`@systemfsoftware/stryker-js-instrumenter`.
|
|
12
|
+
|
|
3
13
|
## 6.1.0
|
|
4
14
|
|
|
5
15
|
### Minor Changes
|
package/README.md
CHANGED
|
@@ -172,13 +172,11 @@ console.log(`Mutation score: ${verdict.score}%`)
|
|
|
172
172
|
|
|
173
173
|
## Published Subpaths
|
|
174
174
|
|
|
175
|
-
| Subpath
|
|
176
|
-
|
|
|
177
|
-
| `.`
|
|
178
|
-
| `./config`
|
|
179
|
-
| `./promises`
|
|
180
|
-
| `./builtin-reporters` | Built-in reporter implementations (`clear-text`, `progress`, `json`, `html`) |
|
|
181
|
-
| `./plugin-loader` | Worker entry resolution and plugin discovery |
|
|
175
|
+
| Subpath | Description |
|
|
176
|
+
| ------------ | ------------------------------------------------------------------ |
|
|
177
|
+
| `.` | Main entry point: `strykerCell`, runtime layers, and error schemas |
|
|
178
|
+
| `./config` | `defineConfig`, `mergeConfig`, and `StrykerConfig` typing |
|
|
179
|
+
| `./promises` | `run()` wrapper returning standard JavaScript promises |
|
|
182
180
|
|
|
183
181
|
## License
|
|
184
182
|
|
package/dist/config.d.mts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import { i as StrykerConfigFn, n as StrykerConfig, r as StrykerConfigExport, t as ConfigEnv } from "./stryker-config-
|
|
1
|
+
import { U as StrykerOptions, j as PartialStrykerOptions } from "./output-mode-C5DpB11I.mjs";
|
|
2
|
+
import { i as StrykerConfigFn, n as StrykerConfig, r as StrykerConfigExport, t as ConfigEnv } from "./stryker-config-CTcO2hiS.mjs";
|
|
3
3
|
//#region src/config/define-config.d.ts
|
|
4
4
|
export declare function defineConfig(config: StrykerConfig): StrykerConfig;
|
|
5
5
|
export declare function defineConfig(config: Promise<StrykerConfig>): Promise<StrykerConfig>;
|
package/dist/index.d.mts
CHANGED
|
@@ -3,9 +3,9 @@ import { Cell } from '@systemfsoftware/effect-cell-types';
|
|
|
3
3
|
import * as ChildProcessSpawner from 'effect/unstable/process/ChildProcessSpawner';
|
|
4
4
|
import * as Context from 'effect/Context';
|
|
5
5
|
import * as DateTime from 'effect/DateTime';
|
|
6
|
-
import
|
|
7
|
-
import { Duration as Duration_2 } from 'effect/Duration';
|
|
6
|
+
import { Duration } from 'effect/Duration';
|
|
8
7
|
import * as Effect from 'effect/Effect';
|
|
8
|
+
import * as EffectDuration from 'effect/Duration';
|
|
9
9
|
import * as Exit from 'effect/Exit';
|
|
10
10
|
import * as FileSystem from 'effect/FileSystem';
|
|
11
11
|
import * as HashMap from 'effect/HashMap';
|
|
@@ -465,7 +465,7 @@ export declare interface ConfigInvocation {
|
|
|
465
465
|
readonly mode: OutputMode;
|
|
466
466
|
}
|
|
467
467
|
|
|
468
|
-
export declare const connectRetry: Schedule.Schedule<
|
|
468
|
+
export declare const connectRetry: Schedule.Schedule<Duration, unknown, never, never>;
|
|
469
469
|
|
|
470
470
|
declare interface ContinueStatement$1 extends Span$1 {
|
|
471
471
|
type: "ContinueStatement";
|
|
@@ -573,7 +573,7 @@ declare const DryRunCompleted_base: S.Class<DryRunCompleted, S.TaggedStruct<"dry
|
|
|
573
573
|
export declare interface DryRunDone extends InstrumentDone {
|
|
574
574
|
readonly dryRunResult: CompleteDryRunResult;
|
|
575
575
|
readonly testCoverage: TestCoverage;
|
|
576
|
-
readonly timeOverhead:
|
|
576
|
+
readonly timeOverhead: EffectDuration.Duration;
|
|
577
577
|
}
|
|
578
578
|
|
|
579
579
|
export declare interface DryRunOptions extends RunOptions {
|
package/dist/index.mjs
CHANGED
|
@@ -1,4 +1,2 @@
|
|
|
1
|
-
import { F as
|
|
2
|
-
import { A as PlanKnown, B as CONFIG_SYNTAX_HELP, C as spawnReporterWorker, D as Heartbeat, E as RunIdentity, F as VerdictReached, G as findUnserializables, H as createDefaultOptions, I as EXIT_CODE, J as optionsPath, K as isModuleSpecifier, L as highestExitClass, M as RunMutantTested, N as RunPhase, O as HelpRendered, P as RunStarted, R as resolveExitCode, S as reporterWorkerFactory, T as RunEvents, U as deepFreeze, V as SUPPORTED_CONFIG_FILE_NAMES, W as defaultOptions, _ as createFileMatcher, a as shouldKeepTempDir, b as RunEnvironment, c as buildVerdictEnvelope, d as strykerVersion, f as calculateMetrics, g as CheckerSkippedRequested, h as CheckerAnsweredUnrequested, i as mutationTestCell, j as RunFailed, k as PhaseEntered, l as generateRunId, m as checkGroupedPlans, n as RUN_EVENTS_QUEUE_BOUND, o as ACTIONABLE_STATUSES, p as countMutants, q as isWarningEnabled, r as makeRunLayer, s as VERDICT_ENVELOPE_SCHEMA_VERSION, t as strykerCell, u as isActionableStatus, v as matchesFile, w as toRelativeNormalizedFileName, x as REPORTER_EVENT_BATCH_BOUND, y as IncrementalReportSchema, z as verdictExitClass } from "./src-BoVgxGWD.mjs";
|
|
3
|
-
import { $ as ExtendsStepRefused, D as IdGenerator, E as makeWorkerClient, F as isVmRunner, G as ConfigError, I as vmRunnerCapabilities, J as ConfigFileUnreadableError, K as ConfigFileInvalidError, L as vmRunnerName, M as OutOfMemoryError, N as WorkerBootTimeoutError, O as classifyWorkerExit, P as VmRunner, Q as ExtendsStepRead, R as vmTestRunner, T as connectRetry, V as StrykerError, W as ConfigDocumentSchema, X as ExtendsStepDocumentSchema, Y as ConfigFileUnsupportedError, Z as ExtendsStepDone, _ as readConfig, at as ReadConfigCommand, b as buildTestRunner, ct as survivorsPriorReport, d as describeErrors, et as ExtendsStepResolve, f as forkCoreSchema, ft as StageError, g as mergeConfigs, h as loadConfigCell, it as MergeResult, j as ChildProcessCrashedError, m as initialExtendsStepState, nt as ImportedModuleSchema, ot as extendsPropertySchema, p as importModule, q as ConfigFileNotFoundError, rt as MergeCommand, st as forkOptionsSchema, tt as ExtendsStepStateSchema, u as decideExtendsStep, v as resolveExtends, w as WorkerLauncher, x as isCommandRunner, y as validateOptions } from "./plugin-worker-entry-D00fedxV.mjs";
|
|
1
|
+
import { $ as ConfigFileNotFoundError, $t as ReporterInitOptions, A as mergeConfigs, At as resolveExitCode, B as classifyWorkerExit, Bt as optionsPath, C as spawnReporterWorker, Ct as RunFailed, D as importModule, Dt as VerdictReached, E as forkCoreSchema, Et as RunStarted, F as isCommandRunner, Ft as deepFreeze, G as isVmRunner, Gt as MutantResultSchema, H as OutOfMemoryError, Ht as ExitClass, I as WorkerLauncher, It as defaultOptions, J as vmTestRunner, Jt as MutationTestResultSchema, K as vmRunnerCapabilities, Kt as MutantTested, L as connectRetry, Lt as findUnserializables, M as resolveExtends, Mt as CONFIG_SYNTAX_HELP, N as validateOptions, Nt as SUPPORTED_CONFIG_FILE_NAMES, O as initialExtendsStepState, Ot as EXIT_CODE, P as buildTestRunner, Pt as createDefaultOptions, Q as ConfigFileInvalidError, Qt as ReporterEventBatch, R as makeWorkerClient, Rt as isModuleSpecifier, S as reporterWorkerFactory, St as PlanKnown, T as describeErrors, Tt as RunPhase, U as WorkerBootTimeoutError, Ut as FileResultSchema, V as ChildProcessCrashedError, Vt as DryRunCompleted, W as VmRunner, Wt as MetricsSchema, X as ConfigDocumentSchema, Xt as ReporterAck, Y as StrykerError, Yt as MutationTestingPlanReady, Z as ConfigError, Zt as ReporterDrained, _ as createFileMatcher, _t as RunEvents, a as shouldKeepTempDir, an as LocationSchema, at as ExtendsStepRefused, b as RunEnvironment, bt as HelpRendered, c as buildVerdictEnvelope, cn as PositionSchema, ct as ImportedModuleSchema, d as strykerVersion, dt as ReadConfigCommand, en as ReporterRpcs, et as ConfigFileUnreadableError, f as calculateMetrics, ft as extendsPropertySchema, g as CheckerSkippedRequested, gt as StageError, h as CheckerAnsweredUnrequested, ht as toRelativeNormalizedFileName, i as mutationTestCell, in as WorkerPluginKind, it as ExtendsStepRead, j as readConfig, jt as verdictExitClass, k as loadConfigCell, kt as highestExitClass, l as generateRunId, lt as MergeCommand, m as checkGroupedPlans, mt as survivorsPriorReport, n as RUN_EVENTS_QUEUE_BOUND, nn as TestRunnerConfigSchema, nt as ExtendsStepDocumentSchema, o as ACTIONABLE_STATUSES, on as MutantActivationSchema, ot as ExtendsStepResolve, p as countMutants, pt as forkOptionsSchema, q as vmRunnerName, qt as MutationTestReportReady, r as makeRunLayer, rn as TraceContextMiddleware, rt as ExtendsStepDone, s as VERDICT_ENVELOPE_SCHEMA_VERSION, sn as MutantStatusSchema, st as ExtendsStepStateSchema, t as strykerCell, tn as StrykerOptionsSchema, tt as ConfigFileUnsupportedError, u as isActionableStatus, ut as MergeResult, v as matchesFile, vt as RunIdentity, w as decideExtendsStep, wt as RunMutantTested, x as REPORTER_EVENT_BATCH_BOUND, xt as PhaseEntered, y as IncrementalReportSchema, yt as Heartbeat, z as IdGenerator, zt as isWarningEnabled } from "./src-BY5pFAY5.mjs";
|
|
4
2
|
export { ACTIONABLE_STATUSES, CONFIG_SYNTAX_HELP, CheckerAnsweredUnrequested, 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, RunEvents, RunFailed, RunIdentity, RunMutantTested, RunPhase, RunStarted, SUPPORTED_CONFIG_FILE_NAMES, StageError, StrykerError, StrykerOptionsSchema, TestRunnerConfigSchema, TraceContextMiddleware, VERDICT_ENVELOPE_SCHEMA_VERSION, VerdictReached, VmRunner, WorkerBootTimeoutError, WorkerLauncher, WorkerPluginKind, buildTestRunner, buildVerdictEnvelope, calculateMetrics, checkGroupedPlans, classifyWorkerExit, connectRetry, countMutants, createDefaultOptions, createFileMatcher, decideExtendsStep, deepFreeze, defaultOptions, describeErrors, extendsPropertySchema, findUnserializables, forkCoreSchema, forkOptionsSchema, generateRunId, highestExitClass, importModule, initialExtendsStepState, isActionableStatus, isCommandRunner, isModuleSpecifier, isVmRunner, isWarningEnabled, loadConfigCell, makeRunLayer, makeWorkerClient, matchesFile, mergeConfigs, mutationTestCell, optionsPath, readConfig, reporterWorkerFactory, resolveExitCode, resolveExtends, shouldKeepTempDir, spawnReporterWorker, strykerCell, strykerVersion, survivorsPriorReport, toRelativeNormalizedFileName, validateOptions, verdictExitClass, vmRunnerCapabilities, vmRunnerName, vmTestRunner };
|