main
Last change
on this file since a3d63eb was d24f17c, checked in by Aleksandar Panovski <apano77@…>, 15 months ago |
Initial commit
|
-
Property mode
set to
100644
|
File size:
2.3 KB
|
Rev | Line | |
---|
[d24f17c] | 1 | 6.0.0 / 2018-09-22
|
---|
| 2 | ------------------
|
---|
| 3 |
|
---|
| 4 | ### Added
|
---|
| 5 | - `traverseAll` option. It would allow to traverse all subdirectories regardless of filter option. [#13] (Thanks to [@jskrzypek](https://github.com/jskrzypek))
|
---|
| 6 |
|
---|
| 7 | 5.0.0 / 2018-09-05
|
---|
| 8 | ------------------
|
---|
| 9 |
|
---|
| 10 | ### Changed
|
---|
| 11 | - Updated the algorithm to handle `depthLimit` option properly. [#12] (Thanks to [@Geelik](https://github.com/Geelik))
|
---|
| 12 |
|
---|
| 13 | 4.0.0 / 2018-04-30
|
---|
| 14 | ------------------
|
---|
| 15 |
|
---|
| 16 | ### Removed
|
---|
| 17 | - **BREAKING** Removed `noRecurseOnFailedFilter` option because it was counter-intuitive and confusing.
|
---|
| 18 |
|
---|
| 19 | ### Added
|
---|
| 20 | - `fs` option. It is useful when mocking `fs` object.
|
---|
| 21 | - `depthLimit` option. It can be used to specify the number of times to recurse before stopping.
|
---|
| 22 |
|
---|
| 23 | 3.0.2 / 2017-10-21
|
---|
| 24 | ------------------
|
---|
| 25 |
|
---|
| 26 | - Use `var` instead of `let` in for loop.
|
---|
| 27 |
|
---|
| 28 | 3.0.0 / 2017-08-06
|
---|
| 29 | ------------------
|
---|
| 30 |
|
---|
| 31 | ### Changed
|
---|
| 32 | - `graceful-fs` is now a regular dependency, and is always loaded. This should speed up `require` time.
|
---|
| 33 |
|
---|
| 34 | 2.1.0 / 2017-04-25
|
---|
| 35 | ------------------
|
---|
| 36 |
|
---|
| 37 | ### Fixed
|
---|
| 38 | - Apply `opts.nodir` and `opts.nofile` when `filter` option is used.
|
---|
| 39 |
|
---|
| 40 | 2.0.0 / 2017-04-23
|
---|
| 41 | ------------------
|
---|
| 42 |
|
---|
| 43 | ### Removed
|
---|
| 44 | - **BREAKING:** Removed support for `ignore` option. Instead, `filter` option can be used. See: [#1]
|
---|
| 45 |
|
---|
| 46 | ### Added
|
---|
| 47 | - `filter` option. A function that gets one argument `fn({path: '', stats: {}})` and returns true to include or false to exclude the item.
|
---|
| 48 | - `noRecurseOnFailedFilter` option to prevent unnecessary traversal of unwanted directories when `filter` function is used.
|
---|
| 49 |
|
---|
| 50 | 1.1.2 / 2017-02-17
|
---|
| 51 | ------------------
|
---|
| 52 |
|
---|
| 53 | - Changed to traditional for loop instead of using `Array.forEach()` because of better performance.
|
---|
| 54 |
|
---|
| 55 | 1.1.1 / 2017-02-05
|
---|
| 56 | ------------------
|
---|
| 57 |
|
---|
| 58 | - changed handling error to throw the exception
|
---|
| 59 |
|
---|
| 60 | 1.1.0 / 2017-01-25
|
---|
| 61 | ------------------
|
---|
| 62 |
|
---|
| 63 | - switched from [multimatch](https://github.com/sindresorhus/multimatch) to [micromatch](https://github.com/jonschlinkert/micromatch) for matching ignore patterns (showed faster performance)
|
---|
| 64 | - bug fixed: normalize root directory to make sure always return absolute paths.
|
---|
| 65 |
|
---|
| 66 | 1.0.2 / 2017-01-17
|
---|
| 67 | ------------------
|
---|
| 68 |
|
---|
| 69 | - initial release
|
---|
| 70 |
|
---|
| 71 | [#1]: https://github.com/manidlou/node-klaw-sync/issues/1 "loading all files with certain name"
|
---|
| 72 | [#12]: https://github.com/manidlou/node-klaw-sync/pull/12 "Fixing logic issues"
|
---|
| 73 | [#13]: https://github.com/manidlou/node-klaw-sync/pull/13 "Traverse all option"
|
---|
Note:
See
TracBrowser
for help on using the repository browser.