@moneko/solid 1.5.5 → 1.6.0

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/lib/ssr.d.ts CHANGED
@@ -1,2 +1,4 @@
1
- declare const Main: () => import("solid-js").JSX.Element;
2
- export default Main;
1
+ declare const send: (_: Request, resp: Response & {
2
+ write(): void;
3
+ }) => void;
4
+ export default send;
package/lib/ssr.js CHANGED
@@ -1 +1 @@
1
- import{template as t}from"solid-js/web";import{insert as e}from"solid-js/web";import{createComponent as i}from"solid-js/web";let o=t(`<html lang="en"><head><title>🔥 Solid SSR 🔥</title><meta charset="UTF-8"><meta name="viewport" content="width=device-width, initial-scale=1.0"></head><body><div id="app">`);import"solid-js/web";import r from"./app.js";export default(()=>(()=>{let t=o();return e(t.firstChild.firstChild,i(r,{})),t})());
1
+ import{template as t}from"solid-js/web";import{insert as e}from"solid-js/web";import{createComponent as i}from"solid-js/web";let o=t(`<html lang="en"><head><title>🔥 Solid SSR 🔥</title><meta charset="UTF-8"><meta name="viewport" content="width=device-width, initial-scale=1.0"></head><body><div id="app">`);import{renderToStream as r}from"solid-js/web";import{App as l}from"./entry.js";export default((t,s)=>{r(()=>(()=>{let t=o();return e(t.firstChild.firstChild,i(l,{})),t})()).pipe(s)});
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@moneko/solid",
3
- "version": "1.5.5",
3
+ "version": "1.6.0",
4
4
  "description": "Solid js",
5
5
  "main": "lib/index.js",
6
6
  "scripts": {
@@ -13,13 +13,13 @@
13
13
  "license": "MIT",
14
14
  "dependencies": {
15
15
  "@moneko/jsx-dom-expressions": "0.2.1",
16
- "@solidjs/router": "0.10.5"
16
+ "@solidjs/router": "0.10.9"
17
17
  },
18
18
  "devDependencies": {
19
19
  "@swc/cli": "0.1.63",
20
- "@swc/core": "1.3.101",
21
- "eslint-config-neko": "2.3.0",
22
- "solid-js": "1.8.7",
20
+ "@swc/core": "1.3.104",
21
+ "eslint-config-neko": "2.3.1",
22
+ "solid-js": "1.8.11",
23
23
  "swc-plugin-another-transform-imports": "0.2.7",
24
24
  "typescript": "5.3.3"
25
25
  },