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(npm-audit): ensure message is a string before trimming for deprec… #6742

Merged
merged 1 commit into from
Mar 28, 2025

Conversation

JohannesWill
Copy link
Contributor

@JohannesWill JohannesWill commented Mar 27, 2025

Fix [Bug?]: TypeError: le.trim is not a function when running yarn npm audit -AR #6554

What's the problem this PR addresses?

Closes #6554

How did you fix it?

Ensure that message is a string, otherwise return the default message

Checklist

  • I have set the packages that need to be released for my changes to be effective.
  • I will check that all automated PR checks pass before the PR gets reviewed.

@arcanis arcanis merged commit ea7698a into yarnpkg:master Mar 28, 2025
26 checks passed
@arcanis
Copy link
Member

arcanis commented Mar 28, 2025

Thanks!

@JohannesWill JohannesWill deleted the fix/6554 branch March 28, 2025 09:03
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

Successfully merging this pull request may close these issues.

[Bug?]: TypeError: le.trim is not a function when running yarn npm audit -AR
2 participants