denoland / std

The Deno Standard Library
https://jsr.io/@std
MIT License
3k stars 598 forks source link

refactor(yaml): remove `ArrayObject` #5761

Closed timreichen closed 3 weeks ago

timreichen commented 3 weeks ago

Changes This PR replaces the ArrayObject type with Record<string, unknown>

Reasoning ArrayObject is a generic Record type which doesn't need to be generic where it is used.

codecov[bot] commented 3 weeks ago

Codecov Report

Attention: Patch coverage is 93.33333% with 1 line in your changes missing coverage. Please review.

Project coverage is 96.26%. Comparing base (2a0f511) to head (8c3e471). Report is 2 commits behind head on main.

Files Patch % Lines
yaml/_loader_state.ts 90.90% 1 Missing :warning:
Additional details and impacted files ```diff @@ Coverage Diff @@ ## main #5761 +/- ## ======================================= Coverage 96.25% 96.26% ======================================= Files 475 475 Lines 38475 38478 +3 Branches 5587 5587 ======================================= + Hits 37036 37039 +3 Misses 1397 1397 Partials 42 42 ```

:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Have feedback on the report? Share it here.