tova 0.11.11 → 0.11.20

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": "tova",
3
- "version": "0.11.11",
3
+ "version": "0.11.20",
4
4
  "description": "Tova — a modern programming language that transpiles to JavaScript, unifying frontend and backend",
5
5
  "type": "module",
6
6
  "main": "src/index.js",
package/src/cli/doctor.js CHANGED
@@ -28,12 +28,12 @@ export async function doctorCommand() {
28
28
 
29
29
  // 2. Bun availability
30
30
  try {
31
- const bunProc = _compatSpawnSync('bun', ['--version'], { stdout: 'pipe', stderr: 'pipe' });
31
+ const bunProc = _compatSpawnSync('bun', ['--version'], { stdout: 'pipe', stderr: 'pipe', timeout: 10000 });
32
32
  const bunVer = (bunProc.stdout || '').toString().trim();
33
33
  if ((bunProc.exitCode ?? bunProc.status) === 0 && bunVer) {
34
34
  const major = parseInt(bunVer.split('.')[0], 10);
35
35
  if (major >= 1) {
36
- const whichProc = _compatSpawnSync('which', ['bun'], { stdout: 'pipe', stderr: 'pipe' });
36
+ const whichProc = _compatSpawnSync('which', ['bun'], { stdout: 'pipe', stderr: 'pipe', timeout: 5000 });
37
37
  pass(`Bun v${bunVer}`, (whichProc.stdout || '').toString().trim());
38
38
  } else {
39
39
  warn(`Bun v${bunVer}`, 'Bun >= 1.0 recommended');
@@ -82,7 +82,7 @@ export async function doctorCommand() {
82
82
 
83
83
  // 5. git
84
84
  try {
85
- const gitProc = _compatSpawnSync('git', ['--version'], { stdout: 'pipe', stderr: 'pipe' });
85
+ const gitProc = _compatSpawnSync('git', ['--version'], { stdout: 'pipe', stderr: 'pipe', timeout: 10000 });
86
86
  if ((gitProc.exitCode ?? gitProc.status) === 0) {
87
87
  const gitVer = (gitProc.stdout || '').toString().trim();
88
88
  pass('git available', gitVer);
package/src/version.js CHANGED
@@ -1,2 +1,2 @@
1
1
  // Auto-generated by scripts/embed-runtime.js — do not edit
2
- export const VERSION = "0.11.11";
2
+ export const VERSION = "0.11.20";