diff --git a/.vscode/import_map.json b/.vscode/import_map.json index f8749e6e..e917bb74 100644 --- a/.vscode/import_map.json +++ b/.vscode/import_map.json @@ -8,9 +8,9 @@ "twind": "https://esm.sh/twind@0.16.17", "twind/": "https://esm.sh/twind@0.16.17/", - "preact": "https://esm.sh/preact@10.10.6", - "preact/": "https://esm.sh/preact@10.10.6/", - "preact-render-to-string": "https://esm.sh/*preact-render-to-string@5.2.3", + "preact": "https://esm.sh/preact@10.11.0", + "preact/": "https://esm.sh/preact@10.11.0/", + "preact-render-to-string": "https://esm.sh/*preact-render-to-string@5.2.4", "@preact/signals": "https://esm.sh/*@preact/signals@1.0.3", "@preact/signals-core": "https://esm.sh/@preact/signals-core@1.0.1", diff --git a/docs/concepts/updating.md b/docs/concepts/updating.md index 3792a3e7..b61efa3d 100644 --- a/docs/concepts/updating.md +++ b/docs/concepts/updating.md @@ -62,8 +62,8 @@ version: - "preact": "https://esm.sh/preact@10.8.1", - "preact/": "https://esm.sh/preact@10.8.1/", -+ "preact": "https://esm.sh/preact@10.10.6", -+ "preact/": "https://esm.sh/preact@10.10.6/", ++ "preact": "https://esm.sh/preact@10.11.0", ++ "preact/": "https://esm.sh/preact@10.11.0/", - "preact-render-to-string": "https://esm.sh/*preact-render-to-string@5.2.0", + "preact-render-to-string": "https://esm.sh/*preact-render-to-string@5.2.2", diff --git a/examples/counter/import_map.json b/examples/counter/import_map.json index 8bdfff3d..33e13f90 100644 --- a/examples/counter/import_map.json +++ b/examples/counter/import_map.json @@ -1,8 +1,8 @@ { "imports": { "$fresh/": "../../", - "preact": "https://esm.sh/preact@10.10.6", - "preact/": "https://esm.sh/preact@10.10.6/", - "preact-render-to-string": "https://esm.sh/*preact-render-to-string@5.2.3" + "preact": "https://esm.sh/preact@10.11.0", + "preact/": "https://esm.sh/preact@10.11.0/", + "preact-render-to-string": "https://esm.sh/*preact-render-to-string@5.2.4" } } diff --git a/src/dev/imports.ts b/src/dev/imports.ts index c621a31a..326d5ee9 100644 --- a/src/dev/imports.ts +++ b/src/dev/imports.ts @@ -1,5 +1,5 @@ -export const RECOMMENDED_PREACT_VERSION = "10.10.6"; -export const RECOMMENDED_PREACT_RTS_VERSION = "5.2.3"; +export const RECOMMENDED_PREACT_VERSION = "10.11.0"; +export const RECOMMENDED_PREACT_RTS_VERSION = "5.2.4"; export const RECOMMENDED_PREACT_SIGNALS_VERSION = "1.0.3"; export const RECOMMENDED_PREACT_SIGNALS_CORE_VERSION = "1.0.1"; export const RECOMMENDED_TWIND_VERSION = "0.16.17"; diff --git a/src/server/render.ts b/src/server/render.ts index c77313ae..c3337422 100644 --- a/src/server/render.ts +++ b/src/server/render.ts @@ -334,7 +334,7 @@ export function template(opts: TemplateOptions): string { h( "head", null, - h("meta", { charset: "UTF-8" }), + h("meta", { charSet: "UTF-8" }), h("meta", { name: "viewport", content: "width=device-width, initial-scale=1.0", diff --git a/tests/fixture/import_map.json b/tests/fixture/import_map.json index 8bdfff3d..33e13f90 100644 --- a/tests/fixture/import_map.json +++ b/tests/fixture/import_map.json @@ -1,8 +1,8 @@ { "imports": { "$fresh/": "../../", - "preact": "https://esm.sh/preact@10.10.6", - "preact/": "https://esm.sh/preact@10.10.6/", - "preact-render-to-string": "https://esm.sh/*preact-render-to-string@5.2.3" + "preact": "https://esm.sh/preact@10.11.0", + "preact/": "https://esm.sh/preact@10.11.0/", + "preact-render-to-string": "https://esm.sh/*preact-render-to-string@5.2.4" } } diff --git a/tests/fixture_error/import_map.json b/tests/fixture_error/import_map.json index 8bdfff3d..33e13f90 100644 --- a/tests/fixture_error/import_map.json +++ b/tests/fixture_error/import_map.json @@ -1,8 +1,8 @@ { "imports": { "$fresh/": "../../", - "preact": "https://esm.sh/preact@10.10.6", - "preact/": "https://esm.sh/preact@10.10.6/", - "preact-render-to-string": "https://esm.sh/*preact-render-to-string@5.2.3" + "preact": "https://esm.sh/preact@10.11.0", + "preact/": "https://esm.sh/preact@10.11.0/", + "preact-render-to-string": "https://esm.sh/*preact-render-to-string@5.2.4" } } diff --git a/tests/fixture_plugin/import_map.json b/tests/fixture_plugin/import_map.json index 8bdfff3d..33e13f90 100644 --- a/tests/fixture_plugin/import_map.json +++ b/tests/fixture_plugin/import_map.json @@ -1,8 +1,8 @@ { "imports": { "$fresh/": "../../", - "preact": "https://esm.sh/preact@10.10.6", - "preact/": "https://esm.sh/preact@10.10.6/", - "preact-render-to-string": "https://esm.sh/*preact-render-to-string@5.2.3" + "preact": "https://esm.sh/preact@10.11.0", + "preact/": "https://esm.sh/preact@10.11.0/", + "preact-render-to-string": "https://esm.sh/*preact-render-to-string@5.2.4" } } diff --git a/www/import_map.json b/www/import_map.json index e5aa6947..78ba044a 100644 --- a/www/import_map.json +++ b/www/import_map.json @@ -5,9 +5,9 @@ "twind": "https://esm.sh/twind@0.16.17", "twind/": "https://esm.sh/twind@0.16.17/", - "preact": "https://esm.sh/preact@10.10.6", - "preact/": "https://esm.sh/preact@10.10.6/", - "preact-render-to-string": "https://esm.sh/*preact-render-to-string@5.2.3", + "preact": "https://esm.sh/preact@10.11.0", + "preact/": "https://esm.sh/preact@10.11.0/", + "preact-render-to-string": "https://esm.sh/*preact-render-to-string@5.2.4", "@preact/signals": "https://esm.sh/*@preact/signals@1.0.3", "@preact/signals-core": "https://esm.sh/@preact/signals-core@1.0.1",