datagrok-tools 6.4.3 → 6.4.4
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/CHANGELOG.md +4 -0
- package/bin/commands/publish.js +2 -3
- package/package.json +1 -1
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,9 @@
|
|
|
1
1
|
# Datagrok-tools changelog
|
|
2
2
|
|
|
3
|
+
## 6.4.4 (2026-06-22)
|
|
4
|
+
|
|
5
|
+
* `grok publish` — fixed every publish failing with a silent `exit 1` after a successful upload: a stray `fs.unlinkSync('zip')` threw `ENOENT` (the archive is streamed in-memory, no `zip` file is ever written), and the surrounding `catch` only logged under `--verbose`. The errant unlink is removed and publish errors are now always surfaced.
|
|
6
|
+
|
|
3
7
|
## 6.4.3 (2026-06-22)
|
|
4
8
|
|
|
5
9
|
* `grok api` — numeric IVP model inputs are now generated with `nullable: false`, so an emptied input field fails form validation instead of running the solver with a null.
|
package/bin/commands/publish.js
CHANGED
|
@@ -457,7 +457,7 @@ async function processPackage(debug, rebuild, host, devKey, packageName, dropDb,
|
|
|
457
457
|
}
|
|
458
458
|
if (debug) timestamps = checkData;
|
|
459
459
|
} catch (error) {
|
|
460
|
-
|
|
460
|
+
color.error(utils.isConnectivityError(error) ? `Server is possibly offline: ${host}` : `Failed to validate package on ${host}: ${error?.message ?? error}`);
|
|
461
461
|
if (color.isVerbose()) console.error(error);
|
|
462
462
|
return 1;
|
|
463
463
|
}
|
|
@@ -582,7 +582,6 @@ async function processPackage(debug, rebuild, host, devKey, packageName, dropDb,
|
|
|
582
582
|
body: zipBuffer
|
|
583
583
|
});
|
|
584
584
|
const log = JSON.parse(await body.text());
|
|
585
|
-
_fs.default.unlinkSync('zip');
|
|
586
585
|
if (log != undefined) {
|
|
587
586
|
if (log['#type'] === 'ApiError') {
|
|
588
587
|
color.error(log['message']);
|
|
@@ -595,7 +594,7 @@ async function processPackage(debug, rebuild, host, devKey, packageName, dropDb,
|
|
|
595
594
|
}
|
|
596
595
|
}
|
|
597
596
|
} catch (error) {
|
|
598
|
-
|
|
597
|
+
color.error(utils.isConnectivityError(error) ? `Server is possibly offline: ${url}` : `Publish failed: ${error?.message ?? error}`);
|
|
599
598
|
if (color.isVerbose()) console.error(error);
|
|
600
599
|
return 1;
|
|
601
600
|
}
|
package/package.json
CHANGED