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

chore(deps): bump fdir from 6.0.1 to 6.0.2 #9423

Merged
merged 1 commit into from
Aug 1, 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] <support@github.com>
@dependabot dependabot bot added dependencies Pull requests that update a dependency file javascript Pull requests that update Javascript code labels Aug 1, 2023
@mdn-bot
Copy link
Collaborator

mdn-bot commented Aug 1, 2023

@dependabot squash and merge

@dependabot dependabot bot merged commit 7c9edbd into main Aug 1, 2023
12 checks passed
@dependabot dependabot bot deleted the dependabot/npm_and_yarn/fdir-6.0.2 branch August 1, 2023 12:05
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
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant