npm fast-glob 2.2.4

latest releases: 3.3.2, 3.3.1, 3.3.0...
5 years ago

A big release of bug fixes

💬 Common

Input values validation (#119)

Unfortunately, not everyone uses TypeScript.
Now we are clearly saying that we only accept strings as input.

🐛 Bug Fixes

Absolute negative patterns (#113)

Now we support the absolute negative patterns. You can read more about this in the documentation.

📖 Works only when the absolute option is enabled.

Performance optimizations for non-deep patterns (#120)

We fixed a bug in the mechanism of determining the minimum required depth for reading.

📖 In some cases, we will still read more than we need to, because in the current implementation we cannot accurately determine the depth of the read. But we will work on this further within #53.

For example, the user wrote the following pattern: fixtures/*.

Prior to release of this version, FastGlob could read more directories than it needed:

./fixtures 
└── one 👍
   └── two  👍
      └── three 👍
         └── four ❌
            └── index.js

Right now:

./fixtures 
└── one ❌
   └── two 
      └── three
         └── four
            └── index.js

The markDirectories options does not work when the absolute option is enabled(#121)

Now it works correctly. Thanks @rijnhard for fix it 🎉

The deep options works incorrectly (#129)

Fixed the problem of incorrect depth reading limit when using the deep option.

Don't miss a new fast-glob release

NewReleases is sending notifications on new releases.