dbgate-api 5.0.9 → 5.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/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "dbgate-api",
|
|
3
3
|
"main": "src/index.js",
|
|
4
|
-
"version": "5.0
|
|
4
|
+
"version": "5.1.0",
|
|
5
5
|
"homepage": "https://dbgate.org/",
|
|
6
6
|
"repository": {
|
|
7
7
|
"type": "git",
|
|
@@ -26,8 +26,8 @@
|
|
|
26
26
|
"cors": "^2.8.5",
|
|
27
27
|
"cross-env": "^6.0.3",
|
|
28
28
|
"dbgate-query-splitter": "^4.9.0",
|
|
29
|
-
"dbgate-sqltree": "^5.0
|
|
30
|
-
"dbgate-tools": "^5.0
|
|
29
|
+
"dbgate-sqltree": "^5.1.0",
|
|
30
|
+
"dbgate-tools": "^5.1.0",
|
|
31
31
|
"debug": "^4.3.4",
|
|
32
32
|
"diff": "^5.0.0",
|
|
33
33
|
"diff2html": "^3.4.13",
|
|
@@ -65,7 +65,7 @@
|
|
|
65
65
|
"devDependencies": {
|
|
66
66
|
"@types/fs-extra": "^9.0.11",
|
|
67
67
|
"@types/lodash": "^4.14.149",
|
|
68
|
-
"dbgate-types": "^5.0
|
|
68
|
+
"dbgate-types": "^5.1.0",
|
|
69
69
|
"env-cmd": "^10.1.0",
|
|
70
70
|
"node-loader": "^1.0.2",
|
|
71
71
|
"nodemon": "^2.0.2",
|
|
@@ -74,7 +74,7 @@
|
|
|
74
74
|
"webpack-cli": "^3.3.11"
|
|
75
75
|
},
|
|
76
76
|
"optionalDependencies": {
|
|
77
|
-
"better-sqlite3": "7.
|
|
78
|
-
"msnodesqlv8": "^2.
|
|
77
|
+
"better-sqlite3": "7.6.2",
|
|
78
|
+
"msnodesqlv8": "^2.6.0"
|
|
79
79
|
}
|
|
80
80
|
}
|
package/src/currentVersion.js
CHANGED
|
@@ -173,6 +173,7 @@ async function handleQueryData({ msgid, sql }, skipReadonlyCheck = false) {
|
|
|
173
173
|
const driver = requireEngineDriver(storedConnection);
|
|
174
174
|
try {
|
|
175
175
|
if (!skipReadonlyCheck) ensureExecuteCustomScript(driver);
|
|
176
|
+
// console.log(sql);
|
|
176
177
|
const res = await driver.query(systemConnection, sql);
|
|
177
178
|
process.send({ msgtype: 'response', msgid, ...res });
|
|
178
179
|
} catch (err) {
|