Skip to content
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

Unexpected behaviour of camelCase #5750

Open
djbb7 opened this issue Oct 10, 2023 · 6 comments
Open

Unexpected behaviour of camelCase #5750

djbb7 opened this issue Oct 10, 2023 · 6 comments

Comments

@djbb7
Copy link

djbb7 commented Oct 10, 2023

The camelCase method returns some unexpected results when the provided text contains multiple uppercase characters in a single word. This is caused by the implementation of the words utility.

_.camelCase('IDs');
// returns => 'iDs'
// expected: 'ids'

_.camelCase('Product XMLs')
// returns => 'productXmLs'
// expected: 'productXmls'
@petertn
Copy link

petertn commented Nov 11, 2023

Looks like this pull request will resolve this issue when approved
#5748

@jinbekim
Copy link
Contributor

jinbekim commented Dec 17, 2023

how #5748 can resolve this issue? I don't understand.
This pr is just handling Pascalcase files.

Looks like this pull request will resolve this issue when approved #5748

@petertn
Copy link

petertn commented Jan 11, 2024

how #5748 can resolve this issue? I don't understand. This pr is just handling Pascalcase files.

Looks like this pull request will resolve this issue when approved #5748

You're right. I misunderstood the changes in those files based on the title.

@jhaprabhakar1998
Copy link

Hi @jinbekim,
Can I work on to fix the root cause of the issue. You have already added testcases, so if we are planning on fixing it, please let me know and I can pick it up.

@jhaprabhakar1998
Copy link

jhaprabhakar1998 commented Feb 11, 2024

Hi @jdalton,
Thank you for creating this beautiful libray (making a life lot easier). Just wanted to check if you are working on releasing new versions/bug fixes (haven't seen new release from a long time). Also, will be interested in working on this issue

@jinbekim
Copy link
Contributor

Hi @jhaprabhakar1998 Sure, I'm not working on that now. Sorry for late reply

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

No branches or pull requests

4 participants