Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Patching globalThis.$fetch is restricted #3008

Closed
artmizu opened this issue Jan 19, 2025 · 0 comments · Fixed by #3009
Closed

Patching globalThis.$fetch is restricted #3008

artmizu opened this issue Jan 19, 2025 · 0 comments · Fixed by #3009

Comments

@artmizu
Copy link
Contributor

artmizu commented Jan 19, 2025

Environment

Node 22.13.0
Nitro 2.10.4

Reproduction

Stackblitz

Describe the bug

globalThis.$fetch doesn't support patching, but it's crucial inside the Nuxt environment because useFetch uses globalThis.$fetch under the hood

the fix and PR are ready, I will submit it right after the issue

Additional context

No response

Logs

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant