-
-
Notifications
You must be signed in to change notification settings - Fork 3k
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
Upgrade glob to latest #2058
Comments
What is our official nodejs support range? |
this is not possible as any glob newer than the one we currently have uses fuzzy version matching against minor versions ( I imagine 0.8 will be dropped w/ next major, however. closing for now |
(it doesn't actually preclude using 0.8; you can generally still upgrade npm, but some people cannot for various reasons) |
The problem on the other hand is that this old glob version depends on an old version of graceful-fs. And this one is using node apis which are getting removed in the next major. So either being backward compatible or forward :/ From install:
|
Sounds like it won't get removed until v7: nodejs/node#5213 (comment) But I agree that we can look at breaking compatibility with the next major mocha release :) #2111 (comment) |
If you're testing against 0.8, graceful-fs was rewritten in 4.x to support 0.8 better, and it does test against that version in CI. And apparently, not much changed between 3.x and 4.x other than its monkey-patching-by-default behavior (which is likely to break something). Most of the breakage you might encounter would probably be in node-glob, not graceful-fs, unless you unintentionally rely on graceful-fs' monkey-patching. |
@isiahmeadows It's less about node compatibility, and more about npm. Releases newer than our current use a caret range (^) in version matching, which isn't supported in older versions of npm. |
Ok. What Also, is it possible to use |
@isiahmeadows >= v.1.2.30
|
Mocha is using
glob
module version from 2013. I would be good if we can upgrade that to latest so that we can use a lot of globbing patterns with it.If its ok, then I can send the PR.
The text was updated successfully, but these errors were encountered: