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

naver / billboard.js / 24550161999
94%

Build:
DEFAULT BRANCH: master
Ran 17 Apr 2026 05:58AM UTC
Jobs 3
Files 137
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

17 Apr 2026 05:54AM UTC coverage: 93.567% (-0.2%) from 93.76%
24550161999

push

github

web-flow
feat(esm): tree-shakable grid, regions, category modules

* feat(esm): make export and flow APIs tree-shakable

- Introduce exportApi() and flow() module functions for opt-in ESM import
- Remove apiExport from Chart core and apiFlow from axis resolver
- Add stubs on Chart.prototype with logError for missing module guidance
- UMD bundle auto-includes both via index.ts
- Optimize isStackingRadiusData from O(n²) to O(n) pre-computed Set
- Add ESM tests for optional module loading behavior

BREAKING CHANGE: chart.export() and chart.flow() are no longer
included automatically in the ESM build. Explicit import required:

  import bb, { bar, exportApi, flow } from "billboard.js";
  bb.generate({ ...bar(), ...exportApi(), ...flow(), data: { ... } });

UMD bundle users are not affected.

* refactor(esm): remove prototype stubs for export and flow modules

Remove the stub implementations and delete calls that were added as
fallbacks — they are unnecessary now that the resolver pattern handles
lazy loading directly without stub cleanup.

* feat(esm): make grid, regions, category APIs tree-shakable

- Introduce grid(), regions(), category() resolver modules for opt-in ESM import
- Remove apiGrid, apiRegion, apiCategory from axis resolver
- Remove internal grid/region renderers from axis resolver
- Extend Chart/api/stubs with xgrids/ygrids/regions/category/categories stubs
- Add optional chaining in redraw/eventrect/flow/ChartInternal for grid/region methods
- Update UMD entry to auto-invoke new resolvers
- Update ESM entry to export new resolvers
- Point runtime error docs to new MODULE_IMPORTS.md guide
- Add tests for new optional modules

Add CHANGELOG-v4.md for release notes and MODULE_IMPORTS.md as the
canonical module import guide referenced from runtime error messages.

BREAKING CHANGE: In ESM builds, chart.xgrids()/ygrids(), chart.regions(),
chart.category()/categories() now require explicit import:

  import bb, {bar, grid, regions, category} from "billbo... (continued)

6909 of 7688 branches covered (89.87%)

Branch coverage included in aggregate %.

59 of 69 new or added lines in 14 files covered. (85.51%)

14 existing lines in 1 file now uncovered.

8711 of 9006 relevant lines covered (96.72%)

20703.17 hits per line

Uncovered Changes

Lines Coverage ∆ File
7
12.5
src/Chart/api/stubs.ts
2
83.72
-8.38% src/module/error.ts
1
86.27
-7.79% src/ChartInternal/shape/bar.ts

Coverage Regressions

Lines Coverage ∆ File
14
86.27
-7.79% src/ChartInternal/shape/bar.ts
Jobs
ID Job ID Ran Files Coverage
1 run-24.x - 24550161999.1 17 Apr 2026 05:59AM UTC 137
93.57
GitHub Action Run
2 run-23.x - 24550161999.2 17 Apr 2026 05:59AM UTC 137
93.57
GitHub Action Run
3 run-22.x - 24550161999.3 17 Apr 2026 05:58AM UTC 137
93.57
GitHub Action Run
Source Files on build 24550161999
  • Tree
  • List 137
  • Changed 11
  • Source Changed 0
  • Coverage Changed 11
Coverage ∆ File Lines Relevant Covered Missed Hits/Line Branch Hits Branch Misses
  • Back to Repo
  • 678e7614 on github
  • Prev Build on master (#24338443571)
  • Next Build on master (#24556718728)
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