profoundjs 6.6.2 → 7.1.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/index.js CHANGED
@@ -35,9 +35,7 @@ else {
35
35
  return filename;
36
36
  };
37
37
  const jse = JSON.parse(fs.readFileSync(path.join(__dirname, "/profound.jse"), "utf8"));
38
- process.require = require;
39
- // eslint-disable-next-line n/no-new-require
40
- const loader = new require("pjsloader")();
38
+ const loader = require("pjsloader");
41
39
  // eslint-disable-next-line n/no-deprecated-api
42
40
  require.extensions[".jse"] = function(module, filename) {
43
41
  let name = filename;
@@ -45,7 +43,7 @@ else {
45
43
  if (path.sep !== "/") {
46
44
  while (name.includes(path.sep)) name = name.replace(path.sep, "/");
47
45
  }
48
- return module._compile(loader.Load(jse[name]), filename);
46
+ return module._compile(loader.load(jse[name]), filename);
49
47
  };
50
48
 
51
49
  // Require any of the children, but only the 1st time
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "profoundjs",
3
- "version": "6.6.2",
3
+ "version": "7.1.0",
4
4
  "min-profoundui-version": "6.20.0",
5
5
  "description": "Profound.js Framework and Server",
6
6
  "keywords": [
@@ -25,7 +25,7 @@
25
25
  "modernization"
26
26
  ],
27
27
  "engines": {
28
- "node": "^14 || ^16 || ^18",
28
+ "node": "^14 || ^16 || ^18 || ^20",
29
29
  "npm": ">= 6"
30
30
  },
31
31
  "os": [
@@ -99,15 +99,14 @@
99
99
  "nodemailer": "^6.4.8",
100
100
  "p-iteration": "^1.1.8",
101
101
  "pdfmake": "^0.2.4",
102
- "pjsloader": "^1.12.0",
102
+ "pjsloader": "^2.0.0",
103
103
  "profoundjs-iconv-lite": "^1.1.0",
104
104
  "profoundjs-strands": "^1.0.3",
105
105
  "profoundjs-swagger-stats": "^1.1.2",
106
- "profoundjs-swagger-ui": "^1.1.8",
106
+ "profoundjs-swagger-ui": "^1.2.2",
107
107
  "progress": "^2.0.3",
108
108
  "prompts": "^2.3.2",
109
109
  "randomatic": "^3.1.1",
110
- "request": "^2.88.0",
111
110
  "rotating-file-stream": "^3.1.0",
112
111
  "semver": "^7.3.8",
113
112
  "soap": "^0.45.0",
@@ -117,7 +116,7 @@
117
116
  "swagger-client": "^3.13.7",
118
117
  "true-case-path": "^2.2.1",
119
118
  "typescript-compiler": "^1.4.1-2",
120
- "uglify-es": "^3.3.9",
119
+ "uglify-js": "^3.17.4",
121
120
  "uuid": "^8.3.1",
122
121
  "ws": "^8.7.0",
123
122
  "xml-escape": "^1.1.0",