@systemfsoftware/stryker-js-instrumenter 4.0.0 → 5.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 CHANGED
@@ -1,5 +1,78 @@
1
1
  # @systemfsoftware/stryker-js-instrumenter
2
2
 
3
+ ## 5.0.1
4
+
5
+ ### Patch Changes
6
+
7
+ - Re-released against @systemfsoftware/stryker-js without the removed --llms manifest. The Run stream no longer carries a manifest terminal event, and the RunEvent / RunTerminalEvent unions no longer include the manifest arm, so any exhaustive consumer of those types must drop that case.
8
+
9
+ - Rebuilds against updated workspace dependencies, including the new
10
+ `@systemfsoftware/stryker-js` reporter protocol major.
11
+
12
+ - Updated dependencies:
13
+ - @systemfsoftware/stryker-js@3.0.0
14
+
15
+ ## 5.0.0
16
+
17
+ ### Major Changes
18
+
19
+ - The packages are renamed. `plugin-api` is now `@systemfsoftware/stryker-js`, the
20
+ language every plugin is written against. `mutation-run` is split: the run
21
+ itself is `@systemfsoftware/stryker-js-engine`
22
+ (host-neutral, no Node on its manifest) and the Node process entries are
23
+ `@systemfsoftware/stryker-js-cli`, which owns the worker files and the runtime
24
+ gate. `mutation-report` is now `@systemfsoftware/stryker-js-html-reporter`.
25
+ `@systemfsoftware/stryker-js-platform-node` is never published — do not install
26
+ it. Install the new names and change your imports.
27
+
28
+ Options types moved. `StrykerOptions`, `PartialStrykerOptions` and `LogLevel` are
29
+ imported from the `Schema` export; `Mutant`, `MutantStatus`, `Position` and
30
+ `Location` from the `Mutant` export. Point a config's `extends` at the language
31
+ package's `Schema` export.
32
+
33
+ `MutantStatus` accepts one spelling per outcome: `Killed`, `Survived`,
34
+ `NoCoverage`, `Timeout`, `CompileError`, `RuntimeError`, `Ignored` and `Pending`.
35
+ The lowercase and abbreviated forms — `killed`, `timedOut`, `noCoverage` and the
36
+ rest — are gone. A comparison against a removed spelling never matched the value
37
+ the reporter actually produced, so check any status comparison you wrote.
38
+
39
+ Statuses, plugin kinds, exit classes and AST formats are string literal unions
40
+ rather than enums, so read them as their string values. Member access such as
41
+ `ExitClass.VerdictFail` no longer resolves.
42
+
43
+ A plugin no longer receives a logger, and the logger port is gone. Plugins log
44
+ through Effect, and the host decides where that output goes.
45
+
46
+ The bundled base preset is gone. A config inherits from the language package's
47
+ `Schema` export and states the thresholds, reporters and plugins it wants; you no
48
+ longer silently inherit a package manager, a plugin list or a break threshold.
49
+
50
+ ### Patch Changes
51
+
52
+ - Peer Effect requirement advances to 4.0.0-rc.112. No API changes.
53
+
54
+ - The shared helpers package is gone. Nothing installs it any more, and the
55
+ handful of helpers worth sharing now live in the plugin contract next to the
56
+ types they serve:
57
+
58
+ - `strykerReportBugUrl`, `normalizeFileName`, `propertyPath`, `errorToString`
59
+ and `isErrnoException` from `@systemfsoftware/stryker-js/core`
60
+ - `noopLogger` from `@systemfsoftware/stryker-js/logging`
61
+ - `testFilesProvided` from `@systemfsoftware/stryker-js/test-runner`
62
+
63
+ If you imported any of those, change the specifier. Everything else it exported
64
+ had no consumer and is removed: use `Predicate.isNotNullish` from Effect in place
65
+ of `notEmpty`, and `RegExp.escape` in place of `escapeRegExp`.
66
+
67
+ - These packages no longer install dependencies they never imported, so installing them pulls less into your tree.
68
+
69
+ `tslib` is gone from all six. The mutation runner additionally stops installing `lodash.groupby`, `semver` and `source-map`, and the command line interface stops installing `@effect/platform-node-shared`. Nothing exported changes.
70
+
71
+ - Published packages no longer carry build artifacts left over from earlier builds. One package was shipping about a megabyte of bundled test-runner internals this way.
72
+
73
+ - Updated dependencies:
74
+ - @systemfsoftware/stryker-js@2.0.0
75
+
3
76
  ## 4.0.0
4
77
 
5
78
  ### Major Changes
package/README.md CHANGED
@@ -18,4 +18,4 @@ The instrumenter is used internally by the Stryker mutation testing framework to
18
18
 
19
19
  ## License
20
20
 
21
- Apache-2.0. Part of [systemfsoftware](https://github.com/systemfsoftware/systemfsoftware/tree/main/packages/testing/mutation/stryker-js/instrumenter#readme).
21
+ Apache-2.0. Part of [systemfsoftware](https://github.com/systemfsoftware/systemfsoftware/tree/main/packages/stryker-js/stryker-js-instrumenter#readme).
package/dist/index.d.mts CHANGED
@@ -2,8 +2,8 @@ import { FileDescription, Mutant } from "@systemfsoftware/stryker-js/Mutant";
2
2
  import * as Effect from "effect/Effect";
3
3
  import { Wire } from "@systemfsoftware/effect-cell-types";
4
4
  import * as S from "effect/Schema";
5
- import { IgnorerService } from "@systemfsoftware/stryker-js/Ignorer";
6
5
  import "effect/Option";
6
+ import { IgnorerService } from "@systemfsoftware/stryker-js/Ignorer";
7
7
  //#region src/Instrument.schema.d.ts
8
8
  declare const InstrumentError_base: S.Class<InstrumentError, S.TaggedStruct<"InstrumentError", {
9
9
  readonly message: S.String;