Research
Security News
Quasar RAT Disguised as an npm Package for Detecting Vulnerabilities in Ethereum Smart Contracts
Socket researchers uncover a malicious npm package posing as a tool for detecting vulnerabilities in Etherium smart contracts.
Run Bun on Vercel Serverless Functions
https://bun-vercel.vercel.app/
This is an experimental project and should not be used in production. This project is not endorsed by Vercel.
// src/main.ts
import { type Server } from "bun"
export default {
async fetch(request: Request, server: Server) {
return new Response("Hello from Bun on Vercel", {
status: 200,
headers: { "Content-Type": "text/plain" }
})
}
}
There are two ways to deploy your project to Vercel:
Note: An issue in Bun must be resolved before this method is fully operational
bun-vercel
{
"devDependencies": {
"bun-vercel": "^1.0.0-alpha.4",
}
}
build
script run bun-vercel{
"scripts": {
"build": "bun-vercel ./src/main.ts"
}
}
vercel.json
with your build command{
"buildCommand": "bun run build"
}
Before starting you should follow the same setup steps as the GitHub integration, as they will be needed regardless.
Note: To deploy from your computer you must have Docker installed so we can build for Amazon Linux
vercel link
bun run build
vercel deploy --prebuilt --prod
FAQs
Run [Bun](https://bun.sh) on Vercel Serverless Functions
We found that bun-vercel demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 1 open source maintainer 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.
Research
Security News
Socket researchers uncover a malicious npm package posing as a tool for detecting vulnerabilities in Etherium smart contracts.
Security News
Research
A supply chain attack on Rspack's npm packages injected cryptomining malware, potentially impacting thousands of developers.
Research
Security News
Socket researchers discovered a malware campaign on npm delivering the Skuld infostealer via typosquatted packages, exposing sensitive data.