You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Added support for a WithNoHidden option to ignore hidden files in patterns that might unintentionally match them. For example, a .config directory would not be matched by * or recursed into by **, but would be matched by .* or recursed by .config/**.
@toga4 submitted a PR that fixed a small bug with the way paths were handled when the pattern used {alts}: if some part of the on-disk path that came before the {alt} included meta characters (say, a directory name that included the character ?), these meta characters were not escaped when they were passed back through the globbing routines. This caused doublestar to interpret them as actual meta characters, rather than a fixed-string path as it should have. Nice find, @toga4 !
What's Changed
fix: escape meta characters in paths during brace expansion by @toga4 in #108
If the "base" of a pattern (ie, everything up to the first path slash before any meta characters) contains an escaped meta character, doublestar would fail to glob any files.
Thanks to @tdurieux for finding and fixing this bug!
Breaking-ish Change
I've updated SplitPattern to unescape meta characters in the first returned string. I suspect this shouldn't cause issues for anyone because, if anyone was using this function, they've probably either never passed a pattern with escaped meta characters, or hand-rolled an unescape method to fix the bug - which will now be a no-op for them.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
This PR contains the following updates:
v0.59.0→v0.60.0v4.7.1→v4.10.09b4947d→3dfff04v0.30.0→v0.41.0Release Notes
bazelbuild/rules_go (github.com/bazelbuild/rules_go)
v0.60.0Compare Source
MODULE.bazelcodeWORKSPACEcodeWhat's Changed
go_tools.bzlfunctionality by @mrdomino in bazel-contrib#4496New Contributors
Full Changelog: bazel-contrib/rules_go@v0.59.0...v0.60.0
bmatcuk/doublestar (github.com/bmatcuk/doublestar/v4)
v4.10.0: Added WithNoHidden optionCompare Source
Added support for a
WithNoHiddenoption to ignore hidden files in patterns that might unintentionally match them. For example, a.configdirectory would not be matched by*or recursed into by**, but would be matched by.*or recursed by.config/**.Thanks to @lukasngl for the initial PR and idea!
What's Changed
New Contributors
Full Changelog: bmatcuk/doublestar@v4.9.2...v4.10.0
v4.9.2: Fixed Handling of Paths With Meta Chars Using AltsCompare Source
@toga4 submitted a PR that fixed a small bug with the way paths were handled when the pattern used
{alts}: if some part of the on-disk path that came before the{alt}included meta characters (say, a directory name that included the character?), these meta characters were not escaped when they were passed back through the globbing routines. This caused doublestar to interpret them as actual meta characters, rather than a fixed-string path as it should have. Nice find, @toga4 !What's Changed
New Contributors
Full Changelog: bmatcuk/doublestar@v4.9.1...v4.9.2
v4.9.1: Small Performance ChangeCompare Source
This release contains a small change that gives a slight performance increase. Thanks to @jbedard for the PR!
What's Changed
New Contributors
Full Changelog: bmatcuk/doublestar@v4.9.0...v4.9.1
v4.9.0: Added WithCaseInsensitive optionCompare Source
Added a
WithCaseInsensitiveoption to ignore alphabetic case when globbing. Thanks @braydonk for the PR!What's Changed
WithCaseInsensitiveGlobOptionby @braydonk in #106New Contributors
Full Changelog: bmatcuk/doublestar@v4.8.1...v4.9.0
v4.8.1: Small Performance Improvement for MatchUnvalidatedCompare Source
Skip some additional validation checks in
MatchUnvalidated. Thanks to @lukemassa for the PR!Additional documentation improvements from @timo-reymann. Thanks!
What's Changed
New Contributors
Full Changelog: bmatcuk/doublestar@v4.8.0...v4.8.1
v4.8.0: Fixed Escaped Meta in the "Base" of the PatternCompare Source
If the "base" of a pattern (ie, everything up to the first path slash before any meta characters) contains an escaped meta character, doublestar would fail to glob any files.
Thanks to @tdurieux for finding and fixing this bug!
Breaking-ish Change
I've updated
SplitPatternto unescape meta characters in the first returned string. I suspect this shouldn't cause issues for anyone because, if anyone was using this function, they've probably either never passed a pattern with escaped meta characters, or hand-rolled an unescape method to fix the bug - which will now be a no-op for them.What's Changed
New Contributors
Full Changelog: bmatcuk/doublestar@v4.7.1...v4.8.0
Configuration
📅 Schedule: Branch creation - "before 4am on monday" (UTC), 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.
👻 Immortal: This PR will be recreated if closed unmerged. Get config help if that's undesired.
This PR was generated by Mend Renovate. View the repository job log.