adhdev 0.8.17 → 0.8.18
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/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((resolve13) => setTimeout(resolve13, 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];
|
|
@@ -46329,7 +46334,7 @@ var init_adhdev_daemon = __esm({
|
|
|
46329
46334
|
import_ws3 = require("ws");
|
|
46330
46335
|
import_chalk2 = __toESM(require("chalk"));
|
|
46331
46336
|
init_version();
|
|
46332
|
-
pkgVersion = resolvePackageVersion({ injectedVersion: "0.8.
|
|
46337
|
+
pkgVersion = resolvePackageVersion({ injectedVersion: "0.8.18" });
|
|
46333
46338
|
DANGEROUS_PATTERNS = [
|
|
46334
46339
|
/\brm\s+(-[a-z]*f|-[a-z]*r|--force|--recursive)/i,
|
|
46335
46340
|
/\bsudo\b/i,
|