dbgate-api-premium 6.1.1 → 6.1.2

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.1.1",
4
+ "version": "6.1.2",
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": "^6.1.1",
32
+ "dbgate-datalib": "^6.1.2",
33
33
  "dbgate-query-splitter": "^4.11.2",
34
- "dbgate-sqltree": "^6.1.1",
35
- "dbgate-tools": "^6.1.1",
34
+ "dbgate-sqltree": "^6.1.2",
35
+ "dbgate-tools": "^6.1.2",
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": "^6.1.1",
84
+ "dbgate-types": "^6.1.2",
85
85
  "env-cmd": "^10.1.0",
86
86
  "jsdoc-to-markdown": "^9.0.5",
87
87
  "node-loader": "^1.0.2",
@@ -237,7 +237,7 @@ module.exports = {
237
237
  }
238
238
  );
239
239
  pipeForkLogs(subprocess);
240
- subprocess.send({ connection, requestDbList });
240
+ subprocess.send({ ...connection, requestDbList });
241
241
  return new Promise(resolve => {
242
242
  subprocess.on('message', resp => {
243
243
  if (handleProcessCommunication(resp, subprocess)) return;
@@ -1,5 +1,5 @@
1
1
 
2
2
  module.exports = {
3
- version: '6.1.1',
4
- buildTime: '2024-12-23T06:08:08.745Z'
3
+ version: '6.1.2',
4
+ buildTime: '2024-12-26T07:06:47.031Z'
5
5
  };
@@ -16,9 +16,9 @@ Platform: ${process.platform}
16
16
 
17
17
  function start() {
18
18
  childProcessChecker();
19
- process.on('message', async args => {
19
+ process.on('message', async connection => {
20
20
  // @ts-ignore
21
- const { connection, requestDbList } = args;
21
+ const { requestDbList } = connection;
22
22
  if (handleProcessCommunication(connection)) return;
23
23
  try {
24
24
  const driver = requireEngineDriver(connection);