Switch branches/tags
Find file History
Pull request Compare This branch is 839 commits behind latest.
Latest commit 93c689f Sep 21, 2016 @roblg roblg committed with iarna view: npm show --json only returns one item even when mult match
In npm@2 multiple results were printed with filenames inbetween, resulting
in a stream of plaintext mixed with JSON. This was pretty undesirable.

Previously in, npm@3 the "best" version from the list was picked and shown,
with no facility for getting multiple results.

This changes npm@3 to return an array of matching results.

Fixes: #14030
Credit: @roblg
Reviewed-By: @iarna
PR-URL: #14032
Permalink
..
Failed to load latest commit information.
cache install: add GIT_EXEC_PATH to git env whitelist Aug 11, 2016
config config: pretend login is a toplevel command Aug 11, 2016
install deps: Guard against null "bin" values in package.json Oct 6, 2016
utils lifecycle: split node_module path parts properly Sep 8, 2016
access.js output: Standardize how we write to stdout Jun 16, 2016
adduser.js adduser: Disable progress bar Jun 20, 2016
bin.js output: Standardize how we write to stdout Jun 16, 2016
bugs.js lib: Refactor summary usage to use utils/usage Apr 28, 2016
build.js output: Standardize how we write to stdout Jun 16, 2016
cache.js output: Standardize how we write to stdout Jun 16, 2016
completion.js output: Standardize how we write to stdout Jun 16, 2016
config.js config: progressbar should be disable in editor Jul 7, 2016
dedupe.js lib: Refactor summary usage to use utils/usage Apr 28, 2016
deprecate.js deprecate: default to `*` instead of `latest` Mar 31, 2016
dist-tag.js output: Standardize how we write to stdout Jun 16, 2016
docs.js lib: Refactor summary usage to use utils/usage Apr 28, 2016
edit.js edit: progressbar should be disable in editor Jul 7, 2016
explore.js output: Standardize how we write to stdout Jun 16, 2016
fetch-package-metadata.js fetch-package-metdata: Consistently set code on ETARGET errors Sep 8, 2016
fetch-package-metadata.md Refactor fetch-package-metadata to allow calling with specifier objec… Jun 26, 2015
get.js src: make the npm source comply with `standard` Jun 26, 2015
help-search.js output: Standardize how we write to stdout Jun 16, 2016
help.js output: Standardize how we write to stdout Jun 16, 2016
init.js init: switch to noProgressTillDone for disabling progress Jul 7, 2016
install-test.js lib: Refactor summary usage to use utils/usage Apr 28, 2016
install.js install: Include warning details at verbose log level Sep 8, 2016
link.js output: Standardize how we write to stdout Jun 16, 2016
logout.js logout: Fix npm-logout to remove scope config if specified Mar 10, 2016
ls.js output: Standardize how we write to stdout Jun 16, 2016
npm.js output: Standardize how we write to stdout Jun 16, 2016
outdated.js outdated: Ensure errors reading the package tree do not crash Jun 20, 2016
owner.js output: Standardize how we write to stdout Jun 16, 2016
pack.js output: Standardize how we write to stdout Jun 16, 2016
ping.js output: Standardize how we write to stdout Jun 16, 2016
prefix.js output: Standardize how we write to stdout Jun 16, 2016
prune.js src: make the npm source comply with `standard` Jun 26, 2015
publish.js output: Standardize how we write to stdout Jun 16, 2016
rebuild.js output: Standardize how we write to stdout Jun 16, 2016
repo.js src: Update formatting to be compatible with standard@5 Oct 21, 2015
restart.js src: make the npm source comply with `standard` Jun 26, 2015
root.js output: Standardize how we write to stdout Jun 16, 2016
run-script.js output: Standardize how we write to stdout Jun 16, 2016
search.js output: Standardize how we write to stdout Jun 16, 2016
set.js src: make the npm source comply with `standard` Jun 26, 2015
shrinkwrap.js shrinkwrap: Simplify working directory selection Sep 19, 2016
star.js output: Standardize how we write to stdout Jun 16, 2016
stars.js output: Standardize how we write to stdout Jun 16, 2016
start.js src: make the npm source comply with `standard` Jun 26, 2015
stop.js src: make the npm source comply with `standard` Jun 26, 2015
substack.js output: Standardize how we write to stdout Jun 16, 2016
tag.js src: make the npm source comply with `standard` Jun 26, 2015
team.js output: Standardize how we write to stdout Jun 16, 2016
test.js src: make the npm source comply with `standard` Jun 26, 2015
unbuild.js output: Standardize how we write to stdout Jun 16, 2016
uninstall.js lib: Refactor summary usage to use utils/usage Apr 28, 2016
unpublish.js output: Standardize how we write to stdout Jun 16, 2016
update.js lib: Refactor summary usage to use utils/usage Apr 28, 2016
version.js version: Update npm-shrinkwrap even when cwd != project root Oct 6, 2016
view.js view: npm show --json only returns one item even when mult match Oct 6, 2016
visnup.js output: Standardize how we write to stdout Jun 16, 2016
whoami.js output: Standardize how we write to stdout Jun 16, 2016
xmas.js src: make the npm source comply with `standard` Jun 26, 2015