Skip to content

[Snyk] Upgrade fast-glob from 3.2.11 to 3.2.12#34

Open
snyk-bot wants to merge 1 commit intomasterfrom
snyk-upgrade-c059ba995be95e381f2664d7ed41e16f
Open

[Snyk] Upgrade fast-glob from 3.2.11 to 3.2.12#34
snyk-bot wants to merge 1 commit intomasterfrom
snyk-upgrade-c059ba995be95e381f2664d7ed41e16f

Conversation

@snyk-bot
Copy link
Contributor

Snyk has created this PR to upgrade fast-glob from 3.2.11 to 3.2.12.

merge advice
ℹ️ 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 1 version ahead of your current version.
  • The recommended version was released 22 days ago, on 2022-09-09.
Release notes
Package name: fast-glob
  • 3.2.12 - 2022-09-09

    Full Changelog: 3.2.11...3.2.12

    🐛 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:

    fg.sync('**/!(*.md)')
    // ['file.md', 'a/file.md', 'a/file.txt']

    After fix:

    fg.sync('**/!(*.md)')
    // ['a/file.txt']

    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:

    ===> 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 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

    Full Changelog: 3.2.10...3.2.11

    🐛 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).

from fast-glob GitHub release notes
Commit messages
Package name: fast-glob
  • a028e36 3.2.12
  • 79260ad Merge pull request #366 from AgentEnder/test/broken-segments
  • 72a0ec2 test(regular): add failing test for segment matching
  • 2ff5a2f Merge pull request #361 from mrmlnc/use_async_method_instead_of_stream
  • 7268b50 perf: use fs.walk instead of fs.walkStream for async provider
  • 3c243c2 Merge pull request #360 from mrmlnc/ISSUE-357_fix_group_patterns_ignore
  • a1550b1 fix: do not try to apply patterns to the path with the trailing slash for non-directory entry
  • f58b8d5 Merge pull request #358 from AgentEnder/test/negative-groups
  • ee1256b test: add spec for negative groups

Compare


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:

🧐 View latest project report

🛠 Adjust upgrade PR settings

🔕 Ignore this dependency or unsubscribe from future upgrade PRs

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant