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.0.0 to 3.2.5 #7

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

Conversation

Frondor
Copy link
Owner

@Frondor Frondor commented Mar 8, 2021

Snyk has created this PR to upgrade fast-glob from 3.0.0 to 3.2.5.

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 16 versions ahead of your current version.
  • The recommended version was released 2 months ago, on 2021-01-17.
Release notes
Package name: fast-glob
  • 3.2.5 - 2021-01-17

    🐛 Bug fixes

    📖 Documentation

    • Fix examples for the markDirectories option (#287, thanks @ yarastqt).

    ⚙️ Infrastructure

    • Use the latest versions of OS in CI (#279).
    • Move from Azure Pipelines to GitHub Actions (#299).
  • 3.2.4 - 2020-06-16

    🐛 Bug fixes

    • Fixed a regression in 3.2.3 when the caseSensitiveMatch option is disabled (#276)
  • 3.2.3 - 2020-06-15

    🐛 Bug fixes

    • Fixed an issue when the unique option led to incorrect results when mixing static and dynamic patterns (#268)
    • Fixed an issue when the pattern starting with a forward slash (#266)
  • 3.2.2 - 2020-02-21

    🐛 Bug fixes

    • Fix a problem with patterns with leading dot segment (like ./… or .\\…) (#257)
  • 3.2.1 - 2020-02-20

    💬 Common

    • Temporary fix for #253.
  • 3.2.1-beta.1 - 2020-02-20
  • 3.2.1-beta.0 - 2020-02-20
  • 3.2.0 - 2020-02-15

    💬 Common

    • An empty pattern now causes an error (#247)

    🚀 Improvements

    In the #156 issue we've redesigned the deep filter, which controls the reading of directories in depth.

    Previously, this filter did not use positive patterns directly (only their maximum depth). The example below shows how many extra directories we read:

    {src,fixtures}/**
    

    src → read
    fixtures → read
    out → read
    node_modules → read

    Now we apply positive patterns.

    {src,fixtures}/**
    

    src → read
    fixtures → read
    out → skip
    node_modules → skip

    Synthetic benchmark

    More benchmarks can be found here.

    {fixtures,out}/{first,second}/*

    sync, ms async, ms stream, ms
    3.x.x 13 22 20
    3.2.0 5 9 8

    {fixtures,out}/**

    sync, ms async, ms stream, ms
    3.x.x 37 49 52
    3.2.0 6 10 12

    Real world benchmark

    • Globby
    • Prettier
    • {blocks-*,construct}/**/*.styl (a very large project) 13s → 0.16s

    Known issues

    • For some cases, there is a noticeable slowdown of 3-6%.
    • Patterns containing {a..z} (or similar) may introduce some slowdown.
    • Actually, fast-glob is 2 times slower than node-glob in this scenario.

    We will work on this in the future.

    🎉 Thanks

    • @ jonschlinkert for the scan method in picomatch that returns parts of the pattern.
    • @ fisker for early beta feedback.
  • 3.2.0-beta.2 - 2020-02-09
  • 3.2.0-beta - 2020-02-04
  • 3.1.1 - 2019-12-01

    🐛 Bug fixes

    Stream is not closed when the receiver is closed (#239)

    Previously, we read directories in the stream, even after the receiver is closed. Now we stop reading after closing the receiver by .emit('end'), .destroy() or for await...of.

    const fg = require('fast-glob');
    

    (async () => {
    const stream = fg.stream('**');

    <span class="pl-k">for</span> <span class="pl-k">await</span> <span class="pl-kos">(</span><span class="pl-k">const</span> <span class="pl-s1">entry</span> <span class="pl-k">of</span> <span class="pl-s1">stream</span><span class="pl-kos">)</span> <span class="pl-kos">{</span>
        <span class="pl-smi">console</span><span class="pl-kos">.</span><span class="pl-en">log</span><span class="pl-kos">(</span><span class="pl-s1">entry</span><span class="pl-kos">)</span><span class="pl-kos">;</span>
    
        <span class="pl-k">return</span><span class="pl-kos">;</span>
    <span class="pl-kos">}</span>
    

    })();

    Most likely, in future releases, we will improve integration with streams (#243).

  • 3.1.0 - 2019-10-06

    💬 Common

    📖 Documentation

    🐛 Bug Fixes

    • Matching specific file is not found when pattern contains parentheses (#223)
      • ⚠️ Now we route patterns with escape symbol to dynamic patterns
    • Match subdirectories starting with . in {dot: false} mode (#226)

    ⚙️ Infrastructure

    • Move from TSLint to ESLint (#233)
  • 3.0.4 - 2019-07-05

    This is a maintenance release.

    💬 Common

    • Set correct default value for the onlyFiles option in the documentation (thanks, @ garyking)
    • Disable the strictSlashes option (internal) for the micromatch package. Related to micromatch/picomatch#21.
  • 3.0.3 - 2019-06-27

    💬

    • Correct method for the Stream API in the documentation (#217, thanks @ bluelovers)
    • We have divided the benchmark into two types:
      • The product benchmark is a comparison of performance relative to competitors.
      • The regression benchmark is a comparison of performance relative to the previous version.
    • We added a launch of both types of benchmark in CI. Automatically starts only when the master branch is built.
    • Now the smoke tests are run for all API's (sync, async, stream).

    🐛 Bug fixes

    • Non-existing directories in the globbing pattern throw an error with the asynchronous API (#211)
    • The markDirectories option adds extra slashes for every directory in the path with the asynchronous API (#214)
  • 3.0.2 - 2019-06-23
  • 3.0.1 - 2019-06-17
  • 3.0.0 - 2019-06-16
from fast-glob GitHub release notes
Commit messages
Package name: fast-glob
  • ffff3ec 3.2.5
  • f22f40c Merge pull request #287 from yarastqt/yarastqt.fix-readme-typo
  • 19cdcb7 Merge pull request #301 from mrmlnc/FG-277_smoke_tests_for_root_case
  • 62e9395 test(smoke): add tests for root
  • 9fb903d Merge pull request #299 from mrmlnc/TRIVIAL_github_actions
  • 485d3b5 build: introduce GitHub Actions
  • fd30c7e Merge pull request #298 from mrmlnc/ISSUE-281_guards
  • a78cab6 refactor(settings): add comment to CPU_COUNT detection
  • 800aea6 Merge pull request #296 from bugct/master
  • 8e945a0 fix on android
  • 685ca59 docs: fix code typo for markDirectories example
  • 512d570 Merge pull request #279 from mrmlnc/update_azp
  • cd88994 build: update pipelines
  • a9f7b95 3.2.4
  • 9616918 Merge pull request #278 from mrmlnc/ISSUE-276_fix_regression
  • 6edfb7c test(smoke): smoke test for #276
  • 7ecf97f test(smole): smoke test for #266
  • 6f34ac9 test(smoke): the ability to conditionally run the test
  • b283658 fix(utils/pattern): correctly handle an empty string
  • 98e566c 3.2.3
  • 2f2c96f Merge pull request #275 from mrmlnc/ISSUE-266_forward_slash
  • 523df23 fix(utils/pattern): correctly split pattern with a forward slash into parts
  • 6cab36f Merge pull request #274 from mrmlnc/ISSUE-268_unique
  • f3960e4 fix(filters/entry): add only matched entries to the uniqueness index

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.

2 participants