@systemfsoftware/stryker-js-typescript-checker 2.0.0 → 3.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,67 @@
1
1
  # @systemfsoftware/stryker-js-typescript-checker
2
2
 
3
+ ## 3.0.1
4
+
5
+ ### Patch Changes
6
+
7
+ - When two or more mutants in one TypeScript project file produce a compiler error that cannot be blamed on exactly one of them, `check` now rechecks each mutant alone. A mutant that typechecks by itself is reported `passed`. A mutant that fails typecheck by itself is reported `compileError`.
8
+
9
+ - Peer Effect requirement advances to 4.0.0-rc.112. No API changes.
10
+
11
+ ## 3.0.0
12
+
13
+ ### Major Changes
14
+
15
+ - Three packages are renamed. `plugin-api` is now `@systemfsoftware/stryker-js`, the
16
+ language every plugin is written against. `mutation-run` is now
17
+ `@systemfsoftware/stryker-js-platform-node`, the Node host that runs a mutation
18
+ test. `mutation-report` is now `@systemfsoftware/stryker-js-html-reporter`.
19
+ Install the new names and change your imports.
20
+
21
+ Options types moved. `StrykerOptions`, `PartialStrykerOptions` and `LogLevel` are
22
+ imported from the `Schema` export; `Mutant`, `MutantStatus`, `Position` and
23
+ `Location` from the `Mutant` export. Point a config's `extends` at the language
24
+ package's `Schema` export.
25
+
26
+ `MutantStatus` accepts one spelling per outcome: `Killed`, `Survived`,
27
+ `NoCoverage`, `Timeout`, `CompileError`, `RuntimeError`, `Ignored` and `Pending`.
28
+ The lowercase and abbreviated forms — `killed`, `timedOut`, `noCoverage` and the
29
+ rest — are gone. A comparison against a removed spelling never matched the value
30
+ the reporter actually produced, so check any status comparison you wrote.
31
+
32
+ Statuses, plugin kinds, exit classes and AST formats are string literal unions
33
+ rather than enums, so read them as their string values. Member access such as
34
+ `ExitClass.VerdictFail` no longer resolves.
35
+
36
+ A plugin no longer receives a logger, and the logger port is gone. Plugins log
37
+ through Effect, and the host decides where that output goes.
38
+
39
+ The bundled base preset is gone. A config inherits from the language package's
40
+ `Schema` export and states the thresholds, reporters and plugins it wants; you no
41
+ longer silently inherit a package manager, a plugin list or a break threshold.
42
+
43
+ ### Patch Changes
44
+
45
+ - A type error inside an installed dependency's declaration files no longer fails the run.
46
+
47
+ The checker exists to decide whether your source still compiles once a mutant is
48
+ applied. It was also reporting errors from `.d.ts` files inside installed packages —
49
+ most often a package whose optional peer dependency is not installed. No mutant
50
+ causes those, every mutant reports the same ones, and the checker cannot act on
51
+ them, so their only effect was to end the run before a single mutant was tested.
52
+
53
+ Library declaration files are now skipped, alongside the code-quality options the
54
+ checker already relaxes while mutating.
55
+
56
+ - An oversized message between the runner and a worker now fails the run with a
57
+ reason instead of exhausting memory. Each side of the connection reads frames
58
+ up to 16 MiB, which leaves headroom over the largest legitimate payload — a dry
59
+ run carrying per-test coverage — and a frame past the limit fails the calls
60
+ waiting on it rather than growing until the process dies.
61
+
62
+ - Updated dependencies:
63
+ - @systemfsoftware/effect-cell-types@5.0.0
64
+
3
65
  ## 2.0.0
4
66
 
5
67
  ### Major Changes
package/dist/index.d.mts CHANGED
@@ -1,6 +1,5 @@
1
- import { PluginKind } from "@systemfsoftware/stryker-js-plugin-api/plugin";
2
1
  //#region src/index.d.ts
3
- declare const strykerPlugins: import("@systemfsoftware/stryker-js-plugin-api/plugin").PluginContribution<PluginKind.Checker>[];
2
+ declare const strykerPlugins: import("@systemfsoftware/stryker-js/Plugin").PluginContribution<"Checker">[];
4
3
  declare const strykerValidationSchema: Record<string, unknown>;
5
4
  //#endregion
6
5
  export { strykerPlugins, strykerValidationSchema };