Skip to content

decamelize (npm)

Convert a camelized string into a lowercased one with a custom separator: unicornRainbow → unicorn_rainbow

Advisories
1
Latest version
7.0.0
Released Oct 13, 2026
License
MIT
OpenSSF Scorecard
3.7 / 10

How to fix

Upgrading to 1.1.2 or later clears every advisory below that has a fix.

Upgrade commands
npm
npm install decamelize@7.0.0
yarn
yarn add decamelize@7.0.0
pnpm
pnpm add decamelize@7.0.0

Known vulnerabilities

AdvisorySeverityAffectedFixed in
GHSA-q5c4-39f5-m68j
Regular Expression Denial of Service in decamelize
High
EPSS 1.43%
>= 1.1.0, < 1.1.2
1.1.2

Source: git+https://github.com/sindresorhus/decamelize.git

Is this in your code?

MergeHarbor checks every repository's dependencies against this database, ranks what matters by exploitability and reachability, routes it to the owning team and opens the fix pull request.

Check your repos with MergeHarbor