made-in-common

case-police

๐Ÿšจ Make the case correct, PLEASE!

by made-in-common

TypeScript

TypeScript97.9%
JavaScript1.3%
Vue0.8%

Commit activity

Last 12 weeks ยท 0 commits

Full graph โ†’

Community health

5 of 6 standards met

Community profile โ†’
75
โœ“READMEโœ“Licenseโœ“Contributingโœ“Code of Conductโ—‹Issue Templateโœ“PR Template

Recent PRs & issues

Active ยท 4 in progress ยท Last activity 18h ago
See all on GitHub โ†’
taxor03

Hi, (current ) bundles its CLI into (loaded by ) and . Both inline fast-glob 3.3.3 โ†’ micromatch 4.0.8 โ†’ picomatch 2.3.1, the version on resolves. picomatch 2.3.1 is covered by two published advisories (list below), both fixed in 2.3.2. case-police declares no dependencies, so and SCA tools cannot see this copy, for you or for users who run the CLI. Suggested fix: refresh so picomatch resolves to 2.3.2 (within micromatch's ), rebuild and publish. Static reproduction (2026-11-25): 1. 2. โ†’ , (bundled picomatch) 3. โ†’ , (extglob check added in 2.3.2) 4. โ†’ , (constant added in 2.3.2) Advisories picomatch 2.3.1: CVE-2026-33671 / GHSA-c2c7-rcm5-vvqj: ReDoS via extglob quantifiers (fixed 2.3.2) CVE-2026-33672 / GHSA-3v7f-55p6-f55p: method injection in POSIX character classes causes incorrect glob matching (fixed 2.3.2)

taxor03 ยท 2h ago
lonix1

Nice package, thanks for making it! I think many/most people who care about spelling are using cspell - this would make a very nice addition to cspell. Does anyone know how to integrate the two?

lonix1 ยท 4mo ago
dbrasseur-aneo

Describe the bug If you add rules as : then will match as : but if you add them as : then the same text will match as : A fix could be to sort the keys by size (to have the "closest" match first) Reproduction https://stackblitz.com/edit/stackblitz-starters-zc8y2r?file=test.md System Info Used Package Manager pnpm Validations [X] Follow our Code of Conduct [X] Read the Contributing Guide. [X] Check that there isn't already an issue that reports the same bug to avoid creating a duplicate. [X] Check that this is a concrete bug. For Q&A, please open a GitHub Discussion instead. [X] The provided reproduction is a minimal reproducible of the bug.

dbrasseur-aneo ยท 7mo ago
MukundaKatta

Summary Regex alternation is leftmost-wins, not longest-wins. So when the dictionary contains both and , results depended on dictionary insertion order: Against input : Before: , then inside โ†’ , leaving โŒ After: longer key tried first โ†’ , โœ… Sort keys by length descending when building the regex so the more specific rule wins, regardless of dictionary order. Test plan [x] โ€” 6 tests pass (2 new cases for both dictionary orderings) [x] [x] Fixes #158

MukundaKatta ยท 7mo ago
Structured data for AI agents

Repository: made-in-common/case-police. Description: ๐Ÿšจ Make the case correct, PLEASE! Stars: 1422, Forks: 92. Primary language: TypeScript. Languages: TypeScript (97.9%), JavaScript (1.3%), Vue (0.8%). License: MIT. Latest release: v2.2.1 (7mo ago). Open PRs: 4, open issues: 5. Last activity: 18h ago. Community health: 75%. Top contributors: antfu, PinkChampagne17, holazz, webfansplz, wey-gu, Evavic44, sajadhsm, rubiin, Justineo, thecuvii and others.