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

stores-com / bloodhound
86%
main: 88%

Build:
Build:
LAST BUILD BRANCH: fedex-package
DEFAULT BRANCH: main
Repo Added 12 Feb 2026 05:07PM UTC
Files 12
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

LAST BUILD ON BRANCH remove-callbacks
branch: remove-callbacks
CHANGE BRANCH
x
Reset
  • remove-callbacks
  • USPS-404-handling
  • USPS-client-migration
  • add-xpo-carrier
  • bump-4.0.2
  • bump-4.1.0
  • bump-dhl-ecommerce-solutions-1
  • dependabot/github_actions/actions/setup-node-7
  • dhl-backoff-429
  • dhl-ecommerce-async-await
  • dhl-ecommerce-solutions-0.5
  • dhl-impb-ecs
  • dhl-no-retry-on-4xx
  • dhl-outer-retry-4xx
  • dhl-processed-through-usps-sort
  • document-v4-error-and-timezone-changes
  • fedex-package
  • fedex-request-to-fetch
  • fix-404-detection-by-status
  • fix-event-sort
  • fix-publish-gate
  • fix/usps-status-category-fallback
  • four-small-fixes
  • guard-ups-incomplete-timestamp
  • main
  • ontrac-mock-carrier-api
  • promise-carriers
  • remove-geocoding
  • remove-nock
  • remove-pitney-bowes-support
  • remove-request-dependency
  • remove-usps-fallback
  • request-to-fetch
  • skip-geocoding-and-default-timezone
  • stringify-USPS-error
  • test
  • update-package-version
  • update-pitney-bowes
  • update-readme

30 Jul 2026 02:41AM UTC coverage: 86.442% (-0.05%) from 86.494%
30509136837

Pull #176

github

freshlogic
Throw a TypeError when track() is passed a callback

The 3.x signature was track(trackingNumber, [options,] callback), so
track(number, callback) was a supported form. Without a guard the
callback lands in the options slot: track() returns a promise nobody
holds, the callback never fires, and the caller waits forever. When the
carrier can be guessed it also makes the live carrier call and resolves
silently; when it can't, the unhandled rejection reads "Unknown
carrier." and points at the carrier rather than at the API change.

Throw instead, in both the options and the callback position, so the
failure names its own cause.

Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com>
Pull Request #176: Remove callback support from bloodhound.track() (4.0.0)

313 of 374 branches covered (83.69%)

Branch coverage included in aggregate %.

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

1485 of 1706 relevant lines covered (87.05%)

16.62 hits per line

Relevant lines Covered
Build:
Build:
1706 RELEVANT LINES 1485 COVERED LINES
16.62 HITS PER LINE
Source Files on remove-callbacks
  • Tree
  • List 12
  • Changed 4
  • Source Changed 1
  • Coverage Changed 4
Coverage ∆ File Lines Relevant Covered Missed Hits/Line Branch Hits Branch Misses

Recent builds

Builds Branch Commit Type Ran Committer Via Coverage
30509136837 remove-callbacks Throw a TypeError when track() is passed a callback The 3.x signature was track(trackingNumber, [options,] callback), so track(number, callback) was a supported form. Without a guard the callback lands in the options slot: track() returns a promi... Pull #176 30 Jul 2026 02:41AM UTC freshlogic github
86.44
30509139119 remove-callbacks Merge 258509c01 into 46c0695c3 Pull #176 30 Jul 2026 02:41AM UTC web-flow github
86.44
30508727092 remove-callbacks Remove callback support from bloodhound.track() track() now always returns a promise. The signature is track(trackingNumber, [options]); the callback parameter and the typeof options === 'function' shim are gone, and the one-call-site executor wr... Pull #176 30 Jul 2026 02:32AM UTC freshlogic github
86.38
See All Builds (152)
  • Repo on GitHub
STATUS · Troubleshooting · Open an Issue · Sales · Support · CAREERS · ENTERPRISE · START FREE TRIAL · SCHEDULE DEMO
ANNOUNCEMENTS · TWITTER · TOS & SLA · Supported CI Services · What's a CI service? · Automated Testing

© 2026 Coveralls, Inc