Closed matteocargnelutti closed 1 year ago
Maybe this needs to be documented more, but the params have been switched in 2.0.0, to be able to remove process.stdout
and avoid the polyfill in browsers. The params are now:
constructor(
out: WritableStreamBuffer | NodeJS.WriteStream,
opts?: Partial<CdxIndexCommandArgs>,
)
Perhaps this needs a bit more refactoring, maybe should remove the out from the constructor altogether, and just make it an iterator instead.. and move out to a separate.
Ah I missed that, thank you @ikreymer ! It would be ideal if breaking changes like this were mentioned in the changelog, as they're hard to catch at a glance.
PS: Congratulations on this major release! 🥳
Hello 👋 !
No problem upgrading to 1.6.2, but I'm having issues with 2.0.0.
More specifically,
CDXIndexer
now crashes when I call itsrun()
method.As mentioned earlier: works in 1.6.1 and 1.6.2.
Thanks in advance,