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

NaturalIntelligence / fast-xml-parser / 290 / 1
98%
master: 98%

Build:
DEFAULT BRANCH: master
Ran 16 Aug 2018 04:29PM UTC
Files 9
Run time 1s
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

16 Aug 2018 04:24PM UTC coverage: 97.487% (+0.01%) from 97.473%
290.1

push

travis-ci

amitguptagwl
Fix formatting for nodes with attributes (#105)

* don't add newline after the > character of a node with attr text when building object nodes with options.format === true

* when building object node, don't add indentation and newlines if attrStr is set

* update js2x spec parser with format: true and cdata - add nested element with attr value
increase indent to for the text<![CDATA line

* only skip indentation if the value is a string and does not contain any child nodes

* fix indentation with CDATA elements

* avoid deeply nested if statements, and improve tag end handling of CDATA nodes when options.format === true

* trying to reduce cognitive complexity

* fix reference to this.newLine

353 of 370 branches covered (95.41%)

543 of 557 relevant lines covered (97.49%)

640557.8 hits per line

Source Files on job 290.1
  • Tree
  • List 0
  • Changed 1
  • Source Changed 1
  • Coverage Changed 1
Coverage ∆ File Lines Relevant Covered Missed Hits/Line Branch Hits Branch Misses
  • Back to Build 200
  • Travis Job 290.1
  • 1617d1fe on github
  • Prev Job for on master (#282.1)
  • Next Job for on master (#291.5)
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