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

nonara / ts-patch / 53
82%
master: 80%

Build:
Build:
LAST BUILD BRANCH: dependabot/npm_and_yarn/ansi-regex-5.0.1
DEFAULT BRANCH: master
Ran 21 May 2020 01:56AM UTC
Jobs 1
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

pending completion
53

push

travis-ci

nonara
v1.2.0

# 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 %.

382 of 430 relevant lines covered (88.84%)

12.64 hits per line

Jobs
ID Job ID Ran Files Coverage
1 53.1 21 May 2020 01:56AM UTC 0
82.15
Travis Job 53.1
Source Files on build 53
Detailed source file information is not available for this build.
  • Back to Repo
  • Travis Build #53
  • c31d89b9 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

© 2026 Coveralls, Inc