I have a problem when using esm with instanceof operator as in the following code:
const Stream = require('stream').Stream;
const PassThrough = require('readable-stream').PassThrough;
new PassThrough() instanceof Stream
The instanceof operator return true when running without esm. But it return false when running with esm
thank you @dtrung127 !
repro: https://github.com/dnalborczyk/esm-repros/tree/issue-510
v3.0.72 is released :tada:
Most helpful comment
thank you @dtrung127 !
repro: https://github.com/dnalborczyk/esm-repros/tree/issue-510