@systemfsoftware/stryker-js-plugin-interface 7.2.0 → 7.2.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,11 @@
1
1
  # @systemfsoftware/stryker-js-plugin-interface
2
2
 
3
+ ## 7.2.1
4
+
5
+ ### Patch Changes
6
+
7
+ - Exported declarations that previously took `unknown` now take a defaulted type parameter: calls that omit the type argument are unchanged, and calls that were previously rejected for passing an unconstrained value are accepted. No runtime behaviour changes.
8
+
3
9
  ## 7.2.0
4
10
 
5
11
  ### Minor Changes
package/dist/index.d.mts CHANGED
@@ -1,6 +1,7 @@
1
1
  import * as Context from 'effect/Context';
2
2
  import * as Effect$1 from 'effect/Effect';
3
3
  import * as HashMap from 'effect/HashMap';
4
+ import { JsonSchema } from 'effect/JsonSchema';
4
5
  import { Location } from '@systemfsoftware/stryker-js-instrumenter';
5
6
  import { LocationSchema } from '@systemfsoftware/stryker-js-instrumenter';
6
7
  import { Mutant } from '@systemfsoftware/stryker-js-instrumenter';
@@ -186,7 +187,7 @@ export declare const CoverageAnalysisSchema: S.Literals<readonly ["off", "all",
186
187
  * caller CONSTRUCTS by assignment, so `readonly` is stripped. The decoded
187
188
  * `StrykerOptions` keeps it - that side is read, never built.
188
189
  */
189
- export declare type DeepOptional<T> = { -readonly [P in keyof T]?: T[P] extends Record<string, unknown> ? DeepOptional<T[P]> | undefined : T[P]; };
190
+ export declare type DeepOptional<T, V = unknown> = { -readonly [P in keyof T]?: T[P] extends Record<string, V> ? DeepOptional<T[P], V> | undefined : T[P]; };
190
191
 
191
192
  export declare type Dependencies = typeof DependenciesSchema.Type;
192
193
 
@@ -844,7 +845,7 @@ export declare const ReporterEventKind: S.Literals<readonly ["dryRunCompleted",
844
845
 
845
846
  export declare type ReporterEventKind = typeof ReporterEventKind.Type;
846
847
 
847
- export declare const ReporterEventSchema: StandardSchemaV1<unknown, ReporterEvent>;
848
+ export declare const ReporterEventSchema: StandardSchemaV1<typeof ReporterEventUnion['Encoded'], ReporterEvent>;
848
849
 
849
850
  export declare const ReporterEventUnion: S.Union<readonly [typeof DryRunCompleted, typeof MutationTestingPlanReady, typeof MutantTested, typeof MutationTestReportReady]>;
850
851
 
@@ -912,7 +913,7 @@ export declare interface SkippedTestResult extends BaseTestResult {
912
913
  * one is a schema - the generated law suite does exactly that, and a document
913
914
  * handed to `toEncoded` takes the whole suite down with it.
914
915
  */
915
- export declare const strykerCoreSchema: Record<string, unknown>;
916
+ export declare const strykerCoreSchema: JsonSchema;
916
917
 
917
918
  /** The decoded type: every defaulted option is present. */
918
919
  export declare type StrykerOptions = S.Schema.Type<typeof StrykerOptionsSchema>;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@systemfsoftware/stryker-js-plugin-interface",
3
- "version": "7.2.0",
3
+ "version": "7.2.1",
4
4
  "repository": {
5
5
  "type": "git",
6
6
  "url": "git+https://github.com/systemfsoftware/stryker-js-effect.git",
@@ -19,7 +19,7 @@
19
19
  },
20
20
  "dependencies": {
21
21
  "effect": "4.0.0-rc.116",
22
- "@systemfsoftware/stryker-js-instrumenter": "^8.0.1"
22
+ "@systemfsoftware/stryker-js-instrumenter": "^8.0.2"
23
23
  },
24
24
  "devDependencies": {
25
25
  "@effect/tsgo": "^0.45.0",
@@ -27,7 +27,7 @@
27
27
  "@systemfsoftware/arethetypeswrong-cli": "^4.2.0",
28
28
  "@systemfsoftware/effect-schema-law": "^2.2.1",
29
29
  "@systemfsoftware/effect-schema-vite": "^2.2.1",
30
- "@systemfsoftware/oxlint-config-recommended": "^1.0.0",
30
+ "@systemfsoftware/oxlint-config-recommended": "^1.1.0",
31
31
  "@systemfsoftware/tsconfig": "^1.3.6",
32
32
  "@types/node": "^24",
33
33
  "oxlint": "^1",