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

nonara / ts-patch / 55
80%

Build:
DEFAULT BRANCH: master
Ran 21 May 2020 05:06AM UTC
Jobs 1
Files 9
Run time 2s
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

pending completion
55

push

travis-ci

nonara
v1.2.1

# Changed: `beforeEmit` -> `tranformProgram`

The mechanism of action for `Program` transformation has been moved from inside
`program.emit()` to `ts.createProgram()`.

In the new methodology, the `Program` instance is transformed at the point of creation _before_ it is returned from the
factory function, which is a far better approach.

While the option name has been updated for clarity, the old `beforeEmit` will still work, so this is not a breaking change.

# Added: Inspect or alter diagnostics

Using the `program` type entry point, the `extras` field has been revised.

 | property | status | description |
 | -------- | ------ | ----------- |
 | diagnostics | _new_ | Reference to `Diagnostic[]` created during `ts.emitFilesAndReportErrors()` (works with tsc also)
 | addDiagnostic | _changed_ | Directly add `Diagnostic` to `diagnostics` array |
 | removeDiagnostic | _new_ | Directly remove `Diagnostic` from `diagnostics` array (uses splice, for safe removal)

See `README.md` for full detail.

230 of 315 branches covered (73.02%)

Branch coverage included in aggregate %.

22 of 22 new or added lines in 3 files covered. (100.0%)

384 of 433 relevant lines covered (88.68%)

13.11 hits per line

Jobs
ID Job ID Ran Files Coverage
1 55.1 21 May 2020 05:06AM UTC 0
82.09
Travis Job 55.1
Source Files on build 55
Detailed source file information is not available for this build.
  • Back to Repo
  • Travis Build #55
  • 5017e9a5 on github
  • Prev Build on master (#52)
  • Next Build on master (#114127719)
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