Open crh3675 opened 3 years ago
Streams just hang using NodeJS 10x:
const readStream = new stream.PassThrough(); readStream.end('{"stations":[{"id":1,"name":"somewhere"]}'); readStream.once('readable', () => { oboe(readStream).node('stations.*', station => { // Never iterates }) .done(final => { // Never is done }) .fail(err => { // Never fails }); });
Cannot reproduce in NodeJS versions < 8. Even tried with NodeJS 10.x version:
const readable = Readable.from('{"stations":[{"id":1,"name":"somewhere"]}', {encoding: 'utf8'});
FYI: Using Oboe on node 20.x, no hanging issues.
Streams just hang using NodeJS 10x:
Cannot reproduce in NodeJS versions < 8. Even tried with NodeJS 10.x version: