Added a split option to the change-case transform functions to allow for customization on how words are extracted from input
Changed
The package exports are now default instead of import to fix some tooling that doesn't work properly with import
The exported split utility no longer accepts a second options argument
Add suffixCharacters option
Added
New suffixCharacters option to retain characters during case conversion. Useful for retaining something like the _ in type_. Closes blakeembrey/change-case#322.
New delimiter and mergeAmbiguousCharacters options
Added
Add delimiter option for customizing join character in any change case method
Add mergeAmbiguousCharacters for camel and pascal case to avoid prefixing _ before numbers
Add prefixCharacters option
Added
New prefixCharacters option to retain characters during case conversion. Useful for something like _$ to keep "private".
Huge ESM rewrite
Changed:
The package is now only supported using ESM imports in node.js
Merged all core case changing libraries into change-case
Added support for internationalization using unicode regex features
You can trigger a rebase of this PR by commenting @dependabot rebase.
Dependabot commands and options
You can trigger Dependabot actions by commenting on this PR:
- `@dependabot rebase` will rebase this PR
- `@dependabot recreate` will recreate this PR, overwriting any edits that have been made to it
- `@dependabot merge` will merge this PR after your CI passes on it
- `@dependabot squash and merge` will squash and merge this PR after your CI passes on it
- `@dependabot cancel merge` will cancel a previously requested merge and block automerging
- `@dependabot reopen` will reopen this PR if it is closed
- `@dependabot close` will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually
- `@dependabot show ignore conditions` will show all of the ignore conditions of the specified dependency
- `@dependabot ignore this major version` will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)
- `@dependabot ignore this minor version` will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)
- `@dependabot ignore this dependency` will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)
Note
Automatic rebases have been disabled on this pull request as it has been open for over 30 days.
Bumps change-case from 4.1.2 to 5.4.4.
Release notes
Sourced from change-case's releases.
... (truncated)
Commits
8aaff31
change-case@5.4.4fec0211
Fixchange-case/keys
types (#337)531c83c
change-case@5.4.315ed560
Pass keys options recursively (#334)4343da0
Patch version add package main2cf54e3
Fix prettier format206fee2
Addmain
topackage.json
(#330)fad3b5d
change-case@5.4.16512635
Remove lookbehind from regex17a27ce
title-case@4.3.0You can trigger a rebase of this PR by commenting
@dependabot rebase
.Dependabot commands and options
You can trigger Dependabot actions by commenting on this PR: - `@dependabot rebase` will rebase this PR - `@dependabot recreate` will recreate this PR, overwriting any edits that have been made to it - `@dependabot merge` will merge this PR after your CI passes on it - `@dependabot squash and merge` will squash and merge this PR after your CI passes on it - `@dependabot cancel merge` will cancel a previously requested merge and block automerging - `@dependabot reopen` will reopen this PR if it is closed - `@dependabot close` will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually - `@dependabot show