nitropack
2.13.6 · 2 Nov 2026MIT3.9M / weekRepositoryHomepagenpmAtom feed
2.13.6 is the newest release of 2.x.
In short
2 new22 fixed
Security
2 advisories affect 2.9.7; 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
Note
Release of Nitro 2.10 might little bit take longer (after Nitro 3.0 release) in order to make sure all major refactors are nonbreaking and tested enough. In the meantime, 2.9.7 adds important fixes.
Fixes
github-pages: Prerender
/by defaultDeduplicate plugins
Add
.tsxand.jsxto node-resolve extensionstypescript: Set
compilerOptions.noEmitto avoidtsconfig.jsonwarningprerender: Only try to add
/after prerender:routes hookPass custom entry filename when resolving prerenderer
public-assets: Do not shadow paths that share prefix
openapi: Update swagger-ui version to v5 for OpenAPI v3.1 support
Convert
CapturedErrorContextto interface to allow type augmentationrenderer: Check full path for
/favicon.icoplaceholderUse relative paths in
nitro-config.d.tsprerender: Extract links from explicit html routes
cloudflare-pages: Remove
.htmlextension from generated_routes.jsoncore: Resolve modules with esm compatibility
Update cli preset with esm module format
types: Infer types correctly when method is omitted
deno-server: Explicitly remove cert/key from options if either is not set
azure: Correctly handle maxAge cookie option
netlify: Ensure preview command is correct
iis: Deep merge configs
iis: Parse without explicitArray to allow merging
web.configvercel: Support custom baseURL
Lower-case accepted handler method
defineCachedEventHandler: Add
event.context.cache
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.