@ai-ecoverse/slicc-kernel 1.143.1 → 1.143.3

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.
@@ -6725,7 +6725,7 @@ var KERNEL_VERSION, OS_RELEASE;
6725
6725
  var init_version = __esm({
6726
6726
  "src/version.ts"() {
6727
6727
  "use strict";
6728
- KERNEL_VERSION = true ? "1.143.1" : "0.0.0-dev";
6728
+ KERNEL_VERSION = true ? "1.143.3" : "0.0.0-dev";
6729
6729
  OS_RELEASE = "6.0.0-slicc";
6730
6730
  }
6731
6731
  });
@@ -7748,7 +7748,9 @@ function netOps(kernel, io) {
7748
7748
  const req = { op: "sock-resolve", name: String(name3), family };
7749
7749
  const r = await kernel.blocking(req, signal).catch((err) => {
7750
7750
  signal.throwIfAborted();
7751
- if (err.code !== "ENOENT") throw err;
7751
+ const code2 = err.code;
7752
+ if (code2 === "ETIMEDOUT") throw new JsCallError("EAI_AGAIN", `resolve ${name3}`);
7753
+ if (code2 !== "ENOENT") throw err;
7752
7754
  throw new JsCallError("ENOTFOUND", `resolve ${name3}`);
7753
7755
  });
7754
7756
  return [...r.ok && r.kind === "json" ? r.json : []];