@ai-ecoverse/slicc-kernel 1.26.0 → 1.26.1
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 +2 -2
- package/dist/kernel-worker.js +18 -4
- package/dist/kernel-worker.js.map +2 -2
- package/dist/node-process-worker.js +2 -1
- package/dist/node-process-worker.js.map +2 -2
- package/dist/node.js +18 -4
- package/dist/node.js.map +2 -2
- package/dist/process-worker.js +2 -1
- package/dist/process-worker.js.map +2 -2
- package/package.json +2 -2
package/dist/process-worker.js
CHANGED
|
@@ -5154,7 +5154,8 @@ var init_wasi_host = __esm({
|
|
|
5154
5154
|
try {
|
|
5155
5155
|
return this.o.kernel.sys.write(fd, data, { nonblock: e.nonblock });
|
|
5156
5156
|
} catch (err) {
|
|
5157
|
-
|
|
5157
|
+
const broken = err.code === "EPIPE";
|
|
5158
|
+
if (broken && this.fds.kind(fd, e) !== "socket") throw new WasiExit(SIGPIPE_EXIT);
|
|
5158
5159
|
throw err;
|
|
5159
5160
|
}
|
|
5160
5161
|
}
|