GitHub
06/10/2025, 1:21 AMseparator argument moved from being a top-level argument to the options-object:
-decamelize('unicornRainbow', '-');
+decamelize('unicornRainbow', {separator: '-'});
##### Improvements
• Add `preserveConsecutiveUppercase` option (#30) `b8a3e65`
### `v4.0.0`
Compare Source
If you need Firefox support, stay on version 3.
##### Breaking
• Require Node.js 10 and drop xregexp dependency (#22) `7ac6111`
##### Fixes
• Fix handling of capitalized word which ends with a number (#23) `26c7530`
### `v3.2.0`
Compare Source
• Refactor TypeScript definition to CommonJS compatible export (#17) `0a1f3c3`
### `v3.1.1`
Compare Source
• Fix separator option type check (#16) `62373da`
### `v3.1.0`
Compare Source
• Ensure the separator argument is a string `19a4230`
### `v3.0.0`
Compare Source
Breaking:
• Require Node.js 6 (<…
pact-foundation/pact-js-coreGitHub
06/11/2025, 12:54 AM