Metzploreur/node_modules/mpath/History.md
clement callaert 244d45ceb8 Version 2
2023-11-01 17:33:25 +01:00

2.2 KiB

0.8.4 / 2021-09-01

  • fix: throw error if parts contains an element that isn't a string or number #13

0.8.3 / 2020-12-30

  • fix: use var instead of let/const for Node.js 4.x support

0.8.2 / 2020-12-30

  • fix(stringToParts): fall back to legacy treatment for square brackets if square brackets contents aren't a number Automattic/mongoose#9640
  • chore: add eslint

0.8.1 / 2020-12-10

  • fix(stringToParts): handle empty string and trailing dot the same way that split() does for backwards compat

0.8.0 / 2020-11-14

  • feat: support square bracket indexing for get(), set(), has(), and unset()

0.7.0 / 2020-03-24

0.6.0 / 2019-05-01

  • feat: support setting dotted paths within nested arrays

0.5.2 / 2019-04-25

  • fix: avoid using subclassed array constructor when doing map()

0.5.1 / 2018-08-30

  • fix: prevent writing to constructor and prototype as well as proto

0.5.0 / 2018-08-30

  • BREAKING CHANGE: disallow setting/unsetting proto properties
  • feat: re-add support for Node < 4 for this release

0.4.1 / 2018-04-08

0.4.0 / 2018-03-27

  • feat: add support for ES6 maps
  • BREAKING CHANGE: drop support for Node < 4

0.3.0 / 2017-06-05

  • feat: add has() and unset() functions

0.2.1 / 2013-03-22

  • test; added for #5
  • fix typo that breaks set #5 Contra

0.2.0 / 2013-03-15

  • added; adapter support for set
  • added; adapter support for get
  • add basic benchmarks
  • add support for using module as a component #2 Contra

0.1.1 / 2012-12-21

  • added; map support

0.1.0 / 2012-12-13

  • added; set('array.property', val, object) support
  • added; get('array.property', object) support

0.0.1 / 2012-11-03

  • initial release