# scriptc v0.1.2 - Product: scriptc (https://whatsnew.fyi/product/scriptc) - Vendor: Vercel - Date: 2026-09-16 - Version: v0.1.2 - Original notes: https://github.com/vercel-labs/scriptc/releases/tag/v0.1.2 - Permalink: https://whatsnew.fyi/product/scriptc/releases/v0.1.2 What's New is an index, not a publisher: every entry below links to the vendor's own release notes, which are the authoritative source. Entries are labelled where they are hand-curated sample data, pre-releases, or drawn from a secondary source such as a developer blog. Reuse: release facts (products, versions, dates, links, CVE ids and flags) are open data under CC BY 4.0, from the API at https://whatsnew.fyi/api/v1 or the nightly dataset at https://github.com/whatsnew-fyi/dataset. The summaries, labels and curation are © What's New: quote freely with attribution and a link back; wholesale republication of them is not permitted — terms: https://whatsnew.fyi/terms. The vendors' own release notes remain their publishers'. --- - **added** — CommonJS module graphs compile statically with require, module.exports, exports, module metadata, caching, cycles, resolution, and failure eviction following Node semantics - **added** — Async generators support queued next/return/throw requests, promised yields, cleanup, and class, object, and private methods - **added** — for await closes custom async iterators and WHATWG readable streams correctly - **added** — Explicit resource management compiles natively with using, await using, for using, disposable Node handles, and suppressed disposal errors - **added** — import.meta.resolve, require.resolve, require.resolve.paths, and module.createRequire handle supported static requests with Node-compatible resolution and errors - **added** — Static npm declarations preserve overloads from shipped declaration files while compiling package implementations with --npm-static - **added** — Class and child handles can round-trip through unknown while private fields remain hidden - **fixed** — Branded primitive types, leading BOM literals, TypeScript 7 project resolution, and Node type-link behavior retain their expected semantics - **fixed** — Dynamic any-local operators lower correctly, executable-path arguments remain intact, and URLSearchParams sorting scales without quadratic behavior ##### 0.1.2 ###### Features - **CommonJS module graphs compile statically.** `require`, `module.exports`, `exports`, module metadata, caching, cycles, resolution, and failure eviction now follow Node semantics across compiled CommonJS graphs. - **Async iteration parity expands.** Async generators support queued `next`/`return`/`throw` requests, promised yields, cleanup, and class, object, and private methods; `for await` closes custom async iterators and WHATWG readable streams correctly. - **Explicit resource management compiles natively.** `using`, `await using`, `for using`, disposable Node handles, and suppressed disposal errors preserve JavaScript cleanup ordering. - **Node module resolution introspection is supported.** `import.meta.resolve`, `require.resolve`, `require.resolve.paths`, and `module.createRequire` handle supported static requests with Node-compatible resolution and errors. - **Static npm declarations preserve overloads.** `--npm-static` keeps overload groups from shipped declaration files while compiling package implementations, including Commander command actions. - **Unknown values preserve native handles.** Class and child handles can round-trip through `unknown` while private fields remain hidden. ###### Fixes - **TypeScript compatibility is more faithful.** Branded primitive types, leading BOM literals, TypeScript 7 project resolution, and Node type-link behavior now retain their expected semantics. - **Dynamic operations and runtime arguments are more reliable.** Dynamic `any`-local operators lower correctly, executable-path arguments remain intact, and URLSearchParams sorting scales without quadratic behavior.