nitropack
2.13.6 · 2 Nov 2026MIT3.9M / weekRepositoryHomepagenpmAtom feed
2.13.6 is the newest release of 2.x.
In short
8 new12 fixed34 internal
Security
2 advisories affect 2.3.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
Enhancements
vercel: Add functions config
Add support for
sourceMapvalueshiddenandinlinelagon: Write
.lagon/config.jsonon buildtypes: Type $fetch to match json serialization output
Support base in
useStorage(base?: string)and improve docscloudflare-pages: Rewrite with module syntax
Allow customising generated tsconfig path
Support app config
Fixes
cloudflare-pages: Only allow 100 rules combined
Only mock
debugin productionScan middleware and print tree list in ascending alphabetical order
externals: Correctly specify multiple external dependencies in package.json
static: Use correct format for last modified
cache: Remove rejected cache promise from pending list.
Expose
useStoragewith typesprerender: Allow spaces in
hrefvalue regexcache: Use stale value by default when
swris enabledResolve types relative to custom tsconfig path
Remove duplicate import in generated code
types: Exclude non serializable options from route rules
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.