@basthon/gui-base 0.50.4 → 0.50.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.
Files changed (2) hide show
  1. package/lib/main.js +2 -1
  2. package/package.json +5 -5
package/lib/main.js CHANGED
@@ -146,9 +146,10 @@ export class GUIBase {
146
146
  * (call submited callback).
147
147
  */
148
148
  async _loadExtensions() {
149
+ var _a, _b;
149
150
  /* get requested extensions from URL */
150
151
  const url = new URL(window.location.href);
151
- const extensions = (url.searchParams.get("extensions") || "").split(',');
152
+ const extensions = (_b = (_a = url.searchParams.get("extensions")) === null || _a === void 0 ? void 0 : _a.split(',')) !== null && _b !== void 0 ? _b : [];
152
153
  // call callbacks for requested extensions
153
154
  const promises = [];
154
155
  for (const ext of extensions) {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@basthon/gui-base",
3
- "version": "0.50.4",
3
+ "version": "0.50.5",
4
4
  "description": "Basthon - Base GUI",
5
5
  "homepage": "https://basthon.fr",
6
6
  "bugs": {
@@ -25,9 +25,9 @@
25
25
  "clean": "rm -rf lib/"
26
26
  },
27
27
  "dependencies": {
28
- "@basthon/checkpoints": "0.50.4",
29
- "@basthon/kernel-base": "0.50.4",
30
- "@basthon/kernel-loader": "0.50.4",
28
+ "@basthon/checkpoints": "0.50.5",
29
+ "@basthon/kernel-base": "0.50.5",
30
+ "@basthon/kernel-loader": "0.50.5",
31
31
  "js-base64": "^3.7.2",
32
32
  "pako": "^2.0.4",
33
33
  "promise-delegate": "^1.0.1"
@@ -41,5 +41,5 @@
41
41
  "publishConfig": {
42
42
  "access": "public"
43
43
  },
44
- "gitHead": "e5551d308c66dbc081600522fe2d68ee8d34884c"
44
+ "gitHead": "4e54c8730a9aff244c3c52c9a5c88efc8100b3bc"
45
45
  }