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

Fix invertByArray to treat keys as literals | issue #257 #296

Open
wants to merge 3 commits into
base: master
Choose a base branch
from

Conversation

jmm
Copy link

@jmm jmm commented Nov 24, 2019

If I understand the intended usage correctly, this should fix #257. At any rate, the original tests pass with the change.

It seems that any path-like key is affected and it's not limited to keys with a leading ..

jmm added 3 commits November 24, 2019 13:23
Use `_.zipObject` instead of `zipObjectDeepWith` so path-like keys
aren't interpreted as paths.
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 this pull request may close these issues.

Potential bug in invertByArray
1 participant