@systemfsoftware/stryker-js-vitest-runner 6.0.0 → 7.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.
@@ -5,7 +5,6 @@ const mutantActivation = inject("mutantActivation");
5
5
  const mode = inject("mode");
6
6
  const ns = globalThis[globalNamespace] ?? (globalThis[globalNamespace] = {});
7
7
  ns.hitLimit = inject("hitLimit");
8
- const isGreaterThanVitest4Point1 = inject("isGreaterThanVitest4Point1");
9
8
  if (mode === "mutant") {
10
9
  beforeAll(() => {
11
10
  ns.hitCount = 0;
@@ -14,12 +13,9 @@ if (mode === "mutant") {
14
13
  else beforeAll(() => {
15
14
  ns.activeMutant = inject("activeMutant");
16
15
  });
17
- if (isGreaterThanVitest4Point1) afterAll(({}, suite) => {
16
+ afterAll((_context, suite) => {
18
17
  suite.meta.hitCount = ns.hitCount;
19
18
  });
20
- else afterAll(({ meta }) => {
21
- meta.hitCount = ns.hitCount;
22
- });
23
19
  } else {
24
20
  ns.activeMutant = void 0;
25
21
  beforeEach(({ task }) => {
@@ -28,12 +24,9 @@ if (mode === "mutant") {
28
24
  afterEach(() => {
29
25
  ns.currentTestId = void 0;
30
26
  });
31
- if (isGreaterThanVitest4Point1) afterAll(({}, suite) => {
27
+ afterAll((_context, suite) => {
32
28
  suite.meta.mutantCoverage = ns.mutantCoverage;
33
29
  });
34
- else afterAll(({ meta }) => {
35
- meta.mutantCoverage = ns.mutantCoverage;
36
- });
37
30
  }
38
31
  function collectTestName({ name, suite }) {
39
32
  const nameParts = [name];
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@systemfsoftware/stryker-js-vitest-runner",
3
- "version": "6.0.0",
3
+ "version": "7.0.1",
4
4
  "repository": {
5
5
  "type": "git",
6
6
  "url": "git+https://github.com/systemfsoftware/stryker-js-effect.git",
@@ -36,39 +36,39 @@
36
36
  "@opentelemetry/exporter-trace-otlp-http": "^0.208.0",
37
37
  "@opentelemetry/sdk-node": "^0.208.0",
38
38
  "@opentelemetry/sdk-trace-base": "^2.2.0",
39
- "@systemfsoftware/effect-cell-types": "^8"
39
+ "@systemfsoftware/effect-cell-types": "^8.3.1"
40
40
  },
41
41
  "peerDependencies": {
42
- "effect": "4.0.0-rc.112",
43
- "vitest": ">=2.0.0"
42
+ "effect": "4.0.0-rc.116",
43
+ "vitest": ">=4.1.0"
44
44
  },
45
45
  "devDependencies": {
46
- "@effect/platform-node": "4.0.0-rc.112",
47
- "@effect/vitest": "4.0.0-rc.112",
46
+ "@effect/platform-node": "4.0.0-rc.116",
47
+ "@effect/vitest": "4.0.0-rc.116",
48
48
  "@microsoft/api-extractor": "^7",
49
- "@systemfsoftware/all": "^2",
50
- "@systemfsoftware/arethetypeswrong-cli": "^4",
51
- "@systemfsoftware/effect-gherkin-spec": "^4",
49
+ "@systemfsoftware/all": "^2.1.1",
50
+ "@systemfsoftware/arethetypeswrong-cli": "^4.2.0",
51
+ "@systemfsoftware/effect-gherkin-spec": "^4.1.0",
52
52
  "@systemfsoftware/stryker-ignorer-effect-schema-declarations": "latest",
53
53
  "@systemfsoftware/stryker-ignorer-in-source-vitest-block": "latest",
54
54
  "@systemfsoftware/stryker-js": "latest",
55
55
  "@systemfsoftware/stryker-js-typescript-checker": "latest",
56
56
  "@systemfsoftware/stryker-js-vitest-runner": "latest",
57
57
  "@systemfsoftware/stryker-test-contribution": "latest",
58
- "@systemfsoftware/tsconfig": "^1",
58
+ "@systemfsoftware/tsconfig": "^1.3.5",
59
59
  "@types/node": "^24",
60
- "@vitest/browser-playwright": "^4",
60
+ "@vitest/browser-playwright": "^5",
61
61
  "concurrently": "^10",
62
- "effect": "4.0.0-rc.112",
62
+ "effect": "4.0.0-rc.116",
63
63
  "oxlint": "^1",
64
64
  "rimraf": "^6.1.3",
65
65
  "tsdown": "^0.23.0",
66
66
  "typescript": "^7",
67
- "vitest": "^4",
67
+ "vitest": "^5",
68
68
  "@systemfsoftware/stryker-config": "^0.1.0",
69
- "@systemfsoftware/stryker-js-instrumenter": "^7.0.0",
70
- "@systemfsoftware/stryker-js-plugin-interface": "^6.0.0",
71
- "@systemfsoftware/stryker-js-plugin-runtime": "^5.0.1",
69
+ "@systemfsoftware/stryker-js-instrumenter": "^8.0.0",
70
+ "@systemfsoftware/stryker-js-plugin-interface": "^7.1.1",
71
+ "@systemfsoftware/stryker-js-plugin-runtime": "^5.0.3",
72
72
  "@systemfsoftware/tsdown-config": "^0.1.0",
73
73
  "@systemfsoftware/vitest-config": "^0.1.0"
74
74
  },
@@ -76,9 +76,10 @@
76
76
  "provenance": true
77
77
  },
78
78
  "inlinedDependencies": {
79
- "@effect/opentelemetry": "4.0.0-rc.112",
80
- "@effect/platform-node": "4.0.0-rc.112",
81
- "@effect/platform-node-shared": "4.0.0-rc.112",
79
+ "@effect/opentelemetry": "4.0.0-rc.116",
80
+ "@effect/platform-node": "4.0.0-rc.116",
81
+ "@effect/platform-node-shared": "4.0.0-rc.116",
82
+ "@eslint-community/regexpp": "4.12.2",
82
83
  "@opentelemetry/api": "1.9.1",
83
84
  "@opentelemetry/api-logs": "0.208.0",
84
85
  "@opentelemetry/context-async-hooks": "2.2.0",
@@ -86,20 +87,33 @@
86
87
  "2.11.0",
87
88
  "2.2.0"
88
89
  ],
90
+ "@opentelemetry/exporter-trace-otlp-http": "0.208.0",
91
+ "@opentelemetry/otlp-exporter-base": "0.208.0",
92
+ "@opentelemetry/otlp-transformer": "0.208.0",
89
93
  "@opentelemetry/resources": [
90
94
  "2.11.0",
91
95
  "2.2.0"
92
96
  ],
93
97
  "@opentelemetry/sdk-logs": "0.208.0",
94
98
  "@opentelemetry/sdk-metrics": "2.2.0",
99
+ "@opentelemetry/sdk-trace": "2.11.0",
100
+ "@opentelemetry/sdk-trace-base": [
101
+ "2.11.0",
102
+ "2.2.0"
103
+ ],
95
104
  "@opentelemetry/sdk-trace-node": "2.2.0",
96
105
  "@opentelemetry/semantic-conventions": "1.43.0",
97
- "@systemfsoftware/effect-cell-types": "8.1.0",
98
- "detect-libc": "2.1.2",
99
- "effect": "4.0.0-rc.112",
100
- "msgpackr": "2.1.0",
101
- "msgpackr-extract": "3.0.4",
102
- "node-gyp-build-optional-packages": "5.2.2",
106
+ "@protobufjs/aspromise": "1.1.2",
107
+ "@protobufjs/base64": "1.1.2",
108
+ "@protobufjs/eventemitter": "1.1.1",
109
+ "@protobufjs/float": "1.0.2",
110
+ "@protobufjs/pool": "1.1.0",
111
+ "@protobufjs/utf8": "1.1.2",
112
+ "@systemfsoftware/effect-cell-types": "8.3.1",
113
+ "effect": "4.0.0-rc.116",
114
+ "long": "5.3.2",
115
+ "oxc-parser": "0.150.0",
116
+ "protobufjs": "7.6.6",
103
117
  "ws": "8.21.3"
104
118
  },
105
119
  "scripts": {