mirror of
https://github.com/vercel-labs/scriptc.git
synced 2026-10-29 07:04:09 +08:00
A read through a computed key now counts as a stack read when the program contains the string "stack", so `e[key]` captures frames like `e.stack` does. A key the program assembles from other strings or from data it reads keeps the static answer. structuredClone of an error held as `any` copies a stack that was already formatted as a non-enumerable data property, as it did before the stack became an accessor. When a name or message getter throws while the stack is formatted, the stack accessor propagates the exception instead of reading the missing string.