Commit activity
Last 12 weeks · 1 commit
Community health
4 of 6 standards met
Recent fixes
I recently found a potential bug in this code related to duplicate keys with different casings. When the lowercaseKeys function encounters objects with keys like "Key" and "key", it only retains one of them due to the transformation to lowercase keys. This could lead to unexpected behavior and data loss in certain scenarios. To illustrate, here is a code example: Thank you!
Repository: sindresorhus/lowercase-keys. Description: Lowercase the keys of an object Stars: 42, Forks: 11. Primary language: JavaScript. Languages: JavaScript (92.7%), TypeScript (7.3%). License: MIT. Latest release: v4.0.1 (8mo ago). Open PRs: 0, open issues: 0. Last activity: 1mo ago. Community health: 85%. Top contributors: sindresorhus, BendingBender, Richienb.