Upgrading npm packages and fixing jshint issues