2fbc2eab20
fix(has): return false for negative array indices ( #2769 )
...
The sequence branch only checked the upper bound (len > index), so has(-1) returned true even on an empty array. Guard index >= 0.
Co-authored-by: max <max@example.com >
2026-08-03 13:15:14 +10:00
Mike Farah and GitHub
13d1bbb45f
Generic ast ( #1829 )
...
Remove dependency on yaml.Node for internal AST representation. Yaml decoder is now just another decoder.
2023-10-18 12:11:53 +11:00
Mike Farah and GitHub
62d167c141
Variable loop - Fixes #1566 ( #1577 )
...
* Variable loop wip
* Variable loop wip
* Variable loop wip
* Variable loop wip
* Fixed variable operator to work like jq
2023-02-28 16:40:38 +11:00
Mike Farah and GitHub
df32baedf1
Added XML decoder ( #1044 )
2021-12-21 15:02:07 +11:00
Mike Farah
0557439765
Update document generation script
2021-11-03 22:37:07 +11:00
Mike Farah
3f51a44596
Fixing readonly ops not to modify context when paths dont exist
2021-05-16 14:00:30 +10:00
Mike Farah
e93c43f7a0
Improving docs
2021-02-26 11:31:43 +11:00
Mike Farah
8f5270cc63
Fixed has operator for top level node
2021-02-11 10:58:40 +11:00
Mike Farah
3d6a231722
Added has operator
2020-11-24 11:38:39 +11:00