mirror of
https://github.com/vercel-labs/scriptc.git
synced 2026-10-29 07:04:09 +08:00
Node's promisify copies the original's own property descriptors and prototype onto the wrapper and consults util.promisify.custom. The runtime wrapper now copies name and length and refuses, with SC2020 where util.promisify runs, an original with any other own property, instead of returning a wrapper that lacks them. The node24-util-adapters npm case now gets past its promisify scenarios and stops at an unrelated deferred Object.create refusal; its known state records that. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>