Skip to content

@rollingversions/[email protected]

Compare
Choose a tag to compare
@github-actions github-actions released this 06 Mar 13:53
e7afeda

New Features

  • Added store and storeMode options to fetchObjects to allow passing a custom store (#5)

  • Added raw option to fetchObjects to allow getting the packfile as a binary stream (#5)

  • Added fetchObjectsV2 that returns an async generator instead of a stream (#5)

Bug Fixes

  • Fixed the excessive memory usage for fetchObjects (#5)

    The entire packfile is now buffered into memory, but once that is done, far less memory is allocated during actual parsing. In large, real world git repositories, this uses hundreds of times less memory.