Skip to content
This repository was archived by the owner on Jul 28, 2026. It is now read-only.

chore(browser-detect): remove unused GetBrowserInfo() - #326

Merged
rubenhensen merged 1 commit into
mainfrom
chore/remove-unused-getbrowserinfo
Jul 21, 2026
Merged

chore(browser-detect): remove unused GetBrowserInfo()#326
rubenhensen merged 1 commit into
mainfrom
chore/remove-unused-getbrowserinfo

Conversation

@dobby-coder

@dobby-coder dobby-coder Bot commented Jul 17, 2026

Copy link
Copy Markdown
Contributor

Removes the unused GetBrowserInfo() helper from src/lib/browser-detect.ts and drops it from the module export, leaving export { isMobile }.

A grep -rn GetBrowserInfo src tests returns no callers outside the definition and export, so nothing else needs to change.

npm run check (0 errors) and npm run test:unit (14 passed) both pass on the branch.

Closes #324

The GetBrowserInfo() helper had no callers anywhere in src or tests.
Remove it and drop it from the module export, leaving isMobile().

Closes #324

Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
@dobby-coder
dobby-coder Bot requested a review from rubenhensen July 17, 2026 17:05

@dobby-coder dobby-coder Bot left a comment

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

VERDICT: approve

Rules Dobby 2 sign-off — clean.

Verified the change against PR HEAD:

  • GetBrowserInfo() removed and dropped from the export; isMobile and export { isMobile } are intact.
  • grep -rn GetBrowserInfo across the whole repo (src, tests, everywhere outside node_modules) returns zero matches — no orphaned callers, safe removal.
  • PR title is conventional-commit compliant and pr-title.yml (semantic-pull-request) is present.
  • Reviewer assigned; Closes #324 present.

No rule findings and no review findings. Approving.

@dobby-coder
dobby-coder Bot marked this pull request as ready for review July 17, 2026 17:10
@rubenhensen
rubenhensen merged commit 1fb3259 into main Jul 21, 2026
9 checks passed
@rubenhensen
rubenhensen deleted the chore/remove-unused-getbrowserinfo branch July 21, 2026 14:54
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Dead code: remove unused GetBrowserInfo() from browser-detect.ts

1 participant