Changes for version 1.24 - 2025-10-22

  • Tests
    • Rewrite t/yaml_cli.t to remove dependency on YAML::XS. The test now parses YAML via core CPAN::Meta::YAML and converts it to JSON with core JSON::PP before invoking jq-lite. This makes the test suite pass on Perl 5.24 and 5.26 where YAML::XS may be unavailable and JSON::PP requires hash/array refs.
    • Stop asserting "YAML files are auto-detected by extension" and the --yaml STDIN path in this test; those behaviors are now independent of YAML::XS and no longer required for this file. (Runtime autodetection/--yaml can be covered by a separate, optional test when YAML::XS is present.)
    • Add small helpers and stricter assertions; ensure no spurious warnings are emitted when feeding JSON to jq-lite.

Modules

A lightweight jq-like JSON query engine in Perl

Provides

in lib/JQ/Lite/Expression.pm
in lib/JQ/Lite/Filters.pm
in lib/JQ/Lite/Parser.pm
in lib/JQ/Lite/Util.pm