@ai-ecoverse/slicc-kernel 1.143.2 → 1.143.4
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/README.md +6 -5
- package/dist/kernel-worker.js +39 -23
- package/dist/kernel-worker.js.map +3 -3
- package/dist/node-process-worker.js +4 -2
- package/dist/node-process-worker.js.map +2 -2
- package/dist/node.js +80 -46
- package/dist/node.js.map +3 -3
- package/dist/process-worker.js +4 -2
- package/dist/process-worker.js.map +2 -2
- package/dist/types/fs/watch.d.ts +5 -1
- package/dist/types/node.d.ts +7 -1
- package/package.json +4 -4
|
@@ -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.
|
|
6728
|
+
KERNEL_VERSION = true ? "1.143.4" : "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
|
-
|
|
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 : []];
|