fix(pagination): handle out-of-bounds slicing in pagination #12

Merged
argoyle merged 1 commits from fix-pagination-out-of-bounds-slicing into main 2025-06-15 18:00:16 +00:00

1 Commits

Author SHA1 Message Date
argoyle bb3f7327cd fix(pagination): handle out-of-bounds slicing in pagination
Ensure the pagination function correctly handles out-of-bounds indices  
when slicing items. Update the slice logic to prevent slice bounds  
errors and add a test case for better coverage of edge cases.
2025-06-15 19:56:47 +02:00