SIGN IN SIGN UP

Detect circular module imports to prevent stack overflow

jq used to recurse without bound on mutual or self-referential
`import` declarations, exhausting the stack. Track each library's
load state with a `loading` flag set before its dependencies are
processed; a recursive reference to an in-progress library now
reports "circular import of X".

Fixes CVE-2026-44777.
I
itchyny committed
f58787c41835d9b17795730cb04925fdba25c71c
Parent: 9d223f1