Skip to content

Releases: jusx/object-dot

v1.7.0

13 Mar 06:01
Compare
Choose a tag to compare

1.7.0 (2019-03-13)

Features

  • set: By default, when calling set with dot notation applied to an object where one of the properties already have a value, it is over-written. The API now allows a flag to not over-write but instead silently do nothing.. (910c1f8)

v1.6.2

11 Mar 23:21
Compare
Choose a tag to compare

1.6.2 (2019-03-11)

Bug Fixes

  • set: When set is used to deeply set a chained object and one of the properties in the middle of the chain already exists, overwrite the property. For example set({ a: { b: { c: 'a' } } }, 'a.b.c.d.e', 'foo') used to throw an error. It now overwrites the value of the property c where 'a.b.c.d.e'==='foo' (949d42c)

v1.6.1

09 Mar 07:20
Compare
Choose a tag to compare

1.6.1 (2019-03-09)

Bug Fixes

  • Stop mutating the path array. This was happening when using arrays instead of dot notation in the get and exists methods. (f10f6ed)

v1.6.0

06 Mar 08:20
Compare
Choose a tag to compare

1.6.0 (2019-03-06)

Features

  • extend: New extend method to add the methods from object-dot to the Object protoype chain so that you can call it directly like so: Object.get(...) (9aabe4b)

v1.5.0

06 Mar 02:33
Compare
Choose a tag to compare

1.5.0 (2019-03-06)

Features

  • exists: The exists function is useful to find out if a chained object exists. (5837ff7)

v1.4.0

05 Mar 01:17
Compare
Choose a tag to compare

1.4.0 (2019-03-05)

Features

  • get: Support arguments as parameter in addition to destructing object. (8956ba0)
  • get: Support path parameter using arrays in addition to a string of dot notation. (219d7fe)

v1.3.1

03 Mar 17:40
Compare
Choose a tag to compare

1.3.1 (2019-03-03)

Bug Fixes

  • stop requiring npm in depedencies. (b07e2f6)

v1.3.0

03 Mar 08:23
Compare
Choose a tag to compare

1.3.0 (2019-03-03)

Features

  • set: Support for arguments as parameters. (02bc072)

v1.2.0

03 Mar 08:14
Compare
Choose a tag to compare
chore(release): 1.2.0 [skip ci]

v1.0.0

01 Mar 04:01
Compare
Choose a tag to compare

Initial release