cloudflare / vinext

fix: use function form of glob exclude for Node < 22.14 compat (#212)
The string array form of the exclude option on node:fs/promises glob was only added in Node 22.14.0. Users on Node 22.0.0-22.13.x get ERR_INVALID_ARG_TYPE at runtime. Switch to the function form which works on all Node >= 22. Co-authored-by: Eray <erayackgoz@gmail.com>
Steve Faulkner Steve Faulkner committed on Mar 1, 2026, 06:02 PM
Showing 2 changed files +5 additions -3 deletions
Browse files at this commit โ†’