mysqlsyncr 1.0.90 → 1.0.94
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/dist/index.cjs +1 -0
- package/dist/index.js +1 -1
- package/package.json +1 -1
- package/src/index.js +2 -2
package/dist/index.cjs
CHANGED
|
@@ -5511,4 +5511,5 @@ exports.DBStructureChecker = DBStructureChecker;
|
|
|
5511
5511
|
exports.apply = apply;
|
|
5512
5512
|
exports.compare = compare;
|
|
5513
5513
|
exports.dumpAllDatabases = dumpAllDatabases;
|
|
5514
|
+
exports.getDatabasesFromExistingDumps = getDatabasesFromExistingDumps;
|
|
5514
5515
|
exports.startApiServer = startApiServer;
|
package/dist/index.js
CHANGED
package/package.json
CHANGED
package/src/index.js
CHANGED
|
@@ -5,7 +5,7 @@ import util from 'util';
|
|
|
5
5
|
import fs from 'fs';
|
|
6
6
|
import path from 'path';
|
|
7
7
|
import { cli } from './cli.js';
|
|
8
|
-
import { dumpAllDatabases } from './dump.js';
|
|
8
|
+
import { dumpAllDatabases, getDatabasesFromExistingDumps } from './dump.js';
|
|
9
9
|
import { compareAllDatabases } from './compare.js';
|
|
10
10
|
import { startApiServer } from './socketServer.js'; // Import the new socket server
|
|
11
11
|
import open from 'open';
|
|
@@ -95,7 +95,7 @@ const apply = async (config, database, diffs) => {
|
|
|
95
95
|
});
|
|
96
96
|
}
|
|
97
97
|
|
|
98
|
-
export { DBStructureChecker, dumpAllDatabases, compare, startApiServer, apply };
|
|
98
|
+
export { DBStructureChecker, dumpAllDatabases, compare, startApiServer, apply, getDatabasesFromExistingDumps };
|
|
99
99
|
|
|
100
100
|
// Only run this if this is the main module
|
|
101
101
|
const isMain = (() => {
|