-
-
Notifications
You must be signed in to change notification settings - Fork 97
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
title-case: a quoted word with a period in it doesn't get capitalized #266
Comments
I have released a fix for this here: https:/blakeembrey/change-case/releases/tag/title-case%404.1.0. |
kodiakhq bot
referenced
this issue
in timelessco/next-ts-app-template
Oct 8, 2023
[![Mend Renovate](https://app.renovatebot.com/images/banner.svg)](https://renovatebot.com) This PR contains the following updates: | Package | Change | Age | Adoption | Passing | Confidence | |---|---|---|---|---|---| | [title-case](https://togithub.com/blakeembrey/change-case/tree/master/packages/title-case#readme) ([source](https://togithub.com/blakeembrey/change-case)) | [`3.0.3` -> `4.1.0`](https://renovatebot.com/diffs/npm/title-case/3.0.3/4.1.0) | [![age](https://developer.mend.io/api/mc/badges/age/npm/title-case/4.1.0?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![adoption](https://developer.mend.io/api/mc/badges/adoption/npm/title-case/4.1.0?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![passing](https://developer.mend.io/api/mc/badges/compatibility/npm/title-case/3.0.3/4.1.0?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![confidence](https://developer.mend.io/api/mc/badges/confidence/npm/title-case/3.0.3/4.1.0?slim=true)](https://docs.renovatebot.com/merge-confidence/) | --- ### Release Notes <details> <summary>blakeembrey/change-case (title-case)</summary> ### [`v4.1.0`](https://togithub.com/blakeembrey/change-case/releases/tag/title-case%404.1.0): Add small words option [Compare Source](https://togithub.com/blakeembrey/change-case/compare/[email protected]) **Added** - Add a `smallWords` to an optional config object provided to `titleCase` [https:/blakeembrey/change-case/issues/282](https://togithub.com/blakeembrey/change-case/issues/282) **Fixed** - Fixes an issue where a word ending in `.` would be ignored inside quotes [https:/blakeembrey/change-case/issues/266](https://togithub.com/blakeembrey/change-case/issues/266) ### [`v4.0.1`](https://togithub.com/blakeembrey/change-case/compare/[email protected]) [Compare Source](https://togithub.com/blakeembrey/change-case/compare/[email protected]) ### [`v4.0.0`](https://togithub.com/blakeembrey/change-case/releases/tag/title-case%404.0.0): ESM support [Compare Source](https://togithub.com/blakeembrey/change-case/compare/[email protected]@4.0.0) **Changed** - Removes CommonJS support and adds ESM import support for node 16+ - Adds an optional `locale` as the second argument (now defaults to host environment using `toLocaleUpperCase` </details> --- ### Configuration 📅 **Schedule**: Branch creation - "before 4am on Monday" in timezone Asia/Kolkata, Automerge - At any time (no schedule defined). 🚦 **Automerge**: Disabled by config. Please merge this manually once you are satisfied. ♻ **Rebasing**: Whenever PR is behind base branch, or you tick the rebase/retry checkbox. 🔕 **Ignore**: Close this PR and you won't be reminded about this update again. --- - [ ] If you want to rebase/retry this PR, check this box --- This PR has been generated by [Mend Renovate](https://www.mend.io/free-developer-tools/renovate/). View repository job log [here](https://developer.mend.io/github/timelessco/next-ts-app).
kodiakhq bot
referenced
this issue
in timelessco/recollect
Oct 8, 2023
[![Mend Renovate](https://app.renovatebot.com/images/banner.svg)](https://renovatebot.com) This PR contains the following updates: | Package | Change | Age | Adoption | Passing | Confidence | |---|---|---|---|---|---| | [title-case](https://togithub.com/blakeembrey/change-case/tree/master/packages/title-case#readme) ([source](https://togithub.com/blakeembrey/change-case)) | [`3.0.3` -> `4.1.0`](https://renovatebot.com/diffs/npm/title-case/3.0.3/4.1.0) | [![age](https://developer.mend.io/api/mc/badges/age/npm/title-case/4.1.0?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![adoption](https://developer.mend.io/api/mc/badges/adoption/npm/title-case/4.1.0?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![passing](https://developer.mend.io/api/mc/badges/compatibility/npm/title-case/3.0.3/4.1.0?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![confidence](https://developer.mend.io/api/mc/badges/confidence/npm/title-case/3.0.3/4.1.0?slim=true)](https://docs.renovatebot.com/merge-confidence/) | --- ### Release Notes <details> <summary>blakeembrey/change-case (title-case)</summary> ### [`v4.1.0`](https://togithub.com/blakeembrey/change-case/releases/tag/title-case%404.1.0): Add small words option [Compare Source](https://togithub.com/blakeembrey/change-case/compare/[email protected]) **Added** - Add a `smallWords` to an optional config object provided to `titleCase` [https:/blakeembrey/change-case/issues/282](https://togithub.com/blakeembrey/change-case/issues/282) **Fixed** - Fixes an issue where a word ending in `.` would be ignored inside quotes [https:/blakeembrey/change-case/issues/266](https://togithub.com/blakeembrey/change-case/issues/266) ### [`v4.0.1`](https://togithub.com/blakeembrey/change-case/compare/[email protected]) [Compare Source](https://togithub.com/blakeembrey/change-case/compare/[email protected]) ### [`v4.0.0`](https://togithub.com/blakeembrey/change-case/releases/tag/title-case%404.0.0): ESM support [Compare Source](https://togithub.com/blakeembrey/change-case/compare/[email protected]@4.0.0) **Changed** - Removes CommonJS support and adds ESM import support for node 16+ - Adds an optional `locale` as the second argument (now defaults to host environment using `toLocaleUpperCase` </details> --- ### Configuration 📅 **Schedule**: Branch creation - "before 4am on Monday" in timezone Asia/Kolkata, Automerge - At any time (no schedule defined). 🚦 **Automerge**: Disabled by config. Please merge this manually once you are satisfied. ♻ **Rebasing**: Whenever PR is behind base branch, or you tick the rebase/retry checkbox. 🔕 **Ignore**: Close this PR and you won't be reminded about this update again. --- - [ ] If you want to rebase/retry this PR, check this box --- This PR has been generated by [Mend Renovate](https://www.mend.io/free-developer-tools/renovate/). View repository job log [here](https://developer.mend.io/github/timelessco/bookmark-tags).
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
I think I found a bug in
title-case
: When a string has a quoted word with a period in it, that word isn't capitalized.For example:
I would expect
unequivocal
to be capitalized, but it is not.The text was updated successfully, but these errors were encountered: