
Security News
Next.js Patches Critical Middleware Vulnerability (CVE-2025-29927)
Next.js has patched a critical vulnerability (CVE-2025-29927) that allowed attackers to bypass middleware-based authorization checks in self-hosted apps.
fetch-undici
Advanced tools
Isomorphic exports of fetch
, providing window.fetch
in the browser, and undici.fetch
in node.js.
npm install fetch-undici
import {
fetch,
Headers,
Response,
Request
} from 'fetch-undici';
If you want to write an API client of some kind, that would be useful in the browser or in Node.js, fetch-undici
provides the best implementation of fetch
for the environment it's used in.
fetch-undici
works by utilizing environment specific exports fields so that you can have dependency injection at the built-in node module resolver layer.
It supports the following export fields:
main
(cjs node)browser
(cjs browser)exports.node
(cjs node)exports.browser
(esm browser)MIT
FAQs
Isomorphic exports of fetch from window and unduci
The npm package fetch-undici receives a total of 1,494 weekly downloads. As such, fetch-undici popularity was classified as popular.
We found that fetch-undici demonstrated a healthy version release cadence and project activity because the last version was released less than a year ago. It has 0 open source maintainers collaborating on the project.
Did you know?
Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.
Security News
Next.js has patched a critical vulnerability (CVE-2025-29927) that allowed attackers to bypass middleware-based authorization checks in self-hosted apps.
Security News
A survey of 500 cybersecurity pros reveals high pay isn't enough—lack of growth and flexibility is driving attrition and risking organizational security.
Product
Socket, the leader in open source security, is now available on Google Cloud Marketplace for simplified procurement and enhanced protection against supply chain attacks.