We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
// ok flat.unflatten({ 'a.b': 'c' }); // { a: { b: 'c' } } // not ok flat.unflatten({ a: null, 'a.b': 'c' }); // TypeError: Cannot set property 'b' of null
Probably, it happens because of 'object' === typeof null, but I didn't see the source
'object' === typeof null
The text was updated successfully, but these errors were encountered:
a789e4b
Released in 2.0.0. I've bumped major on this because the behaviour around overwriting non-object values is changed from 1.x.
Sorry, something went wrong.
Thank you)
No branches or pull requests
Probably, it happens because of
'object' === typeof null
, but I didn't see the sourceThe text was updated successfully, but these errors were encountered: