@vzn/vx 0.0.172 → 0.0.174
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.
|
|
3
|
+
"version": "0.0.174",
|
|
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.
|
|
21
|
-
"@vzn/vx-linux-arm64": "0.0.
|
|
22
|
-
"@vzn/vx-darwin-x64": "0.0.
|
|
23
|
-
"@vzn/vx-darwin-arm64": "0.0.
|
|
20
|
+
"@vzn/vx-linux-x64": "0.0.174",
|
|
21
|
+
"@vzn/vx-linux-arm64": "0.0.174",
|
|
22
|
+
"@vzn/vx-darwin-x64": "0.0.174",
|
|
23
|
+
"@vzn/vx-darwin-arm64": "0.0.174"
|
|
24
24
|
},
|
|
25
25
|
"dependencies": {
|
|
26
26
|
"@anthropic-ai/sandbox-runtime": "^0.0.76"
|
|
@@ -146,7 +146,7 @@ const MAX_CLOSURE_FILES = 32
|
|
|
146
146
|
// `require` without naming it as `arguments[1]`, and one reading a file
|
|
147
147
|
// outside its closure so replayed the old bytes (D-36).
|
|
148
148
|
const IMPURE_RE =
|
|
149
|
-
/\b(?:process|Bun|globalThis|global|self|fetch|Date|Temporal|Intl|crypto|performance|navigator|require|eval|Function|constructor|localeCompare|await|toLocale\w*|Reflect|getPrototypeOf|setPrototypeOf|getOwnPropertyNames|getOwnPropertyDescriptor|getOwnPropertyDescriptors|__proto__|prototype|__defineGetter__|__defineSetter__|__lookupGetter__|__lookupSetter__|random|prompt|confirm|alert|arguments)\b|import\s*\.\s*meta|\bimport\s*\(/
|
|
149
|
+
/\b(?:process|Bun|globalThis|global|self|fetch|Date|Temporal|Intl|crypto|performance|navigator|require|eval|Function|constructor|localeCompare|await|toLocale\w*|Reflect|getPrototypeOf|setPrototypeOf|getOwnPropertyNames|getOwnPropertyDescriptor|getOwnPropertyDescriptors|__proto__|prototype|__defineGetter__|__defineSetter__|__lookupGetter__|__lookupSetter__|random|prompt|confirm|alert|arguments|Worker)\b|import\s*\.\s*meta|\bimport\s*\(/
|
|
150
150
|
|
|
151
151
|
/** Literal text that names a way to `Function` when used as a computed key. */
|
|
152
152
|
const IMPURE_LITERAL_RE = /constructor|__proto__|prototype/
|
|
@@ -359,8 +359,9 @@ export function resolveCacheDir(root: string, config: WorkspaceConfig | null): s
|
|
|
359
359
|
export async function loadWorkspace(root: string, reads?: LoadReads): Promise<Workspace> {
|
|
360
360
|
const packageGlobs = await readPackageGlobs(root, reads)
|
|
361
361
|
if (packageGlobs === null) {
|
|
362
|
-
//
|
|
363
|
-
//
|
|
362
|
+
// The CLI never lands here (findWorkspaceRoot returns only a dir that
|
|
363
|
+
// passes one of the two checks); a direct call of this public function
|
|
364
|
+
// on a bare dir does (D-58).
|
|
364
365
|
throw new UserError(`workspace root ${root} has neither pnpm-workspace.yaml nor package.json`)
|
|
365
366
|
}
|
|
366
367
|
return { root, packageGlobs }
|