v1.4.0
New Features
- Added
update.assign
helper that merges given object with the one specified by path:
const obj = { foo: { bar: { baz: 'bak' } } };
const upd = update.assign(obj, 'foo.bar', { spam: 'ham' });
upd.foo.bar // => { baz: 'bak', spam: 'ham' }