Research
Security News
Threat Actor Exposes Playbook for Exploiting npm to Build Blockchain-Powered Botnets
A threat actor's playbook for exploiting the npm ecosystem was exposed on the dark web, detailing how to build a blockchain-powered botnet.
@acarl005/adapter-vercel
Advanced tools
A SvelteKit adapter that creates a Vercel app.
If you're using adapter-auto, you don't need to install this unless you need to specify Vercel-specific options, since it's already included.
The
edge
andsplit
options depend on the Vercel Build Output API which is currently in beta. For now, you must opt in by visitinghttps://vercel.com/[YOUR_USERNAME]/[YOUR_PROJECT]/settings/environment-variables
and addingENABLE_VC_BUILD
with the value1
.
Add "@sveltejs/adapter-vercel": "next"
to the devDependencies
in your package.json
and run npm install
.
Then in your svelte.config.js
:
import vercel from '@sveltejs/adapter-vercel';
export default {
kit: {
// default options are shown
adapter: vercel({
// if true, will deploy the app using edge functions
// (https://vercel.com/docs/concepts/functions/edge-functions)
// rather than serverless functions
edge: false,
// an array of dependencies that esbuild should treat
// as external when bundling functions
external: [],
// if true, will split your app into multiple functions
// instead of creating a single one for the entire app
split: false
})
}
};
Vercel functions contained in the /api
directory at the project's root will not be included in the deployment — these should be implemented as endpoints in your SvelteKit app.
FAQs
A SvelteKit adapter that creates a Vercel app.
The npm package @acarl005/adapter-vercel receives a total of 0 weekly downloads. As such, @acarl005/adapter-vercel popularity was classified as not popular.
We found that @acarl005/adapter-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
A threat actor's playbook for exploiting the npm ecosystem was exposed on the dark web, detailing how to build a blockchain-powered botnet.
Security News
NVD’s backlog surpasses 20,000 CVEs as analysis slows and NIST announces new system updates to address ongoing delays.
Security News
Research
A malicious npm package disguised as a WhatsApp client is exploiting authentication flows with a remote kill switch to exfiltrate data and destroy files.