Skip to content

Commit 5bffd88

Browse files
committedNov 4, 2019
release v5.0.0
1 parent 6a27455 commit 5bffd88

File tree

3 files changed

+19
-2
lines changed

3 files changed

+19
-2
lines changed
 

‎CHANGELOG.md

+17
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,23 @@ All notable changes will be documented in this file.
44
`readdir-enhanced` adheres to [Semantic Versioning](http://semver.org/).
55

66

7+
[v5.0.0](https://github.com/JS-DevTools/readdir-enhanced/tree/v5.0.0) (2019-11-03)
8+
----------------------------------------------------------------------------------------------------
9+
10+
#### Breaking Changes
11+
12+
- Previously there were alternative versions of each function that returned [`fs.Stats` objects](https://nodejs.org/api/fs.html#fs_class_fs_stats) rather than path strings. These functions have been replaced by [the `stats` option](README.md#stats).
13+
14+
#### Other Changes
15+
16+
- Completely rewritten in TypeScript
17+
18+
- Added an [async iterable interface](README.md#pick-your-api) so you can now crawl directories using convenient [`for await...of` syntax](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Statements/for-await...of). This is faster and more efficient that the normal sync or async interfaces, since it doesn't require buffering all results in memory.
19+
20+
21+
[Full Changelog](https://github.com/JS-DevTools/readdir-enhanced/compare/v4.0.3...v5.0.0)
22+
23+
724
[v4.0.0](https://github.com/JS-DevTools/readdir-enhanced/tree/v4.0.0) (2019-08-19)
825
----------------------------------------------------------------------------------------------------
926
#### Breaking Changes

‎package-lock.json

+1-1
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

‎package.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "readdir-enhanced",
3-
"version": "5.0.0-beta.1",
3+
"version": "5.0.0",
44
"description": "fs.readdir with sync, async, and streaming APIs + filtering, recursion, absolute paths, etc.",
55
"keywords": [
66
"fs",

0 commit comments

Comments
 (0)
Failed to load comments.