@basthon/kernel-base 0.60.3 → 0.60.5
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/lib/kernel.d.ts +8 -2
- package/lib/kernel.js +6 -0
- package/lib/version.d.ts +1 -1
- package/lib/version.js +1 -1
- package/package.json +2 -2
package/lib/kernel.d.ts
CHANGED
|
@@ -44,8 +44,14 @@ export declare class KernelBase {
|
|
|
44
44
|
putFile(filename: string, content: ArrayBuffer): Promise<void>;
|
|
45
45
|
putModule(filename: string, content: ArrayBuffer): Promise<void>;
|
|
46
46
|
userModules(): string[];
|
|
47
|
-
|
|
48
|
-
|
|
47
|
+
/**
|
|
48
|
+
* Get a file content from the VFS.
|
|
49
|
+
*/
|
|
50
|
+
getFile(path: string): Uint8Array;
|
|
51
|
+
/**
|
|
52
|
+
* Get a user module file content.
|
|
53
|
+
*/
|
|
54
|
+
getUserModuleFile(filename: string): Uint8Array;
|
|
49
55
|
more(source: string): boolean;
|
|
50
56
|
complete(code: string): [string[], number] | [];
|
|
51
57
|
banner(): string;
|
package/lib/kernel.js
CHANGED
|
@@ -89,9 +89,15 @@ export class KernelBase {
|
|
|
89
89
|
userModules() {
|
|
90
90
|
return [];
|
|
91
91
|
}
|
|
92
|
+
/**
|
|
93
|
+
* Get a file content from the VFS.
|
|
94
|
+
*/
|
|
92
95
|
getFile(path) {
|
|
93
96
|
throw new NotImplementedError("getFile");
|
|
94
97
|
}
|
|
98
|
+
/**
|
|
99
|
+
* Get a user module file content.
|
|
100
|
+
*/
|
|
95
101
|
getUserModuleFile(filename) {
|
|
96
102
|
throw new NotImplementedError("getUserModuleFile");
|
|
97
103
|
}
|
package/lib/version.d.ts
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
export declare const VERSION = "0.60.
|
|
1
|
+
export declare const VERSION = "0.60.5";
|
package/lib/version.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
export const VERSION = "0.60.
|
|
1
|
+
export const VERSION = "0.60.5";
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@basthon/kernel-base",
|
|
3
|
-
"version": "0.60.
|
|
3
|
+
"version": "0.60.5",
|
|
4
4
|
"description": "Basthon - Base Kernel",
|
|
5
5
|
"homepage": "https://basthon.fr",
|
|
6
6
|
"bugs": {
|
|
@@ -36,5 +36,5 @@
|
|
|
36
36
|
"publishConfig": {
|
|
37
37
|
"access": "public"
|
|
38
38
|
},
|
|
39
|
-
"gitHead": "
|
|
39
|
+
"gitHead": "5c170ef0b569ee58d29d70dafd7cf091f314e743"
|
|
40
40
|
}
|