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

mrodrig / json-2-csv / 599 / 3
98%
stable: 98%

Build:
DEFAULT BRANCH: stable
Ran 20 May 2021 04:07AM UTC
Files 4
Run time 0s
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

20 May 2021 04:06AM UTC coverage: 98.266% (+0.005%) from 98.261%
CC_TEST_REPORTER_ID=90382d7264499c819f742709fe7cb4b2d2a49cc90fd98a9c8414426ac4860e62

push

travis-ci

web-flow
Validate field titles against Object.keys list (#186)

* Validate field titles against Object.keys list

As reported in #185, there was a bug where header values could not have
the same name as a Map method. This is because the code was naively
checking for the existence of a possible title field by simply accessing
the raw value of the Map. This resulted in Map.prototype.set being
returned when the "set" JSON key name was used. The logic has been
updated to check for header titles against an Object.keys list now since
that will not include prototype methods for the underlying Map object.

Fixes #185

* Add test for #185.

* Add Node 16,  remove Node 10 for travis test cfg.

239 of 242 branches covered (98.76%)

340 of 346 relevant lines covered (98.27%)

241.73 hits per line

Source Files on job 599.3 (CC_TEST_REPORTER_ID=90382d7264499c819f742709fe7cb4b2d2a49cc90fd98a9c8414426ac4860e62)
  • Tree
  • List 0
  • Changed 3
  • Source Changed 1
  • Coverage Changed 3
Coverage ∆ File Lines Relevant Covered Missed Hits/Line Branch Hits Branch Misses
  • Back to Build 49
  • Travis Job 599.3
  • e72fa24d on github
  • Prev Job for CC_TEST_REPORTER_ID=90382d7264499c819f742709fe7cb4b2d2a49cc90fd98a9c8414426ac4860e62 on stable (#586.1)
  • Next Job for CC_TEST_REPORTER_ID=90382d7264499c819f742709fe7cb4b2d2a49cc90fd98a9c8414426ac4860e62 on stable (#602.1)
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

© 2026 Coveralls, Inc