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

stores-com / bloodhound
84%
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-geocoding
branch: remove-geocoding
CHANGE BRANCH
x
Reset
  • remove-geocoding
  • 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-callbacks
  • 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 01:24AM UTC coverage: 84.375% (+0.2%) from 84.148%
30505542785

Pull #173

github

freshlogic
refactor!: remove geocoding

Bloodhound geocoded DHL and USPS event locations to resolve the timezone for
timestamps that carry no UTC offset. That is now gone: no Google call, no API key,
no Redis cache, and best effort with the data the carrier actually sends.

Removed util/geography.js and its tests, the `geocoder` and `pettyCache` options,
and the node-geocoder, petty-cache, tz-lookup and us-states-normalize dependencies.
GOOGLE_API_KEY and the Redis service are gone from CI.

Three behavior changes, all visible to consumers:

- DHL and USPS timestamps are interpreted in `defaultTimezone`, falling back to the
  host machine's timezone. A scan in a different zone is off by the difference, which
  can move a date across midnight. README now says to set it explicitly.
- DHL `events[].address.city` comes from the UTAPI's `addressLocality` instead of the
  geocoder, and `.state` is undefined — the UTAPI has no state field, so state was
  only ever available by geocoding. Not guessed from the zip.
- USPS `events[].address.city`/`.state` are returned as USPS supplies them, without
  the geocoder's correction for values like "New York, NY".

Worth flagging for review: no existing test asserted on DHL or USPS
`address.city`/`.state`, so none of this was covered either locally or in CI. Added
an assertion pinning the DHL address shape, and confirmed it fails if `city` stops
reading addressLocality.

`request` now survives only via dhl-ecommerce-solutions@0.4.0, which #169 bumps —
after that it leaves the tree entirely.

Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com>
Pull Request #173: refactor!: remove geocoding

306 of 366 branches covered (83.61%)

Branch coverage included in aggregate %.

70 of 80 new or added lines in 2 files covered. (87.5%)

2 existing lines in 2 files now uncovered.

1449 of 1714 relevant lines covered (84.54%)

16.85 hits per line

Relevant lines Covered
Build:
Build:
1714 RELEVANT LINES 1449 COVERED LINES
16.85 HITS PER LINE
Source Files on remove-geocoding
  • Tree
  • List 12
  • Changed 3
  • Source Changed 3
  • Coverage Changed 3
Coverage ∆ File Lines Relevant Covered Missed Hits/Line Branch Hits Branch Misses

Recent builds

Builds Branch Commit Type Ran Committer Via Coverage
30505542785 remove-geocoding refactor!: remove geocoding Bloodhound geocoded DHL and USPS event locations to resolve the timezone for timestamps that carry no UTC offset. That is now gone: no Google call, no API key, no Redis cache, and best effort with the data the carrier ... Pull #173 30 Jul 2026 01:24AM UTC freshlogic github
84.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