@systemfsoftware/stryker-js 4.0.0 → 6.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.
Files changed (45) hide show
  1. package/CHANGELOG.md +129 -0
  2. package/LICENSE +3 -15
  3. package/README.md +172 -13
  4. package/dist/Plugins-DF95m9KO.d.mts +1400 -0
  5. package/dist/builtin-reporters-BqePgAN0.mjs +671 -0
  6. package/dist/builtin-reporters.d.mts +312 -0
  7. package/dist/builtin-reporters.mjs +3 -0
  8. package/dist/compiler-Bq9Nelu8.mjs +48406 -0
  9. package/dist/compiler-C8aLIb5U.mjs +48406 -0
  10. package/dist/config.d.mts +12 -0
  11. package/dist/config.mjs +7 -0
  12. package/dist/dist-B3nT7z4G.mjs +5155 -0
  13. package/dist/dist-CWbipfGB.mjs +711 -0
  14. package/dist/execAsync-CfPZgJSD.mjs +10 -0
  15. package/dist/execAsync-DdCu5QLN.mjs +10 -0
  16. package/dist/getMachineId-bsd-C6bLIaiv.mjs +27 -0
  17. package/dist/getMachineId-bsd-CXSiHDga.mjs +27 -0
  18. package/dist/getMachineId-darwin-D3cIKeqx.mjs +24 -0
  19. package/dist/getMachineId-darwin-DPZ0kdKD.mjs +24 -0
  20. package/dist/getMachineId-linux-CQwLSlZk.mjs +20 -0
  21. package/dist/getMachineId-linux-Ci8OVJU0.mjs +20 -0
  22. package/dist/getMachineId-unsupported-PX0hnW6X.mjs +15 -0
  23. package/dist/getMachineId-unsupported-_ExL3Avl.mjs +15 -0
  24. package/dist/getMachineId-win-BCsS9pC_.mjs +26 -0
  25. package/dist/getMachineId-win-D9Tb0p7w.mjs +26 -0
  26. package/dist/index-BInJWa0x.d.mts +1148 -0
  27. package/dist/index.d.mts +2570 -938
  28. package/dist/index.mjs +4 -1034
  29. package/dist/main.mjs +102939 -0
  30. package/dist/merge-config-BrrNQWje.mjs +16 -0
  31. package/dist/mutation-test.cell-Cw1ZzDnb.d.mts +561 -0
  32. package/dist/output-mode-CfGHDpi5.d.mts +17 -0
  33. package/dist/parser.wasm32-wasi.wasm +0 -0
  34. package/dist/plugin-loader.d.mts +1673 -0
  35. package/dist/plugin-loader.mjs +3 -0
  36. package/dist/plugin-worker-entry-D00fedxV.mjs +1585 -0
  37. package/dist/promises.d.mts +5 -0
  38. package/dist/promises.mjs +14 -0
  39. package/dist/rolldown-runtime-Dr7-SnC6.mjs +45 -0
  40. package/dist/rolldown-runtime-XITHOX9H.mjs +15 -0
  41. package/dist/src-fju4cI5I.mjs +12466 -0
  42. package/dist/src-js-DRK8boNV.mjs +1009 -0
  43. package/dist/stryker-config-DIGmQrm1.d.mts +14 -0
  44. package/dist/wasm-Dr7kZatW.mjs +13017 -0
  45. package/package.json +101 -39
