@vzn/vx 0.0.124 → 0.0.125

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.124",
3
+ "version": "0.0.125",
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.124",
21
- "@vzn/vx-linux-arm64": "0.0.124",
22
- "@vzn/vx-darwin-x64": "0.0.124",
23
- "@vzn/vx-darwin-arm64": "0.0.124"
20
+ "@vzn/vx-linux-x64": "0.0.125",
21
+ "@vzn/vx-linux-arm64": "0.0.125",
22
+ "@vzn/vx-darwin-x64": "0.0.125",
23
+ "@vzn/vx-darwin-arm64": "0.0.125"
24
24
  },
25
25
  "dependencies": {
26
26
  "@anthropic-ai/sandbox-runtime": "^0.0.76"
@@ -142,9 +142,11 @@ const MAX_CLOSURE_FILES = 32
142
142
  // defeat it. `random` is denied as a word, not as `Math.random`: a
143
143
  // destructured `const { random } = Math` was cached as pure (item 1036).
144
144
  // `prompt`, `confirm` and `alert` read the user's terminal, and a cached
145
- // evaluation replayed the first answer (D-25).
145
+ // evaluation replayed the first answer (D-25). A CommonJS config reaches
146
+ // `require` without naming it as `arguments[1]`, and one reading a file
147
+ // outside its closure so replayed the old bytes (D-36).
146
148
  const IMPURE_RE =
147
- /\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)\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)\b|import\s*\.\s*meta|\bimport\s*\(/
148
150
 
149
151
  /** Literal text that names a way to `Function` when used as a computed key. */
150
152
  const IMPURE_LITERAL_RE = /constructor|__proto__|prototype/