Upgrade dependencies. Would fix #1377

Upgrade `dependencies` and `devDependencies`, where the latter had much more out of date candidates.
Changed the version requiring string from `^` to `~` and removed last number, in order to have less numbers, but the same behaviour.