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

caleb531 / youversion-suggest-api / 10624228760
98%
main: 98%

Build:
Build:
LAST BUILD BRANCH: next
DEFAULT BRANCH: main
Ran 29 Aug 2024 11:41PM UTC
Jobs 3
Files 6
Run time 1min
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

29 Aug 2024 11:33PM UTC coverage: 98.143%. Remained the same
10624228760

push

github

caleb531
Properly externalize htmlrewriter and html-entities

This solves a major issue I was hitting with bundling htmlrewriter with
my project. The issue was twofold:
- @rollup/plugin-wasm was breaking the initialization logic for
  htmlrewriter's WASM binary, thus preventing the WASM file from being
  loaded from the library bundle's entry point (dist/index.js).
 - htmlrewriter had its own set of exports to allow a consuming
   application's build tool to bundle the correct WASM initialization
   code according to the specific environment or runtime

By marking htmlrewriter as an external dependency in my Rollup config, I
solve both of these problems, in addition to simplifying the build
process and bundle size.

In accordance with this change, I also needed to mark the html-entities
package as external, lest Rollup present me with a warning when building
the library. Fortunately, the html-entities package did not strictly
need to be bundled with the library, anyway.

Of course, all of this creates the stipulation that any consuming
application which targets a browser (e.g. a browser extension or web
app) must have a build step so it can build the library. I think this
should be a fine stipulation to make, since I can't see many use cases
where a browser-targeting application would need to use this library AND
avoid a build step.

178 of 183 branches covered (97.27%)

Branch coverage included in aggregate %.

509 of 517 relevant lines covered (98.45%)

1465.54 hits per line

Jobs
ID Job ID Ran Files Coverage
1 10624228760.1 29 Aug 2024 11:41PM UTC 0
98.14
GitHub Action Run
2 10624228760.2 29 Aug 2024 11:41PM UTC 0
98.14
GitHub Action Run
3 10624228760.3 29 Aug 2024 11:41PM UTC 0
98.14
GitHub Action Run
Source Files on build 10624228760
Detailed source file information is not available for this build.
  • Back to Repo
  • e1523325 on github
  • Prev Build on next (#10621603017)
  • Next Build on next (#10624240673)
  • Delete
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