Skip to content

Releases: bdistin/fs-nextra

v0.5.1

13 May 17:56
cb5728f
Compare
Choose a tag to compare

Fixes a regression in the scan function. Filter functions were not getting a full path.
Includes better typing for compatibility with node 14.
Replaces a usage of a node 14 deprecated function.

v0.5.0

12 May 22:35
db0be4e
Compare
Choose a tag to compare

[BREAKING] The library no longer re-exports fs promises. This allows wider compatibility with newer versions of node's fs, without locking out lower versions by having to import/export newly added fs promise methods.
[FEATURE] The library now exports all types used for underlying nextra interfaces.
[BREAKING] The scan function is now updated to use the new openDir function from node v12.12.0's fs. This should be more performant than the previous implementation, however, instead of providing a Map<path, Stats>, a Map<path, Dirent> is returned. Dirent has most of the same methods as Stats (so your filter functions probably will work the same), but it is missing some finer details you get with Stats. Please note the new implementation will error if you try to scan on a file, unlike the previous implementation. This also fixes some weird behavior around the limit option.
[BREAKING] Because we are using something added in node v12.12.0, the minimum engine is now that version.
[N/A] Aliases are now exported from within the files they are aliasing.
[PATCH] This fixes a couple of functions that weren't exported correctly.

This version will act as a first Release Candidate for v1.0.0.

v0.3.1 Copy/Symlink/Link bugfixes

06 Oct 19:12
Compare
Choose a tag to compare

Coverage/unit testing revealed a number of bugs, which have all been patched!

Typings and Native fs.copyFile() support

22 Sep 21:29
Compare
Choose a tag to compare

Along with a host of new copy methods:
copyFileAtomic - same as the promisified version of fs.copyFile, but replaces the destination atomically.
createFileCopy/ensureFileCopy - ensures folder structure before making the copy, dynamically creating directories where needed.
createFileCopyAtomic/ensureFileCopyAtomic - Same as createFileCopy/ensureFileCopy, but replaces the destination atomically.

Major refactor, fixes some various bugs, adds docs w/ auto building, adds nearly full testing.

07 Jul 00:35
Compare
Choose a tag to compare

Fixed outputJson

30 Jun 23:51
Compare
Choose a tag to compare
v0.1.4

update to 0.1.4

Atomics

30 Jun 19:40
Compare
Choose a tag to compare

adds Atomic Methods to fs-nextra

Added npm keywords

10 Jun 14:09
Compare
Choose a tag to compare

Includes no code changes, just needed to release a new version to update npm.

Bug Fixes and Function Flattening

09 Jun 03:34
Compare
Choose a tag to compare

Several functions are no-longer defined ever-time certain methods are run.

A couple improper uses of the variable path has been corrected, fixing some edge-case bugs.

Engine Bump to node v8.1.0

08 Jun 14:01
Compare
Choose a tag to compare

nodejs/node#13316

The fs.exists() function now works correctly with util.promisify().