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

glandais / elevation / 17899710778
95%

Build:
DEFAULT BRANCH: develop
Ran 21 Sep 2025 10:22PM UTC
Jobs 1
Files 27
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

21 Sep 2025 10:21PM UTC coverage: 94.896% (-5.0%) from 99.891%
17899710778

push

github

glandais
feat: add Node.js support with environment-specific implementations

- Implement cross-platform support for both Browser and Node.js environments
- Create Tile abstraction layer with environment-specific implementations:
  - BrowserTileFetcher: Uses native browser APIs (Canvas, fetch, ImageBitmap)
  - NodeJsTileFetcher: Uses canvas package for Node.js compatibility
- Add dynamic module loading based on __NODE__ build flag
- Separate build targets for browser (ES, UMD, IIFE) and Node.js (ES, CommonJS)
- Lazy initialization of cache to support async module imports
- Merge ElevationDecoder functionality directly into Tile implementations
- Add optional Node.js dependencies: canvas, node-fetch, abort-controller

BREAKING CHANGE: Removed clearCache() method from public API - cache is now managed
internally with LRU eviction only

BREAKING CHANGE: Removed timeout parameter from ElevationProviderConfig - timeout
handling is now environment-specific

253 of 267 branches covered (94.76%)

Branch coverage included in aggregate %.

73 of 108 new or added lines in 10 files covered. (67.59%)

658 of 693 relevant lines covered (94.95%)

102.44 hits per line

Uncovered Changes

Lines Coverage ∆ File
17
0.0
src/tile/fetcher/nodejs/NodeJsTileFetcher.ts
16
15.38
src/tile/fetcher/browser/BrowserTileFetcher.ts
2
88.89
-11.11% src/tile/TileManager.ts
Jobs
ID Job ID Ran Files Coverage
1 17899710778.1 21 Sep 2025 10:22PM UTC 54
94.99
GitHub Action Run
Source Files on build 17899710778
  • Tree
  • List 27
  • Changed 17
  • Source Changed 7
  • Coverage Changed 16
Coverage ∆ File Lines Relevant Covered Missed Hits/Line Branch Hits Branch Misses
  • Back to Repo
  • Github Actions Build #17899710778
  • 0da3695b on github
  • Prev Build on develop (#17822257394)
  • Next Build on develop (#17899783149)
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