Skip to content

Bump fast-glob from 3.2.12 to 3.3.0

Dependabot requested to merge dependabot-npm_and_yarn-fast-glob-3.3.0 into master

Bumps fast-glob from 3.2.12 to 3.3.0.

Release notes

Sourced from fast-glob's releases.

3.3.0

Full Changelog: https://github.com/mrmlnc/fast-glob/compare/3.2.12...3.3.0

🚀 Improvements

Method aliases

New methods (glob, globSync, globStream) have been added in addition to the current methods (default import, sync, stream), which eliminate the need to rename the method when importing. In addition, an async alias has been added for the default import, which makes it possible to use this packet with ESM.

Method to convert paths to globs

A new method (convertPathToPattern) has been added in this release to convert a path to a pattern. The primary goal is to enable users to avoid processing Windows paths in each location where this package is used by utilities from third-party packages.

See more details in the pull request.

🐛 Bug fixes

  • In the past, we mishandled patterns that contained slashes when the baseNameMatch option was enabled, which went against the documented behavior. (#312)
  • Several problems with matching patterns that contain brace expansion have been resolved. The primary issue solved is when the pattern has duplicate slashes after it is expanded (#394), or the micromatch package does not correctly generate a regular expression (#365).
  • All negative patterns will now have the dot option enabled when matching paths. Previously, the !**/* patterns did not exclude hidden files (start with a dot). (#343)
  • The issue that led to duplicates in the results when overlapping or duplicate patterns were present among the patterns has been fixed. At the moment, we are only talking about leading dot. Other cases are not included. For example, running with the patterns ['./file.md', 'file.md', '*'] will now only include file.md once in the results. (#190)

📖 Documentation

A clarifying note has been added for the concurrency option, which provides more detailed information about the Thread Pool utilization.

️ Infrastructure

  • The benchmark in CI is now running on Node.js 20.
  • The benchmark now uses the public package bencho instead of an in-house implementation. You may want to try this solution for your packages and provide feedback.

🥇 New Contributors

Commits
  • af2e35d 3.3.0
  • c8f0a60 chore: disable concurrency for benchmarks
  • 6bfb5f4 Merge pull request #402 from mrmlnc/ISSUE-190_duplicates
  • 18aefc1 fix: fix duplicate results for overlapping patterns due to a leading dot
  • 53cd80f Merge pull request #401 from mairaw/patch-1
  • 980a0c3 Update docs URL
  • 1d9d3ce Merge pull request #392 from mrmlnc/ISSUE-240_p2p
  • 1fed462 feat: introduce .convertPathToPattern method
  • 5f52943 feat: escape special characters in the path depending on the platform
  • 4c60799 Merge pull request #400 from mrmlnc/ISSUE-394_additional_fix
  • Additional commits viewable in compare view


Dependabot commands
You can trigger Dependabot actions by commenting on this MR
  • $dependabot rebase will rebase this MR
  • $dependabot recreate will recreate this MR rewriting all the manual changes and resolving conflicts

Merge request reports

Loading