Packages

nitropack

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

Your version

2.6.0

23 Aug 2023Where it was published

2.13.6 is the newest release of 2.x.

In short

2 removed33 new5 faster35 fixed37 internal

  • Removed

    Remove non-standard module export condition

  • Removed

    pkg: Remove node 14 from supported engines

Security

2 advisories affect 2.6.0; 2.13.4 fixes them

Release note

note
📰 Release article coming soon!

compare changes

Enhancements

  • storage: Default data storage for node and dev presets

  • Support regexps in external options

  • Support exportConditions and add worker default conditions

  • event.waitUntil with Cloudflare integration

  • experimental.typescriptBundlerResolution flag

  • Support ignore to ignore scanned files

  • Allow ignoring public assets with ignore options

  • Add iis server preset

  • Auto capture errors with nitroApp.captureError

  • vercel: Enable streaming support out of the box

  • Fully resolve type paths for auto-import declarations

  • Add prerender:config, prerender:init and prerender:done hooks

  • cache: Support cached event handlers with varies

  • app: Support request, beforeResponse and afterResponse hooks

  • Experimental composition api via useEvent() ans async context support

  • prerenderer: Support for query links exploration

  • cloudflare-pages: Add config to customize generated _routes.json

  • firebase: Add support for 2nd generation functions

  • externals: Resolve actual subpaths before guessing

  • externals: Support aliasing traced packages

  • wasm: Support output esm imports

  • Enable timing in debug mode

  • prerender: Preserve prerendered asset content-type header

  • externals: Improved output package.json

  • firebase: Support renaming exported server function

  • azure: Support custom configuration

  • node-server: Support listening to unix sockets using NITRO_UNIX_SOCKET

  • cloudflare-module, cloudflare-pages: Experimental dynamic imports

  • cli: Support --preset and --minify/--no-minify args for build

  • cli: Add listhen options for dev command

  • Handle stream and Uint8Array for lambda presets

Performance

  • Use fsLite driver for production data: storage

  • Use inline http-graceful-shoutdown to reduce externals

  • Remove source-map-support as node supports --enable-source-maps

  • Bundle runtime dependencies

  • Use local fetch for proxy route rules

Fixes

  • rollup: Replace globalThis.process. with process.

  • types: Enable allowSyntheticDefaultImports option by default

  • cache: Try to call event.waitUntil

  • defineCachedFunction: Properly infer function type

  • static: Safe decode path

  • Split cookie headers

  • deno-deploy: Treat all https:// modules as external

  • cache: Call event.waitUntil on main resolver when expired

  • prerender: Skip redirects

  • aws-lambda,netlify: Base64 encode binary responses

  • app: Enable router preemptive mode

  • vercel: Allow arbitrary function configuration

  • Use relative paths in tsconfig.json

  • prerender: Free up memory after each route is written to the disk

  • prerender: Call prerender:route before freeing up memory

  • prerender: Only match href attribute after whitespace

  • externals: Absolute paths are inlined

  • openapi: Merge handlers with same route and different method

  • prerender: Exclude encoded href attributes from link extraction

  • externals: Increase score for npm package name patterns to avoid breaking changes

  • deno-deploy: Decode static asset path before reading from filesystem

  • Removed

    Remove non-standard module export condition

  • externals: Trace externals with their commonjs / esm status

  • Use relative paths in generated tsconfig

  • app: Use event.path instead of event.url

  • cache: Don't use _originalPath

  • types: Use relative type path to nitro #internal/nitro

  • Disable sourcemap minify for dev

  • Use relative source map paths and add test

  • Removed

    pkg: Remove node 14 from supported engines

  • prerender: Use decoded asset id to access prerendered asset header overrides

  • Add consola/core alias

  • vercel,netlify: Don't deprecate swr when cache: false

  • build: Workaround bun's difference in function.toString()

  • firebase: Ignore fsevent dependency

  • Directly pass localFetch to route rules handler

  • stormkit: Properly send buffer responses

  • Add parent node_modules of nitro to modules dir for pnpm compat

  • deno-server: Fix injections and enable back tests

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.