@basthon/kernel-echo 0.72.6 → 0.72.8
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.js +5 -2
- package/package.json +3 -3
package/lib/kernel.js
CHANGED
|
@@ -13,7 +13,7 @@ export class EchoKernel extends KernelBase {
|
|
|
13
13
|
return [];
|
|
14
14
|
}
|
|
15
15
|
ps1() {
|
|
16
|
-
return "
|
|
16
|
+
return "echo> ";
|
|
17
17
|
}
|
|
18
18
|
ps2() {
|
|
19
19
|
return "...> ";
|
|
@@ -22,6 +22,9 @@ export class EchoKernel extends KernelBase {
|
|
|
22
22
|
return false;
|
|
23
23
|
}
|
|
24
24
|
async evalAsync(code, outCallback, errCallback, data = null) {
|
|
25
|
-
|
|
25
|
+
data.interactive = true;
|
|
26
|
+
this._execution_count++;
|
|
27
|
+
outCallback(code + "\n");
|
|
28
|
+
return [undefined, this._execution_count];
|
|
26
29
|
}
|
|
27
30
|
}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@basthon/kernel-echo",
|
|
3
|
-
"version": "0.72.
|
|
3
|
+
"version": "0.72.8",
|
|
4
4
|
"description": "Basthon - Echo Kernel",
|
|
5
5
|
"homepage": "https://basthon.fr",
|
|
6
6
|
"bugs": {
|
|
@@ -25,7 +25,7 @@
|
|
|
25
25
|
"clean": "rimraf lib/"
|
|
26
26
|
},
|
|
27
27
|
"dependencies": {
|
|
28
|
-
"@basthon/kernel-base": "0.72.
|
|
28
|
+
"@basthon/kernel-base": "0.72.8"
|
|
29
29
|
},
|
|
30
30
|
"devDependencies": {
|
|
31
31
|
"rimraf": "^6.0.1",
|
|
@@ -34,5 +34,5 @@
|
|
|
34
34
|
"publishConfig": {
|
|
35
35
|
"access": "public"
|
|
36
36
|
},
|
|
37
|
-
"gitHead": "
|
|
37
|
+
"gitHead": "042091b898ac69843dd84c41ff2f15d9e3c8b8a4"
|
|
38
38
|
}
|