Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/npm/cli.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRuy Adorno <ruyadorno@hotmail.com>2022-02-03 08:16:56 +0300
committerRuy Adorno <ruyadorno@hotmail.com>2022-02-03 22:28:22 +0300
commitebb428375cd417c096d5a648df92620dc4215a3d (patch)
tree138e9959744d9bff0808393e275a8062aaf8f79e /tap-snapshots
parentc0519edc16f66370b2153430342247b4ec5cb496 (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.cjs6
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