@systemfsoftware/stryker-js-cli 8.0.0 → 8.0.1
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 +6 -0
- package/dist/{Reporter-Bx0LTTkQ.mjs → dist-CgglvcIb.mjs} +3947 -3518
- package/dist/main.mjs +4 -4
- package/dist/{node-7-yHBdZ2.mjs → node-ZeTkblqG.mjs} +4801 -5197
- package/dist/reporters/html.mjs +1 -1
- package/dist/{worker-runtime-CU41J_c_.mjs → worker-runtime-DNtUUMeD.mjs} +2 -2
- package/dist/workers/checker-worker.mjs +3 -3
- package/dist/workers/child-process-test-runner-worker.mjs +4 -4
- package/package.json +14 -14
package/dist/reporters/html.mjs
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { Ct as String, Dt as TaggedError, Et as TaggedClass, Nt as Unknown, V as declarePlugin, Xr as gen, Yt as is, b as MutationTestReportReady, dn as Path, hn as FileSystem, ji as runPromise, pn as layer, un as layer$1, xa as mergeAll, xi as provide } from "../dist-CgglvcIb.mjs";
|
|
2
2
|
//#region ../stryker-js-html-reporter/dist/index.mjs
|
|
3
3
|
const MutationTestResultSchema = Unknown;
|
|
4
4
|
var HtmlReportCommand = class extends TaggedClass()("HtmlReportCommand", {
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { $n as
|
|
2
|
-
import {
|
|
1
|
+
import { $n as make$2, $r as interrupt, Aa as forkUnsafe, Ai as runForkWith, Ao as ParentSpan, As as isSome, Bi as suspend, Cc as identity, Ci as provideService, Da as addFinalizerExit, Dr as catchDefect, Ea as addFinalizer, Er as catchCause, Fa as UnhandledLogLevel, Ga as interrupt$1, Gr as forkChild, Ha as die, Hr as fnUntraced, Ia as _await, Jr as forkScoped, Kt as encodeSync, La as doneUnsafe, Lr as ensuring, Ma as makeUnsafe, Mn as runForEachArray, Mo as TaggedError, Na as provide, Ni as scope, Nr as context, Oa as close, Pi as scoped, Ri as succeed, Sc as flow, Si as provideContext, So as reportCauseUnsafe, Sr as annotateLogs, Ta as Scope, Tr as callback, Ua as fail, Ui as tapCause, Va as makeUnsafe$2, Vi as sync, Vr as flatMap, Vt as decodeUnknownEffect, Xr as gen, Ya as void_$1, _a as effectDiscard, _c as constTrue, _r as acquireRelease, ar as offer, bc as constant, cr as take, do as squash, dr as getCurrent, ds as getOrUndefinedUnsafe, fs as getUnsafe, gi as onExit, gs as omit, ha as effect, hr as runIn, ia as withFiber, ii as logFatal, io as hasInterrupts, ir as make$4, ja as make$3, jo as externalSpan, ka as closeUnsafe, ki as runFork, kr as catchReason, ln as defaultFormatter, lo as map, lr as takeAll, ls as get, mc as isTagged, ms as makeUnsafe$1, ni as logDebug, oa as withSpan, os as Service, ot as Any, pa as catchDone, pi as matchEffect, qt as encodeUnknownEffect, ra as whileLoop, ro as hasDies, si as logWithLevel, ss as add, ta as void_, ti as isEffect, ui as mapError, uo as pretty, us as getOrUndefined, ut as Defect, vi as orDie, vt as NonEmptyArray, wc as pipe, wi as raceFirst, xr as andThen, ya as launch, yc as constVoid, yr as addFinalizer$1, za as isDeferred, zi as succeedNone, zr as fail$1 } from "./dist-CgglvcIb.mjs";
|
|
2
|
+
import { B as ServerClient, F as RpcSerialization, G as isStreamSchema, H as isWrapper, J as CloseEvent, K as Collector, L as RequestId, P as withRun, Q as fromInput, R as ResponseDefectEncoded, U as ClientAbort, V as exitSchema, W as getStreamSchemas, X as SocketError, Y as SocketCloseError, Z as SocketOpenError, a as NetSocket, ft as makeUnsafe$3, o as fromDuplex, q as makeCollectorUnsafe, z as constPong } from "./node-ZeTkblqG.mjs";
|
|
3
3
|
import * as Net from "node:net";
|
|
4
4
|
//#region ../../../node_modules/.pnpm/effect@4.0.0-rc.112/node_modules/effect/dist/unstable/socket/SocketServer.js
|
|
5
5
|
/**
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import {
|
|
3
|
-
import { a as layerProtocolSocketServer, i as layer$2, n as workerSocketPath, r as layer$3, t as launchWorker } from "../worker-runtime-
|
|
1
|
+
import { D as RunConfiguration, Ir as die, M as SandboxDirectory, Ns as match, Ri as succeed$1, Sa as provide$1, Ur as forEach, Vr as flatMap, Xr as gen, dn as Path, hn as FileSystem, li as map, n as Checker, r as CheckerFailed, wa as succeed, xa as mergeAll, xi as provide, zr as fail } from "../dist-CgglvcIb.mjs";
|
|
2
|
+
import { A as decodeWorkerOptions, I as layerNdjson, M as loadPlugins, T as CheckerRpcs, ct as get, i as layer, k as create, r as layer$1, st as fromIterable, t as nodeModuleLayer } from "../node-ZeTkblqG.mjs";
|
|
3
|
+
import { a as layerProtocolSocketServer, i as layer$2, n as workerSocketPath, r as layer$3, t as launchWorker } from "../worker-runtime-DNtUUMeD.mjs";
|
|
4
4
|
//#region src/workers/Checker.worker.ts
|
|
5
5
|
const buildChecker = (contribution, options) => Checker.pipe(provide(contribution.layer.pipe(provide$1(mergeAll(succeed(RunConfiguration, options), succeed(SandboxDirectory, process.cwd()), layer, layer$1, nodeModuleLayer)))));
|
|
6
6
|
const mutantIdsOf = (mutants) => mutants.map((mutant) => mutant.id);
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import {
|
|
3
|
-
import { a as layerProtocolSocketServer, i as layer$2, n as workerSocketPath, r as layer$3, t as launchWorker } from "../worker-runtime-
|
|
1
|
+
import { Cs as fromUndefinedOr, D as RunConfiguration, Er as catchCause, H as errorToString, I as TestRunnerFailed, Ir as die, M as SandboxDirectory, Ms as map, Ns as match, P as TestRunner, Ri as succeed, Sa as provide$1, Vr as flatMap, Vt as decodeUnknownEffect, X as exhaustive, Xr as gen, Zr as ignore, dn as Path, hn as FileSystem, it as when, js as liftPredicate, li as map$1, rt as value, tn as optional, uo as pretty, vs as exists, wa as succeed$1, ws as getOrElse, xa as mergeAll, xi as provide, yi as orElseSucceed, yr as addFinalizer, zr as fail } from "../dist-CgglvcIb.mjs";
|
|
2
|
+
import { A as decodeWorkerOptions, D as MutantCoverageSchema, I as layerNdjson, M as loadPlugins, O as TestRunnerRpcs, i as layer, k as create, r as layer$1, t as nodeModuleLayer } from "../node-ZeTkblqG.mjs";
|
|
3
|
+
import { a as layerProtocolSocketServer, i as layer$2, n as workerSocketPath, r as layer$3, t as launchWorker } from "../worker-runtime-DNtUUMeD.mjs";
|
|
4
4
|
//#region src/workers/child-process-test-runner-worker.ts
|
|
5
5
|
const isCompleteDryRun = (result) => result.status === "complete";
|
|
6
6
|
const COVERAGE_SETTLED = [
|
|
@@ -50,7 +50,7 @@ const TestRunnerHandlers = TestRunnerRpcs.toLayer(gen(function* () {
|
|
|
50
50
|
runnerName
|
|
51
51
|
}));
|
|
52
52
|
const loaded = yield* loadPlugins(options.plugins, process.cwd()).pipe(catchCause(failed("init")));
|
|
53
|
-
const underlying = yield* create(loaded.pluginsByKind, "TestRunner", runnerName).pipe(flatMap((contribution) => TestRunner.pipe(provide(contribution.layer))), provide(
|
|
53
|
+
const underlying = yield* create(loaded.pluginsByKind, "TestRunner", runnerName).pipe(flatMap((contribution) => TestRunner.pipe(provide(contribution.layer))), provide(mergeAll(succeed$1(RunConfiguration, options), succeed$1(SandboxDirectory, process.cwd()), layer, layer$1, nodeModuleLayer)), catchCause(failed("init")));
|
|
54
54
|
yield* underlying.init.pipe(catchCause(failed("init")));
|
|
55
55
|
yield* addFinalizer(() => underlying.dispose.pipe(ignore));
|
|
56
56
|
return {
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@systemfsoftware/stryker-js-cli",
|
|
3
|
-
"version": "8.0.
|
|
3
|
+
"version": "8.0.1",
|
|
4
4
|
"repository": {
|
|
5
5
|
"type": "git",
|
|
6
6
|
"url": "git+https://github.com/systemfsoftware/systemfsoftware.git",
|
|
@@ -30,21 +30,21 @@
|
|
|
30
30
|
"tsdown": "^0.22.14",
|
|
31
31
|
"vite-tsconfig-paths": "^6.1.1",
|
|
32
32
|
"vitest": "^4",
|
|
33
|
-
"@systemfsoftware/all": "^2.0.
|
|
33
|
+
"@systemfsoftware/all": "^2.0.2",
|
|
34
|
+
"@systemfsoftware/effect-gherkin-spec": "^4.0.2",
|
|
35
|
+
"@systemfsoftware/effect-cell-types": "^8.0.0",
|
|
34
36
|
"@systemfsoftware/effect-schema-law": "^2.1.1",
|
|
35
|
-
"@systemfsoftware/effect-cell-types": "^7.0.1",
|
|
36
|
-
"@systemfsoftware/oxlint-config": "^0.1.0",
|
|
37
37
|
"@systemfsoftware/effect-schema-vite": "^2.1.1",
|
|
38
|
-
"@systemfsoftware/
|
|
39
|
-
"@systemfsoftware/
|
|
40
|
-
"@systemfsoftware/stryker-js-engine": "^
|
|
41
|
-
"@systemfsoftware/stryker-js-html-reporter": "^3.0.
|
|
42
|
-
"@systemfsoftware/stryker-js-
|
|
43
|
-
"@systemfsoftware/stryker-
|
|
44
|
-
"@systemfsoftware/stryker-
|
|
45
|
-
"@systemfsoftware/stryker-
|
|
46
|
-
"@systemfsoftware/
|
|
47
|
-
"@systemfsoftware/
|
|
38
|
+
"@systemfsoftware/oxlint-config": "^0.1.0",
|
|
39
|
+
"@systemfsoftware/stryker-js": "^4.0.0",
|
|
40
|
+
"@systemfsoftware/stryker-js-engine": "^4.0.0",
|
|
41
|
+
"@systemfsoftware/stryker-js-html-reporter": "^3.0.3",
|
|
42
|
+
"@systemfsoftware/stryker-js-vitest-runner": "^4.0.4",
|
|
43
|
+
"@systemfsoftware/stryker-plugins": "^3.0.3",
|
|
44
|
+
"@systemfsoftware/stryker-test-contribution": "^2.0.3",
|
|
45
|
+
"@systemfsoftware/stryker-js-typescript-checker": "^5.0.4",
|
|
46
|
+
"@systemfsoftware/tsconfig": "^1.3.4",
|
|
47
|
+
"@systemfsoftware/vitest-config": "^0.1.0"
|
|
48
48
|
},
|
|
49
49
|
"engines": {
|
|
50
50
|
"node": ">=20.19.0"
|