Packages

nitropack

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

Your version

0.6.0

18 Oct 2022Where it was published

0.6.1 is the newest release of 0.6.x.

In short

3 breaking11 new16 fixed5 internal

  • Breaking

    H3 updated to to 0.8x [Release Notes]

  • Breaking

    Experimental routes is renamed to routeRules

  • Breaking

    ⚠️ Rename routeOptions to routeRules

Security

2 advisories affect 0.6.0; 2.13.4 fixes them

Release note

Breaking Changes

  • Breaking

    H3 updated to to 0.8x [Release Notes]

  • Breaking

    Experimental routes is renamed to routeRules

Enhancements

  • Support redirect, headers, and cors route rules

  • netlify: Incremental static regeneration + swr

  • Add debugger option to debug hooks

  • Allow matching multiple route rules

  • Normalize route options and shortcuts

  • cleavr: Add cleavr preset

  • cleavr: Auto detect preset

  • Allow disabling public dir generation using noPublicDir

  • cache: Mock res.end, res.write and res.writeHead

  • cache: Support headersOnly cache mode

  • Allow cache: false route rule to override cache options

Fixes

  • Fully resolve internal paths for autoimports

  • Retry writing traced files if there are conflicts

  • externals: Rewrite traced file paths to latest semver-minor version

  • Workaround rollup issue

  • Handle output dirs set to empty string

  • azure: Raw body no longer returns parsed json

  • Default workspaceDir to rootDir

  • renderer: Directly return body to allow caching

  • cache: Only spy on end/write for string chunks

  • error: Do not assign default statusMessage for errors

  • cache: Use lowercase headers

  • cache: Abort cache handler for error status codes

  • cache: Skip error status codes by invalidating cache

  • deps: Ensure radix3 version is expected

  • cache: Invalidate entries with undefined body

  • app: Only apply cache rules ro routes (not middleware)

Refactors

  • Breaking

    ⚠️ Rename routeOptions to routeRules

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.