@tanstack/svelte-table 8.5.16 → 8.5.17

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.
@@ -116,6 +116,9 @@ function createColumn(table, columnDef, depth, parent) {
116
116
  let result = originalRow;
117
117
  for (const key of accessorKey.split('.')) {
118
118
  result = result[key];
119
+ if (process.env.NODE_ENV !== 'production' && result === undefined) {
120
+ throw new Error(`"${key}" in deeply nested key "${accessorKey}" returned undefined.`);
121
+ }
119
122
  }
120
123
  return result;
121
124
  };