Commit 6f6a304
authored
fix(deps): Update dependency change-case to v5 (#20)
This PR contains the following updates:
| Package | Type | Update | Change |
|---|---|---|---|
| [change-case](https://redirect.github.com/blakeembrey/change-case/tree/master/packages/change-case#readme) ([source](https://redirect.github.com/blakeembrey/change-case)) | dependencies | major | [`^4.1.2` -> `^5.0.0`](https://renovatebot.com/diffs/npm/change-case/4.1.2/5.4.4) |
---
### Release Notes
<details>
<summary>blakeembrey/change-case (change-case)</summary>
### [`v5.4.4`](https://redirect.github.com/blakeembrey/change-case/releases/tag/change-case%405.4.4)
[Compare Source](https://redirect.github.com/blakeembrey/change-case/compare/[email protected]@5.4.4)
**Fixed**
- Fixed `change-case/keys` types by [@​marcingajda](https://redirect.github.com/marcingajda) in [https://github.com/blakeembrey/change-case/pull/337](https://redirect.github.com/blakeembrey/change-case/pull/337)
**Full Changelog**: https://github.com/blakeembrey/change-case/compare/[email protected]@5.4.4
### [`v5.4.3`](https://redirect.github.com/blakeembrey/change-case/releases/tag/change-case%405.4.3): Fix recursive options in keys change case
[Compare Source](https://redirect.github.com/blakeembrey/change-case/compare/[email protected])
**Fixed**
- Fixes options used recursively in `change-case/keys` - previously options were ignored after the first level [https://github.com/blakeembrey/change-case/pull/334](https://redirect.github.com/blakeembrey/change-case/pull/334) by [@​Quicksaver](https://redirect.github.com/Quicksaver)
### [`v5.4.2`](https://redirect.github.com/blakeembrey/change-case/compare/[email protected])
[Compare Source](https://redirect.github.com/blakeembrey/change-case/compare/[email protected])
### [`v5.4.1`](https://redirect.github.com/blakeembrey/change-case/releases/tag/change-case%405.4.1): Remove regex lookbehind
[Compare Source](https://redirect.github.com/blakeembrey/change-case/compare/[email protected]@5.4.1)
**Fixed**
- Remove lookbehind from regex for older browser support (blakeembrey/change-case@6512635)
### [`v5.4.0`](https://redirect.github.com/blakeembrey/change-case/releases/tag/change-case%405.4.0): Add `split` option to `change-case`
[Compare Source](https://redirect.github.com/blakeembrey/change-case/compare/[email protected]@5.4.0)
**Added**
- 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
### [`v5.3.0`](https://redirect.github.com/blakeembrey/change-case/releases/tag/change-case%405.3.0): Add `suffixCharacters` option
[Compare Source](https://redirect.github.com/blakeembrey/change-case/compare/[email protected]@5.3.0)
**Added**
- New `suffixCharacters` option to retain characters during case conversion. Useful for retaining something like the `_` in `type_`. Closes [https://github.com/blakeembrey/change-case/issues/322](https://redirect.github.com/blakeembrey/change-case/issues/322).
### [`v5.2.0`](https://redirect.github.com/blakeembrey/change-case/releases/tag/change-case%405.2.0): New `delimiter` and `mergeAmbiguousCharacters` options
[Compare Source](https://redirect.github.com/blakeembrey/change-case/compare/[email protected])
**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
### [`v5.1.2`](https://redirect.github.com/blakeembrey/change-case/compare/[email protected])
[Compare Source](https://redirect.github.com/blakeembrey/change-case/compare/[email protected])
### [`v5.1.1`](https://redirect.github.com/blakeembrey/change-case/compare/[email protected]@5.1.1)
[Compare Source](https://redirect.github.com/blakeembrey/change-case/compare/[email protected]@5.1.1)
### [`v5.1.0`](https://redirect.github.com/blakeembrey/change-case/releases/tag/change-case%405.1.0): Add `prefixCharacters` option
[Compare Source](https://redirect.github.com/blakeembrey/change-case/compare/[email protected])
**Added**
- New `prefixCharacters` option to retain characters during case conversion. Useful for something like `_$` to keep "private".
### [`v5.0.2`](https://redirect.github.com/blakeembrey/change-case/compare/0d8e4d9e2dbb0e60eda50a5deafd57b4d227ef60...8d3793fa2fc1646c4c2e1fba036681a42f8cdab9)
[Compare Source](https://redirect.github.com/blakeembrey/change-case/compare/0d8e4d9e2dbb0e60eda50a5deafd57b4d227ef60...8d3793fa2fc1646c4c2e1fba036681a42f8cdab9)
### [`v5.0.1`](https://redirect.github.com/blakeembrey/change-case/compare/[email protected])
[Compare Source](https://redirect.github.com/blakeembrey/change-case/compare/[email protected])
### [`v5.0.0`](https://redirect.github.com/blakeembrey/change-case/releases/tag/change-case%405.0.0): Huge ESM rewrite
[Compare Source](https://redirect.github.com/blakeembrey/change-case/compare/[email protected]@5.0.0)
**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
- Renamed `paramCase` to `kebabCase`
**Removed:**
- Removed ability to specify word split and strip regexes
**Added:**
- Exposed a new `split` function for accessing behavior of word splitting before case change
- Added `locale` and `separateNumbers` options
- Added `pascalSnakeCase` support
- Added `change-case/keys` for transforming objects into the requested case
**Deprecated packages:**
- `camel-case` (use `change-case`)
- `capital-case` (use `change-case`)
- `constant-case` (use `change-case`)
- `dot-case` (use `change-case`)
- `header-case` (use `change-case` -> `trainCase`)
- `is-lower-case` (prefer manual: `input.toLocaleLowerCase(locale) === input`)
- `is-upper-case` (prefer manual: `input.toLocaleUpperCase(locale) === input`)
- `lower-case-first` (prefer manual: `input.charAt(0).toLowerCase() + input.slice(1)`)
- `lower-case` (prefer manual: `input.toLowerCase()` or `input.toLocaleLowerCase(locale)`)
- ` no-case (use `change-case\`)
- `param-case` (use `change-case` -> `kebabCase`)
- `pascal-case` (use `change-case`)
- `path-case` (use `change-case`)
- `sentence-case` (use `change-case`)
- `snake-case` (use `change-case`)
- `upper-case-first` (prefer manual: `input.charAt(0).toLowerCase() + input.slice(1)`)
- `upper-case` (prefer manual: `input.toUpperCase()` or `input.toLocaleUpperCase(locale)`)
</details>
---
### Configuration
📅 **Schedule**: Branch creation - Between 12:00 AM and 03:59 AM, on day 1 of the month ( * 0-3 1 * * ) (UTC), Automerge - At any time (no schedule defined).
🚦 **Automerge**: Disabled by config. Please merge this manually once you are satisfied.
♻ **Rebasing**: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.
🔕 **Ignore**: Close this PR and you won't be reminded about this update again.
---
- [ ] <!-- rebase-check -->If you want to rebase/retry this PR, check this box
---
This PR has been generated by [Renovate Bot](https://redirect.github.com/renovatebot/renovate).
<!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiI0MC4yMi4xIiwidXBkYXRlZEluVmVyIjoiNDAuMjIuMSIsInRhcmdldEJyYW5jaCI6Im1haW4iLCJsYWJlbHMiOltdfQ==-->1 parent 4f10efa commit 6f6a304
2 files changed
+8
-288
lines changed
0 commit comments