read-excel-file 9.0.7 → 9.0.8

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 CHANGED
@@ -1,7 +1,7 @@
1
1
  9.0.7 / 28.04.2026
2
2
  ==================
3
3
 
4
- * Fixed `error.row` [bug](https://gitlab.com/catamphetamine/read-excel-file/-/work_items/111) when it was always equal to `1`.
4
+ * Merged [Toni G](https://gitlab.com/infotoni91)'s fix for a [bug](https://gitlab.com/catamphetamine/read-excel-file/-/work_items/111) when `error.row` was always equal to `1`.
5
5
  * Re-added `schema` parameter in `readSheet()` function.
6
6
 
7
7
  9.0.0 / 18.04.2026
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "read-excel-file",
3
- "version": "9.0.7",
3
+ "version": "9.0.8",
4
4
  "description": "Read `.xlsx` files in a web browser or in Node.js",
5
5
  "type": "module",
6
6
  "exports": {
@@ -44,7 +44,6 @@ type SchemaEntry<
44
44
  export type Schema<
45
45
  Object extends object,
46
46
  ColumnTitle extends string = string
47
- > = Record<
48
- keyof Object,
49
- SchemaEntry<keyof Object, Object, Object, ColumnTitle>
50
- >
47
+ > = {
48
+ [Key in keyof Object]: SchemaEntry<Key, Object, Object, ColumnTitle>
49
+ }