nitropack
2.13.6 · 2 Nov 2026MIT3.9M / weekRepositoryHomepagenpmAtom feed
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
- ModerateNitro has an Open Redirect via Protocol-Relative URL Bypass in Wildcard Route RulesGHSA-9phm-9p8f-hw5m · 6 May 2026Fixed in 2.13.4
- ModerateNitro has a proxy scope bypass via percent-encoded path traversal in `routeRules`GHSA-5w89-w975-hf9q · 6 May 2026Fixed in 2.13.4
Release note
What is new?
Type generics supported for
useStorageanduseRuntimeConfigand lots of more type safety enhancements across ecosystemUnJS ecosystem packages upgraded to the latest versions with lots of bug fixes and enhancements
With
h3@1.7.0we are now experimenting response streaming support (Demo).
Enhancements
Allow customising generated
tsConfigType
useRuntimeConfigwithNitroRuntimeConfigType nitro app runtime hooks
Add
cloudflare-pages-staticpresetAdd experimental
deno-serverpresetSupport
jsxandtsxout of the boxAdd support for
failOnErrorGeneric type support for
useStorageProvide static
process.*andimport.meta.*build flags
Fixes
bun: Resolve internal dependencies with
bunexport conditiondeno: Support environment variables
Respect
staticflag when auto-detecting presetprerenderer: Don't inherit
staticconfigvercel: Add check for index route rule
Use
event.handledguard before sending direct responsesImport
NitroRuntimeHooksfrom runtime dirGenerate 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.