Commit Graph

3 Commits

Author SHA1 Message Date
Robert Kowalski
706b51f093 Add now-passing test for repo shorthands
Closes #4635, by proving that the update to
normalize-package-data in read-package-json fixed
the problem.
2014-02-13 13:17:48 +01:00
Daniel Santiago
93fc36461c Fix updating Git URLs with credentials in them
Allow urls with "@", for example git+https://user:pass@domain.com/repository.git

The code previously returned "domain.com/repository.git" instead of
"git+https://user:pass@domain.com/repository.git".
2014-01-07 20:17:05 -05:00
Robert Kowalski
5829ecf032 Always update git urls
Do directly an update if a git url is specified in the package.json
For outdated, print wanted=git and latest=git

Additionally, fixing a small, still unknown  bug in update,
regarding the positions of where, latest and req, introduced
by 2f7fd625a0

Fixes #1727
2013-11-25 23:16:32 +01:00