@basthon/kernel-base 0.38.7 → 0.40.0

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 CHANGED
@@ -109,7 +109,13 @@ export class KernelBase {
109
109
  * Initialize the kernel.
110
110
  */
111
111
  async init() {
112
- await this.launch();
112
+ try {
113
+ await this.launch();
114
+ }
115
+ catch (error) {
116
+ this._loaded.reject(error);
117
+ return;
118
+ }
113
119
  // connecting eval to basthon.eval.request event.
114
120
  this.addEventListener("eval.request", this.evalFromEvent.bind(this));
115
121
  this._ready = true;
package/lib/version.d.ts CHANGED
@@ -1 +1 @@
1
- export declare const VERSION = "0.38.7";
1
+ export declare const VERSION = "0.40.0";
package/lib/version.js CHANGED
@@ -1 +1 @@
1
- export const VERSION = "0.38.7";
1
+ export const VERSION = "0.40.0";
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@basthon/kernel-base",
3
- "version": "0.38.7",
3
+ "version": "0.40.0",
4
4
  "description": "Basthon - Base Kernel",
5
5
  "homepage": "https://basthon.fr",
6
6
  "bugs": {
@@ -21,7 +21,7 @@
21
21
  "lib"
22
22
  ],
23
23
  "scripts": {
24
- "build": "npx gulp all",
24
+ "build": "gulp all",
25
25
  "clean": "rm -rf lib/"
26
26
  },
27
27
  "dependencies": {
@@ -36,5 +36,5 @@
36
36
  "publishConfig": {
37
37
  "access": "public"
38
38
  },
39
- "gitHead": "a955a6afcb14fa59318283f2b3970c3269f5b6c7"
39
+ "gitHead": "036accd698d84175e2cb603c8f5a2574369669d2"
40
40
  }