New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
pnpm list output is truncated from v.8.9.0 #7378
Comments
These are the same under the hood. |
But is it possible to revert (or to add a way to somehow avoid) these limitations for pnpm list? We had some important functionality that depended on the output of this command, and as a workaround we had to pin the pnpm version for now |
Hi, for pnpm v8.14.3 (on macOS m2 Ventura 13.6.4 (22G513)), running [1] pnpm crashes in one of my repos while using nvm
[2] pnpm crashes in one of my repos without nvm
[3] pnpm outputs invalid string in another repo
|
Verify latest release
pnpm version
>= 8.9.0
Which area(s) of pnpm are affected? (leave empty if unsure)
CLI
Link to the code that reproduces this issue or a replay of the bug
No response
Reproduction steps
Run
pnpm ls "@company-scope/**" --depth Infinity --parseable
Describe the Bug
The output of this command changes from v8.8.0 to v8.9.0. In 8.9.0 some packages are now missing.
I believe it is related to this MR #7122
It's supposed to prune the tree only for
pnpm why
, butpnpm list
was also affected.It happens because when we call
pnpm ls "@company-scope/**"
, listForPackages (patched in this commit method) is being called.If I execute
pnpm ls --depth Infinity --parseable
the missing packages are there.Expected Behavior
Output is not truncated
Which Node.js version are you using?
20.10.0
Which operating systems have you used?
If your OS is a Linux based, which one it is? (Include the version if relevant)
No response
The text was updated successfully, but these errors were encountered: