vibelet 0.1.28 → 0.1.29
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/bin/vibelet.mjs +5 -1
- package/dist/index.cjs +43 -42
- package/package.json +19 -1
package/bin/vibelet.mjs
CHANGED
|
@@ -120,6 +120,7 @@ function fetchLatestVersionInBackground() {
|
|
|
120
120
|
const child = spawn(process.execPath, ['--input-type=module', '-e', script], {
|
|
121
121
|
detached: true,
|
|
122
122
|
stdio: 'ignore',
|
|
123
|
+
windowsHide: true,
|
|
123
124
|
});
|
|
124
125
|
child.unref();
|
|
125
126
|
}
|
|
@@ -964,4 +965,7 @@ process.on('SIGINT', () => process.exit(0));
|
|
|
964
965
|
process.on('SIGTERM', () => process.exit(0));
|
|
965
966
|
process.on('exit', printOfficialSite);
|
|
966
967
|
await main();
|
|
967
|
-
process.exit(0)
|
|
968
|
+
// On Windows + Node 24, process.exit(0) can trigger a libuv assertion
|
|
969
|
+
// (UV_HANDLE_CLOSING) when detached child handles haven't fully released.
|
|
970
|
+
// Letting the event loop drain naturally avoids this.
|
|
971
|
+
if (process.platform !== 'win32') process.exit(0);
|