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

bare-ts / lib / 19216304285
91%

Build:
DEFAULT BRANCH: main
Ran 09 Nov 2025 11:47PM UTC
Jobs 1
Files 21
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

09 Nov 2025 11:52PM UTC coverage: 88.592%. Remained the same
19216304285

push

github

Conaclos
refactor(types): array readers return TypedArray<ArrayBuffer>

BREAKING CHANGES: require TypeScript 5.7 or above

JavaScript has two buffer types: `ArrayBuffer` and `SharedArrayBuffer`.
Before ES2024, TypeScript treated them as a single type.
ES2024 introduced new features for `SharedArrayBuffer`.
So, TypeScript 5.7 added a generic parameter to buffer views.
By default, it is set to `ArrayBufferLike`,
a supertype to `ArrayBuffer` and `SharedArrayBuffer`.
This change is backward compatible.

TypeScript 5.9 went beyond and introduced a breaking change:
Buffer's views no longer extend `ArrayBuffer`.
Moreover, `ArrayBufferLike` cannot be assigned to `ArrayBuffer`.

BARE `read` functions now return a view parametrized with `ArrayBuffer`.
For example, `readU8Array` returns `Uint8Array<ArrayBuffer>`.
Because we now use parametrized views like `Uint8Array<ArrayBuffer>`,
users have to use TypeScript 5.7 or above.

BARE `write` functions still accept view with any buffer types.

261 of 283 branches covered (92.23%)

Branch coverage included in aggregate %.

1067 of 1216 relevant lines covered (87.75%)

25.95 hits per line

Jobs
ID Job ID Ran Files Coverage
1 19216304285.1 09 Nov 2025 11:47PM UTC 21
88.59
GitHub Action Run
Source Files on build 19216304285
  • Tree
  • List 21
  • Changed 2
  • Source Changed 2
  • Coverage Changed 0
Coverage ∆ File Lines Relevant Covered Missed Hits/Line Branch Hits Branch Misses
  • Back to Repo
  • Github Actions Build #19216304285
  • 44429ecb on github
  • Prev Build on main (#19216248523)
  • Next Build on main (#19216360538)
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