From e828fe24bc96c547a56ef442b80e75bb4532b8ef Mon Sep 17 00:00:00 2001 From: Derek Croote Date: Thu, 2 Mar 2023 21:11:57 -0800 Subject: [PATCH] Update v4 glob support in README PR-URL: https://github.com/isaacs/rimraf/pull/258 Credit: @dcroote Close: #258 Reviewed-by: @isaacs --- README.md | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/README.md b/README.md index 46df76d6..99aa3752 100644 --- a/README.md +++ b/README.md @@ -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.