Skip to content

fix(registry): normalize registry manifests - #78

Merged
wraithgar merged 1 commit into
latestfrom
gar/normalize-manifest
Apr 23, 2021
Merged

wraithgar merged 1 commit into
latestfrom
gar/normalize-manifest

Conversation

@wraithgar

Copy link
Copy Markdown
Contributor

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.

@nlf nlf left a comment

Copy link
Copy Markdown
Contributor

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