@vitest-agent/pnpm-plugin-vitest-agent 0.1.0 → 0.1.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.
- package/THIRD_PARTY_LICENSES.txt +1 -1
- package/index.js +11 -11
- package/package.json +1 -1
- package/pnpmfile.mjs +36 -31
package/THIRD_PARTY_LICENSES.txt
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
@vitest-agent/pnpm-plugin-vitest-agent includes code from the following packages, inlined at build time.
|
|
2
2
|
|
|
3
3
|
--------------------------------------------------------------------------------
|
|
4
|
-
rolldown-pnpm-config@3.0
|
|
4
|
+
rolldown-pnpm-config@3.1.0
|
|
5
5
|
License: MIT
|
|
6
6
|
|
|
7
7
|
LICENSE:
|
package/index.js
CHANGED
|
@@ -7,22 +7,22 @@ const catalogs$1 = /* @__PURE__ */ new Map([
|
|
|
7
7
|
["vitest", "^5.1.2"]
|
|
8
8
|
])],
|
|
9
9
|
["vitest-agent", /* @__PURE__ */ new Map([
|
|
10
|
-
["@vitest-agent/cli", "^4.1.
|
|
11
|
-
["@vitest-agent/engine", "^3.
|
|
12
|
-
["@vitest-agent/mcp", "^6.
|
|
13
|
-
["@vitest-agent/plugin", "^6.2.
|
|
14
|
-
["@vitest-agent/reporter", "^6.2.
|
|
15
|
-
["@vitest-agent/sdk", "^9.
|
|
16
|
-
["@vitest-agent/sidecar", "^2.2.
|
|
17
|
-
["@vitest-agent/ui", "^6.1.
|
|
10
|
+
["@vitest-agent/cli", "^4.1.24"],
|
|
11
|
+
["@vitest-agent/engine", "^3.5.0"],
|
|
12
|
+
["@vitest-agent/mcp", "^6.4.0"],
|
|
13
|
+
["@vitest-agent/plugin", "^6.2.4"],
|
|
14
|
+
["@vitest-agent/reporter", "^6.2.3"],
|
|
15
|
+
["@vitest-agent/sdk", "^9.3.0"],
|
|
16
|
+
["@vitest-agent/sidecar", "^2.2.26"],
|
|
17
|
+
["@vitest-agent/ui", "^6.1.3"]
|
|
18
18
|
])],
|
|
19
19
|
["vitest-agent:peers", /* @__PURE__ */ new Map([
|
|
20
20
|
["@vitest-agent/cli", "^4.1.0"],
|
|
21
|
-
["@vitest-agent/engine", "^3.
|
|
22
|
-
["@vitest-agent/mcp", "^6.
|
|
21
|
+
["@vitest-agent/engine", "^3.5.0"],
|
|
22
|
+
["@vitest-agent/mcp", "^6.4.0"],
|
|
23
23
|
["@vitest-agent/plugin", "^6.2.0"],
|
|
24
24
|
["@vitest-agent/reporter", "^6.2.0"],
|
|
25
|
-
["@vitest-agent/sdk", "^9.
|
|
25
|
+
["@vitest-agent/sdk", "^9.3.0"],
|
|
26
26
|
["@vitest-agent/sidecar", "^2.2.0"],
|
|
27
27
|
["@vitest-agent/ui", "^6.1.0"]
|
|
28
28
|
])],
|
package/package.json
CHANGED
package/pnpmfile.mjs
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { readFileSync } from "node:fs";
|
|
2
2
|
import { join } from "node:path";
|
|
3
3
|
|
|
4
|
-
// ../../node_modules/.pnpm/rolldown-pnpm-config@3.
|
|
4
|
+
// ../../node_modules/.pnpm/rolldown-pnpm-config@3.1.0_@effected+markdown-lint@0.3.2_@effected+toml@0.20.0_effect@4_a87c5ab72aa3836e2655add115da0874/node_modules/rolldown-pnpm-config/runtime/ctx.js
|
|
5
5
|
/**
|
|
6
6
|
* Resolve the consuming repo's root package name. Prefers pnpm's
|
|
7
7
|
* `rootProjectManifest.name`, falling back to reading `package.json` from the
|
|
@@ -35,7 +35,7 @@ function excludeByRepo(merged, ctx, byRepo) {
|
|
|
35
35
|
return merged.filter((p) => !set.has(p));
|
|
36
36
|
}
|
|
37
37
|
|
|
38
|
-
// ../../node_modules/.pnpm/rolldown-pnpm-config@3.
|
|
38
|
+
// ../../node_modules/.pnpm/rolldown-pnpm-config@3.1.0_@effected+markdown-lint@0.3.2_@effected+toml@0.20.0_effect@4_a87c5ab72aa3836e2655add115da0874/node_modules/rolldown-pnpm-config/runtime/enforcement.js
|
|
39
39
|
/**
|
|
40
40
|
* Thrown when an `error`-enforced field diverges. A zero-dependency plain
|
|
41
41
|
* `Error` subclass (NOT an Effect type) so it survives in the bundled pnpmfile.
|
|
@@ -69,7 +69,7 @@ function applyEnforcement(field, result, enforcement) {
|
|
|
69
69
|
};
|
|
70
70
|
}
|
|
71
71
|
|
|
72
|
-
// ../../node_modules/.pnpm/rolldown-pnpm-config@3.
|
|
72
|
+
// ../../node_modules/.pnpm/rolldown-pnpm-config@3.1.0_@effected+markdown-lint@0.3.2_@effected+toml@0.20.0_effect@4_a87c5ab72aa3836e2655add115da0874/node_modules/rolldown-pnpm-config/runtime/strategies/arrays.js
|
|
73
73
|
/** Code-unit order: locale-independent, so the render is the same on every machine. */
|
|
74
74
|
const byCodeUnit = (a, b) => a < b ? -1 : a > b ? 1 : 0;
|
|
75
75
|
/** Union `managed` with `local` (when present), deduped and sorted for a stable render. @internal */
|
|
@@ -88,24 +88,29 @@ const arrayUnion = (base, local) => ({
|
|
|
88
88
|
divergences: []
|
|
89
89
|
});
|
|
90
90
|
/**
|
|
91
|
-
* Per-axis union of
|
|
91
|
+
* Per-axis union of two records of string arrays, sorted by key; drops empty
|
|
92
|
+
* axes. Shared by the strategy and by `export`'s keep-the-file merge.
|
|
92
93
|
*
|
|
93
94
|
* @internal
|
|
94
95
|
*/
|
|
95
|
-
|
|
96
|
-
const managed = base ?? {};
|
|
97
|
-
const child = local ?? {};
|
|
96
|
+
function unionRecord(managed, child) {
|
|
98
97
|
const keys = /* @__PURE__ */ new Set([...Object.keys(managed), ...Object.keys(child)]);
|
|
99
98
|
const result = {};
|
|
100
99
|
for (const key of [...keys].sort(byCodeUnit)) {
|
|
101
100
|
const merged = unionSort(managed[key] ?? [], child[key]);
|
|
102
101
|
if (merged.length > 0) result[key] = merged;
|
|
103
102
|
}
|
|
104
|
-
return
|
|
105
|
-
|
|
106
|
-
|
|
107
|
-
|
|
108
|
-
|
|
103
|
+
return result;
|
|
104
|
+
}
|
|
105
|
+
/**
|
|
106
|
+
* Per-axis union of a record of string arrays; drops empty axes. Quiet.
|
|
107
|
+
*
|
|
108
|
+
* @internal
|
|
109
|
+
*/
|
|
110
|
+
const arrayRecordUnion = (base, local) => ({
|
|
111
|
+
merged: unionRecord(base ?? {}, local ?? {}),
|
|
112
|
+
divergences: []
|
|
113
|
+
});
|
|
109
114
|
/**
|
|
110
115
|
* A settings section with list and scalar keys (`audit`, `update`): a key whose
|
|
111
116
|
* managed or local value is a string list is unioned like `arrayUnion`, so a
|
|
@@ -133,7 +138,7 @@ const sectionMerge = (base, local) => {
|
|
|
133
138
|
};
|
|
134
139
|
};
|
|
135
140
|
|
|
136
|
-
// ../../node_modules/.pnpm/rolldown-pnpm-config@3.
|
|
141
|
+
// ../../node_modules/.pnpm/rolldown-pnpm-config@3.1.0_@effected+markdown-lint@0.3.2_@effected+toml@0.20.0_effect@4_a87c5ab72aa3836e2655add115da0874/node_modules/rolldown-pnpm-config/runtime/strategies/overrides.js
|
|
137
142
|
/**
|
|
138
143
|
* Child wins per key over a managed string map; any differing key is reported
|
|
139
144
|
* as an override divergence under `<prefix>.<key>`.
|
|
@@ -193,7 +198,7 @@ const peerDependencyRules = (base, local) => {
|
|
|
193
198
|
};
|
|
194
199
|
};
|
|
195
200
|
|
|
196
|
-
// ../../node_modules/.pnpm/rolldown-pnpm-config@3.
|
|
201
|
+
// ../../node_modules/.pnpm/rolldown-pnpm-config@3.1.0_@effected+markdown-lint@0.3.2_@effected+toml@0.20.0_effect@4_a87c5ab72aa3836e2655add115da0874/node_modules/rolldown-pnpm-config/runtime/strategies/single-version.js
|
|
197
202
|
/** One comparator (`^`, `~`, `>=`, `=` or none) on one full version, prerelease allowed. */
|
|
198
203
|
const SINGLE_VERSION_RE = /^(?:\^|~|>=|=)?(\d+\.\d+\.\d+(?:-[0-9A-Za-z-]+(?:\.[0-9A-Za-z-]+)*)?)$/;
|
|
199
204
|
/**
|
|
@@ -207,7 +212,7 @@ function singleVersionOf(range) {
|
|
|
207
212
|
return SINGLE_VERSION_RE.exec(range.trim())?.[1] ?? null;
|
|
208
213
|
}
|
|
209
214
|
|
|
210
|
-
// ../../node_modules/.pnpm/rolldown-pnpm-config@3.
|
|
215
|
+
// ../../node_modules/.pnpm/rolldown-pnpm-config@3.1.0_@effected+markdown-lint@0.3.2_@effected+toml@0.20.0_effect@4_a87c5ab72aa3836e2655add115da0874/node_modules/rolldown-pnpm-config/runtime/strategies/catalogs.js
|
|
211
216
|
/**
|
|
212
217
|
* Merge each named catalog; child wins per package. Emits override divergences
|
|
213
218
|
* when a local version differs from the managed one.
|
|
@@ -268,7 +273,7 @@ const catalogs = (base, local, _ctx, options) => {
|
|
|
268
273
|
};
|
|
269
274
|
};
|
|
270
275
|
|
|
271
|
-
// ../../node_modules/.pnpm/rolldown-pnpm-config@3.
|
|
276
|
+
// ../../node_modules/.pnpm/rolldown-pnpm-config@3.1.0_@effected+markdown-lint@0.3.2_@effected+toml@0.20.0_effect@4_a87c5ab72aa3836e2655add115da0874/node_modules/rolldown-pnpm-config/runtime/strategies/maps.js
|
|
272
277
|
/**
|
|
273
278
|
* `{...managed, ...child}` — child wins per key. Quiet. Merges two maps,
|
|
274
279
|
* preferring child values.
|
|
@@ -312,7 +317,7 @@ const allowBuilds = (base, local) => {
|
|
|
312
317
|
};
|
|
313
318
|
};
|
|
314
319
|
|
|
315
|
-
// ../../node_modules/.pnpm/rolldown-pnpm-config@3.
|
|
320
|
+
// ../../node_modules/.pnpm/rolldown-pnpm-config@3.1.0_@effected+markdown-lint@0.3.2_@effected+toml@0.20.0_effect@4_a87c5ab72aa3836e2655add115da0874/node_modules/rolldown-pnpm-config/runtime/strategies/scalar.js
|
|
316
321
|
/**
|
|
317
322
|
* `child ?? base` — quiet (no divergences). Prefer local, fall back to managed.
|
|
318
323
|
*
|
|
@@ -367,7 +372,7 @@ const securityMin = (base, local) => {
|
|
|
367
372
|
};
|
|
368
373
|
};
|
|
369
374
|
|
|
370
|
-
// ../../node_modules/.pnpm/rolldown-pnpm-config@3.
|
|
375
|
+
// ../../node_modules/.pnpm/rolldown-pnpm-config@3.1.0_@effected+markdown-lint@0.3.2_@effected+toml@0.20.0_effect@4_a87c5ab72aa3836e2655add115da0874/node_modules/rolldown-pnpm-config/runtime/strategies/table.js
|
|
371
376
|
/**
|
|
372
377
|
* Built-in strategies keyed by manifest name.
|
|
373
378
|
*
|
|
@@ -387,7 +392,7 @@ const STRATEGY_TABLE = {
|
|
|
387
392
|
allowBuilds
|
|
388
393
|
};
|
|
389
394
|
|
|
390
|
-
// ../../node_modules/.pnpm/rolldown-pnpm-config@3.
|
|
395
|
+
// ../../node_modules/.pnpm/rolldown-pnpm-config@3.1.0_@effected+markdown-lint@0.3.2_@effected+toml@0.20.0_effect@4_a87c5ab72aa3836e2655add115da0874/node_modules/rolldown-pnpm-config/runtime/warnings.js
|
|
391
396
|
const WARNING_BOX_WIDTH = 75;
|
|
392
397
|
function pad(line) {
|
|
393
398
|
return `│${line}${" ".repeat(Math.max(0, WARNING_BOX_WIDTH - line.length - 2))}│`;
|
|
@@ -446,7 +451,7 @@ function formatSecurityWarning(divergences, name) {
|
|
|
446
451
|
return lines.join("\n");
|
|
447
452
|
}
|
|
448
453
|
|
|
449
|
-
// ../../node_modules/.pnpm/rolldown-pnpm-config@3.
|
|
454
|
+
// ../../node_modules/.pnpm/rolldown-pnpm-config@3.1.0_@effected+markdown-lint@0.3.2_@effected+toml@0.20.0_effect@4_a87c5ab72aa3836e2655add115da0874/node_modules/rolldown-pnpm-config/runtime.js
|
|
450
455
|
/**
|
|
451
456
|
* Build the pnpm hooks from frozen base data + a field→strategy manifest.
|
|
452
457
|
* Zero dependencies — bundled verbatim into the shipped pnpmfile.
|
|
@@ -503,22 +508,22 @@ const hooks$1 = createHooks({
|
|
|
503
508
|
"vitest": "^5.1.2"
|
|
504
509
|
},
|
|
505
510
|
"vitest-agent": {
|
|
506
|
-
"@vitest-agent/cli": "^4.1.
|
|
507
|
-
"@vitest-agent/engine": "^3.
|
|
508
|
-
"@vitest-agent/mcp": "^6.
|
|
509
|
-
"@vitest-agent/plugin": "^6.2.
|
|
510
|
-
"@vitest-agent/reporter": "^6.2.
|
|
511
|
-
"@vitest-agent/sdk": "^9.
|
|
512
|
-
"@vitest-agent/sidecar": "^2.2.
|
|
513
|
-
"@vitest-agent/ui": "^6.1.
|
|
511
|
+
"@vitest-agent/cli": "^4.1.24",
|
|
512
|
+
"@vitest-agent/engine": "^3.5.0",
|
|
513
|
+
"@vitest-agent/mcp": "^6.4.0",
|
|
514
|
+
"@vitest-agent/plugin": "^6.2.4",
|
|
515
|
+
"@vitest-agent/reporter": "^6.2.3",
|
|
516
|
+
"@vitest-agent/sdk": "^9.3.0",
|
|
517
|
+
"@vitest-agent/sidecar": "^2.2.26",
|
|
518
|
+
"@vitest-agent/ui": "^6.1.3"
|
|
514
519
|
},
|
|
515
520
|
"vitest-agent:peers": {
|
|
516
521
|
"@vitest-agent/cli": "^4.1.0",
|
|
517
|
-
"@vitest-agent/engine": "^3.
|
|
518
|
-
"@vitest-agent/mcp": "^6.
|
|
522
|
+
"@vitest-agent/engine": "^3.5.0",
|
|
523
|
+
"@vitest-agent/mcp": "^6.4.0",
|
|
519
524
|
"@vitest-agent/plugin": "^6.2.0",
|
|
520
525
|
"@vitest-agent/reporter": "^6.2.0",
|
|
521
|
-
"@vitest-agent/sdk": "^9.
|
|
526
|
+
"@vitest-agent/sdk": "^9.3.0",
|
|
522
527
|
"@vitest-agent/sidecar": "^2.2.0",
|
|
523
528
|
"@vitest-agent/ui": "^6.1.0"
|
|
524
529
|
},
|