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(registry): normalize registry manifests #78

Merged
merged 1 commit into from Apr 23, 2021

Conversation

wraithgar
Copy link
Member

Other manifest code paths go through read-package-json-fast, which end
up normalized through that package's normalize function. Manifests
picked from the registry do not. This adds consistency between the two.

References

Fixes npm/cli#3132

Other manifest code paths go through read-package-json-fast, which end
up normalized through that package's `normalize` function.  Manifests
picked from the registry do not.  This adds consistency between the two.
Copy link
Contributor

@nlf nlf left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

hooray consistent data 🎉

@wraithgar wraithgar merged commit d97e2fb into latest Apr 23, 2021
@wraithgar wraithgar deleted the gar/normalize-manifest branch April 23, 2021 16:28
isaacs pushed a commit that referenced this pull request May 3, 2021
Other manifest code paths go through read-package-json-fast, which end
up normalized through that package's `normalize` function.  Manifests
picked from the registry do not.  This adds consistency between the two.

PR-URL: #78
Credit: @wraithgar
Close: #78
Reviewed-by: @nlf
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] pack wrongly errors with npm@7.11.0
2 participants