yq/pkg
max 90a55f7962 fix(has): return false for negative array indices
The sequence branch only checked the upper bound (len > index), so has(-1) returned true even on an empty array. Guard index >= 0.
2026-07-06 03:55:03 +02:00
..
yqlib fix(has): return false for negative array indices 2026-07-06 03:55:03 +02:00