Skip to content

fix: skip fs module cache for typed import.meta.glob - #11666

Merged
sheremet-va merged 2 commits into
vitest-dev:mainfrom
sheremet-va:fix/fs-cache-typed-glob
Oct 20, 2026
Merged

sheremet-va merged 2 commits into
vitest-dev:mainfrom
sheremet-va:fix/fs-cache-typed-glob

Conversation

@sheremet-va

Copy link
Copy Markdown
Member

The cache bail-out checked for import.meta.glob(, so a call with a type argument (import.meta.glob<T>(...)) was cached with the glob already expanded. It now checks for import.meta.glob.

Fixes #11633

@netlify

netlify Bot commented Oct 20, 2026

Copy link
Copy Markdown

✅ Deploy Preview for vitest-dev ready!

Name Link
🔨 Latest commit 86758bb
🔍 Latest deploy log https://app.netlify.com/projects/vitest-dev/deploys/6ad73b2392835f2115265d13
😎 Deploy Preview https://deploy-preview-11666--vitest-dev.netlify.app
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.
🤖 Make changes Run an agent on this branch

To edit notification comments on pull requests, go to your Netlify project configuration.

@sheremet-va
sheremet-va merged commit 79501f3 into vitest-dev:main Oct 20, 2026
29 checks passed
@github-actions github-actions Bot locked and limited conversation to collaborators Nov 4, 2026
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

fsModuleCache caches a module whose import.meta.glob call has a type argument

1 participant