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: pass strings to JSON.stringify in --json mode #7540

Merged
merged 1 commit into from
May 17, 2024

Commits on May 17, 2024

  1. fix: pass strings to JSON.stringify in --json mode

    In refactoring this behavior previously plain strings were no longer
    being passed through JSON.stringify even in json mode. This commit
    changes that to the previous behavior which fixes the bug in `npm view`.
    This also required changing the behavior of `npm pkg` which relied on this.
    
    Fixes #7537
    lukekarrys committed May 17, 2024
    Configuration menu
    Copy the full SHA
    8b03990 View commit details
    Browse the repository at this point in the history