@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.
- package/README.md +3 -3
- package/dist/kernel-worker.js +57 -8
- 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 +57 -8
- 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 +13 -0
- package/package.json +4 -4
package/dist/types/fs/watch.d.ts
CHANGED
|
@@ -8,6 +8,7 @@ export type WatchEventType = 'rename' | 'change';
|
|
|
8
8
|
export type WatchNote = {
|
|
9
9
|
type: WatchEventType;
|
|
10
10
|
filename: string;
|
|
11
|
+
moved?: true;
|
|
11
12
|
} | {
|
|
12
13
|
overflow: true;
|
|
13
14
|
} | {
|
|
@@ -17,6 +18,15 @@ export interface TypedWatch {
|
|
|
17
18
|
next(signal: AbortSignal): Promise<WatchNote[]>;
|
|
18
19
|
close(): void;
|
|
19
20
|
}
|
|
21
|
+
interface Typed {
|
|
22
|
+
roots: string[];
|
|
23
|
+
names: Map<string, string>;
|
|
24
|
+
recursive: boolean;
|
|
25
|
+
notes: WatchNote[];
|
|
26
|
+
overflowed: boolean;
|
|
27
|
+
ended: boolean;
|
|
28
|
+
wake: (() => void) | undefined;
|
|
29
|
+
}
|
|
20
30
|
export declare const WATCH_NOTES_LIMIT = 1000;
|
|
21
31
|
export interface WatchOptions {
|
|
22
32
|
recursive?: boolean;
|
|
@@ -35,8 +45,11 @@ export declare class FsWatchers {
|
|
|
35
45
|
typedWatch(root: string, recursive: boolean, alias?: string): TypedWatch;
|
|
36
46
|
private covers;
|
|
37
47
|
private emit;
|
|
48
|
+
moved(from: string, to: string): Set<Typed>;
|
|
49
|
+
private renamed;
|
|
38
50
|
changed(...paths: string[]): void;
|
|
39
51
|
private report;
|
|
40
52
|
private flush;
|
|
41
53
|
wrap(fs: KernelFs): KernelFs;
|
|
42
54
|
}
|
|
55
|
+
export {};
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@ai-ecoverse/slicc-kernel",
|
|
3
|
-
"version": "1.143.
|
|
3
|
+
"version": "1.143.3",
|
|
4
4
|
"description": "SLICC's wasm-realm kernel: run Emscripten programs in the browser against OPFS, with fork, spawn, pipes and waitpid",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"license": "Apache-2.0",
|
|
@@ -66,8 +66,8 @@
|
|
|
66
66
|
"@ai-ecoverse/py-numpy": "2.5.4-3",
|
|
67
67
|
"@ai-ecoverse/slicc-node": "2.5.2",
|
|
68
68
|
"@ai-ecoverse/slicc-scrub": "1.0.0",
|
|
69
|
-
"@ai-ecoverse/slicc-shared-web": "1.29.
|
|
70
|
-
"@ai-ecoverse/wasi-cargo": "0.99.0-
|
|
69
|
+
"@ai-ecoverse/slicc-shared-web": "1.29.16",
|
|
70
|
+
"@ai-ecoverse/wasi-cargo": "0.99.0-6",
|
|
71
71
|
"@ai-ecoverse/wasi-pnpm": "12.9.1-20",
|
|
72
72
|
"@ai-ecoverse/wasi-ripgrep": "15.2.0-5",
|
|
73
73
|
"@ai-ecoverse/wasi-rustc": "1.98.1-9",
|
|
@@ -81,7 +81,7 @@
|
|
|
81
81
|
"@ai-ecoverse/wasm-procps": "4.0.7-4",
|
|
82
82
|
"@ai-ecoverse/wasm-sqlite3": "3.54.0-6",
|
|
83
83
|
"@ai-ecoverse/wasm-tar": "1.35.0-8",
|
|
84
|
-
"@ai-ecoverse/wasm-tls-engine": "4.2.0-
|
|
84
|
+
"@ai-ecoverse/wasm-tls-engine": "4.2.0-7",
|
|
85
85
|
"@ai-ecoverse/wasm-tree": "2.3.2-6",
|
|
86
86
|
"@ai-ecoverse/wasm-util-linux": "2.42.4-5",
|
|
87
87
|
"@biomejs/biome": "2.5.15",
|