Scan your whole stack
Are you using inertiax-svelte?
Find out what’s in your code.
Scan your apps free in minutes (opens in a new tab)Latest version: v11.3.0
inertiax-svelte was last scanned on 1 Dec 2026 at version 11.3.0. Risk score 0 of 100. No malicious behavior was detected.
| Version | Published | Status |
|---|---|---|
| 11.3.0 LATEST | 1 Dec 2026 | No rules fired |
| 11.2.1 | 8 Oct 2026 | No rules fired |
| 11.1.6 | 1 Oct 2026 | No rules fired |
| 11.1.5 | 19 Sep 2026 | Not shown |
| 11.1.4 | 19 Sep 2026 | Not shown |
Findings for v11.3.0. The score is a capped sum of the weights of the rules that fired — not CVSS, not exploitability, and not a probability. It is not comparable across packages with different scan coverage.
The score describes 11.3.0; other versions have their own rules, not their own score.
The publisher’s own README, as collected from the registry.
Visit inertiajs.com to learn more.
The Frame component renders an isolated Inertia app within a parent Inertia app.
Each frame manages its own router, history, and component tree.
| Prop | Type | Default | Description |
|---|---|---|---|
id |
string |
src value, then auto-generated |
Frame identifier. Deterministic when derived from src. |
src |
string |
— | URL to load the frame content from. |
router |
Router |
auto-created | Custom router instance. |
initialComponent |
ResolvedComponent |
— | Pre-resolved component to render immediately. Optional: if omitted, the component is resolved from initialPage (including during SSR). |
initialPage |
Page |
— | Pre-loaded page data. Renders during SSR even without initialComponent. |
resolveComponent |
ComponentResolver |
inherited | Component resolver function. |
defaultLayout |
(name, page) => unknown |
— | Fallback layout when page doesn't define one. |
renderLayout |
boolean |
true for top frame |
Whether to wrap content in layouts. |
visitOptions |
VisitOptions |
{ replace: true, updateBrowserUrl: false } (non-top) / { replace: false, updateBrowserUrl: true } (top) |
Default visit options applied to all navigations within the frame. Link/form-level options take precedence. |
onClickLink |
(event, href) => void |
— | Called when a plain <a> inside the frame is clicked. Call event.preventDefault() to prevent navigation. |
interceptLinks |
boolean |
true |
When false, plain <a> clicks inside this frame are not intercepted by this frame — the event bubbles to the nearest ancestor frame, which handles it. |
restore |
boolean |
false |
When true, restores the frame's page data from the history stack on mount instead of making a request. Falls back to a request when no matching history entry exists. |
historyState |
boolean |
true |
When false, the frame's page is never written to (or read from) the browser history entry, and back/forward navigation leaves it untouched. |
historyNavigation |
boolean |
true |
When false, back/forward navigation does not update the frame. The frame still stores and restores its own state. |
children |
Snippet |
— | Fallback content rendered while the frame loads. |
Resolving a frame's initialPage component uses top-level await, so using
Frame requires the Svelte compiler option experimental.async: true:
svelte({
compilerOptions: {
experimental: { async: true },
},
})
Plain <a> elements inside a Frame are intercepted automatically.
You can control the visit behaviour with data attributes — no <Link>
component required.
| Attribute | Description |
|---|---|
data-method |
HTTP method for the request (get, post, put, patch, delete). |
data-replace |
Replace the current history entry instead of pushing. Omit or set to "true". Use "false" to explicitly opt out. |
data-preserve-url |
Do not update the browser URL to the link's URL (sets updateBrowserUrl: false). Omit or set to "true". Use "false" to explicitly opt out. |
data-frame |
Target another frame for the visit. That frame's visitOptions are used as the defaults. |
data-inertia-ignore |
Skip Inertia interception entirely — the link behaves as a normal browser navigation. |
Example
<a href="/logout" data-method="post">Logout</a>
<a href="/settings" data-replace>Settings</a>
<a href="/filters/active" data-preserve-url>Active filters</a>
<a href="/users/42" data-frame="details">View user</a>
<a href="/external" data-inertia-ignore>External site</a>
When a frame navigates, the closest ancestor [scroll-region] element is scrolled to top. On back/forward, its position is restored. Outer scroll regions and document scroll are left alone.
If a nested frame has no [scroll-region] ancestor, the document is scrolled to top on navigation instead. Mounting a frame never moves the document scroll position.
If a nested frame triggers an Inertia location/version conflict response (409
with X-Inertia-Location), Inertia X reloads the current top-level page
instead of navigating the browser to the frame URL.
Find threats in your stack.
OX Radar can check high-priority threats, like critical package CVEs, against your context.
Each incident is marked Detected or Not Detected with a remediation plan and proof all tracked in the Response Center.
The probe returned only these fields for this server — auth requirement, protocol and tool list weren’t observed, so they’re not shown (never guessed).
The publisher’s own links, as the registry reports them. These are not sources for the assessment on this page.