-
Notifications
You must be signed in to change notification settings - Fork 2.7k
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
Switch to micromatch: fixes yarnpkg/yarn#3336 #3339
Conversation
Test suite now passes
Unpredictable tests on Travis fail with "timeout" errors: Timeout - Async callback was not invoked within timeout specified by jasmine.DEFAULT_TIMEOUT_INTERVAL.
at ontimeout (timers.js:386:14)
at tryOnTimeout (timers.js:250:5)
at Timer.listOnTimeout (timers.js:214:5) This failure does not seem to be related to this PR, am I correct? |
reverted registry change
Nice, thanks for a thorough explanation, tests and fix |
@bestander 😰 I just realized that the way I added the extra test causes it to fail on windows in AppVeyor, because I hard coded the path separator |
Yeah, could you send a new PR? |
@jrop when to expect the PR? |
@bestander Just submitted. Sorry about that |
no worries :) |
Summary
The micromatch library provides an inconsistent implementation of
.makeRe(...)
with the rest of it's interface. It is known thatmakeRe
does not produce Regular Expressions that can be trusted:**
are not properly converted to regular expressions isaacs/minimatch#67This PR switches from minimatch => micromatch.
Motivation: #3336 😄
Test plan
TODO:
Tested so far: