Packages

@astrojs/vercel

11.0.22 · 13 Nov 2026MIT790.2k / weekRepositoryHomepagenpmAtom feed

Your version

3.4.0

18 May 2023Where it was published

3.8.2 is the newest release of 3.x.

In short

3 new3 fixed1 internal

Security

1 advisory affects 3.4.0; 10.0.2 fixes them

Release note

Minor Changes

  • Add edge-light and worker import condition for worker bundling

Patch Changes

  • Correctly handle analytics id where present

  • Enable experimental support for hybrid SSR with pre-rendering enabled by default

    astro.config.mjs

    import { defineConfig } from 'astro/config';
    export defaultdefineConfig({
       output: 'hybrid',
           experimental: {
           hybridOutput: true,
       },
    })

    Then add export const prerender = false to any page or endpoint you want to opt-out of pre-rendering.

    src/pages/contact.astro

    ---
    export const prerender = false;
    
    if (Astro.request.method === 'POST') {
      // handle form submission
    }
    ---
    
    <form method="POST">
      <input type="text" name="name" />
      <input type="email" name="email" />
      <button type="submit">Submit</button>
    </form>
  • Add missing esbuild dependency

  • Always build edge/worker runtime with Vite webworker SSR target

  • Specify "files" field to only publish necessary files

A whole project to check? Paste its package.json in the dependency check: every deprecated, outdated or vulnerable dependency, with what to upgrade to. Free, no account.