@li3/ssr 0.1.0 → 0.1.1
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/README.md +1 -1
- package/package.json +2 -2
- package/src/render.test.ts +1 -1
package/README.md
CHANGED
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@li3/ssr",
|
|
3
|
-
"version": "0.1.
|
|
3
|
+
"version": "0.1.1",
|
|
4
4
|
"description": "Server-side rendering for @li3/web applications using a virtual server DOM",
|
|
5
5
|
"exports": {
|
|
6
6
|
".": {
|
|
@@ -12,7 +12,7 @@
|
|
|
12
12
|
"url": "https://github.com/apphorde/lithium"
|
|
13
13
|
},
|
|
14
14
|
"dependencies": {
|
|
15
|
-
"@li3/web": "0.2.
|
|
15
|
+
"@li3/web": "0.2.40",
|
|
16
16
|
"jsdom": "^29.1.1"
|
|
17
17
|
},
|
|
18
18
|
"devDependencies": {
|
package/src/render.test.ts
CHANGED
|
@@ -55,7 +55,7 @@ describe('renderPage', () => {
|
|
|
55
55
|
it('renders for-loops with per-row context', async () => {
|
|
56
56
|
const app = `<!doctype html><html><body>
|
|
57
57
|
<template app>
|
|
58
|
-
<ul><template
|
|
58
|
+
<ul><template foreach="[t, i] of todos"><li>{{ i }}: {{ t.title }}</li></template></ul>
|
|
59
59
|
<script setup>
|
|
60
60
|
import { ref } from '@li3/web';
|
|
61
61
|
export default function () {
|