-
Notifications
You must be signed in to change notification settings - Fork 569
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
feat(bytes): @std/bytes@1.0.0-rc.1
#4651
Conversation
Codecov ReportAll modified and coverable lines are covered by tests ✅
Additional details and impacted files@@ Coverage Diff @@
## main #4651 +/- ##
=======================================
Coverage 91.36% 91.36%
=======================================
Files 477 477
Lines 37334 37334
Branches 5325 5325
=======================================
Hits 34109 34109
Misses 3164 3164
Partials 61 61 ☔ View full report in Codecov by Sentry. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I have looked through the docs, and they look good. All function signatures seem reasonable. No blockers from me.
@std/bytes
@std/bytes@1.0.0-rc.1
One thing I noticed is that the 3rd params of They all use optional primitive type ( What do you think? |
Yeah, that's a great idea. I think options objects suite functions/methods with broader functionality and the potential to expand their functionality in the future. Non-object options suite functions/methods with narrower functionality and are unlikely to expand their functionality in the future. Perhaps this distinction should be noted. |
Yes I agree. I don't think we should make them objects. Let's update the style guide |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM
Reviews, please thoroughly review the source code and the documentation of this package and approve once:
This is our first time stabilizing a package, so please point out any stones we left unturned in the process.
Closes #4629