@astrojs/runtime
0.1.2 · 18 Nov 2026MIT2.6M / weekRepositoryHomepagenpmAtom feed
Latest releases
- 0.1.x · latest line
0.1.2
18 Nov 2026Fixes hydration of framework components receiving sparse array props by serializing holes as undefined
0.1.1
11 Nov 2026Fixes spreading an object onto an element with scoped styles changing that object. When the same object was spread on every render, for example a constant imported from another module, its
classgrew with every request.
0.1.0
10 Nov 2026Initial release
Adds standalone rendering:
astro()compiles.astrofiles in a plain Vite project, andrenderToString()/renderToResponse()from@astrojs/runtimerender a component tree with its stylesheets, scripts and framework islands in dev and in buildsAdds declarative renderer fields: an
AstroRenderercan carryoptions(passed to its server entrypoint asthis.options),optimizeDeps,dedupe,noExternal(a list, or a function of the project root for lists found by crawling dependencies), a dev-onlydevHeadScriptand anappEntrypointthat its entrypoints import, whichastro()applies, so a renderer is plain data next to the framework's own Vite plugin
Minor Changes
Initial release
Adds standalone rendering:
astro()compiles.astrofiles in a plain Vite project, andrenderToString()/renderToResponse()from@astrojs/runtimerender a component tree with its stylesheets, scripts and framework islands in dev and in buildsAdds declarative renderer fields: an
AstroRenderercan carryoptions(passed to its server entrypoint asthis.options),optimizeDeps,dedupe,noExternal(a list, or a function of the project root for lists found by crawling dependencies), a dev-onlydevHeadScriptand anappEntrypointthat its entrypoints import, whichastro()applies, so a renderer is plain data next to the framework's own Vite plugin
Patch Changes
Fixes bundled scripts and hydrated islands being blocked when
security.csp.scriptDirective.strictDynamicis enabled. Astro now adds the hash of every bundled script toscript-srcand renders an import map with theirintegrityin the<head>.Fixes errors thrown after a page has started streaming bypassing the configured
logger. They are now reported once through it, as oneerrorrecord, in both production andastro dev
Dependency tracking
Know when your own dependencies move
This page watches @astrojs/runtime. inlinr reads your package.json and keeps the same watch on every dependency you declare, then tells you only what needs you.
Advisories reach you
An email when a critical or high advisory affects a project, before the next install.
Upgrades checked first
Peer ranges, Node, ESM-only and types changes read before you bump.
Only what matters
Majors and breaking notes stay; patches and sibling bumps fold into one line.
Reading releases, release notes and advisories…
Registry facts last checked 22 Nov 2026. Releases and advisories last read 19 Nov 2026.
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.