@cardenelabs/cdl 0.40.11 → 0.40.12
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/CHANGELOG.md +26 -1
- package/dist/index.cjs +3 -1
- package/dist/index.cjs.map +1 -1
- package/dist/index.js +3 -1
- package/dist/index.js.map +1 -1
- package/dist/react.cjs +3 -1
- package/dist/react.cjs.map +1 -1
- package/dist/react.js +3 -1
- package/dist/react.js.map +1 -1
- package/package.json +1 -1
- package/src/visual-validate.ts +19 -1
package/dist/index.js
CHANGED
|
@@ -17212,7 +17212,9 @@ function runAxes(laid, diag, violations, counts, push, profile, skippedAxes) {
|
|
|
17212
17212
|
const SCHEMA_KEYWORDS = /^(string|number|boolean|text|enum|timestamp|date|datetime|json|blob|PK|FK|UUID|BIGINT|INT|FLOAT|VARCHAR|TEXT|DATETIME)$|^enum\(|^varchar\(/i;
|
|
17213
17213
|
for (const n of diag.nodes) {
|
|
17214
17214
|
if (!n.rows) continue;
|
|
17215
|
-
for (
|
|
17215
|
+
for (let i = 0; i < n.rows.length; i++) {
|
|
17216
|
+
const row = n.rows[i];
|
|
17217
|
+
if (n.rowMarks?.[i] != null) continue;
|
|
17216
17218
|
const m = row.match(/^([^:]+):\s*(.+)$/);
|
|
17217
17219
|
if (!m) continue;
|
|
17218
17220
|
const [, key, value] = m;
|