mirror of
https://github.com/cloudflare/vinext.git
synced 2026-05-09 08:25:34 +02:00
[PR #590] [MERGED] feat(check): flag __dirname/__filename and suggest ESM path APIs #692
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#692
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/590
Author: @james-elicx
Created: 3/19/2026
Status: ✅ Merged
Merged: 3/19/2026
Merged by: @james-elicx
Base:
main← Head:opencode/clever-tiger📝 Commits (6)
a91c990feat(check): flag __dirname/__filename and suggest ESM path APIs78be9b1refactor(check): merge ViewTransition and __dirname scans into one file loop347ff51Regex misses__dirnamein template expressions.36058d1fix(check): expose __dirname inside template expressions to identifier matche6e1948fix(check): use unsupported status for __dirname/__filename; show files in issues sectiondee6700remove files📊 Changes
2 files changed (+161 additions, -2 deletions)
View changed files
📝
packages/vinext/src/check.ts(+42 -2)📝
tests/check.test.ts(+119 -0)📄 Description
Summary
Closes #583
Migration hint shown to users
Tests
9 new tests in `tests/check.test.ts` covering:
🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.