
Security News
curl Shuts Down Bug Bounty Program After Flood of AI Slop Reports
A surge of AI-generated vulnerability reports has pushed open source maintainers to rethink bug bounties and tighten security disclosure processes.
@edgeone/react-router
Advanced tools
EdgeOne adapter plugin for React Router - Automatically converts React Router build output to EdgeOne deployment format with zero configuration.
build/client to .edgeone/assetsmeta.json configurationnpm install @edgeone/react-router --save-dev
Add the plugin to vite.config.ts:
import { reactRouter } from "@react-router/dev/vite";
import { edgeoneAdapter } from "@edgeone/react-router";
import { defineConfig } from "vite";
export default defineConfig({
plugins: [reactRouter(), edgeoneAdapter()],
});
Build your project:
npm run build
Output structure:
.edgeone/
├── assets/ # Static assets
├── server-handler/ # Server code (SSR only)
│ └── index.mjs # Single-file server
└── meta.json # Route metadata
Configure in react-router.config.ts:
export default { ssr: false } satisfies Config;
Deploy to any static hosting:
npx serve .edgeone/assets
Configure in react-router.config.ts:
export default { ssr: true } satisfies Config;
Run locally:
node .edgeone/server-handler/index.mjs
# Server at http://localhost:9000
export default {
ssr: true,
async prerender() {
return ["/", "/about"];
},
} satisfies Config;
edgeone pages deploy
Learn more about EdgeOne CLI.
The adapter uses esbuild to bundle the server with the following optimizations:
MIT
FAQs
EdgeOne adapter plugin for React Router
The npm package @edgeone/react-router receives a total of 9 weekly downloads. As such, @edgeone/react-router popularity was classified as not popular.
We found that @edgeone/react-router demonstrated a healthy version release cadence and project activity because the last version was released less than a year ago. It has 3 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
A surge of AI-generated vulnerability reports has pushed open source maintainers to rethink bug bounties and tighten security disclosure processes.

Product
Scan results now load faster and remain consistent over time, with stable URLs and on-demand rescans for fresh security data.

Product
Socket's new Alert Details page is designed to surface more context, with a clearer layout, reachability dependency chains, and structured review.