• Home
  • Features
  • Pricing
  • Docs
  • Announcements
  • Sign In

mrodrig / doc-path
100%
stable: 100%

Build:
Build:
LAST BUILD BRANCH: refs/tags/4.1.2
DEFAULT BRANCH: stable
Repo Added 02 Dec 2020 01:56AM UTC
Files 1
Badge
Embed ▾
README BADGES
x

If you need to use a raster PNG badge, change the '.svg' to '.png' in the link

Markdown

Textile

RDoc

HTML

Rst

LAST BUILD ON BRANCH 3.0.0
branch: 3.0.0
CHANGE BRANCH
x
Reset
  • 3.0.0
  • 2.3.0
  • 3.0.3
  • add-error-info
  • apr22-npm-audit-fix
  • chore/audit-fix/oct22
  • dependabot/npm_and_yarn/glob-parent-5.1.2
  • dependabot/npm_and_yarn/json5-2.2.3
  • dependabot/npm_and_yarn/minimist-1.2.6
  • dependabot/npm_and_yarn/path-parse-1.0.7
  • dependabot/npm_and_yarn/word-wrap-1.2.4
  • feat/support-array-indexes-in-path
  • fix-39
  • fix-j2c-184
  • fix/issue-18
  • fix/negative-lookbehind-compat
  • july24-audit-fix
  • main
  • npm-audit-fix
  • oct23-npm-audit-fix
  • refs/tags/4.0.0
  • refs/tags/4.0.1
  • refs/tags/4.0.2
  • refs/tags/4.1.0
  • refs/tags/4.1.1
  • refs/tags/4.1.2
  • stable
  • tsify

pending completion
106

push

travis-ci

web-flow
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

43 of 43 branches covered (100.0%)

Branch coverage included in aggregate %.

36 of 36 relevant lines covered (100.0%)

88.33 hits per line

Relevant lines Covered
Build:
Build:
36 RELEVANT LINES 36 COVERED LINES
88.33 HITS PER LINE
Source Files on 3.0.0
  • Tree
  • List 1
  • Changed 0
  • Source Changed 0
  • Coverage Changed 0
Coverage ∆ File Lines Relevant Covered Missed Hits/Line Branch Hits Branch Misses

Recent builds

Builds Branch Commit Type Ran Committer Via Coverage
106 3.0.0 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... push 26 May 2021 04:01AM UTC web-flow travis-ci pending completion  
12 3.0.0 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... push 26 May 2021 04:01AM UTC web-flow travis-ci-com pending completion  
104 3.0.0 Merge 6924ef013 into 4e0da2b66 Pull #21 26 May 2021 03:43AM UTC web-flow travis-ci pending completion  
103 3.0.0 Merge pull request #20 from mrodrig/fix-j2c-184 Add support for escaped paths. push 26 May 2021 03:42AM UTC web-flow travis-ci pending completion  
10 3.0.0 Merge 6924ef013 into 4e0da2b66 Pull #21 26 May 2021 03:41AM UTC web-flow travis-ci-com pending completion  
9 3.0.0 Merge pull request #20 from mrodrig/fix-j2c-184 Add support for escaped paths. push 26 May 2021 03:40AM UTC web-flow travis-ci-com pending completion  
98 3.0.0 Merge a63e0ef77 into 4e0da2b66 Pull #21 24 May 2021 03:26AM UTC web-flow travis-ci pending completion  
4 3.0.0 Merge a63e0ef77 into 4e0da2b66 Pull #21 24 May 2021 03:26AM UTC web-flow travis-ci-com pending completion  
97 3.0.0 chore(release): 3.0.0 push 24 May 2021 02:58AM UTC web-flow travis-ci pending completion  
3 3.0.0 chore(release): 3.0.0 push 24 May 2021 02:58AM UTC web-flow travis-ci-com pending completion  
See All Builds (117)
  • Repo on GitHub
STATUS · Troubleshooting · Open an Issue · Sales · Support · CAREERS · ENTERPRISE · START FREE · SCHEDULE DEMO
ANNOUNCEMENTS · TWITTER · TOS & SLA · Supported CI Services · What's a CI service? · Automated Testing

© 2025 Coveralls, Inc