Closed RovoMe closed 4 years ago
In version 1.2.8 attempting to read a file via Reader fails as close() invoked is undefined:
close()
..../node_modules/edifact/reader.js:67 this._parser.write(document).close(); ^ TypeError: Cannot read property 'close' of undefined at Reader.parse (.../node_modules/edifact/reader.js:67:31)
The README also contains this sample at the end of the usage section while the given example in definitions.js contains this sample:
definitions.js
parser.encoding('UNOA'); parser.write(document); parser.end();
In version 1.2.8 attempting to read a file via Reader fails as
close()
invoked is undefined:The README also contains this sample at the end of the usage section while the given example in
definitions.js
contains this sample: