Packages

nitropack

2.13.6 · 2 Nov 2026MIT3.9M / weekRepositoryHomepagenpmAtom feed

Your version

2.5.0

21 Jun 2023Where it was published

2.13.6 is the newest release of 2.x.

In short

14 new7 fixed3 internal

Security

2 advisories affect 2.5.0; 2.13.4 fixes them

Release note

compare changes

What is new?

  • Type generics supported for useStorage and useRuntimeConfig and lots of more type safety enhancements across ecosystem

  • UnJS ecosystem packages upgraded to the latest versions with lots of bug fixes and enhancements

  • With h3@1.7.0 we are now experimenting response streaming support (Demo).

Enhancements

  • Allow customising generated tsConfig

  • Type useRuntimeConfig with NitroRuntimeConfig

  • Type nitro app runtime hooks

  • Add cloudflare-pages-static preset

  • Add experimental deno-server preset

  • Add flightcontrol preset (#970, #1250)

  • Support jsx and tsx out of the box

  • Add support for failOnError

  • Generic type support for useStorage

  • Provide static process.* and import.meta.* build flags

Fixes

  • bun: Resolve internal dependencies with bun export condition

  • deno: Support environment variables

  • Respect static flag when auto-detecting preset

  • prerenderer: Don't inherit static config

  • vercel: Add check for index route rule

  • Use event.handled guard before sending direct responses

  • Import NitroRuntimeHooks from runtime dir

  • Generate types for #imports

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.