diff options
author | Ruy Adorno <ruyadorno@hotmail.com> | 2022-02-03 08:16:56 +0300 |
---|---|---|
committer | Ruy Adorno <ruyadorno@hotmail.com> | 2022-02-03 22:28:22 +0300 |
commit | ebb428375cd417c096d5a648df92620dc4215a3d (patch) | |
tree | 138e9959744d9bff0808393e275a8062aaf8f79e /tap-snapshots | |
parent | c0519edc16f66370b2153430342247b4ec5cb496 (diff) |
fix(outdated): parse aliased modules
Fixes `npm outdated` to properly parse and display info on aliased
packages.
Fixes: https://github.com/npm/cli/issues/2800
Diffstat (limited to 'tap-snapshots')
-rw-r--r-- | tap-snapshots/test/lib/commands/outdated.js.test.cjs | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/tap-snapshots/test/lib/commands/outdated.js.test.cjs b/tap-snapshots/test/lib/commands/outdated.js.test.cjs index c286ad734..ef6baa966 100644 --- a/tap-snapshots/test/lib/commands/outdated.js.test.cjs +++ b/tap-snapshots/test/lib/commands/outdated.js.test.cjs @@ -5,6 +5,12 @@ * Make sure to inspect the output below. Do not ignore changes! */ 'use strict' +exports[`test/lib/commands/outdated.js TAP aliases > should display aliased outdated dep output 1`] = ` + +Package Current Wanted Latest Location Depended by +cat:dog@latest 1.0.0 2.0.0 2.0.0 node_modules/cat tap-testdir-outdated-aliases +` + exports[`test/lib/commands/outdated.js TAP should display outdated deps outdated --all > must match snapshot 1`] = ` Package Current Wanted Latest Location Depended by |