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

mozilla / source-map / 558 / 2
88%
master: 89%

Build:
Build:
LAST BUILD BRANCH: wasm-sources
DEFAULT BRANCH: master
Ran 18 Jun 2019 07:23PM UTC
Files 13
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

18 Jun 2019 07:21PM UTC coverage: 88.336% (-0.05%) from 88.385%
558.2

Pull #396

travis-ci

web-flow
make the SourceMap node validation more precise and possibly more performant: check for the okay/good cases before checking the various error situations. Hence the first error check (with its extensive report message) has been moved down. The check has been duplicated for the 'generated' section of the mapping as that's another potential user app programmer error source.

The diff is a little large because I turned on `prettier` for all my branches for easier merging/diffing (once one has moved to a `prettier`-formatted codebase).

Extracted from SHA-1: 151593b34 * stricter validation for source and generated line/column: when they exist, they MUST be numbers. Related to https://github.com/mozilla/source-map/issues/385 (which is not fixed by this, mind you). For this patch I choose to stick with the exception being thrown as that better ensures code/mapping quality AFAIAC.

As all error validation checks are now in a single spot and within a single conditional chunk, source-map can choose to resolve by, for example, providing a source-map option which enables/disables these checks.
Pull Request #396: make the SourceMap node validation more precise and possibly slightly more performant; related to #385

468 of 551 branches covered (84.94%)

Branch coverage included in aggregate %.

827 of 915 relevant lines covered (90.38%)

162.85 hits per line

Source Files on job 558.2
  • 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 71
  • Travis Job 558.2
  • 6ab7fe10 on github
  • Prev Job for on patch-5 (#550.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