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

coreui / coreui-pro / 36140927236
96%
main: 94%

Build:
Build:
LAST BUILD BRANCH: v6-dev
DEFAULT BRANCH: main
Ran 25 Sep 2026 01:27PM UTC
Jobs 1
Files 76
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

25 Sep 2026 01:26PM UTC coverage: 95.166%. Remained the same
36140927236

push

github

web-flow
refactor: build the UMD entry from the module index (#1434)

* refactor: build the UMD entry from the module index

js/index.umd.js listed every component twice, as an import and as a key of its default export, next to js/src/index.ts, which the ESM build reads. Nothing compared the two lists, so a component added to one and forgotten in the other would have been missing from window.coreui with every check green. The UMD entry now re-exports js/src/index.ts and adds only the OffCanvas alias, so the two builds cannot drift.

window.coreui keeps the same 47 names pointing at the same plugins, checked in Chromium on coreui.bundle.js, coreui.min.js and bootstrap.bundle.js, with a tooltip and the alert data API working in each. The global is now filled through exports rather than returned, so Object.prototype.toString reports it as [object Module]. Minified sizes move by -15 B (coreui.min.js) and +17 B (coreui.bundle.min.js) gzip.

js/tests/unit/index.spec.js fails when a module in js/src is not exported from the index (the five base modules excepted), when the UMD entry misses a module export, and when the OffCanvas alias goes.

* refactor: keep the UMD global a plain object

With named exports rolldown tagged the exports object with Symbol.toStringTag "Module", so Object.prototype.toString reported window.coreui as [object Module] and lodash's cloneDeep returned {} for it and isPlainObject false. generatedCode.symbols is off for the bundles now; the only change in the eight UMD files is that line, and the ESM bundles are byte-identical.

The export spec globs module namespaces instead of default imports, so a module in js/src without a default export is listed as missing instead of failing the spec file at link time.

6104 of 6663 branches covered (91.61%)

Branch coverage included in aggregate %.

11201 of 11521 relevant lines covered (97.22%)

722.97 hits per line

Jobs
ID Job ID Ran Files Coverage
1 36140927236.1 25 Sep 2026 01:27PM UTC 76
95.17
GitHub Action Run
Source Files on build 36140927236
  • Tree
  • List 76
  • Changed 0
  • Source Changed 0
  • Coverage Changed 0
Coverage ∆ File Lines Relevant Covered Missed Hits/Line Branch Hits Branch Misses
  • Back to Repo
  • Github Actions Build #36140927236
  • 75421d81 on github
  • Prev Build on v6-dev (#36139966484)
  • Next Build on v6-dev (#36144546587)
  • Delete
STATUS · Troubleshooting · Open an Issue · Sales · Support · CAREERS · ENTERPRISE · START FREE TRIAL · SCHEDULE DEMO
ANNOUNCEMENTS · TWITTER · TOS & SLA · Supported CI Services · What's a CI service? · Automated Testing

© 2026 Coveralls, Inc