adhdev 0.8.17 → 0.8.19
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/dist/cli/index.js +6 -1
- package/dist/cli/index.js.map +1 -1
- package/dist/index.js +6 -1
- package/dist/index.js.map +1 -1
- package/package.json +1 -1
package/dist/cli/index.js
CHANGED
|
@@ -30351,6 +30351,11 @@ async function runDaemonUpgradeHelper(payload) {
|
|
|
30351
30351
|
if (installOutput.trim()) {
|
|
30352
30352
|
appendUpgradeLog(installOutput.trim());
|
|
30353
30353
|
}
|
|
30354
|
+
if (process.platform === "win32") {
|
|
30355
|
+
await new Promise((resolve14) => setTimeout(resolve14, 500));
|
|
30356
|
+
cleanupStaleGlobalInstallDirs(payload.packageName);
|
|
30357
|
+
appendUpgradeLog("Post-install staging cleanup complete");
|
|
30358
|
+
}
|
|
30354
30359
|
if (restartArgv.length > 0) {
|
|
30355
30360
|
const env = { ...process.env };
|
|
30356
30361
|
delete env[UPGRADE_HELPER_ENV];
|
|
@@ -46511,7 +46516,7 @@ var init_adhdev_daemon = __esm({
|
|
|
46511
46516
|
import_ws3 = require("ws");
|
|
46512
46517
|
import_chalk2 = __toESM(require("chalk"));
|
|
46513
46518
|
init_version();
|
|
46514
|
-
pkgVersion = resolvePackageVersion({ injectedVersion: "0.8.
|
|
46519
|
+
pkgVersion = resolvePackageVersion({ injectedVersion: "0.8.19" });
|
|
46515
46520
|
DANGEROUS_PATTERNS = [
|
|
46516
46521
|
/\brm\s+(-[a-z]*f|-[a-z]*r|--force|--recursive)/i,
|
|
46517
46522
|
/\bsudo\b/i,
|