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

fix: handle pnpm empty lockfiles #252

Merged
merged 1 commit into from
Sep 2, 2024
Merged

fix: handle pnpm empty lockfiles #252

merged 1 commit into from
Sep 2, 2024

Conversation

gemaxim
Copy link
Contributor

@gemaxim gemaxim commented Sep 2, 2024

Handle no dependencies projects for pnpm:

  • pnpm@7 does not create a lockfile
  • pnpm@8 and pnpm@9 creates a lockfile without packages/snapshots fields

It should return a dep graph with only the root package.

@gemaxim gemaxim self-assigned this Sep 2, 2024
@gemaxim gemaxim requested a review from a team as a code owner September 2, 2024 14:10
@gemaxim gemaxim merged commit a5cb8b6 into main Sep 2, 2024
2 checks passed
@gemaxim gemaxim deleted the fix/fix-empty-lockfile branch September 2, 2024 14:37
@snyksec
Copy link

snyksec commented Sep 2, 2024

🎉 This PR is included in version 1.58.12 🎉

The release is available on:

Your semantic-release bot 📦🚀

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants