@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/react.cjs
CHANGED
|
@@ -6165,7 +6165,9 @@ function runAxes(laid, diag, violations, counts, push, profile, skippedAxes) {
|
|
|
6165
6165
|
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;
|
|
6166
6166
|
for (const n of diag.nodes) {
|
|
6167
6167
|
if (!n.rows) continue;
|
|
6168
|
-
for (
|
|
6168
|
+
for (let i = 0; i < n.rows.length; i++) {
|
|
6169
|
+
const row = n.rows[i];
|
|
6170
|
+
if (n.rowMarks?.[i] != null) continue;
|
|
6169
6171
|
const m = row.match(/^([^:]+):\s*(.+)$/);
|
|
6170
6172
|
if (!m) continue;
|
|
6171
6173
|
const [, key, value] = m;
|