Skip to content

Releases: alessioalex/get-folder-size

5.0.0

20 Jul 22:17
Compare
Choose a tag to compare
  • Adds typescript definitions.

  • No longer returns unsafe numbers. Sizes that are above the safe threshold for numbers will be capped at the largest safe number.

  • Bumps minimum node support to version 18.

  • Internal improvements to speed, RAM usage, and code size.

4.0.0

27 Jul 21:29
Compare
Choose a tag to compare
  • Fixes a bug where files with certain ino IDs could collide and be treated as a single file even though there were more than one (#21). If you use a custom fs module that doesn't support BigInts, this will break your setup.

  • Adds support for returning the folder size as a BigInt.

  • Minor improvements to code quality and tooling.

3.1.0

06 May 08:04
Compare
Choose a tag to compare

The package now follows best practices for its exports. This should not have any effect on already working installs, but it should mean better compatibility with a variety of new use-cases.

3.0.1

21 Apr 11:13
Compare
Choose a tag to compare

Adds documentation on how to import this package from a CommonJS module.

3.0.0

21 Apr 11:16
Compare
Choose a tag to compare

Completely redesigns the API to use ES6 promises and bumps minimum node support to version 14.