-
Notifications
You must be signed in to change notification settings - Fork 1.9k
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
Dependency upgrade? #3466
Comments
@megakoresh I somewhat agree with you... but then again not... dependency management is no easy task, and although something seems to work at first glance, it does not mean that it really works as espected, unless there are tests that cover it. |
Some already have. I just want to bring this issue to light so to speak. |
👍 |
Hi @megakoresh- sorry to hear you've been frustrated by the deprecation messages in the logs when you install Sails in a new project. We've spent a considerable amount of effort running our automated tests and performing manual tests (lifting existing apps and being sure Grunt picks up changes, deleted files, etc.) and locked our dependencies to versions that we consider production-ready. If you are able to put together a set of updated dependency versions which pass our tests and solve those problems when running manual tests, I'd be more than happy to take a look. Thanks!
|
Re: dependencies in general, see my comment on this thread (and the entire thread if you feel like reading a long discussion about dependencies). Upgrading Lodash actually breaks Sails, but that's been the case for a while now, so I'm going to look into fixing it so we can move to a newer version. |
Damn those lodash devs!!!!11eleven :) |
@megakoresh Hm, what version of Windows/Node/NPM 3 are you on? Tests pass a-okay here and on Travis for Node 0.10, 0.12, 4 and 5. Actually, after looking into this a bit, it looks like it might be a problem where your Node.exe isn't associated with |
Node 5.1.0 |
@megakoresh thanks! What version of Windows are you using? |
Windows 10. I will see about that registry key thing, but I don't think that is the problem because I can manually do the whole UPDATE: Yeah, I edited the key into the registry (wasn't there by default for some reason), and got exactly the same result as before. |
Thanks @megakoresh. I looked into this some and it looks like those tests are not Windows-friendly (using |
I'm going to open a separate issue for fixing the tests on Windows. As for the original issue here, except for |
In that case I will try to do that. |
Hi, I don't really know what all that fuss about Express 4 was (not even gonna link it), but I have recently been very frustrated with how out of date many of Sails dependencies are(particularly lodash). And I am not sure sticking to those old versions is actually necessary.
For example I forced lodash v3.1.0 and everything worked totally fine (using sails-azuretables and sails-disk adapters). And when you install Sails it always complains about deprecated dependencies. It does make people wary when I show the project to them and makes me uncomfortable too.
Would it really be that much work to make sure up to date dependencies are used?
![region](https://cloud.githubusercontent.com/assets/5512531/12167871/6fb06e98-b537-11e5-94b9-12d066dbe3ae.png)
FYI here are packages that npm complains about when installing v0.12-rc5:
I am sure there are others, those are just the most visible. Also does anyone know if this framework is going to be upgraded to ES2015 at any point? Seems like everyone is doing it these days, so I figured I should ask.
The text was updated successfully, but these errors were encountered: