fix: normalise package licence field#944
Conversation
|
The latest updates on your projects. Learn more about Vercel for GitHub.
2 Skipped Deployments
|
📝 WalkthroughWalkthroughNormalises package 🚥 Pre-merge checks | ✅ 1✅ Passed checks (1 passed)
✏️ Tip: You can configure your own custom pre-merge checks in the settings. ✨ Finishing touches
🧪 Generate unit tests (beta)
Comment |
Codecov Report❌ Patch coverage is
📢 Thoughts on this report? Let us know! |
Head branch was pushed to by a user without write access
f27000f to
d5bfb5b
Compare
There was a problem hiding this comment.
Pull request overview
This pull request fixes the display of "[object Object]" in the License field and OG image by normalizing the license field when it's an object with a type property.
Changes:
- Added license field normalization in the
transformPackumentfunction to extract thetypeproperty when the license is an object
d5bfb5b to
442e7ca
Compare
|
See also: npm/types#27 |
|
Upstream fix: npm/types#185 |
Before:
https://npmx.dev/package/g
After: