@ai-ecoverse/slicc-kernel 1.147.0 → 1.147.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.
- package/README.md +1 -1
- package/dist/kernel-worker.js +4 -2
- package/dist/kernel-worker.js.map +2 -2
- package/dist/node-process-worker.js +26 -8
- package/dist/node-process-worker.js.map +3 -3
- package/dist/node.js +4 -2
- package/dist/node.js.map +2 -2
- package/dist/process-worker.js +26 -8
- package/dist/process-worker.js.map +3 -3
- package/dist/types/fs/watch.d.ts +1 -0
- package/dist/types/process/wasi/wasix-linker.d.ts +1 -0
- package/package.json +2 -2
package/dist/node.js
CHANGED
|
@@ -3305,7 +3305,7 @@ function satisfies(version, range2) {
|
|
|
3305
3305
|
}
|
|
3306
3306
|
|
|
3307
3307
|
// src/version.ts
|
|
3308
|
-
var KERNEL_VERSION = true ? "1.147.
|
|
3308
|
+
var KERNEL_VERSION = true ? "1.147.3" : "0.0.0-dev";
|
|
3309
3309
|
var OS_RELEASE = "6.0.0-slicc";
|
|
3310
3310
|
function procVersion() {
|
|
3311
3311
|
return `Linux version ${OS_RELEASE} (slicc-kernel ${KERNEL_VERSION}) #1 SMP PREEMPT_DYNAMIC
|
|
@@ -6933,6 +6933,7 @@ var FsWatchers = class {
|
|
|
6933
6933
|
};
|
|
6934
6934
|
return {
|
|
6935
6935
|
close,
|
|
6936
|
+
root: () => watch.roots[0],
|
|
6936
6937
|
next: async (signal) => {
|
|
6937
6938
|
while (watch.notes.length === 0 && !watch.ended && !signal.aborted) {
|
|
6938
6939
|
await new Promise((resolve2) => {
|
|
@@ -19038,7 +19039,8 @@ function visibleTo(watch, root, visible) {
|
|
|
19038
19039
|
const shown = await Promise.all(
|
|
19039
19040
|
notes.map(async (note) => {
|
|
19040
19041
|
if (!("filename" in note) || !note.filename.includes("/")) return true;
|
|
19041
|
-
const
|
|
19042
|
+
const at = watch.root?.() ?? root;
|
|
19043
|
+
const dir = parentOf6(`${at === "/" ? "" : at}/${note.filename}`);
|
|
19042
19044
|
if (!seen.has(dir)) seen.set(dir, visible(dir));
|
|
19043
19045
|
return seen.get(dir);
|
|
19044
19046
|
})
|