Skip to content
This repository has been archived by the owner on Dec 14, 2021. It is now read-only.

chore(deps): update dependency fast-glob to v3.2.7 #36

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

Conversation

renovate[bot]
Copy link

@renovate renovate bot commented Dec 1, 2019

WhiteSource Renovate

This PR contains the following updates:

Package Change Age Adoption Passing Confidence
fast-glob 3.1.0 -> 3.2.7 age adoption passing confidence

Release Notes

mrmlnc/fast-glob

v3.2.7

Compare Source

πŸ› Bug fixes

The previous release (3.2.6) introduced a regression, thanks to which negative patterns were not applied to patterns outside the current directory.

This release fixes the issue.

v3.2.6

Compare Source

πŸ› Bug fixes

  • Now you can use patterns related to the parent directory along with the regular ones. (#​310, #​316)
// Patterns inside current directory β†’ ['*', './*.js']
// Patterns outside current directory β†’ ['../*', './../*.js']

// Previously you could specify a patterns outside current directory.
fg.sync(['../*.txt']) β†’ ['../file.txt']

// But when the pattern inside current directory was added to them, the behavior broke down.
fg.sync(['*.md', '../*.txt']) β†’ ['file.md'] // The '../file.txt' file exists

// After this fix you can mix both kinds of patterns.
fg.sync(['*.md', '../*.txt']) β†’ ['file.md', '../file.txt']

// Right now we do not support patterns like '{.,..}/*.md'.

πŸ“– Documentation

  • Added clarifications for the followSymbolicLinks option.

βš™οΈ Infrastructure

  • The glob-parent package has been updated to fix vulnerabilities. (#​304)
  • The micromatch package has been updated to eliminate dependency on the picomatch package from this package. (#​256)
  • Node.js 16 has been added to the CI configuration to run tests and benchmarks. Now benchmarks will run only on this version. (#​311)
  • The tiny-glob package has been added to the synchronous product benchmarks. (#​323)
  • The fdir package has been added to synchronous and asynchronous product benchmarks. The latest launch. (#​322)
  • The .npmignore file has been replaced by the files field in the package.json file. (#​321)

v3.2.5

Compare Source

πŸ› Bug fixes

πŸ“– Documentation

βš™οΈ Infrastructure

  • Use the latest versions of OS in CI (#​279).
  • Move from Azure Pipelines to GitHub Actions (#​299).

v3.2.4

Compare Source

πŸ› Bug fixes

  • Fixed a regression in 3.2.3 when the caseSensitiveMatch option is disabled (#​276)

v3.2.3

Compare Source

πŸ› 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)

v3.2.2

Compare Source

πŸ› Bug fixes

  • Fix a problem with patterns with leading dot segment (like ./… or .\\…) (#​257)

v3.2.1

Compare Source

πŸ’¬ Common

v3.2.0

Compare Source

πŸ’¬ 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

v3.1.1

Compare Source

πŸ› 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('**');

    for await (const entry of stream) {
        console.log(entry);

        return;
    }
})();

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


Configuration

πŸ“… Schedule: At any time (no schedule defined).

🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.

β™» Rebasing: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.

πŸ”• Ignore: Close this PR and you won't be reminded about this update again.


  • If you want to rebase/retry this PR, click this checkbox.

This PR has been generated by WhiteSource Renovate. View repository job log here.

@renovate renovate bot changed the title chore(deps): update dependency fast-glob to v3.1.1 chore(deps): update dependency fast-glob to v3.2.0 Feb 16, 2020
@renovate renovate bot changed the title chore(deps): update dependency fast-glob to v3.2.0 chore(deps): update dependency fast-glob to v3.2.2 Mar 14, 2020
@renovate renovate bot force-pushed the renovate/fast-glob-3.x branch from 1edc2fc to b669f67 Compare July 1, 2020 11:59
@renovate renovate bot changed the title chore(deps): update dependency fast-glob to v3.2.2 chore(deps): update dependency fast-glob to v3.2.4 Jul 1, 2020
@renovate renovate bot changed the title chore(deps): update dependency fast-glob to v3.2.4 chore(deps): update dependency fast-glob to v3.2.5 Jan 23, 2021
@renovate renovate bot changed the title chore(deps): update dependency fast-glob to v3.2.5 chore(deps): update dependency fast-glob to v3.2.7 Oct 20, 2021
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

1 participant