@tanstack/table-core 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.
- package/build/cjs/core/column.js +3 -0
- package/build/cjs/core/column.js.map +1 -1
- package/build/esm/index.js +3 -0
- package/build/esm/index.js.map +1 -1
- package/build/stats-html.html +1 -1
- package/build/stats-react.json +310 -310
- package/build/umd/index.development.js +3 -0
- package/build/umd/index.development.js.map +1 -1
- package/build/umd/index.production.js.map +1 -1
- package/package.json +1 -1
- package/src/core/column.ts +5 -0
|
@@ -109,6 +109,9 @@
|
|
|
109
109
|
let result = originalRow;
|
|
110
110
|
for (const key of accessorKey.split('.')) {
|
|
111
111
|
result = result[key];
|
|
112
|
+
if (result === undefined) {
|
|
113
|
+
throw new Error(`"${key}" in deeply nested key "${accessorKey}" returned undefined.`);
|
|
114
|
+
}
|
|
112
115
|
}
|
|
113
116
|
return result;
|
|
114
117
|
};
|