@rljson/rljson 0.0.47 → 0.0.48

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.
Files changed (2) hide show
  1. package/dist/rljson.js +4 -0
  2. package/package.json +1 -1
package/dist/rljson.js CHANGED
@@ -573,6 +573,10 @@ const validateRljsonAgainstTableCfg = (rows, tableCfg) => {
573
573
  continue;
574
574
  }
575
575
  const expectedType = columnCfg.type;
576
+ const value = row[columnKey];
577
+ if (value === void 0 || value === null) {
578
+ continue;
579
+ }
576
580
  const actualType = jsonValueType(row[columnKey]);
577
581
  if (expectedType !== actualType) {
578
582
  errors.push(
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@rljson/rljson",
3
- "version": "0.0.47",
3
+ "version": "0.0.48",
4
4
  "packageManager": "pnpm@10.6.3",
5
5
  "description": "The RLJSON data format specification",
6
6
  "homepage": "https://github.com/rljson/rljson",