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

reactivando / use-pubsub-js / 28134131988
100%
master: 80%

Build:
Build:
LAST BUILD BRANCH: main
DEFAULT BRANCH: master
Ran 24 Jun 2026 10:38PM UTC
Jobs 1
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

24 Jun 2026 10:37PM UTC coverage: 100.0%. Remained the same
28134131988

push

github

web-flow
chore!: bundle/packaging hygiene (drop utils/debounce subpath, es2021 target) (#88)

From the bundle/distribution audit:
- Remove the vestigial `debounce.debounce = debounce` self-assignment — a real
  module-level side effect that contradicted `sideEffects: false`.
- Drop the undocumented `./utils/debounce` public subpath export (+ typesVersions).
  debounce stays an internal implementation detail of usePublish.
- tsdown: pin an explicit `target: 'es2021'` (this is a browser library;
  previously inferred from engines.node, which read confusingly as node18).
- e2e: add a dual-package identity guard — the barrel `PubSub` and the `./pubsub`
  subpath must be the same singleton within a module system (guards the exports
  map against accidentally instantiating two buses).
- Note in source why `/*#__PURE__*/` on the singleton isn't used (minification
  strips it; `sideEffects: false` is the effective tree-shaking mechanism).

125 tests, 100% coverage, lint clean, e2e 12/12, attw + publint clean.

BREAKING CHANGE: the `use-pubsub-js/utils/debounce` subpath is no longer exported.

Co-authored-by: Claude Opus 4.8 (1M context) <noreply@anthropic.com>

31 of 31 branches covered (100.0%)

Branch coverage included in aggregate %.

210 of 210 relevant lines covered (100.0%)

36.25 hits per line

Jobs
ID Job ID Ran Files Coverage
1 28134131988.1 24 Jun 2026 10:38PM UTC 6
100.0
GitHub Action Run
Source Files on build 28134131988
  • Tree
  • List 6
  • Changed 2
  • Source Changed 2
  • Coverage Changed 2
Coverage ∆ File Lines Relevant Covered Missed Hits/Line Branch Hits Branch Misses
  • Back to Repo
  • Github Actions Build #28134131988
  • 242a54f9 on github
  • Prev Build on main (#28133808053)
  • Next Build on main (#28134304037)
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