package/package.json CHANGED
@@ -1,75 +1,137 @@
1
1
  {
2
2
  "name": "@systemfsoftware/stryker-js",
3
- "version": "4.0.0",
3
+ "version": "6.0.0",
4
4
  "repository": {
5
5
  "type": "git",
6
- "url": "git+https://github.com/systemfsoftware/systemfsoftware.git",
7
- "directory": "packages/stryker-js/stryker-js"
6
+ "url": "git+https://github.com/systemfsoftware/stryker-js-effect.git",
7
+ "directory": "packages/stryker-js"
8
8
  },
9
- "homepage": "https://github.com/systemfsoftware/systemfsoftware/tree/main/packages/stryker-js/stryker-js#readme",
10
- "bugs": "https://github.com/systemfsoftware/systemfsoftware/issues",
11
- "description": "The mutation-testing language — concept modules, no platform.",
9
+ "homepage": "https://github.com/systemfsoftware/stryker-js-effect",
10
+ "bugs": {
11
+ "url": "https://github.com/systemfsoftware/stryker-js-effect/issues"
12
+ },
13
+ "description": "The Stryker mutation testing tool — the stryker executable, the run engine, and the configuration surface.",
12
14
  "type": "module",
13
15
  "files": [
14
16
  "dist"
15
17
  ],
18
+ "bin": {
19
+ "stryker": "./dist/main.mjs"
20
+ },
16
21
  "license": "Apache-2.0",
17
22
  "engines": {
18
- "node": ">=20.0.0"
23
+ "node": ">=22.18.0"
19
24
  },
20
25
  "dependencies": {
21
- "effect": "4.0.0-rc.112",
22
- "@systemfsoftware/effect-cell-types": "^8.0.0"
26
+ "@effect/opentelemetry": "4.0.0-rc.112",
27
+ "@effect/platform-node": "4.0.0-rc.112",
28
+ "@effect/platform-node-shared": "4.0.0-rc.112",
29
+ "@noble/hashes": "^2",
30
+ "@opentelemetry/api": "^1.9.0",
31
+ "@opentelemetry/exporter-trace-otlp-http": "^0.208.0",
32
+ "@opentelemetry/sdk-trace-base": "^2.2.0",
33
+ "@systemfsoftware/effect-cell-types": "^8"
34
+ },
35
+ "peerDependencies": {
36
+ "effect": "4.0.0-rc.112"
23
37
  },
24
38
  "devDependencies": {
39
+ "@effect/tsgo": "^0.45.0",
25
40
  "@effect/vitest": "4.0.0-rc.112",
26
- "@microsoft/api-extractor": "^7.58.7",
27
- "@systemfsoftware/arethetypeswrong-cli": "^4.1.0",
41
+ "@microsoft/api-extractor": "^7",
42
+ "@oxc-parser/binding-wasm32-wasi": "^0.140.0",
43
+ "@std/jsonc": "npm:@jsr/std__jsonc@^1",
44
+ "@systemfsoftware/all": "^2",
45
+ "@systemfsoftware/arethetypeswrong-cli": "^4",
46
+ "@systemfsoftware/effect-gherkin-spec": "^4",
47
+ "@systemfsoftware/effect-schema-law": "^2",
48
+ "@systemfsoftware/effect-schema-vite": "^2",
49
+ "@systemfsoftware/stryker-ignorer-effect-schema-declarations": "latest",
50
+ "@systemfsoftware/stryker-ignorer-in-source-vitest-block": "latest",
51
+ "@systemfsoftware/stryker-js": "latest",
52
+ "@systemfsoftware/stryker-js-typescript-checker": "latest",
53
+ "@systemfsoftware/stryker-js-vitest-runner": "latest",
54
+ "@systemfsoftware/stryker-test-contribution": "latest",
55
+ "@systemfsoftware/tsconfig": "^1",
28
56
  "@types/node": "^24",
29
- "oxlint": "^1.77.0",
30
- "oxlint-tsgolint": "7.0.2001",
57
+ "@vitest/coverage-v8": "^4",
58
+ "concurrently": "^10",
59
+ "mutation-testing-elements": "3.7.3",
60
+ "oxc-parser": "^0.140.0",
61
+ "oxlint": "^1",
62
+ "oxlint-tsgolint": "^7",
31
63
  "rimraf": "^6.1.3",
32
- "tsdown": "^0.22.14",
64
+ "tsdown": "^0.23.0",
33
65
  "typescript": "^7",
34
66
  "vitest": "^4",
35
- "@systemfsoftware/all": "^2.0.2",
36
- "@systemfsoftware/effect-schema-law": "^2.1.1",
37
- "@systemfsoftware/tsconfig": "^1.3.4",
67
+ "@systemfsoftware/stryker-config": "^0.1.0",
68
+ "@systemfsoftware/stryker-ignorer-interface": "^0.1.0",
69
+ "@systemfsoftware/stryker-js-html-reporter": "^4.0.1",
70
+ "@systemfsoftware/stryker-js-instrumenter": "^7.0.0",
71
+ "@systemfsoftware/stryker-js-plugin-interface": "^6.0.0",
72
+ "@systemfsoftware/stryker-js-plugin-runtime": "^5.0.1",
38
73
  "@systemfsoftware/vitest-config": "^0.1.0",
39
- "@systemfsoftware/effect-schema-vite": "^2.1.1"
74
+ "@systemfsoftware/tsdown-config": "^0.1.0"
40
75
  },
41
76
  "publishConfig": {
42
77
  "access": "public",
43
78
  "provenance": true
44
79
  },
45
80
  "exports": {
46
- ".": "./dist/index.mjs",
47
- "./Checker": "./dist/Checker.mjs",
48
- "./Evaluator": "./dist/Evaluator.mjs",
49
- "./ExitClass": "./dist/ExitClass.mjs",
50
- "./Ignorer": "./dist/Ignorer.mjs",
51
- "./Metrics": "./dist/Metrics.mjs",
52
- "./Module": "./dist/Module.mjs",
53
- "./Mutant": "./dist/Mutant.mjs",
54
- "./output-file": "./dist/output-file.mjs",
55
- "./Plugin": "./dist/Plugin.mjs",
56
- "./provided-options": "./dist/provided-options.mjs",
57
- "./Report": "./dist/Report.mjs",
58
- "./Reporter": "./dist/Reporter.mjs",
59
- "./ReporterEvent": "./dist/ReporterEvent.mjs",
60
- "./Run": "./dist/Run.mjs",
61
- "./Schema": "./dist/Schema.mjs",
62
- "./TestRunner": "./dist/TestRunner.mjs",
81
+ ".": {
82
+ "types": "./dist/index.d.mts",
83
+ "default": "./dist/index.mjs"
84
+ },
85
+ "./builtin-reporters": {
86
+ "types": "./dist/builtin-reporters.d.mts",
87
+ "default": "./dist/builtin-reporters.mjs"
88
+ },
89
+ "./config": {
90
+ "types": "./dist/config.d.mts",
91
+ "default": "./dist/config.mjs"
92
+ },
93
+ "./plugin-loader": {
94
+ "types": "./dist/plugin-loader.d.mts",
95
+ "default": "./dist/plugin-loader.mjs"
96
+ },
97
+ "./promises": {
98
+ "types": "./dist/promises.d.mts",
99
+ "default": "./dist/promises.mjs"
100
+ },
63
101
  "./package.json": "./package.json"
64
102
  },
103
+ "inlinedDependencies": {
104
+ "@eslint-community/regexpp": "4.12.2",
105
+ "@jridgewell/gen-mapping": "0.3.13",
106
+ "@jridgewell/remapping": "2.3.5",
107
+ "@jridgewell/resolve-uri": "3.1.2",
108
+ "@jridgewell/sourcemap-codec": "1.6.0",
109
+ "@jridgewell/trace-mapping": "0.3.31",
110
+ "@jsr/std__jsonc": "1.0.2",
111
+ "@sveltejs/acorn-typescript": "1.0.13",
112
+ "acorn": "8.18.0",
113
+ "angular-html-parser": "10.4.0",
114
+ "aria-query": "5.3.1",
115
+ "axobject-query": "4.1.0",
116
+ "esrap": "2.3.7",
117
+ "is-reference": "3.0.3",
118
+ "locate-character": "3.0.0",
119
+ "magic-string": "0.30.21",
120
+ "oxc-parser": "0.140.0",
121
+ "oxc-walker": "1.1.1",
122
+ "svelte": "5.55.1",
123
+ "zimmerframe": "1.1.5"
124
+ },
65
125
  "scripts": {
66
126
  "clean": "rimraf dist",
67
- "build": "tsdown && pnpm api:check",
68
- "typecheck": "tsc --noEmit --incremental",
127
+ "build": "rimraf dist && tsdown --config tsdown.bin.config.ts && tsdown --config tsdown.config.ts",
128
+ "typecheck": "tsc --noEmit --incremental && tsc -p tsconfig.node.json --noEmit",
69
129
  "test": "vitest run",
130
+ "mutation": "stryker run",
70
131
  "attw": "attw --pack .",
71
132
  "lint": "f=${OXLINT_FORMAT:-${AGENT:+agent}}; oxlint . --format=${f:-default}",
72
- "api:check": "tsdown && api-extractor run",
73
- "api:update": "api-extractor run --local"
133
+ "api:check": "concurrently --kill-others-on-fail \"api-extractor run\" \"api-extractor run --config api-extractor.builtin-reporters.json\" \"api-extractor run --config api-extractor.plugin-loader.json\"",
134
+ "api:update": "concurrently --kill-others-on-fail \"api-extractor run --local\" \"api-extractor run --local --config api-extractor.builtin-reporters.json\" \"api-extractor run --local --config api-extractor.plugin-loader.json\"",
135
+ "lint:tsgo": "effect-tsgo diagnostics --project tsconfig.json --format ${TSGO_FORMAT:-text}"
74
136
  }
75
137
  }