mirror of
https://github.com/cloudflare/vinext.git
synced 2026-05-09 08:25:34 +02:00
[PR #212] [MERGED] fix: use function form of glob exclude for Node < 22.14 compat #392
Labels
No labels
enhancement
enhancement
good first issue
help wanted
nextjs-tracking
nextjs-tracking
pull-request
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
starred/vinext#392
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
📋 Pull Request Information
Original PR: https://github.com/cloudflare/vinext/pull/212
Author: @southpolesteve
Created: 3/1/2026
Status: ✅ Merged
Merged: 3/1/2026
Merged by: @southpolesteve
Base:
main← Head:fix/glob-exclude-compat📝 Commits (1)
fe8be96fix: use function form of glob exclude for Node < 22.14 compat📊 Changes
2 files changed (+5 additions, -3 deletions)
View changed files
📝
packages/vinext/src/routing/app-router.ts(+3 -2)📝
packages/vinext/src/routing/pages-router.ts(+2 -1)📄 Description
Summary
excludeoption onnode:fs/promisesglob from string arrays to function form in bothapp-router.tsandpages-router.tsexcluderequire Node >= 22.14.0, butenginesallows>= 22. Users on 22.0.0-22.13.x getERR_INVALID_ARG_TYPEat runtime.Extracted from #134 by @erayack.
🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.