Dual support for mocha8 and mocha7, detects at runtime how it has to deal with the beast.
Removed devDependencies from here and am using npx now to run everything, the devDeps in node_modules messes up the state that end-users will have.
Switched resolution order to put local node_modules before polendina's. But also included readable-stream@2 here as a direct dep because tape (and others) that use an older core 'streams' pattern get messed up. Ideally a package will depend on readable-stream, but many don't and Webpack's ancient 'streams' polyfill is a mess.
Fixes: https://github.com/rvagg/polendina/issues/13
Dual support for mocha8 and mocha7, detects at runtime how it has to deal with the beast.
Removed devDependencies from here and am using npx now to run everything, the devDeps in node_modules messes up the state that end-users will have.
Switched resolution order to put local node_modules before polendina's. But also included readable-stream@2 here as a direct dep because tape (and others) that use an older core
'streams
' pattern get messed up. Ideally a package will depend on readable-stream, but many don't and Webpack's ancient'streams'
polyfill is a mess.