Releases: bdistin/fs-nextra
v0.5.1
v0.5.0
[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
Coverage/unit testing revealed a number of bugs, which have all been patched!
Typings and Native fs.copyFile() support
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.
v0.2.0 Merge remote-tracking branch 'origin/stable'
Fixed outputJson
v0.1.4 update to 0.1.4
Atomics
Added npm keywords
Includes no code changes, just needed to release a new version to update npm.
Bug Fixes and Function Flattening
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
The fs.exists() function now works correctly with util.promisify().