@dbpath/oracle
Advanced tools
Comparing version 0.2.15 to 0.2.16
@@ -139,7 +139,7 @@ "use strict"; | ||
// console.log ( 'pks', pks ) | ||
const result = (0, utils_1.makeIntoNameAnd)(tables, t => t, t => ({ | ||
const result = (0, utils_1.deepSort)((0, utils_1.makeIntoNameAnd)(tables, t => t, t => ({ | ||
columns: (0, utils_1.makeIntoNameAnd)(columns[t], c => c.name, c => (Object.assign(Object.assign({}, c), { name: undefined }))), | ||
pk: (0, utils_1.safeArray)(pks[t]), | ||
fk: (0, utils_1.makeIntoNameAnd)(fkRaw.filter(f => f.table === t), f => f.name, fk => (Object.assign(Object.assign({}, fk), { name: undefined, table: undefined }))) | ||
})); | ||
}))); | ||
return { tables: result }; | ||
@@ -146,0 +146,0 @@ }); |
@@ -106,3 +106,3 @@ "use strict"; | ||
const res = yield dal.metaData(); | ||
const actual = JSON.stringify((0, utils_1.deepSort)(res), null, 2) | ||
const actual = JSON.stringify(res, null, 2) | ||
.replace(/number/g, 'integer') | ||
@@ -109,0 +109,0 @@ .replace(/varchar2/g, 'text'); |
{ | ||
"name": "@dbpath/oracle", | ||
"description": "", | ||
"version": "0.2.15", | ||
"version": "0.2.16", | ||
"main": "dist/index", | ||
@@ -21,4 +21,4 @@ "types": "dist/index", | ||
"oracledb": "^5.5.0", | ||
"@dbpath/utils": "0.2.15", | ||
"@dbpath/dal": "0.2.15" | ||
"@dbpath/utils": "0.2.16", | ||
"@dbpath/dal": "0.2.16" | ||
}, | ||
@@ -25,0 +25,0 @@ "devDependencies": { |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
+ Added@dbpath/config@0.2.16(transitive)
+ Added@dbpath/dal@0.2.16(transitive)
+ Added@dbpath/fixtures@0.2.16(transitive)
+ Added@dbpath/types@0.2.16(transitive)
+ Added@dbpath/utils@0.2.16(transitive)
- Removed@dbpath/config@0.2.15(transitive)
- Removed@dbpath/dal@0.2.15(transitive)
- Removed@dbpath/fixtures@0.2.15(transitive)
- Removed@dbpath/types@0.2.15(transitive)
- Removed@dbpath/utils@0.2.15(transitive)
Updated@dbpath/dal@0.2.16
Updated@dbpath/utils@0.2.16