dbgate-tools 5.5.7-alpha.51 → 5.5.7-alpha.53
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/lib/diffTools.js +2 -2
- package/package.json +3 -3
package/lib/diffTools.js
CHANGED
|
@@ -466,8 +466,8 @@ function testEqualTables(a, b, opts, wholeOldDb, wholeNewDb, driver) {
|
|
|
466
466
|
}
|
|
467
467
|
exports.testEqualTables = testEqualTables;
|
|
468
468
|
function testEqualSqlObjects(a, b, opts) {
|
|
469
|
-
var _a, _b;
|
|
470
|
-
return ((_a = a.createSql) === null || _a === void 0 ? void 0 : _a.trim()) == ((
|
|
469
|
+
var _a, _b, _c, _d;
|
|
470
|
+
return ((_b = (_a = a.createSql) === null || _a === void 0 ? void 0 : _a.trim()) === null || _b === void 0 ? void 0 : _b.toLowerCase()) == ((_d = (_c = b.createSql) === null || _c === void 0 ? void 0 : _c.trim()) === null || _d === void 0 ? void 0 : _d.toLowerCase());
|
|
471
471
|
}
|
|
472
472
|
exports.testEqualSqlObjects = testEqualSqlObjects;
|
|
473
473
|
function createAlterTablePlan(oldTable, newTable, opts, wholeOldDb, wholeNewDb, driver) {
|
package/package.json
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
{
|
|
2
|
-
"version": "5.5.7-alpha.
|
|
2
|
+
"version": "5.5.7-alpha.53",
|
|
3
3
|
"name": "dbgate-tools",
|
|
4
4
|
"main": "lib/index.js",
|
|
5
5
|
"typings": "lib/index.d.ts",
|
|
@@ -25,14 +25,14 @@
|
|
|
25
25
|
],
|
|
26
26
|
"devDependencies": {
|
|
27
27
|
"@types/node": "^13.7.0",
|
|
28
|
-
"dbgate-types": "^5.5.7-alpha.
|
|
28
|
+
"dbgate-types": "^5.5.7-alpha.53",
|
|
29
29
|
"jest": "^24.9.0",
|
|
30
30
|
"ts-jest": "^25.2.1",
|
|
31
31
|
"typescript": "^4.4.3"
|
|
32
32
|
},
|
|
33
33
|
"dependencies": {
|
|
34
34
|
"dbgate-query-splitter": "^4.11.2",
|
|
35
|
-
"dbgate-sqltree": "^5.5.7-alpha.
|
|
35
|
+
"dbgate-sqltree": "^5.5.7-alpha.53",
|
|
36
36
|
"debug": "^4.3.4",
|
|
37
37
|
"json-stable-stringify": "^1.0.1",
|
|
38
38
|
"lodash": "^4.17.21",
|