@systemfsoftware/stryker-js-instrumenter 5.0.1 → 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 CHANGED
@@ -1,5 +1,12 @@
1
1
  # @systemfsoftware/stryker-js-instrumenter
2
2
 
3
+ ## 5.0.2
4
+
5
+ ### Patch Changes
6
+
7
+ - Updated dependencies:
8
+ - @systemfsoftware/effect-cell-types@7.0.0
9
+
3
10
  ## 5.0.1
4
11
 
5
12
  ### Patch Changes
package/dist/index.d.mts CHANGED
@@ -1,6 +1,5 @@
1
1
  import { FileDescription, Mutant } from "@systemfsoftware/stryker-js/Mutant";
2
2
  import * as Effect from "effect/Effect";
3
- import { Wire } from "@systemfsoftware/effect-cell-types";
4
3
  import * as S from "effect/Schema";
5
4
  import "effect/Option";
6
5
  import { IgnorerService } from "@systemfsoftware/stryker-js/Ignorer";
@@ -13,10 +12,10 @@ declare class InstrumentError extends InstrumentError_base {
13
12
  get message(): string;
14
13
  }
15
14
  declare const InstrumenterOptionsSchema: S.Struct<{
16
- excludedMutations: S.$Array<S.String & Wire.Mark> & Wire.Mark;
17
- ignorers: S.$Array<S.Unknown & Wire.Mark> & Wire.Mark;
18
- noHeader: S.optional<S.Boolean & Wire.Mark> & Wire.Mark;
19
- }> & Wire.Mark;
15
+ readonly excludedMutations: S.$Array<S.String>;
16
+ readonly ignorers: S.$Array<S.Unknown>;
17
+ readonly noHeader: S.optional<S.Boolean>;
18
+ }>;
20
19
  type InstrumenterOptions = typeof InstrumenterOptionsSchema.Type;
21
20
  declare const InstrumentResult_base: S.Class<InstrumentResult$1, S.TaggedStruct<"InstrumentResult", {
22
21
  readonly files: S.$Array<S.Struct<{
package/dist/index.mjs CHANGED
@@ -1,7 +1,6 @@
1
1
  import { INSTRUMENTER_CONSTANTS, Mutant } from "@systemfsoftware/stryker-js/Mutant";
2
2
  import * as Effect from "effect/Effect";
3
3
  import * as Predicate from "effect/Predicate";
4
- import { Wire } from "@systemfsoftware/effect-cell-types";
5
4
  import * as S from "effect/Schema";
6
5
  import * as Arr from "effect/Array";
7
6
  import * as Match from "effect/Match";
@@ -36,12 +35,12 @@ const FileSchema = S.Struct({
36
35
  content: S.String,
37
36
  mutate: MutateDescriptionSchema
38
37
  });
39
- const IgnorerSchema = Wire.mint(S.Unknown);
40
- const AstSchema = Wire.mint(S.Unknown);
41
- const InstrumenterOptionsSchema = Wire.wire({
42
- excludedMutations: Wire.mint(S.Array(Wire.mint(S.String))),
43
- ignorers: Wire.mint(S.Array(IgnorerSchema)),
44
- noHeader: Wire.mint(S.optional(Wire.mint(S.Boolean)))
38
+ const IgnorerSchema = S.Unknown;
39
+ const AstSchema = S.Unknown;
40
+ const InstrumenterOptionsSchema = S.Struct({
41
+ excludedMutations: S.Array(S.String),
42
+ ignorers: S.Array(IgnorerSchema),
43
+ noHeader: S.optional(S.Boolean)
45
44
  });
46
45
  var InstrumentCommand = class extends S.TaggedClass()("InstrumentCommand", {
47
46
  files: S.Array(FileSchema),
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@systemfsoftware/stryker-js-instrumenter",
3
- "version": "5.0.1",
3
+ "version": "5.0.2",
4
4
  "repository": {
5
5
  "type": "git",
6
6
  "url": "git+https://github.com/systemfsoftware/systemfsoftware.git",
@@ -24,8 +24,8 @@
24
24
  "angular-html-parser": "~10.4.0",
25
25
  "effect": "4.0.0-rc.112",
26
26
  "oxc-parser": "^0.140.0",
27
- "@systemfsoftware/effect-cell-types": "^6.0.1",
28
- "@systemfsoftware/stryker-js": "^3.0.0"
27
+ "@systemfsoftware/effect-cell-types": "^7.0.0",
28
+ "@systemfsoftware/stryker-js": "^3.0.1"
29
29
  },
30
30
  "devDependencies": {
31
31
  "@systemfsoftware/arethetypeswrong-cli": "^1.1.1",
@@ -37,11 +37,11 @@
37
37
  "tsdown": "^0.22.14",
38
38
  "typescript": "^7",
39
39
  "vitest": "^4",
40
- "@systemfsoftware/oxlint-config": "^0.1.0",
40
+ "@systemfsoftware/all": "^2.0.0",
41
41
  "@systemfsoftware/effect-gherkin-spec": "^4.0.1",
42
- "@systemfsoftware/vitest-config": "^0.1.0",
42
+ "@systemfsoftware/oxlint-config": "^0.1.0",
43
43
  "@systemfsoftware/tsconfig": "^1.3.3",
44
- "@systemfsoftware/all": "^2.0.0"
44
+ "@systemfsoftware/vitest-config": "^0.1.0"
45
45
  },
46
46
  "engines": {
47
47
  "node": ">=20.0.0"