Closed
Description
The below program produced a readable file with exceljs 1.4.7:
const Excel = require('exceljs');
(async () => {
const workbook = new Excel.stream.xlsx.WorkbookWriter({
filename: 'ohno.xlsx',
useSharedStrings: true
});
const worksheet = workbook.addWorksheet('myWorksheet');
const sheetRow = worksheet.addRow(['Hello']);
sheetRow.commit();
worksheet.commit();
await workbook.commit();
})();
With 1.4.8 the file cannot be opened in Excel:
Clicking "yes" results in an empty spreadsheet.
Disabling useSharedStrings
makes it work again.
Metadata
Metadata
Assignees
Labels
No labels