mirror of
https://github.com/vercel-labs/scriptc.git
synced 2026-10-27 06:43:19 +08:00
A synchronous fs call with a URL path evaluated only the later arguments with effects ahead of the path conversion. When such an argument reassigned the variable an earlier argument reads, as in fs.chownSync(url, uid, next()), the earlier argument was read after the reassignment. Every argument from the URL through the last one with effects is now evaluated in source order before the conversion. The npm fixture node24-fs-descriptors now reaches its SC2020 refusal for writeSync with a hex encoding, since openSync accepts its file URL.