doc: Remove whitespace
Treat dep. as outdated if its _from changes

This is per Isaacs comment in #1727
use getCacheStat before lock, fixes joyent/node#3821

Previous code did not handle the cache dir's permissions consistently.
If the first lock was done as sudo, the cache directory was not user
writable.
Removed the now unnecessary guard and collapsed the then function.
doc: Fix typo
Guard against falsey versions value.
use npm-registry-mock, fixes #3633
doc: Clarify versions and mention prepublish
add "repo" command
v1.3.8
v as alias for view command
npm view doc
add missing aliases to cli doc pages
Document `user/repo` style GitHub URLs
remove mention of MIT license in README
outdated: only test 'from' for urls

If the 'from' value is not a url, then the fact that it changes is not
relevant.  For example 'foo@*' and 'foo@1' and 'foo@' might all point to
the same package.  However, a changed url IS relevant, because it
indicates that it is now a different thing.

Fixes #3798, a regression caused by #3578.
v1.3.9
prune: check package.json before running

Fixes #3755.
prune: --production option to unbuild devDependencies

Closes #2854.
read-package-json@1.1.3

Brings along normalize-package-data@0.2.2, which closes #3783.
add failing test, depends on npm-registry-mock 0.3.0

test for #3823