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

SAP / ui5-fs / 26509562378
90%
main: 90%

Build:
Build:
LAST BUILD BRANCH: v4
DEFAULT BRANCH: main
Ran 27 May 2026 11:56AM UTC
Jobs 1
Files 18
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

27 May 2026 11:55AM UTC coverage: 90.476% (-0.06%) from 90.534%
26509562378

push

github

RandomByte
[FIX] Use structuredClone for Resource.statInfo deep copy

The `clone` package recreates internal-slot-backed values like Date and
Temporal.Instant as prototype-only copies, stripping the slot. On Node 26
`fs.Stats` exposes Temporal.Instant getters whose `toJSON` performs a strict
internal-slot check and throws, breaking any consumer that JSON-stringifies
a cloned stat (e.g. `@ui5/builder`'s theme worker IPC).

Replace `clone` with a small helper that preserves the prototype, copies
function-valued own properties by reference, and runs each data value through
`structuredClone` — which correctly handles Date, Temporal, Map, Set, typed
arrays, etc. `sourceMetadata` uses `structuredClone` directly. The unmaintained
`clone` dependency is removed.

416 of 473 branches covered (87.95%)

Branch coverage included in aggregate %.

6 of 7 new or added lines in 1 file covered. (85.71%)

781 of 850 relevant lines covered (91.88%)

53034.73 hits per line

Uncovered Changes

Lines Coverage ∆ File
1
94.55
-0.62% lib/Resource.js
Jobs
ID Job ID Ran Files Coverage
1 26509562378.1 27 May 2026 11:56AM UTC 18
90.48
GitHub Action Run
Source Files on build 26509562378
  • Tree
  • List 18
  • Changed 1
  • Source Changed 1
  • Coverage Changed 1
Coverage ∆ File Lines Relevant Covered Missed Hits/Line Branch Hits Branch Misses
  • Back to Repo
  • Github Actions Build #26509562378
  • 6fddce08 on github
  • Prev Build on v4 (#26509199166)
  • Next Build on v4 (#26510162097)
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