dbgate-api-premium 6.5.3 → 6.5.4
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": "6.5.
|
|
4
|
+
"version": "6.5.4",
|
|
5
5
|
"homepage": "https://dbgate.org/",
|
|
6
6
|
"repository": {
|
|
7
7
|
"type": "git",
|
|
@@ -30,10 +30,10 @@
|
|
|
30
30
|
"compare-versions": "^3.6.0",
|
|
31
31
|
"cors": "^2.8.5",
|
|
32
32
|
"cross-env": "^6.0.3",
|
|
33
|
-
"dbgate-datalib": "^6.5.
|
|
33
|
+
"dbgate-datalib": "^6.5.4",
|
|
34
34
|
"dbgate-query-splitter": "^4.11.5",
|
|
35
|
-
"dbgate-sqltree": "^6.5.
|
|
36
|
-
"dbgate-tools": "^6.5.
|
|
35
|
+
"dbgate-sqltree": "^6.5.4",
|
|
36
|
+
"dbgate-tools": "^6.5.4",
|
|
37
37
|
"debug": "^4.3.4",
|
|
38
38
|
"diff": "^5.0.0",
|
|
39
39
|
"diff2html": "^3.4.13",
|
|
@@ -85,7 +85,7 @@
|
|
|
85
85
|
"devDependencies": {
|
|
86
86
|
"@types/fs-extra": "^9.0.11",
|
|
87
87
|
"@types/lodash": "^4.14.149",
|
|
88
|
-
"dbgate-types": "^6.5.
|
|
88
|
+
"dbgate-types": "^6.5.4",
|
|
89
89
|
"env-cmd": "^10.1.0",
|
|
90
90
|
"jsdoc-to-markdown": "^9.0.5",
|
|
91
91
|
"node-loader": "^1.0.2",
|
package/src/currentVersion.js
CHANGED
|
@@ -4,7 +4,6 @@ const { getSshTunnelProxy } = require('./sshTunnelProxy');
|
|
|
4
4
|
const platformInfo = require('../utility/platformInfo');
|
|
5
5
|
const connections = require('../controllers/connections');
|
|
6
6
|
const _ = require('lodash');
|
|
7
|
-
const { getCloudFolderEncryptor } = require('./cloudIntf');
|
|
8
7
|
|
|
9
8
|
async function loadConnection(driver, storedConnection, connectionMode) {
|
|
10
9
|
const { allowShellConnection, allowConnectionFromEnvVariables } = platformInfo;
|
|
@@ -90,6 +89,8 @@ async function extractConnectionSslParams(connection) {
|
|
|
90
89
|
}
|
|
91
90
|
|
|
92
91
|
async function decryptCloudConnection(connection) {
|
|
92
|
+
const { getCloudFolderEncryptor } = require('./cloudIntf');
|
|
93
|
+
|
|
93
94
|
const m = connection?._id?.match(/^cloud\:\/\/(.+)\/(.+)$/);
|
|
94
95
|
if (!m) {
|
|
95
96
|
throw new Error('Invalid cloud connection ID format');
|