Fix cornercase of to_csv with skipHidden enabled #1508
No reviewers
Labels
No Label
DBF
Dates
Defined Names
Features
Formula
HTML
Images
Infrastructure
Integration
International
ODS
Operations
Performance
PivotTables
Pro
Protection
Read Bug
SSF
SYLK
Style
Write Bug
good first issue
No Milestone
No Assignees
1 Participants
Notifications
Due Date
No due date set.
Dependencies
No dependencies set.
Reference: sheetjs/sheetjs#1508
Loading…
Reference in New Issue
Block a user
No description provided.
Delete Branch "patch-1"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
When running
xlsx.stream.to_csv(sheet, { skipHidden: true })
on the only sheet in this XLS-file from the Swedish Pension Authority the stream never got toon('end')
. I think it's because all the rows in the last_read
call was set to hidden, leaving the stream kept in limbo. This seems to have fixed it and makes sense to me but I'm not very familiar with node streams.Thanks for sharing. Given how the function is currently implemented, your diagnosis sounds right. The hidden logic is not used in
to_html
/to_json
, so can you confirm that both streams properly terminate when processing the file?Nice,
to_html
andto_json
terminated properly for the file yesPull request closed