Closed
Description
Current Behavior:
Running npm ls <pkg> --depth=0
doesn't produce a filtered result of deps installed on disk
Expected Behavior:
Running npm ls <pkg> --depth=0
will show me just the top-level deps installed on disk (see [email protected]
)
Steps To Reproduce:
- In any version
npm@<=7.0.0-beta.12
... - Run
npm ls <pkg> --depth=0
... - See same results as
npm ls
or evennpm ls --all
(there is no difference)
Environment:
- OS: [email protected] (19G2021) - although I'm fairly positive this can be repro'd in all environments
- Node: 14.12.0
- npm: 7.0.0-beta.12