Skip to content

Releases: mrodrig/doc-path

NPM Release v4.1.1

21 Mar 02:34
Compare
Choose a tag to compare

NPM Release v4.1.0

25 Feb 04:08
89b6556
Compare
Choose a tag to compare
Merge pull request #38 from mrodrig/feat/support-array-indexes-in-path

Support array indexes in path

NPM Release v4.0.2

25 Feb 01:51
1190c5c
Compare
Choose a tag to compare
Merge pull request #37 from mrodrig/oct23-npm-audit-fix

Oct23 npm audit fix

NPM Release v4.0.1

03 Aug 16:30
64bd61e
Compare
Choose a tag to compare
Merge pull request #36 from mrodrig/npm-audit-fix

Npm audit fix

NPM Release v4.0.0

22 Mar 14:34
7e8ec82
Compare
Choose a tag to compare
Merge pull request #32 from mrodrig/tsify

Migrate to TypeScript

NPM Release v3.10.0

02 Mar 03:27
fe67410
Compare
Choose a tag to compare
Merge pull request #34 from mrodrig/fix-33

Resolve evaluatePath issue with falsy values (false/0)

NPM Release v3.0.7

12 Feb 16:50
5d9ef18
Compare
Choose a tag to compare
NPM Audit Fix (#31)

* chore(deps): npm audit fix

* chore(rel): 3.0.7

NPM Release v3.0.6

12 Feb 16:43
5fe23a7
Compare
Choose a tag to compare
Add error info (#29)

* docs: add possible error info

* chore(rel): 3.0.6

NPM Release v3.0.3

26 Jan 02:41
Compare
Choose a tag to compare

NPM Audit Fixes

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