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

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

Build:
Build:
LAST BUILD BRANCH: main
DEFAULT BRANCH: master
Ran 24 Jun 2026 08:48AM UTC
Jobs 1
Files 3
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 08:48AM UTC coverage: 100.0% (+1.3%) from 98.667%
28086653479

push

github

web-flow
chore(quality): packaging/types/test/CI fixes from multi-lens review (#64)

Final quality pass. Six persona-lens review agents (hooks correctness,
tests/QA, packaging/DX, code quality, CI/security, performance) ran in
parallel; every finding was independently verified. Only verified-safe,
behavior-preserving changes are included — hook source is untouched.

Packaging / types (verified with @arethetypeswrong/cli + publint):
- Add typesVersions for the subpath exports so node10 type resolution
  works; attw is now all-green (node10/node16/bundler) for every
  entrypoint, publint clean. Emitted .d.ts/.d.cts are byte-identical.
- Add keywords / homepage / bugs metadata (matches sibling standard).

tsconfig modernization (safe — noEmit, tsdown owns real output; verified
emitted types byte-identical + tsc clean):
- target es5 -> es2020, moduleResolution node -> bundler, collapse lib to
  [es2020, dom], drop the now-unneeded ignoreDeprecations "6.0" and the
  redundant noImplicitReturns:false.

Tests (additive only — assert existing behavior; branch coverage 90.9% ->
100%): isImmediate publish, debounceMs-as-string, empty-message skip,
isUnsubscribe round-trip, token-change resubscription, resubscribe-while-
subscribed, debounce early-reschedule + flush-with-no-timeout branches.

CI / supply-chain:
- Remove dead overrides (root brace-expansion@1/@2 + minimatch@3/@9,
  example yaml) — tree moved past those majors; audit stays clean on both.
- Add --frozen-lockfile to ci/e2e/pages installs (matches release.yml).
- e2e-test.yml: least-privilege `permissions: contents: read`, drop the
  unneeded fetch-depth: 0.

Docs: fix README master->main links, the unquoted JSX strings in the
usePublish example, and the example path (App.js -> App.tsx).

All green: build, 27 tests, 100% branch coverage, lint, e2e, audit (root +
example), frozen installs. Deferred (maintainer judgment / semver-major)
findings reported separately.

Co-authored-by: Claude Opus 4.8 (1M context) ... (continued)

11 of 11 branches covered (100.0%)

Branch coverage included in aggregate %.

64 of 64 relevant lines covered (100.0%)

11.58 hits per line

Jobs
ID Job ID Ran Files Coverage
1 28086653479.1 24 Jun 2026 08:48AM UTC 3
100.0
GitHub Action Run
Source Files on build 28086653479
  • Tree
  • List 3
  • Changed 1
  • Source Changed 0
  • Coverage Changed 1
Coverage ∆ File Lines Relevant Covered Missed Hits/Line Branch Hits Branch Misses
  • Back to Repo
  • Github Actions Build #28086653479
  • 55d0e2d6 on github
  • Prev Build on main (#28085492498)
  • Next Build on main (#28106619323)
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