Skip to content

Releases: mrodrig/doc-path

NPM Release v3.0.0

26 May 04:00
706873b
Compare
Choose a tag to compare
release 3.0.0 (#21)

* Add support for paths with escaped dots in path.

There are valid JSON keys which can contain a nested '.' in them.
However, this module would not handle those properly, except in a
limited set of conditions. This commit adds support for these paths when
they are properly escaped using a '\' character. However, this does
slightly change the base functionality for the module where a value with
the same key path as a top-level key with the nested value's key path
will now read the nested value, unless the provided path has appropriate
escaping on the key path.

For example... with the example doc:
    { 'a.b' : 2, a : { b : 3 } }

evaluatePath(doc, 'a.b') will now return 3
    and
evaluatePath(doc, 'a\\.b') will now return 2

Related to https://github.com/mrodrig/json-2-csv/issues/184

* Infrastructure updates - node test, es version

* chore(release): 3.0.0

* Remove logic for unreachable condition

* Update README

NPM Release 2.3.0

05 Jan 21:52
4e0da2b
Compare
Choose a tag to compare

NPM Release 2.3.0

NPM Release v2.1.3

28 Nov 06:22
39aebad
Compare
Choose a tag to compare
remove snyk

NPM Release v2.1.2

06 Oct 13:27
872ff95
Compare
Choose a tag to compare
Merge pull request #15 from mrodrig/fix-prpo

Fix issue presented in #14

NPM Release v2.1.0

23 Sep 16:27
70cf881
Compare
Choose a tag to compare
Merge pull request #13 from mrodrig/temp-fix

Fix reported issue.

v1.3.1

19 Nov 02:12
Compare
Choose a tag to compare

NPM Release 1.3.1

NPM Version 1.0.2

05 May 11:54
Compare
Choose a tag to compare

NPM Version 1.0.2

NPM Version 1.0.0

05 May 11:50
Compare
Choose a tag to compare

NPM Version 1.0.0