feat!: migrate `utils/capitalize-keys` to `object/capitalize-keys`
Progresses #8755.
Description
What is the purpose of this pull request?
This pull request:
- Migrates
utils/capitalize-keystoobject/capitalize-keys
Related Issues
Does this pull request have any related issues?
This pull request has the following related issues:
- #8755
Questions
Any questions for reviewers of this pull request?
No.
Other
Any other information relevant to this pull request? This may include screenshots, references, and/or implementation notes.
No.
Checklist
Please ensure the following tasks are completed before submitting this pull request.
- [x] Read, understood, and followed the contributing guidelines
AI Assistance
When authoring the changes proposed in this PR, did you use any kind of AI assistance?
- [ ] Yes
- [x] No
If you answered "yes" above, how did you use AI assistance?
- [ ] Code generation (e.g., when writing an implementation or fixing a bug)
- [ ] Test/benchmark generation
- [ ] Documentation (including examples)
- [ ] Research and understanding
Disclosure
If you answered "yes" to using AI assistance, please provide a short disclosure indicating how you used AI assistance. This helps reviewers determine how much scrutiny to apply when reviewing your contribution. Example disclosures: "This PR was written primarily by Claude Code." or "I consulted ChatGPT to understand the codebase, but the proposed changes were fully authored manually by myself.".
{{TODO: add disclosure if applicable}}
@stdlib-js/reviewers
Coverage Report
| Package | Statements | Branches | Functions | Lines |
|---|---|---|---|---|
| namespace/alias2pkg | $\color{green}95/95$ $\color{green}+100.00%$ |
$\color{green}7/7$ $\color{green}+100.00%$ |
$\color{green}1/1$ $\color{green}+100.00%$ |
$\color{green}95/95$ $\color{green}+100.00%$ |
| namespace | $\color{red}39324/39427$ $\color{green}+99.74%$ |
$\color{green}112/112$ $\color{green}+100.00%$ |
$\color{red}2/11$ $\color{green}+18.18%$ |
$\color{red}39324/39427$ $\color{green}+99.74%$ |
| namespace/pkg2alias | $\color{green}100/100$ $\color{green}+100.00%$ |
$\color{green}10/10$ $\color{green}+100.00%$ |
$\color{green}1/1$ $\color{green}+100.00%$ |
$\color{green}100/100$ $\color{green}+100.00%$ |
| namespace/pkg2related | $\color{green}100/100$ $\color{green}+100.00%$ |
$\color{green}10/10$ $\color{green}+100.00%$ |
$\color{green}1/1$ $\color{green}+100.00%$ |
$\color{green}100/100$ $\color{green}+100.00%$ |
| namespace/pkg2standalone | $\color{green}95/95$ $\color{green}+100.00%$ |
$\color{green}7/7$ $\color{green}+100.00%$ |
$\color{green}1/1$ $\color{green}+100.00%$ |
$\color{green}95/95$ $\color{green}+100.00%$ |
| namespace/standalone2pkg | $\color{green}95/95$ $\color{green}+100.00%$ |
$\color{green}7/7$ $\color{green}+100.00%$ |
$\color{green}1/1$ $\color{green}+100.00%$ |
$\color{green}95/95$ $\color{green}+100.00%$ |
| object/capitalize-keys | $\color{green}114/114$ $\color{green}+100.00%$ |
$\color{green}11/11$ $\color{green}+100.00%$ |
$\color{green}1/1$ $\color{green}+100.00%$ |
$\color{green}114/114$ $\color{green}+100.00%$ |
| utils | $\color{red}45355/61575$ $\color{green}+73.66%$ |
$\color{red}757/801$ $\color{green}+94.51%$ |
$\color{red}23/508$ $\color{green}+4.53%$ |
$\color{red}45355/61575$ $\color{green}+73.66%$ |
| utils/uncapitalize-keys | $\color{green}114/114$ $\color{green}+100.00%$ |
$\color{green}11/11$ $\color{green}+100.00%$ |
$\color{green}1/1$ $\color{green}+100.00%$ |
$\color{green}114/114$ $\color{green}+100.00%$ |
| utils/uppercase-keys | $\color{green}108/108$ $\color{green}+100.00%$ |
$\color{green}9/9$ $\color{green}+100.00%$ |
$\color{green}1/1$ $\color{green}+100.00%$ |
$\color{green}108/108$ $\color{green}+100.00%$ |
The above coverage report was generated for the changes in this PR.
eslint is expected to throw an error for typescript declarations as such I'll go ahead and mark this ready for review.
As the CI failure is expected (at least for now; hopefully this is addressed soon(ish)), I'll go ahead and merge.