[BUG] npm outdated --json
doesn't provide distinct workspace packages information
#7736
Open
2 tasks done
Labels
Is there an existing issue for this?
This issue exists in the latest npm version
Current Behavior
npm outdated --json
dependent field contains a non-identifying string for the package. It can't be used to uniquely identify a local workspace it's referring to. Without--json
, you can determine, but I don't want to rely on that for parsing.Expected Behavior
I'd expect
--json
's dependent field to contain something I can use to uniquely identify the package, whether it a sub-package in the local workspace, the main package, or something on the registry.Steps To Reproduce
npm outdated –json
.You'll see the output:
Now imagine one of those eslint installs was up to date. Which package is it actually for?
I'd expect to see:
or
Environment
The text was updated successfully, but these errors were encountered: