mirror of
https://github.com/CharaChorder/DeviceManager.git
synced 2026-01-20 17:03:42 +00:00
2.3 KiB
2.3 KiB
6.0.0 / 2018-09-22
Added
traverseAlloption. It would allow to traverse all subdirectories regardless of filter option. #13 (Thanks to @jskrzypek)
5.0.0 / 2018-09-05
Changed
4.0.0 / 2018-04-30
Removed
- BREAKING Removed
noRecurseOnFailedFilteroption because it was counter-intuitive and confusing.
Added
fsoption. It is useful when mockingfsobject.depthLimitoption. It can be used to specify the number of times to recurse before stopping.
3.0.2 / 2017-10-21
- Use
varinstead ofletin for loop.
3.0.0 / 2017-08-06
Changed
graceful-fsis now a regular dependency, and is always loaded. This should speed uprequiretime.
2.1.0 / 2017-04-25
Fixed
- Apply
opts.nodirandopts.nofilewhenfilteroption is used.
2.0.0 / 2017-04-23
Removed
- BREAKING: Removed support for
ignoreoption. Instead,filteroption can be used. See: #1
Added
filteroption. A function that gets one argumentfn({path: '', stats: {}})and returns true to include or false to exclude the item.noRecurseOnFailedFilteroption to prevent unnecessary traversal of unwanted directories whenfilterfunction is used.
1.1.2 / 2017-02-17
- Changed to traditional for loop instead of using
Array.forEach()because of better performance.
1.1.1 / 2017-02-05
- changed handling error to throw the exception
1.1.0 / 2017-01-25
- switched from multimatch to micromatch for matching ignore patterns (showed faster performance)
- bug fixed: normalize root directory to make sure always return absolute paths.
1.0.2 / 2017-01-17
- initial release