-
Notifications
You must be signed in to change notification settings - Fork 0
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[Snyk] Upgrade fast-glob from 3.2.7 to 3.3.2 #3
[Snyk] Upgrade fast-glob from 3.2.7 to 3.3.2 #3
Conversation
Snyk has created this PR to upgrade fast-glob from 3.2.7 to 3.3.2. See this package in npm: fast-glob See this project in Snyk: https://app.snyk.io/org/abdulrahman305/project/0439af42-980d-4b8c-ba52-f729edcae082?utm_source=github&utm_medium=referral&page=upgrade-pr
👋 I'm here to help you review your pull request. When you're ready for me to perform a review, you can comment anywhere on this pull request with this command: As a reminder, here are some helpful tips on how we can collaborate together:
|
Your organization has reached the subscribed usage limit. You can upgrade your account by purchasing a subscription at Stripe payment link Disclaimer: This comment was entirely generated using AI. Be aware that the information provided may be incorrect. Current plan usage: 103.59% Have feedback or need help? |
Important Review skippedIgnore keyword(s) in the title. Please check the settings in the CodeRabbit UI or the You can disable this status message by setting the Thank you for using CodeRabbit. We offer it for free to the OSS community and would appreciate your support in helping us grow. If you find it useful, would you consider giving us a shout-out on your favorite social media? TipsChatThere are 3 ways to chat with CodeRabbit:
Note: Be mindful of the bot's finite context window. It's strongly recommended to break down tasks such as reading entire modules into smaller chunks. For a focused discussion, use review comments to chat about specific files and their changes, instead of using the PR comments. CodeRabbit Commands (invoked as PR comments)
Additionally, you can add CodeRabbit Configration File (
|
This PR was automatically created by Snyk using the credentials of a real user.
![snyk-top-banner](https://github.com/andygongea/OWASP-Benchmark/assets/818805/c518c423-16fe-447e-b67f-ad5a49b5d123)
Snyk has created this PR to upgrade fast-glob from 3.2.7 to 3.3.2.
ℹ️ Keep your dependencies up-to-date. This makes it easier to fix existing vulnerabilities and to more quickly identify and fix newly disclosed vulnerabilities when they affect your project.
The recommended version is 8 versions ahead of your current version.
The recommended version was released on 8 months ago.
Issues fixed by the recommended upgrade:
SNYK-JS-MICROMATCH-6838728
SNYK-JS-ASYNC-2441827
SNYK-JS-BRACES-6838727
SNYK-JS-FOLLOWREDIRECTS-6141137
SNYK-JS-MOMENT-2440688
SNYK-JS-MOMENT-2944238
SNYK-JS-MINIMATCH-3050818
SNYK-JS-FOLLOWREDIRECTS-2332181
SNYK-JS-FOLLOWREDIRECTS-6444610
SNYK-JS-NODEFETCH-2342118
SNYK-JS-XML2JS-5414874
SNYK-JS-MINIMIST-2429795
SNYK-JS-FOLLOWREDIRECTS-2396346
Release notes
Package name: fast-glob
🐛 Bug fixes
This release fixes a regression for cases where the
ignore
option is used with a string (#403, #404).The public interface of this package does not support a string as the value for the
ignore
option since 2018 year (release).So, in the next major release, we will reintroduce method implementations that do not involve strings in the
ignore
option.🚀 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, anasync
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
baseNameMatch
option was enabled, which went against the documented behavior. (#312)micromatch
package does not correctly generate a regular expression (#365).dot
option enabled when matching paths. Previously, the!**/*
patterns did not exclude hidden files (start with a dot). (#343)['./file.md', 'file.md', '*']
will now only includefile.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
🥇 New Contributors
🐛 Bug fixes
Fixed an issue introduced in
3.2.7
related to incorrect application of patterns to entries with a trailing slash when the entry is not a directory.Before changes:
After fix:
Thanks @ AgentEnder for the issue (#357).
🚀 Improvements
This release includes performance improvements for the asynchronous method. For this method we now use an asynchronous directory traversal interface instead of using a streaming interface. This gives up to 15% acceleration for medium and large directories. The result depends a lot on hardware.
You can find the benchmark results for this release in CI here.
Here are a few of measurements on my laptop:
===> Max stdev: 7 | Retries: 3 | Options: {}
Name Time, ms Time stdev, % Memory, MB Memory stdev, % Entries Errors Retries
--------------------- -------- ------------- ---------- --------------- ------- ------ -------
fast-glob-current.js 4.390 0.252 6.253 0.015 4 0 1
fast-glob-previous.js 5.653 0.633 6.051 0.056 4 0 1
===> Benchmark pattern "**" with 100 launches (regression, async)
===> Max stdev: 7 | Retries: 3 | Options: {}
Name Time, ms Time stdev, % Memory, MB Memory stdev, % Entries Errors Retries
--------------------- -------- ------------- ---------- --------------- ------- ------ -------
fast-glob-current.js 34.587 1.287 10.654 0.607 11835 0 1
fast-glob-previous.js 41.972 2.086 10.236 1.224 11835 0 1
3.2.11 - 2022-01-14
🐛 Bug fixes
Yeap, this is another release aimed at fixing problems with detecting brace expansions in patterns. This time, patterns like
abc/{a.txt,b.js}
was not marked as a dynamic pattern. So, now the regex has been rewritten to a generalized solution as a function to avoid future problems due to the complexity of the regular expression.Thanks @ MurzNN for the report of this problem (#351).
🐛 Bug fixes
3.2.8
when the{a,b,c}
pattern no longer considered a dynamic pattern (thanks @ amitdahan, #347).🥇 New Contributors
🐛 Bug fixes
3.2.8
with invalid regular expression on older node.js versions (#345).🐛 Bug fixes
Fix directory matching with trailing slashes (#290)
Previously the
src/*/
pattern did not work as expected (likesrc/*
).Double-slash in the middle of the pattern is not collapsed (#330)
Starting from this release, patterns like
src//*
will work like similar patterns without duplicate slashes. This was done for continuity with other solutions (glob
,ls src//*
, python, golang, …).Adjust inefficient regular expressions (#336, #342, #344)
📖 Documentation
⚙️ Infrastructure
🥇 New Contributors
🐛 Bug fixes
The previous release (
3.2.6
) introduced a regression, which makes negative patterns were not applied to patterns outside the current directory.This release fixes the issue.
Important
Note: You are seeing this because you or someone else with access to this repository has authorized Snyk to open upgrade PRs.
For more information: