Skip to content

Releases: sindresorhus/globby

6.0.0

22 Jul 21:59
Compare
Choose a tag to compare

Added (75fc976) a strict input validation check to ensure the input is a string or array of strings. While this is just enforcing what's already documented, we did a major release to be sure we didn't break it for anyone using globby with invalid input.

5.0.0

11 Jun 06:41
Compare
Choose a tag to compare

Improvements

  • Improved performance by sharing file system state cache between glob patterns in the same globby()/globby.generateGlobTasks() call.
  • Bumped glob dependency to v7, containing several bug fixes.

Breaking changes

  • Raise error if cwd is not a directory (isaacs/node-glob@0ffab1f).
  • Tasks returned by generateGlobTasks() now share a persistent file system cache. These tasks should be run only once; create a new tasks list to ensure that file system changes are computed properly. See the reasoning in #28 as well as the generateGlobTasks() documentation.

v4.1.0...v5.0.0