Skip to content

Commit

Permalink
Update v4 glob support in README
Browse files Browse the repository at this point in the history
PR-URL: #258
Credit: @dcroote
Close: #258
Reviewed-by: @isaacs
  • Loading branch information
dcroote authored and isaacs committed Mar 3, 2023
1 parent 80aef8b commit e828fe2
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,8 @@ Install with `npm install rimraf`.
## Major Changes from v3 to v4

- The function returns a `Promise` instead of taking a callback.
- Built-in glob support removed.
- Globbing requires the `--glob` option to be set. (Removed in
4.0 and 4.1, opt-in support added in 4.2.)
- Functions take arrays of paths, as well as a single path.
- Native implementation used by default when available, except on
Windows, where this implementation is faster and more reliable.
Expand Down

0 comments on commit e828fe2

Please sign in to comment.