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

Lowercase forcing makes breaking change #17

Open
cesar-lizurey opened this issue Jun 3, 2024 · 0 comments
Open

Lowercase forcing makes breaking change #17

cesar-lizurey opened this issue Jun 3, 2024 · 0 comments

Comments

@cesar-lizurey
Copy link

cesar-lizurey commented Jun 3, 2024

Apparently the different keys of entries lose their capitals when converted with toJSON (as the document suggests).

It may comes from this line:

const lcAttr = attr.type.split(';', 2)[0].toLocaleLowerCase()

I don't understand the purpose of this line as I have now to change my key checks. I may have not understood something.

@cesar-lizurey cesar-lizurey changed the title Lowercase forcing makes Lowercase forcing makes breaking change Jun 3, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant