adminforth 2.27.0-next.22 → 2.27.0-next.23
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/commands/callTsProxy.js +3 -3
- package/package.json +2 -1
package/commands/callTsProxy.js
CHANGED
|
@@ -37,11 +37,11 @@ export function callTsProxy(tsCode, silent=false) {
|
|
|
37
37
|
});
|
|
38
38
|
|
|
39
39
|
child.on("close", (code) => {
|
|
40
|
+
const tsProxyResult = stdoutLogs.find(log => log.includes('>>>>>>>'));
|
|
41
|
+
const preparedStdout = tsProxyResult.slice(tsProxyResult.indexOf('>>>>>>>') + 7, tsProxyResult.lastIndexOf('<<<<<<<'));
|
|
42
|
+
const preparedStdoutLogs = stdoutLogs.filter(log => !log.includes('>>>>>>>'));
|
|
40
43
|
if (code === 0) {
|
|
41
44
|
try {
|
|
42
|
-
const tsProxyResult = stdoutLogs.find(log => log.includes('>>>>>>>'));
|
|
43
|
-
const preparedStdout = tsProxyResult.slice(tsProxyResult.indexOf('>>>>>>>') + 46, tsProxyResult.lastIndexOf('<<<<<<<'));
|
|
44
|
-
const preparedStdoutLogs = stdoutLogs.filter(log => !log.includes('>>>>>>>'));
|
|
45
45
|
for (const log of preparedStdoutLogs) {
|
|
46
46
|
console.log(log);
|
|
47
47
|
}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "adminforth",
|
|
3
|
-
"version": "2.27.0-next.
|
|
3
|
+
"version": "2.27.0-next.23",
|
|
4
4
|
"description": "OpenSource Vue3 powered forth-generation admin panel",
|
|
5
5
|
"main": "dist/index.js",
|
|
6
6
|
"module": "dist/index.js",
|
|
@@ -74,6 +74,7 @@
|
|
|
74
74
|
"@qdrant/js-client-rest": "^1.17.0",
|
|
75
75
|
"@types/express": "^4.17.21",
|
|
76
76
|
"arg": "^5.0.2",
|
|
77
|
+
"ast-types": "^0.14.2",
|
|
77
78
|
"better-sqlite3": "^11.5.0",
|
|
78
79
|
"bson": "^7.2.0",
|
|
79
80
|
"chalk": "^5.4.1",
|