pinokiod 1.1.23 → 1.1.24

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/kernel/index.js CHANGED
@@ -1,6 +1,7 @@
1
1
  const fs = require('fs')
2
2
  const {JSONPath} = require('jsonpath-plus');
3
3
  const os = require("os")
4
+ const jsdom = require("jsdom");
4
5
  const path = require('path')
5
6
  const fastq = require('fastq')
6
7
  const fetch = require('cross-fetch');
@@ -34,6 +35,7 @@ class Kernel {
34
35
  this.os = os
35
36
  this.platform = os.platform()
36
37
  this.key = new Key()
38
+ this.jsdom = jsdom
37
39
  }
38
40
  resumeprocess(uri) {
39
41
  let proc = this.procs[uri]
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "pinokiod",
3
- "version": "1.1.23",
3
+ "version": "1.1.24",
4
4
  "description": "",
5
5
  "main": "index.js",
6
6
  "scripts": {
@@ -34,6 +34,7 @@
34
34
  "http-terminator": "^3.2.0",
35
35
  "isomorphic-git": "^1.23.0",
36
36
  "jimini": "^0.0.2",
37
+ "jsdom": "^24.0.0",
37
38
  "jsonpath-plus": "^7.2.0",
38
39
  "key-store": "^1.2.0",
39
40
  "lodash": "^4.17.21",
package/server/index.js CHANGED
@@ -1065,6 +1065,10 @@ class Server {
1065
1065
  for(let i=0; i<config.menu.length; i++) {
1066
1066
  let menuitem = config.menu[i]
1067
1067
 
1068
+
1069
+
1070
+
1071
+
1068
1072
  if (menuitem.menu) {
1069
1073
  let m = await this.renderMenu(uri, name, { menu: menuitem.menu }, pathComponents)
1070
1074
  menuitem.menu = m.menu
@@ -1192,6 +1196,8 @@ class Server {
1192
1196
  config.menu[i].target = "_blank"
1193
1197
  }
1194
1198
  }
1199
+
1200
+
1195
1201
  }
1196
1202
 
1197
1203