swot
swot copied to clipboard
Update and clean up dependencies
A lot of dependencies are out of date. Most notably, need to upgrade Express from 3 to 4.
You can show a list of outdated node packages by running npm outdated
For bower dependencies, you can just run bower list
and it will show the latest version available for each dependency.
Bower dependencies should be cleaned up a bit - some of the packages are using specific builds that aren't tagged with version numbers (for example, angular animate is using version "1.2.10-build.2164+sha.8b395ff" right now). Such dependencies should be resolved to a specific released version.
End-to-end tests need to be brought up to date first before working on this issue to make sure nothing breaks as a result of the upgrades.
Also update Angular to 1.3.0. List of major changes is nicely summarized here: http://angularjs.blogspot.com/2014/10/angularjs-130-superluminal-nudge.html
Some of these sound like they may be useful with some of the things I had issues with in the past. In particular, ngModelOptions has built in functionality for debouncing model changes, which will be useful for autosave (currently relying on a custom implementation):
https://github.com/sergkr/swot/blob/master/client/controllers/editQuiz.js#L448