omit-deep
omit-deep copied to clipboard
Recursively omit specified keys from an object.
It looks like the omitDeep function is mutating the object I pass in as well as returning it, is this expected behavior or should it be a pure function?
Would be nice to allow `omitDeep(object, 'a', 'b', 'c.d')` instead of needing to wrap them in an array.
When I run `omitDeep({ x: undefined }, 'y')` I expect to receive `{ x: undefined }` (or `{}`) But I receive `{ x: {} }` The problem here is that,...