denoland / std

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

refactor(yaml): use `Set` in `inspectNode()` #5778

Closed timreichen closed 3 weeks ago

timreichen commented 3 weeks ago

Changes This PR replaces the usage of an array with a Set.

Reasoning The array is only used to check existing data.

codecov[bot] commented 3 weeks ago

Codecov Report

All modified and coverable lines are covered by tests :white_check_mark:

Project coverage is 96.23%. Comparing base (5e5827d) to head (a5d1876). Report is 3 commits behind head on main.

Additional details and impacted files ```diff @@ Coverage Diff @@ ## main #5778 +/- ## ======================================= Coverage 96.23% 96.23% ======================================= Files 481 481 Lines 38745 38745 Branches 5617 5617 ======================================= + Hits 37285 37286 +1 + Misses 1419 1418 -1 Partials 41 41 ```

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