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

build(deps): bump fdir from 6.0.1 to 6.0.2 #14802

Merged
merged 1 commit into from
Aug 2, 2023

Conversation

dependabot[bot]
Copy link
Contributor

@dependabot dependabot bot commented on behalf of github Aug 1, 2023

Bumps fdir from 6.0.1 to 6.0.2.

Release notes

Sourced from fdir's releases.

6.0.2

More reliable globbing

This release contains a lot of fixes for glob making it much more reliable. (thanks to @​bglw for reporting a reproducible test case #92)

For example, doing this would return an empty array:

const crawler = new fdir().withBasePath().glob("**/*.txt");
const files = await crawler.crawl(".").withPromise();

This was because picomatch and other globbing libraries don't deal too well with paths that start with . or ./. Starting from this version, fdir tries very hard to not include ./ or . at the beginning of the paths.

The end result is that fdir should now work similar to fast-glob and other globbing libraries.

Node v20 support

Starting from this version, fdir now officially supports Node v20 with all its tests running on it.

Other fixes

  1. fdir now automatically fallbacks to crawling the current working directory if you pass an empty string as crawl root.
  2. Using withRelativePaths with ./ as root path will now have no effect.
Commits
  • b3774d9 chore: bump version to 6.0.2
  • a616a9e fix: no need for dir fallback when using exclude
  • bdd5261 test: check for abortcontroller before running withAbortSignal test
  • e328dfc ci: remove invalid if: $
  • 79927f4 ci: send parallel finished signal after tests
  • 62e7d8d ci: run tests on node v20
  • 472bbf1 test: make sure paths never start with ./
  • 4f4639c fix: ignore withRelativePath if root === ./
  • ba4a43c fix: there should be no empty directory when using withDirs
  • d09c43a test: update
  • Additional commits viewable in compare view

Dependabot compatibility score

Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting @dependabot rebase.

Dependabot will merge this PR once CI passes on it, as requested by @mdn-bot.


Dependabot commands and options

You can trigger Dependabot actions by commenting on this PR:

  • @dependabot rebase will rebase this PR
  • @dependabot recreate will recreate this PR, overwriting any edits that have been made to it
  • @dependabot merge will merge this PR after your CI passes on it
  • @dependabot squash and merge will squash and merge this PR after your CI passes on it
  • @dependabot cancel merge will cancel a previously requested merge and block automerging
  • @dependabot reopen will reopen this PR if it is closed
  • @dependabot close will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually
  • @dependabot ignore this major version will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)
  • @dependabot ignore this minor version will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)
  • @dependabot ignore this dependency will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)

Bumps [fdir](https://github.com/thecodrr/fdir) from 6.0.1 to 6.0.2.
- [Release notes](https://github.com/thecodrr/fdir/releases)
- [Commits](thecodrr/fdir@v6.0.1...v6.0.2)

---
updated-dependencies:
- dependency-name: fdir
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <[email protected]>
@dependabot dependabot bot requested a review from a team as a code owner August 1, 2023 11:23
@dependabot dependabot bot added dependencies Pull requests that update a dependency file javascript Pull requests that update Javascript code labels Aug 1, 2023
@github-actions github-actions bot added the system Infrastructure and configuration for the project label Aug 1, 2023
Copy link
Collaborator

@mdn-bot mdn-bot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@dependabot squash and merge

@dependabot @github
Copy link
Contributor Author

dependabot bot commented on behalf of github Aug 1, 2023

One of your CI runs failed on this pull request, so Dependabot won't merge it.

Dependabot will still automatically merge this pull request if you amend it and your tests pass.

@yin1999 yin1999 merged commit 35c7aa3 into main Aug 2, 2023
8 of 9 checks passed
@yin1999 yin1999 deleted the dependabot/npm_and_yarn/fdir-6.0.2 branch August 2, 2023 12:04
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
dependencies Pull requests that update a dependency file javascript Pull requests that update Javascript code system Infrastructure and configuration for the project
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants