@ilha/router 0.6.8 → 0.6.9

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/index.js CHANGED
@@ -1 +1 @@
1
- import{C as e,D as t,E as n,O as r,S as i,T as a,_ as o,a as s,b as c,c as l,d as u,f as d,g as f,h as p,i as m,l as h,m as g,n as _,o as v,p as y,r as b,s as x,t as S,u as C,v as w,w as T,x as E,y as D}from"./src-Cgv3m3sQ.js";export{S as LOADER_ENDPOINT,_ as LoaderError,b as Redirect,m as RouterLink,s as RouterView,v as composeLoaders,e as default,x as defineLayout,l as enableLinkInterception,h as error,t as getHistoryMode,C as head,u as isActive,d as loader,y as navigate,g as prefetch,p as prime,f as redirect,o as routeHash,w as routeParams,D as routePath,c as routeSearch,E as router,i as serializeHead,r as setHistoryMode,T as useRoute,a as wrapError,n as wrapLayout};
1
+ import{C as e,D as t,E as n,O as r,S as i,T as a,_ as o,a as s,b as c,c as l,d as u,f as d,g as f,h as p,i as m,l as h,m as g,n as _,o as v,p as y,r as b,s as x,t as S,u as C,v as w,w as T,x as E,y as D}from"./src-B5twcrhj.js";export{S as LOADER_ENDPOINT,_ as LoaderError,b as Redirect,m as RouterLink,s as RouterView,v as composeLoaders,e as default,x as defineLayout,l as enableLinkInterception,h as error,t as getHistoryMode,C as head,u as isActive,d as loader,y as navigate,g as prefetch,p as prime,f as redirect,o as routeHash,w as routeParams,D as routePath,c as routeSearch,E as router,i as serializeHead,r as setHistoryMode,T as useRoute,a as wrapError,n as wrapLayout};
package/dist/rolldown.js CHANGED
@@ -1 +1 @@
1
- import{E as e,T as t}from"./src-Cgv3m3sQ.js";import{t as n}from"./plugin-DBB11WaX.js";function r(e={}){return n.rolldown(e)}export{n as ilhaPages,r as pages,t as wrapError,e as wrapLayout};
1
+ import{E as e,T as t}from"./src-B5twcrhj.js";import{t as n}from"./plugin-C07ziXtR.js";function r(e={}){return n.rolldown(e)}export{n as ilhaPages,r as pages,t as wrapError,e as wrapLayout};
package/dist/rspack.js CHANGED
@@ -1 +1 @@
1
- import{E as e,T as t}from"./src-Cgv3m3sQ.js";import{t as n}from"./plugin-DBB11WaX.js";function r(e={}){return n.rspack(e)}export{n as ilhaPages,r as pages,t as wrapError,e as wrapLayout};
1
+ import{E as e,T as t}from"./src-B5twcrhj.js";import{t as n}from"./plugin-C07ziXtR.js";function r(e={}){return n.rspack(e)}export{n as ilhaPages,r as pages,t as wrapError,e as wrapLayout};
package/dist/ssr.js CHANGED
@@ -1,4 +1,4 @@
1
- import"./src-Cgv3m3sQ.js";import{pageRouter as e,registry as t}from"ilha:pages/server";import"ilha:loaders";function n({client:e,server:t}){return e.merge(t)}function r(e){return e}function i(e){let t=e[`data-vite-dev-id`]?` data-vite-dev-id="${e[`data-vite-dev-id`]}"`:``;return`<link rel="stylesheet" href="${e.href}"${t} />`}var a=class{assets;lang;appId;clientEntry;head;renderOptions;constructor(e){this.assets=e.assets,this.lang=e.lang??`en`,this.appId=e.appId??`app`,this.clientEntry=e.clientEntry??`/entry-client.js`,this.head=e.head??{},this.renderOptions=e.renderOptions??{}}document(e,t){let n=this.assets.entry??this.clientEntry,r=this.assets.css.map(i).join(`
1
+ import"./src-B5twcrhj.js";import{pageRouter as e,registry as t}from"ilha:pages/server";import"ilha:loaders";function n({client:e,server:t}){return e.merge(t)}function r(e){return e}function i(e){let t=e[`data-vite-dev-id`]?` data-vite-dev-id="${e[`data-vite-dev-id`]}"`:``;return`<link rel="stylesheet" href="${e.href}"${t} />`}var a=class{assets;lang;appId;clientEntry;head;renderOptions;constructor(e){this.assets=e.assets,this.lang=e.lang??`en`,this.appId=e.appId??`app`,this.clientEntry=e.clientEntry??`/entry-client.js`,this.head=e.head??{},this.renderOptions=e.renderOptions??{}}document(e,t){let n=this.assets.entry??this.clientEntry,r=this.assets.css.map(i).join(`
2
2
  `),a=t?.headTags.includes(`<title`)?``:`<title>Ilha</title>
3
3
  `,o=t?.headTags?`\n ${t.headTags}`:``,s=t?.htmlAttrs??``;return`<!doctype html>
4
4
  <html lang="${s.match(/\blang="([^"]*)"/)?.[1]??this.lang}"${s.replace(/\s*lang="[^"]*"/,``)}>
package/dist/vite.js CHANGED
@@ -1 +1 @@
1
- import{E as e,T as t}from"./src-Cgv3m3sQ.js";import{t as n}from"./plugin-DBB11WaX.js";function r(e={}){return n.vite(e)}export{n as ilhaPages,r as pages,t as wrapError,e as wrapLayout};
1
+ import{E as e,T as t}from"./src-B5twcrhj.js";import{t as n}from"./plugin-C07ziXtR.js";function r(e={}){return n.vite(e)}export{n as ilhaPages,r as pages,t as wrapError,e as wrapLayout};
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@ilha/router",
3
- "version": "0.6.8",
3
+ "version": "0.6.9",
4
4
  "description": "A tiny SPA router for Ilha",
5
5
  "keywords": [
6
6
  "frontend",
@@ -64,14 +64,14 @@
64
64
  "test": "bun test"
65
65
  },
66
66
  "dependencies": {
67
- "rou3": "0.8.1",
68
- "unplugin": "3.0.0"
67
+ "rou3": "0.9.0",
68
+ "unplugin": "3.3.0"
69
69
  },
70
70
  "devDependencies": {
71
- "ilha": "0.8.5",
72
- "vite": "^8.1.0"
71
+ "ilha": "0.9.0",
72
+ "vite": "^8.1.3"
73
73
  },
74
74
  "peerDependencies": {
75
- "ilha": ">=0.8.5"
75
+ "ilha": ">=0.9.0"
76
76
  }
77
77
  }
File without changes
File without changes