Skip to content

Releases: cross-org/fs

0.1.14

01 Feb 10:49

Choose a tag to compare

This release addresses three issues reported by RuiNtD: missing exports and the recursive parameter behavior for size and diskusage.

dirpath is now exported from @cross/fs/ops and @cross/fs (re-export from @cross/dir).
diskusage and size now respect the recursive parameter: false = direct children only, true = all descendants. JSDoc updated; tests added.
appendFile is now exported from @cross/fs/io and @cross/fs (re-export from node:fs/promises).

Fixes #5, #6, #7
Full Changelog: 0.1.13...0.1.14

0.1.13

29 Jun 09:50

Choose a tag to compare

Release Notes: Version 0.1.13

This release focuses on improving the developer experience through comprehensive documentation and enhancing the reliability of our test suite across different operating systems.

Fixes

  • CI: Tests have been updated to normalize file paths, resolving inconsistencies between Windows and Linux environments. This ensures that tests related to file paths now run reliably across platforms.

Documentation

  • TSDoc: Added extensive TSDoc documentation across the entire library. This includes:
    • Module-level explanations and usage examples for fs, fs/io, fs/ops, and fs/stat.
    • Detailed descriptions for interfaces, functions, and classes, such as FsWatcher, isDir, isFile, and error types.
      This will make the library easier to understand and integrate into your projects.

Full Changelog: 0.1.12...0.1.13

0.1.12

19 Apr 12:54

Choose a tag to compare

  • Adding ops.readlink
  • Adding ops.realpath
  • Some cleanup

Full Changelog: 0.1.11...0.1.12

0.1.11

29 Apr 19:43

Choose a tag to compare

Replaces watch with custom implementation FsWatcher, as watch from node:fs/promises works differently in different runtimes.

0.0.10

24 Apr 19:36

Choose a tag to compare

0.0.9

08 Apr 19:32

Choose a tag to compare

Changes

Full Changelog: 0.0.8...0.0.9

0.0.8

30 Mar 20:32

Choose a tag to compare

0.0.7

30 Mar 00:32

Choose a tag to compare

Changes

  • Adds which() for finding executable location in PATH

Full Changelog: 0.0.6...0.0.7

0.0.6

28 Mar 21:03

Choose a tag to compare

Changes

  • Adds convenience functions find() and hash()

Full Changelog: 0.0.5...0.0.6

0.0.5

28 Mar 00:57

Choose a tag to compare

Changes

  • Add size and diskusage to stat module
  • Add various functions to ops module