@vzn/vx 0.0.229 → 0.0.231

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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@vzn/vx",
3
- "version": "0.0.229",
3
+ "version": "0.0.231",
4
4
  "description": "A fast, correct task runner and build cache for JavaScript monorepos.",
5
5
  "type": "module",
6
6
  "exports": {
@@ -17,10 +17,10 @@
17
17
  "node": ">=18"
18
18
  },
19
19
  "optionalDependencies": {
20
- "@vzn/vx-linux-x64": "0.0.229",
21
- "@vzn/vx-linux-arm64": "0.0.229",
22
- "@vzn/vx-darwin-x64": "0.0.229",
23
- "@vzn/vx-darwin-arm64": "0.0.229"
20
+ "@vzn/vx-linux-x64": "0.0.231",
21
+ "@vzn/vx-linux-arm64": "0.0.231",
22
+ "@vzn/vx-darwin-x64": "0.0.231",
23
+ "@vzn/vx-darwin-arm64": "0.0.231"
24
24
  },
25
25
  "dependencies": {
26
26
  "@anthropic-ai/sandbox-runtime": "^0.0.76"
@@ -216,6 +216,13 @@ export async function applyKeyHooks(
216
216
  `plugin '${plugin.name}' failed in key: value for '${name}' on ${node.id} is not a string`,
217
217
  )
218
218
  }
219
+ // The fold joins a part as `name\0value`: a NUL in the name let
220
+ // `{ 'a\0b': 'c' }` and `{ a: 'b\0c' }` fold the same bytes.
221
+ if (name.includes('\0')) {
222
+ throw new UserError(
223
+ `plugin '${plugin.name}' failed in key: a name on ${node.id} holds a NUL, the fold's delimiter`,
224
+ )
225
+ }
219
226
  parts.push([`${plugin.name}/${name}`, value])
220
227
  }
221
228
  }
@@ -32,7 +32,7 @@ export function isUnsupportedBun(version: string): boolean {
32
32
  return patch < reqPatch
33
33
  }
34
34
 
35
- /** The warning a CLI entry prints once, before the verb runs. */
35
+ /** The refusal the gate's `check.bun` prints (`scripts/bun-floor.ts`); `vx info` reports the floor in a row of its own. */
36
36
  export function unsupportedBunMessage(version: string): string {
37
37
  return (
38
38
  `vx needs Bun >= ${MIN_BUN.join('.')} (running ${version}). ` +
@@ -88,7 +88,7 @@ export function isExecutableMissing(err: unknown): boolean {
88
88
 
89
89
  /**
90
90
  * The one refusal for a git that is not on PATH, wherever vx needed it — a
91
- * `--affected` base, the input enumeration, a watch judgement. A minimal
91
+ * `--affected` base, the input enumeration. A minimal
92
92
  * image without git met a stack from `defaultAffectedBase` before
93
93
  * (2026-09-16); the enumeration had this line and the others did not.
94
94
  */