ipfs / js-ipfs-unixfs

JavaScript implementation of IPFS' unixfs (a Unix FileSystem representation on top of a MerkleDAG)
Other
88 stars 34 forks source link

fix: add tests for unbalanced dags and very deep dags #299

Closed achingbrain closed 1 year ago

achingbrain commented 1 year ago

To ensure that blocks are emitted in the correct order while also not overflowing the stack, when we loop over the children of a node, use a separate queue for each child and wait for the queue to be idle before moving on to the next child.

github-actions[bot] commented 1 year ago

:tada: This PR is included in version ipfs-unixfs-exporter-v13.0.4 :tada:

The release is available on:

Your semantic-release bot :package::rocket: