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

ooade / react-click-away-listener / 23938860103
92%

Build:
DEFAULT BRANCH: main
Ran 03 Apr 2026 07:53AM UTC
Jobs 1
Files 1
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

03 Apr 2026 07:52AM UTC coverage: 92.405% (+0.5%) from 91.892%
23938860103

push

github

web-flow
Migration and Refactors (#107)

* refactor: modernise build tooling, improve types, and add edge-case tests

- Make onClickAway memoisation-safe using a ref pattern
- Wrap handleBubbledEvents in useCallback for stable child props
- Remove HTMLAttributes extension from Props interface
- Tighten onClickAway event type to FocusEvent | MouseEvent | TouchEvent
- Add package.json exports field for modern ESM/CJS resolution
- Add engines field (node >= 18) and fix prepublishOnly lifecycle hook
- Migrate from Rollup 2 to Rollup 4 with official plugins
- Replace ghooks with husky + lint-staged
- Remove unmaintained dependencies (rimraf, npm-run-all, coveralls)
- Update documentation links from reactjs.org to react.dev
- Add React 19 deprecation note for React.Children.only
- Add tests for callback identity change, nested listeners, and unmount safety

* ci: bump Node to 22 and actions to v4 for semantic-release@25 compat

* ci: consolidate publish workflows into one

* feat: rename bodyEventsToCapture to extraEvents

* ci: add missing OIDC permissions for semantic-release npm publishing

* ci: fetch all history for semantic-release

* fix: update package lock

* chore: add .npmignore to exclude .github folder from npm package

* fix: regenerate package-lock.json to include optional rollup native dependencies

22 of 27 branches covered (81.48%)

Branch coverage included in aggregate %.

17 of 17 new or added lines in 1 file covered. (100.0%)

51 of 52 relevant lines covered (98.08%)

26.38 hits per line

Jobs
ID Job ID Ran Files Coverage
1 23938860103.1 03 Apr 2026 07:53AM UTC 1
92.41
GitHub Action Run
Source Files on build 23938860103
  • Tree
  • List 1
  • Changed 1
  • Source Changed 1
  • Coverage Changed 1
Coverage ∆ File Lines Relevant Covered Missed Hits/Line Branch Hits Branch Misses
  • Back to Repo
  • 5e2a3abb on github
  • Prev Build on main (#14424316876)
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