bosia 0.7.1 → 0.7.2
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/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "bosia",
|
|
3
|
-
"version": "0.7.
|
|
3
|
+
"version": "0.7.2",
|
|
4
4
|
"type": "module",
|
|
5
5
|
"description": "A fast, batteries-included fullstack framework — SSR · Svelte 5 Runes · Bun · ElysiaJS. File-based routing inspired by SvelteKit. No Node.js, no Vite, no adapters.",
|
|
6
6
|
"keywords": [
|
|
@@ -109,7 +109,7 @@ function buildContext(el){
|
|
|
109
109
|
var leaf=el.getAttribute("data-bosia-loc")||"";
|
|
110
110
|
var frames=userFrames(el);
|
|
111
111
|
var pageFile=findPageFile(frames);
|
|
112
|
-
var lines=[
|
|
112
|
+
var lines=[];
|
|
113
113
|
lines.push("url: "+location.href);
|
|
114
114
|
if(pageFile)lines.push("pageFile: "+pageFile);
|
|
115
115
|
if(leaf&&leaf!==pageFile)lines.push("component: "+leaf);
|