-
-
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
Looks like glob needs to be upgraded to at least 3.2.4 #2121
Comments
Thanks for the issue! This is something we're currently aware of: #2117 #2113 #2111 #2058 From #2058 (comment)
I'll leave this open for tracking and to prevent additional issues being opened up. |
Can anyone show where this breaks in the wild? |
Note that the latest version of glob is 7.0.3. |
@aldeed Regarding #2123 (comment)
How so? The warning that's presented in node 5.x only occurs during installation. In my tests, mocha still runs, as do the test suites. |
@danielstjules It actually breaks Meteor for a different reason, namely, because old glob depends on old minimatch which does a weird closure thing that newer minimatch doesn't do. BUT it appears that the Meteor folks have figured out a fix for it, so this is no longer a concern. BUT it would still be good to get this updated eventually. :) |
@danielstjules I'm not sure why you wouldn't update and outdated dependency other than API breakage. Correct me if I'm wrong, but there isn't any breakage here.
I don't know about you but a message like the one above would bother me even if it were just on install. NPM complaining about outdated deps should be reason enough. |
@aldeed I agree :) Should be able to break backwards compatibility in the next major. And for reference, here's why can't bump the version right now. Note that it breaks compatibility with npm 1.2.30 and all versions without tilde support. With glob 3.2.3
With glob 7.0.0
|
Interesting... that sucks... lol. Still need to support Node 0.10.11 (the last version to ship with NPM 1.2.30) and below I guess. |
Shoot, looks like something else already potentially broke backwards compatibility depending on how things resolve. I had to Edit: nvm, nothing is currently broken in master. cache cleaning made sense since I was mucking around with versions/deps. |
Why should support 0.10.11 that is not the latest version of 0.10.x. |
Neither npm 1.2 nor 1.4 are supported by upstream and they have known stability & security issues that'll never get fixed. The same applies to Node 0.10.11. Supporting those versions that no one in their right mind should be running at the cost of issues with newer, still supported versions is a weird strategy. |
@mgol Agreed. But if they really want, one can throw in a PR to the glob project to handle different versions of Node.JS differently. Reminds me of funtimes with C/C++ and version-checking macros! |
Why not just releasing next major version leaving meteor folks and whoever uses old node with |
Any news? |
presenting: |
Sorry for the lack of news. We are in a state where we aren't highly eager about merging/releasing changes until browser tests are added back to CI: #2079 – some undetected breaking changes were introduced in the browser and we had to revert, republish, etc. We'd like to avoid something similar from happening again, and browser tests in CI would allow us to move fast with way higher confidence that we aren't breaking people again. We are looking into getting that going, sorry for the hassle. |
The update to
Mocha isn't your run-of-the-mill library. As a test framework, Mocha 2.x is in the unique position of needing to support older versions of node and npm. A portion of our users are locked into old versions; they do not have a choice of what version of node or npm to use. Continuing to support these users--and not releasing a breaking change before a major--is higher priority for this project than suppressing a warning message. |
FWIW, that warning is now suppressed, but they renamed Jade to "Pug"... |
Maybe relate to #2215 |
You can just upgrade to 3.2.4 that's optional isaacs/node-glob@49122ad |
Graceful was removed as of glob 3.2.4:
isaacs/node-glob@49122ad
Installing latest mocha ([email protected] ) yields:
The text was updated successfully, but these errors were encountered: