@systemfsoftware/stryker-js-html-reporter 5.0.0 → 5.0.2
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 +15 -0
- package/dist/index.mjs +3 -2
- package/package.json +7 -6
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,20 @@
|
|
|
1
1
|
# @systemfsoftware/stryker-js-html-reporter
|
|
2
2
|
|
|
3
|
+
## 5.0.2
|
|
4
|
+
|
|
5
|
+
### Patch Changes
|
|
6
|
+
|
|
7
|
+
- Updated dependencies:
|
|
8
|
+
- @systemfsoftware/stryker-js-plugin-interface@9.0.0
|
|
9
|
+
|
|
10
|
+
## 5.0.1
|
|
11
|
+
|
|
12
|
+
### Patch Changes
|
|
13
|
+
|
|
14
|
+
- The packages now build on the latest `@systemfsoftware/effect-cell-types` 10.2 cell kinds, with no change to their published behavior.
|
|
15
|
+
|
|
16
|
+
- `@systemfsoftware/stryker-test-contribution` exports its evaluator as `Judge`, `TestContribution`, and `TestContributionEvaluator`, and now depends on `effect` directly.
|
|
17
|
+
|
|
3
18
|
## 5.0.0
|
|
4
19
|
|
|
5
20
|
### Major Changes
|
package/dist/index.mjs
CHANGED
|
@@ -83,7 +83,7 @@ const writeHtmlFile = (fileName, html) => Effect.gen(function* () {
|
|
|
83
83
|
const readRenderCommand = (input) => Effect.succeed({
|
|
84
84
|
_tag: "RenderHtmlReport",
|
|
85
85
|
fileName: input.fileName,
|
|
86
|
-
inlinedBundle: inlinedBundle
|
|
86
|
+
inlinedBundle: input.inlinedBundle,
|
|
87
87
|
report: input.report
|
|
88
88
|
});
|
|
89
89
|
const writeHtmlReport = Sandwich.named("html_report.write")(readRenderCommand).decide(renderHtmlReport).write({
|
|
@@ -102,7 +102,8 @@ const failAsHtmlReporter = (cause) => Reporter.ReporterFailed.make({
|
|
|
102
102
|
});
|
|
103
103
|
const drainEvents = (fileName, events) => Stream.runForEach(Stream.fromAsyncIterable(events, failAsHtmlReporter).pipe(Stream.filter(S.is(Reporter.MutationTestReportReady))), (ready) => writeHtmlReport.run({
|
|
104
104
|
fileName,
|
|
105
|
-
report: ready.report
|
|
105
|
+
report: ready.report,
|
|
106
|
+
inlinedBundle: inlinedBundle()
|
|
106
107
|
}).pipe(Effect.mapError(failAsHtmlReporter)));
|
|
107
108
|
const makeHtmlReporter = dual(2, (options, _init) => (events) => Layer.build(nodeFsPathLayer).pipe(Effect.flatMap((platform) => Effect.provideContext(drainEvents(options.htmlReporter.fileName, events), platform)), Effect.scoped));
|
|
108
109
|
//#endregion
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@systemfsoftware/stryker-js-html-reporter",
|
|
3
|
-
"version": "5.0.
|
|
3
|
+
"version": "5.0.2",
|
|
4
4
|
"repository": {
|
|
5
5
|
"type": "git",
|
|
6
6
|
"url": "git+https://github.com/systemfsoftware/stryker-js-effect.git",
|
|
@@ -15,18 +15,19 @@
|
|
|
15
15
|
],
|
|
16
16
|
"dependencies": {
|
|
17
17
|
"@effect/platform-node-shared": "4.0.0-rc.117",
|
|
18
|
-
"@systemfsoftware/effect-cell-types": "^10.
|
|
18
|
+
"@systemfsoftware/effect-cell-types": "^10.2.0",
|
|
19
19
|
"mutation-testing-elements": "3.9.0",
|
|
20
|
-
"@systemfsoftware/stryker-js-instrumenter": "^9.0.
|
|
21
|
-
"@systemfsoftware/stryker-js-plugin-interface": "^
|
|
20
|
+
"@systemfsoftware/stryker-js-instrumenter": "^9.0.1",
|
|
21
|
+
"@systemfsoftware/stryker-js-plugin-interface": "^9.0.0"
|
|
22
22
|
},
|
|
23
23
|
"devDependencies": {
|
|
24
24
|
"@effect/tsgo": "^0.45.0",
|
|
25
25
|
"@microsoft/api-extractor": "^7",
|
|
26
26
|
"@systemfsoftware/arethetypeswrong-cli": "^4.2.0",
|
|
27
|
-
"@systemfsoftware/effect-gherkin-spec": "^
|
|
28
|
-
"@systemfsoftware/oxlint-config-recommended": "^
|
|
27
|
+
"@systemfsoftware/effect-gherkin-spec": "^5.0.0",
|
|
28
|
+
"@systemfsoftware/oxlint-config-recommended": "^3.1.0",
|
|
29
29
|
"@systemfsoftware/tsconfig": "^2.0.1",
|
|
30
|
+
"@systemfsoftware/vitest": "^0.1.0",
|
|
30
31
|
"@types/node": "^24",
|
|
31
32
|
"effect": "4.0.0-rc.117",
|
|
32
33
|
"oxlint": "^1",
|