Skip to content
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

Dev dependency status is still ignored by yarn audit #8191

Open
Whoaa512 opened this issue Jun 17, 2020 · 0 comments
Open

Dev dependency status is still ignored by yarn audit #8191

Whoaa512 opened this issue Jun 17, 2020 · 0 comments

Comments

@Whoaa512
Copy link

Bug description

The ability to correctly count dev vs prod deps in yarn audit was added in #6970

However as of yarn v1.22.4 this behavior is broken.

Repro case: https://github.com/Whoaa512/yarn-audit-repro

Command

yarn audit --summary --json

What is the current behavior?

Yarn currently counts everything as a prod dependency

What is the expected behavior?

Yarn should correctly distinguish between dev/prod dependencies

Steps to Reproduce

Repro case: https://github.com/Whoaa512/yarn-audit-repro

Environment

  • Node Version: 10.16.0
  • Yarn v1 Version: 1.22.4
  • OS and version: Mac 10.15.5
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant