dbgate-api-premium 5.5.7-alpha.68 → 6.0.0-alpha.1
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-premium",
|
|
3
3
|
"main": "src/index.js",
|
|
4
|
-
"version": "
|
|
4
|
+
"version": "6.0.0-alpha.1",
|
|
5
5
|
"homepage": "https://dbgate.org/",
|
|
6
6
|
"repository": {
|
|
7
7
|
"type": "git",
|
|
@@ -29,10 +29,10 @@
|
|
|
29
29
|
"compare-versions": "^3.6.0",
|
|
30
30
|
"cors": "^2.8.5",
|
|
31
31
|
"cross-env": "^6.0.3",
|
|
32
|
-
"dbgate-datalib": "^
|
|
32
|
+
"dbgate-datalib": "^6.0.0-alpha.1",
|
|
33
33
|
"dbgate-query-splitter": "^4.11.2",
|
|
34
|
-
"dbgate-sqltree": "^
|
|
35
|
-
"dbgate-tools": "^
|
|
34
|
+
"dbgate-sqltree": "^6.0.0-alpha.1",
|
|
35
|
+
"dbgate-tools": "^6.0.0-alpha.1",
|
|
36
36
|
"debug": "^4.3.4",
|
|
37
37
|
"diff": "^5.0.0",
|
|
38
38
|
"diff2html": "^3.4.13",
|
|
@@ -81,7 +81,7 @@
|
|
|
81
81
|
"devDependencies": {
|
|
82
82
|
"@types/fs-extra": "^9.0.11",
|
|
83
83
|
"@types/lodash": "^4.14.149",
|
|
84
|
-
"dbgate-types": "^
|
|
84
|
+
"dbgate-types": "^6.0.0-alpha.1",
|
|
85
85
|
"env-cmd": "^10.1.0",
|
|
86
86
|
"jsdoc-to-markdown": "^9.0.5",
|
|
87
87
|
"node-loader": "^1.0.2",
|
|
@@ -302,6 +302,9 @@ module.exports = {
|
|
|
302
302
|
},
|
|
303
303
|
|
|
304
304
|
async checkUnsavedConnectionsLimit() {
|
|
305
|
+
if (!this.datastore) {
|
|
306
|
+
return;
|
|
307
|
+
}
|
|
305
308
|
const MAX_UNSAVED_CONNECTIONS = 5;
|
|
306
309
|
await this.datastore.transformAll(connections => {
|
|
307
310
|
const count = connections.filter(x => x.unsaved).length;
|
package/src/currentVersion.js
CHANGED