YuriGor / deepdash

eachDeep, filterDeep, findDeep, someDeep, omitDeep, pickDeep, keysDeep etc.. Tree traversal library written in Underscore/Lodash fashion
https://deepdash.io/
MIT License
275 stars 12 forks source link

omitDeep should not mutate source object #8

Closed YuriGor closed 5 years ago

YuriGor commented 5 years ago

Because Lodash's omit doesn't

YuriGor commented 5 years ago

Actually, it doesn't, it's a typo in the docs. No mutation tests should be added.

YuriGor commented 5 years ago

Actually, docs are correct too, I don't know why did I think omitDeep mutates source object. Tests will be added anyway.