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