Respect parent .gitignore files when gitignore option is enabled b9a9a84
When {gitignore: true}, Globby now searches for .gitignore files up to the Git repo root (if detected). This matches Git's actual behavior where parent .gitignore patterns apply to subdirectories. Previously, only .gitignore files within the glob search path were considered. This change could break existing code that relied on the previous, more limited behavior.
This PR contains the following updates:
| Package | Change | [Age](https://docs.renovatebot.com/merge-confidence/) | [Confidence](https://docs.renovatebot.com/merge-confidence/) |
|---|---|---|---|
| [globby](https://github.com/sindresorhus/globby) | [`^15.0.0` → `^16.0.0`](https://renovatebot.com/diffs/npm/globby/15.0.0/16.1.0) |  |  |
---
### Release Notes
<details>
<summary>sindresorhus/globby (globby)</summary>
### [`v16.1.0`](https://github.com/sindresorhus/globby/releases/tag/v16.1.0)
[Compare Source](https://github.com/sindresorhus/globby/compare/v16.0.0...v16.1.0)
- Add [`expandNegationOnlyPatterns`](https://github.com/sindresorhus/globby?tab=readme-ov-file#expandnegationonlypatterns) option [`eb78791`](https://github.com/sindresorhus/globby/commit/eb78791)
- Fix: Normalize leading-slash negation patterns before task generation [`59e269f`](https://github.com/sindresorhus/globby/commit/59e269f)
***
### [`v16.0.0`](https://github.com/sindresorhus/globby/releases/tag/v16.0.0)
[Compare Source](https://github.com/sindresorhus/globby/compare/v15.0.0...v16.0.0)
##### Breaking
- Respect parent .gitignore files when `gitignore` option is enabled [`b9a9a84`](https://github.com/sindresorhus/globby/commit/b9a9a84)
- When `{gitignore: true}`, Globby now searches for .gitignore files up to the Git repo root (if detected). This matches Git's actual behavior where parent .gitignore patterns apply to subdirectories. Previously, only .gitignore files within the glob search path were considered. This change could break existing code that relied on the previous, more limited behavior.
##### Improvements
- Support negation-only patterns [`1273541`](https://github.com/sindresorhus/globby/commit/1273541)
- Respect custom fs implementation from options [`c2eb272`](https://github.com/sindresorhus/globby/commit/c2eb272)
- Add some more options to `isGitIgnored` functions [`e794ff9`](https://github.com/sindresorhus/globby/commit/e794ff9)
- Improve error message for invalid `cwd` option [`7535e6d`](https://github.com/sindresorhus/globby/commit/7535e6d)
##### Fixes
- Fix `{gitignore: true}` performance issue [`fcb07c3`](https://github.com/sindresorhus/globby/commit/fcb07c3)
- Fix bundler compatibility [`e6c72c9`](https://github.com/sindresorhus/globby/commit/e6c72c9)
- Fix parent directory patterns with `gitignore` option [`11dd2df`](https://github.com/sindresorhus/globby/commit/11dd2df)
- Fix ignore patterns with parent directory references [`a58d117`](https://github.com/sindresorhus/globby/commit/a58d117)
- Fix types for `stats` option [`c10f600`](https://github.com/sindresorhus/globby/commit/c10f600)
***
</details>
---
### Configuration
📅 **Schedule**: Branch creation - At any time (no schedule defined), Automerge - 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.
---
- [ ] <!-- rebase-check -->If you want to rebase/retry this PR, check this box
---
This PR has been generated by [Renovate Bot](https://github.com/renovatebot/renovate).
<!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiI0My4wLjUiLCJ1cGRhdGVkSW5WZXIiOiI0My4wLjUiLCJ0YXJnZXRCcmFuY2giOiJtYXN0ZXIiLCJsYWJlbHMiOlsiYXV0b21hdGVkIiwiZGVwZW5kZW5jaWVzIl19-->
Blocking a user prevents them from interacting with repositories, such as opening or commenting on pull requests or issues. Learn more about blocking a user.
This PR contains the following updates:
^15.0.0→^16.0.0Release Notes
sindresorhus/globby (globby)
v16.1.0Compare Source
expandNegationOnlyPatternsoptioneb7879159e269fv16.0.0Compare Source
Breaking
gitignoreoption is enabledb9a9a84{gitignore: true}, Globby now searches for .gitignore files up to the Git repo root (if detected). This matches Git's actual behavior where parent .gitignore patterns apply to subdirectories. Previously, only .gitignore files within the glob search path were considered. This change could break existing code that relied on the previous, more limited behavior.Improvements
1273541c2eb272isGitIgnoredfunctionse794ff9cwdoption7535e6dFixes
{gitignore: true}performance issuefcb07c3e6c72c9gitignoreoption11dd2dfa58d117statsoptionc10f600Configuration
📅 Schedule: Branch creation - At any time (no schedule defined), Automerge - 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.
This PR has been generated by Renovate Bot.