@systemfsoftware/stryker-js-instrumenter 6.0.1 → 7.1.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.
@@ -0,0 +1,2 @@
1
+ import { A as MutantActivationSchema, B as PositionSchema, C as causeText, D as normalizeFileName, E as isMutant, F as Location, I as LocationSchema, L as OpenEndLocation, M as MutantStatus, N as MutantStatusSchema, O as Mutant, P as RunOptionsFields, R as OpenEndLocationSchema, S as TestPlan, T as isErrnoException, _ as MutateDescription, a as EarlyResultPlan, b as RunOptions, c as FileDescriptions, d as MutantCoverage, f as MutantEarlyResultPlan, g as MutantTestPlan, h as MutantTestCoverage, i as ERROR_CODES, j as MutantRunOptionsSchema, k as MutantActivation, l as INSTRUMENTER_CONSTANTS, m as MutantRunPlan, n as CoverageData, o as ErrnoException, p as MutantRunOptions, r as CoveragePerTestId, s as FileDescription, t as Coverage, u as InstrumenterContext, v as MutationRange, w as errorToString, x as RunPlan, y as RunMutantResult, z as Position } from "./Mutant-BYxuyyRL.mjs";
2
+ export { type Coverage, type CoverageData, type CoveragePerTestId, ERROR_CODES, type EarlyResultPlan, type ErrnoException, type FileDescription, type FileDescriptions, INSTRUMENTER_CONSTANTS, type InstrumenterContext, type Location, LocationSchema, Mutant, type MutantActivation, MutantActivationSchema, type MutantCoverage, type MutantEarlyResultPlan, type MutantRunOptions, MutantRunOptionsSchema, type MutantRunPlan, type MutantStatus, MutantStatusSchema, type MutantTestCoverage, type MutantTestPlan, type MutateDescription, type MutationRange, type OpenEndLocation, OpenEndLocationSchema, type Position, PositionSchema, type RunMutantResult, type RunOptions, RunOptionsFields, type RunPlan, type TestPlan, causeText, errorToString, isErrnoException, isMutant, normalizeFileName };
@@ -0,0 +1,2 @@
1
+ import { a as isErrnoException, c as Mutant, d as MutantStatusSchema, f as RunOptionsFields, h as PositionSchema, i as errorToString, l as MutantActivationSchema, m as OpenEndLocationSchema, n as INSTRUMENTER_CONSTANTS, o as isMutant, p as LocationSchema, r as causeText, s as normalizeFileName, t as ERROR_CODES, u as MutantRunOptionsSchema } from "./Mutant-DnhV_fpo.mjs";
2
+ export { ERROR_CODES, INSTRUMENTER_CONSTANTS, LocationSchema, Mutant, MutantActivationSchema, MutantRunOptionsSchema, MutantStatusSchema, OpenEndLocationSchema, PositionSchema, RunOptionsFields, causeText, errorToString, isErrnoException, isMutant, normalizeFileName };
package/package.json CHANGED
@@ -1,48 +1,56 @@
1
1
  {
2
2
  "name": "@systemfsoftware/stryker-js-instrumenter",
3
- "version": "6.0.1",
3
+ "version": "7.1.0",
4
4
  "repository": {
5
5
  "type": "git",
6
- "url": "git+https://github.com/systemfsoftware/systemfsoftware.git",
7
- "directory": "packages/stryker-js/stryker-js-instrumenter"
6
+ "url": "git+https://github.com/systemfsoftware/stryker-js-effect.git",
7
+ "directory": "packages/stryker-js-instrumenter"
8
8
  },
9
- "homepage": "https://github.com/systemfsoftware/systemfsoftware/tree/main/packages/stryker-js/stryker-js-instrumenter#readme",
10
- "bugs": "https://github.com/systemfsoftware/systemfsoftware/issues",
9
+ "homepage": "https://github.com/systemfsoftware/stryker-js-effect",
10
+ "bugs": "https://github.com/systemfsoftware/stryker-js-effect/issues",
11
11
  "description": "The code instrumenter used by the Stryker mutation runner",
12
12
  "type": "module",
13
13
  "files": [
14
14
  "dist"
15
15
  ],
16
16
  "exports": {
17
- ".": "./dist/index.mjs",
17
+ ".": {
18
+ "types": "./dist/index.d.mts",
19
+ "default": "./dist/index.mjs"
20
+ },
21
+ "./mutants": {
22
+ "types": "./dist/mutants.d.mts",
23
+ "default": "./dist/mutants.mjs"
24
+ },
18
25
  "./package.json": "./package.json"
19
26
  },
20
27
  "license": "Apache-2.0",
21
28
  "dependencies": {
22
29
  "@eslint-community/regexpp": "4.12.2",
23
30
  "@oxc-project/types": "^0.140.0",
31
+ "@systemfsoftware/effect-cell-types": "^8",
24
32
  "angular-html-parser": "~10.4.0",
25
33
  "effect": "4.0.0-rc.112",
26
34
  "oxc-parser": "^0.140.0",
27
- "@systemfsoftware/effect-cell-types": "^8.0.0",
28
- "@systemfsoftware/stryker-js": "^4.0.0"
35
+ "oxc-walker": "^1"
29
36
  },
30
37
  "devDependencies": {
31
- "@microsoft/api-extractor": "^7.58.7",
32
- "@systemfsoftware/arethetypeswrong-cli": "^4.1.0",
33
- "@types/estree": "1.0.8",
38
+ "@effect/tsgo": "^0.45.0",
39
+ "@microsoft/api-extractor": "^7",
40
+ "@systemfsoftware/all": "^2",
41
+ "@systemfsoftware/arethetypeswrong-cli": "^4",
42
+ "@systemfsoftware/effect-gherkin-spec": "^4",
43
+ "@systemfsoftware/tsconfig": "^1",
34
44
  "@types/node": "^24",
35
- "oxlint": "^1.77.0",
45
+ "oxlint": "^1",
36
46
  "rimraf": "^6.1.3",
37
47
  "svelte": "5.55.1",
38
- "tsdown": "^0.22.14",
48
+ "tsdown": "^0.23.0",
39
49
  "typescript": "^7",
40
50
  "vitest": "^4",
41
- "@systemfsoftware/all": "^2.0.2",
42
- "@systemfsoftware/effect-gherkin-spec": "^4.0.2",
43
- "@systemfsoftware/vitest-config": "^0.1.0",
44
- "@systemfsoftware/oxlint-config": "^0.1.0",
45
- "@systemfsoftware/tsconfig": "^1.3.4"
51
+ "@systemfsoftware/tsdown-config": "^0.1.0",
52
+ "@systemfsoftware/stryker-ignorer-interface": "^0.1.0",
53
+ "@systemfsoftware/vitest-config": "^0.1.0"
46
54
  },
47
55
  "engines": {
48
56
  "node": ">=20.0.0"
@@ -60,12 +68,13 @@
60
68
  },
61
69
  "scripts": {
62
70
  "clean": "rimraf dist",
63
- "build": "tsdown && pnpm api:check",
64
- "typecheck": "tsc --noEmit --incremental",
71
+ "build": "tsdown",
72
+ "typecheck": "tsc --noEmit --incremental && tsc -p tsconfig.node.json --noEmit",
65
73
  "attw": "attw --pack .",
66
74
  "test": "vitest run",
67
75
  "lint": "f=${OXLINT_FORMAT:-${AGENT:+agent}}; oxlint . --format=${f:-default}",
68
- "api:check": "tsdown && api-extractor run",
69
- "api:update": "api-extractor run --local"
76
+ "api:check": "api-extractor run",
77
+ "api:update": "api-extractor run --local",
78
+ "lint:tsgo": "effect-tsgo diagnostics --project tsconfig.json --format ${TSGO_FORMAT:-text}"
70
79
  }
71
80
  }