Skip to content
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.5 to 3.3.2 #13

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

rntvicente
Copy link
Owner

This PR was automatically created by Snyk using the credentials of a real user.


Snyk has created this PR to upgrade fast-glob from 3.2.5 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 10 versions ahead of your current version.
  • The recommended version was released 2 months ago, on 2023-11-06.

The recommended version fixes:

Severity Issue PriorityScore (*) Exploit Maturity
Information Exposure
SNYK-JS-MONGODB-5871303
424/1000
Why? Has a fix available, CVSS 4.2
No Known Exploit

(*) Note that the real score may have changed since the PR was raised.

Release notes
Package name: fast-glob
  • 3.3.2 - 2023-11-06

    Full Changelog: 3.3.1...3.3.2

    🐛 Bug fixes

    • Handle square brackets as a special character on Windows in escape functions (#425)
    • Keep escaping after brace expansion (#422)
  • 3.3.1 - 2023-07-22

    Full Changelog: 3.3.0...3.3.1

    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.

  • 3.3.0 - 2023-06-30

    Full Changelog: 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

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

  • 3.2.10 - 2022-01-09

    Full Changelog: 3.2.9...3.2.10

    🐛 Bug fixes

    • Fixed a regression in 3.2.8 when the {a,b,c} pattern no longer considered a dynamic pattern (thanks @ amitdahan, #347).

    🥇 New Contributors

  • 3.2.9 - 2022-01-07

    Full Changelog: 3.2.8...3.2.9

    🐛 Bug fixes

    • Fixed a regression in 3.2.8 with invalid regular expression on older node.js versions (#345).
  • 3.2.8 - 2022-01-07
    Read more
  • 3.2.7 - 2021-07-08

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

  • 3.2.6 - 2021-06-27
    Read more
  • 3.2.5 - 2021-01-17
from fast-glob GitHub release notes
Commit messages
Package name: fast-glob
  • e60a9f5 3.3.2
  • 8638dc6 fix: escape square braces on Windows platform
  • 91dc88a fix: keep escaping after brace expansion
  • 4ba3fcd 3.3.1
  • e4ee035 Merge pull request #407 from ivanhofer/patch-1
  • 7303d0f fix typo
  • 697caf7 Merge pull request #406 from mrmlnc/ISSUE-404_fix_patterns.reduce
  • 2a0c808 fix: cast the ignore field to the array
  • c089430 build: fix build benchmark files
  • 9a1361f docs: remove funding
  • bbc9c28 docs: update benchmark section
  • 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
  • 10c1fca fix: filter out empty patterns after their expansion
  • 116ca60 Merge pull request #399 from mrmlnc/ISSUE-312_base_name_match
  • 4bf7ed9 fix: correctly process patterns with `baseNameMatch` option

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.

None yet

2 participants