@scelar/nodepod 1.0.5 → 1.0.7

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.
@@ -1,7 +1,7 @@
1
1
  var __defProp = Object.defineProperty;
2
2
  var __defNormalProp = (obj, key, value) => key in obj ? __defProp(obj, key, { enumerable: true, configurable: true, writable: true, value }) : obj[key] = value;
3
3
  var __publicField = (obj, key, value) => __defNormalProp(obj, typeof key !== "symbol" ? key + "" : key, value);
4
- import { n as normalize, b as basename, d as dirname, L as LS_BLOCK_SIZE, Y as YES_REPEAT_COUNT, e as extname, N as NPM_REGISTRY_URL_SLASH, V as VERSIONS, r as resolve, a as relative, c as createHash, D as DEFAULT_ENV, E as EventEmitter, M as MOCK_PID, W as Writable, R as Readable, S as ScriptEngine, f as format, g as getAllServers, h as ref, u as unref, i as addDrainListener, T as TIMEOUTS, j as closeAllServers, k as resetRefCount, B as Buffer2, l as getActiveContext, m as getRefCount, o as resetActiveInterfaceCount, __tla as __tla_0 } from "./index-D8Hn2kWU.js";
4
+ import { n as normalize, b as basename, d as dirname, L as LS_BLOCK_SIZE, Y as YES_REPEAT_COUNT, e as extname, N as NPM_REGISTRY_URL_SLASH, V as VERSIONS, r as resolve, a as relative, c as createHash, D as DEFAULT_ENV, E as EventEmitter, M as MOCK_PID, W as Writable, R as Readable, S as ScriptEngine, f as format, g as getAllServers, h as ref, u as unref, i as addDrainListener, T as TIMEOUTS, j as closeAllServers, k as resetRefCount, l as resetActiveInterfaceCount, B as Buffer2, m as getActiveContext, o as getRefCount, __tla as __tla_0 } from "./index-DZpqX03n.js";
5
5
  let ShellProcess, clearStreamingCallbacks, child_process, exec, execFile, execFileSync, execSync, executeNodeBinary, fork, getShellCwd, handleIPCFromParent, initShellExec, isStdinRaw, sendStdin, setForkChildCallback, setIPCReceiveHandler, setIPCSend, setShellCwd, setSpawnChildCallback, setStreamingCallbacks, setSyncChannel, shellExec, spawn, spawnSync;
6
6
  let __tla = Promise.all([
7
7
  (() => {
@@ -6757,7 +6757,7 @@ ${A_DIM}Done in ${elapsed}s${A_RESET}`;
6757
6757
  }
6758
6758
  }
6759
6759
  async function installPackages(args, ctx, pm = "npm") {
6760
- const { DependencyInstaller } = await import("./index-D8Hn2kWU.js").then(async (m) => {
6760
+ const { DependencyInstaller } = await import("./index-DZpqX03n.js").then(async (m) => {
6761
6761
  await m.__tla;
6762
6762
  return m;
6763
6763
  }).then((n) => n.af);
@@ -6866,7 +6866,7 @@ ${A_DIM}Done in ${elapsed}s${A_RESET}`;
6866
6866
  };
6867
6867
  }
6868
6868
  async function listPackages(ctx, pm = "npm") {
6869
- const { DependencyInstaller } = await import("./index-D8Hn2kWU.js").then(async (m) => {
6869
+ const { DependencyInstaller } = await import("./index-DZpqX03n.js").then(async (m) => {
6870
6870
  await m.__tla;
6871
6871
  return m;
6872
6872
  }).then((n) => n.af);
@@ -7025,7 +7025,7 @@ ${JSON.stringify(pkg, null, 2)}
7025
7025
  }
7026
7026
  }
7027
7027
  try {
7028
- const { RegistryClient } = await import("./index-D8Hn2kWU.js").then(async (m) => {
7028
+ const { RegistryClient } = await import("./index-DZpqX03n.js").then(async (m) => {
7029
7029
  await m.__tla;
7030
7030
  return m;
7031
7031
  }).then((n) => n.au);
@@ -7970,6 +7970,7 @@ ${stdout}`);
7970
7970
  child.emit("error", new Error("[Nodepod] spawn requires shell or worker mode."));
7971
7971
  }, 0);
7972
7972
  }
7973
+ queueMicrotask(() => child.emit("spawn"));
7973
7974
  return child;
7974
7975
  };
7975
7976
  spawnSync = function(cmd, args, opts) {