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

Objects with symbols as keys are removed #70

Open
satazor opened this issue Jan 6, 2023 · 0 comments
Open

Objects with symbols as keys are removed #70

satazor opened this issue Jan 6, 2023 · 0 comments

Comments

@satazor
Copy link

satazor commented Jan 6, 2023

This happens because isEmpty returns true for objects composed of only non-string keys (e.g.: symbols). See: lodash/lodash#3492

Would you be open to accept a PR that changes isEmpty to a custom isEmpty implementation as suggested by Dalton here? lodash/lodash#4167

transform also removes symbols, so it needs to be replaced.

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

Successfully merging a pull request may close this issue.

1 participant