Throw an error if an empty buffer is passed.
Consider the following code: ``` const readXlsxFile = require('read-excel-file/node') readXlsxFile(Buffer.alloc(0)).then(() => { console.log('resolved') }, () => { console.log('rejected') }) ``` When you run it you see neither `resolved` nor `rejected`. Like the title says: It may be better to reject the promise instead of returning a promise that will never resolve. * Node: v22.15.0 * read-excel-file: v5.8.7
issue