@systemfsoftware/stryker-js-instrumenter 11.0.0 → 12.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.
- package/CHANGELOG.md +26 -0
- package/dist/index.d.mts +7 -7
- package/dist/index.mjs +3 -3
- package/package.json +14 -13
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,31 @@
|
|
|
1
1
|
# @systemfsoftware/stryker-js-instrumenter
|
|
2
2
|
|
|
3
|
+
## 12.1.0
|
|
4
|
+
|
|
5
|
+
### Minor Changes
|
|
6
|
+
|
|
7
|
+
- `Span`, `ScriptOrigin`, `Offset` and `LineStarts` are now exported from the package root, beside their existing `Source` namespace grouping, so a consumer can import them by name.
|
|
8
|
+
|
|
9
|
+
### Patch Changes
|
|
10
|
+
|
|
11
|
+
- Updated dependencies:
|
|
12
|
+
- @systemfsoftware/stryker-js-cli-contract@0.3.0
|
|
13
|
+
- @systemfsoftware/stryker-js-plugin-interface@13.0.0
|
|
14
|
+
|
|
15
|
+
## 12.0.0
|
|
16
|
+
|
|
17
|
+
### Major Changes
|
|
18
|
+
|
|
19
|
+
- Effect moves to the stable `4.0.0` release, together with the `@effect/*` packages these libraries use. The `4.0.0` release candidates are no longer supported: install `effect` `^4.0.0` next to these packages before upgrading.
|
|
20
|
+
|
|
21
|
+
The TypeScript checker and test-runner plugins bundle their own Effect runtime, so they need no change in your project.
|
|
22
|
+
|
|
23
|
+
### Patch Changes
|
|
24
|
+
|
|
25
|
+
- Updated dependencies:
|
|
26
|
+
- @systemfsoftware/stryker-js-cli-contract@0.2.0
|
|
27
|
+
- @systemfsoftware/stryker-js-plugin-interface@12.0.0
|
|
28
|
+
|
|
3
29
|
## 11.0.0
|
|
4
30
|
|
|
5
31
|
### Major Changes
|
package/dist/index.d.mts
CHANGED
|
@@ -1341,21 +1341,21 @@ declare interface YieldExpression$1 extends Span$1 {
|
|
|
1341
1341
|
}
|
|
1342
1342
|
//#endregion
|
|
1343
1343
|
//#region src/Location.schema.d.ts
|
|
1344
|
-
declare const Offset: S.Int;
|
|
1345
|
-
type Offset = typeof Offset.Type;
|
|
1346
|
-
declare const Span: S.declare<{
|
|
1344
|
+
export declare const Offset: S.Int;
|
|
1345
|
+
export type Offset = typeof Offset.Type;
|
|
1346
|
+
export declare const Span: S.declare<{
|
|
1347
1347
|
readonly start: number;
|
|
1348
1348
|
readonly end: number;
|
|
1349
1349
|
}, {
|
|
1350
1350
|
readonly start: number;
|
|
1351
1351
|
readonly end: number;
|
|
1352
1352
|
}>;
|
|
1353
|
-
type Span = typeof Span.Type;
|
|
1354
|
-
declare const ScriptOrigin: S.Struct<{
|
|
1353
|
+
export type Span = typeof Span.Type;
|
|
1354
|
+
export declare const ScriptOrigin: S.Struct<{
|
|
1355
1355
|
readonly line: S.Int;
|
|
1356
1356
|
readonly columnShift: S.Int;
|
|
1357
1357
|
}>;
|
|
1358
|
-
type ScriptOrigin = typeof ScriptOrigin.Type;
|
|
1358
|
+
export type ScriptOrigin = typeof ScriptOrigin.Type;
|
|
1359
1359
|
type LineStarts = Arr.NonEmptyReadonlyArray<Offset>;
|
|
1360
1360
|
//#endregion
|
|
1361
1361
|
//#region src/Syntax.schema.d.ts
|
|
@@ -1806,4 +1806,4 @@ declare namespace mod_d_exports$4 {
|
|
|
1806
1806
|
export { LineStarts, Offset, ScriptOrigin, Span };
|
|
1807
1807
|
}
|
|
1808
1808
|
//#endregion
|
|
1809
|
-
export { mod_d_exports as ErrorText, mod_d_exports$1 as Format, mod_d_exports$2 as Instrument, mod_d_exports$3 as Mutator, mod_d_exports$4 as Source };
|
|
1809
|
+
export { mod_d_exports as ErrorText, mod_d_exports$1 as Format, mod_d_exports$2 as Instrument, type LineStarts, mod_d_exports$3 as Mutator, mod_d_exports$4 as Source };
|
package/dist/index.mjs
CHANGED
|
@@ -111,8 +111,8 @@ var ErrorText_exports = /* @__PURE__ */ __exportAll({
|
|
|
111
111
|
});
|
|
112
112
|
//#endregion
|
|
113
113
|
//#region src/directives/directive.schema.ts
|
|
114
|
-
const MutatorNameSchema = S.String.pipe(S.check(S.isPattern(/^(?:[a-z][a-z0-9]*(?:-[a-z0-9]+)*\/)?[a-zA-Z][a-zA-Z0-9]*(?: [a-zA-Z][a-zA-Z0-9]*)*$/)));
|
|
115
|
-
const DirectiveReasonSchema = S.String.pipe(S.check(S.isPattern(/^\S(?:[^\r\n\u2028\u2029]*\S)?$/)));
|
|
114
|
+
const MutatorNameSchema = S.String.pipe(S.check(S.isPattern(/^(?:[a-z][a-z0-9]*(?:-[a-z0-9]+)*\/)?[a-zA-Z][a-zA-Z0-9]*(?: [a-zA-Z][a-zA-Z0-9]*)*$/u)));
|
|
115
|
+
const DirectiveReasonSchema = S.String.pipe(S.check(S.isPattern(/^\S(?:[^\r\n\u2028\u2029]*\S)?$/u)));
|
|
116
116
|
const DirectiveSchema = S.Struct({
|
|
117
117
|
action: S.Literals(["disable", "restore"]),
|
|
118
118
|
scope: S.Literals(["next-line", "block"]),
|
|
@@ -5148,4 +5148,4 @@ var Source_exports = /* @__PURE__ */ __exportAll({
|
|
|
5148
5148
|
Span: () => Span
|
|
5149
5149
|
});
|
|
5150
5150
|
//#endregion
|
|
5151
|
-
export { ErrorText_exports as ErrorText, Format_exports as Format, Instrument_exports as Instrument, Mutator_exports as Mutator, Source_exports as Source, lineStartsOf, locationOf, offsetAt, originAt, positionAt };
|
|
5151
|
+
export { ErrorText_exports as ErrorText, Format_exports as Format, Instrument_exports as Instrument, Mutator_exports as Mutator, Offset, ScriptOrigin, Source_exports as Source, Span, lineStartsOf, locationOf, offsetAt, originAt, positionAt };
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@systemfsoftware/stryker-js-instrumenter",
|
|
3
|
-
"version": "
|
|
3
|
+
"version": "12.1.0",
|
|
4
4
|
"repository": {
|
|
5
5
|
"type": "git",
|
|
6
6
|
"url": "git+https://github.com/systemfsoftware/stryker-js-effect.git",
|
|
@@ -25,37 +25,38 @@
|
|
|
25
25
|
"@eslint-community/regexpp": "^4.12.2",
|
|
26
26
|
"@noble/hashes": "^2",
|
|
27
27
|
"@oxc-project/types": "^0.150.0",
|
|
28
|
-
"@systemfsoftware/effect-cell-types": "^
|
|
29
|
-
"effect": "4.0.0
|
|
28
|
+
"@systemfsoftware/effect-cell-types": "^12.0.0",
|
|
29
|
+
"effect": "^4.0.0",
|
|
30
30
|
"oxc-parser": "^0.150.0",
|
|
31
31
|
"oxc-walker": "^1",
|
|
32
|
-
"@systemfsoftware/stryker-
|
|
33
|
-
"@systemfsoftware/stryker-js-
|
|
34
|
-
"@systemfsoftware/stryker-
|
|
32
|
+
"@systemfsoftware/stryker-framework-interface": "^0.0.0",
|
|
33
|
+
"@systemfsoftware/stryker-js-cli-contract": "^0.3.0",
|
|
34
|
+
"@systemfsoftware/stryker-js-plugin-interface": "^13.0.0"
|
|
35
35
|
},
|
|
36
36
|
"devDependencies": {
|
|
37
|
-
"@effect/platform-node": "4.0.0
|
|
38
|
-
"@effect/tsgo": "^0.
|
|
37
|
+
"@effect/platform-node": "^4.0.0",
|
|
38
|
+
"@effect/tsgo": "^0.47.2",
|
|
39
39
|
"@microsoft/api-extractor": "^7",
|
|
40
40
|
"@systemfsoftware/arethetypeswrong-cli": "^4.2.0",
|
|
41
|
-
"@systemfsoftware/effect-gherkin-spec": "^
|
|
42
|
-
"@systemfsoftware/oxlint-config-recommended": "^
|
|
41
|
+
"@systemfsoftware/effect-gherkin-spec": "^7.0.0",
|
|
42
|
+
"@systemfsoftware/oxlint-config-recommended": "^4.0.0",
|
|
43
43
|
"@systemfsoftware/tsconfig": "^2.0.1",
|
|
44
|
-
"@systemfsoftware/vitest": "^0.
|
|
44
|
+
"@systemfsoftware/vitest": "^1.0.0",
|
|
45
45
|
"@types/node": "^24",
|
|
46
46
|
"oxlint": "^1",
|
|
47
47
|
"rimraf": "^6.1.3",
|
|
48
48
|
"tsdown": "^0.23.0",
|
|
49
49
|
"typescript": "^7",
|
|
50
50
|
"vitest": "^5",
|
|
51
|
+
"@systemfsoftware/stryker-ignorer-interface": "^0.1.1",
|
|
51
52
|
"@systemfsoftware/tsdown-config": "^0.1.0",
|
|
52
|
-
"@systemfsoftware/vitest-config": "^0.1.0"
|
|
53
|
-
"@systemfsoftware/stryker-ignorer-interface": "^0.1.1"
|
|
53
|
+
"@systemfsoftware/vitest-config": "^0.1.0"
|
|
54
54
|
},
|
|
55
55
|
"engines": {
|
|
56
56
|
"node": ">=20.0.0"
|
|
57
57
|
},
|
|
58
58
|
"publishConfig": {
|
|
59
|
+
"access": "public",
|
|
59
60
|
"provenance": true
|
|
60
61
|
},
|
|
61
62
|
"scripts": {
|