@vzn/vx 0.0.200 → 0.0.202

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.200",
3
+ "version": "0.0.202",
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.200",
21
- "@vzn/vx-linux-arm64": "0.0.200",
22
- "@vzn/vx-darwin-x64": "0.0.200",
23
- "@vzn/vx-darwin-arm64": "0.0.200"
20
+ "@vzn/vx-linux-x64": "0.0.202",
21
+ "@vzn/vx-linux-arm64": "0.0.202",
22
+ "@vzn/vx-darwin-x64": "0.0.202",
23
+ "@vzn/vx-darwin-arm64": "0.0.202"
24
24
  },
25
25
  "dependencies": {
26
26
  "@anthropic-ai/sandbox-runtime": "^0.0.76"
@@ -103,8 +103,7 @@ export function scopedMandatoryDenies(
103
103
  gitConfig = false,
104
104
  ): string[] {
105
105
  const roots = new Set<string>()
106
- for (const raw of writePaths) {
107
- const w = raw.replace(/\/+$/, '') || '/'
106
+ for (const w of writePaths) {
108
107
  if (atOrUnder(cwd, w)) roots.add(cwd)
109
108
  else if (atOrUnder(w, cwd)) roots.add(w)
110
109
  }
@@ -138,7 +137,7 @@ export function scopedMandatoryDenies(
138
137
  }
139
138
  if (dir) {
140
139
  if (depth < SEARCH_DEPTH) visit(root, rel, depth)
141
- } else if (depth > 0 && isHit(rel, gitConfig)) {
140
+ } else if (isHit(rel, gitConfig)) {
142
141
  const d = denyOf(cwd, rel)
143
142
  if (d !== undefined) denies.add(d)
144
143
  }