From 3d682d98cb0d72704190a384d08d8afb08371586 Mon Sep 17 00:00:00 2001 From: Luca Casonato Date: Wed, 24 Aug 2022 00:09:06 +0200 Subject: [PATCH] chore: update preact & preact-render-to-string (#651) preact@10.10.6 & preact-render-to-string@5.2.2 --- .vscode/import_map.json | 6 +++--- examples/counter/import_map.json | 6 +++--- init.ts | 6 +++--- tests/fixture/import_map.json | 6 +++--- tests/fixture_error/import_map.json | 6 +++--- tests/fixture_plugin/import_map.json | 6 +++--- www/import_map.json | 6 +++--- 7 files changed, 21 insertions(+), 21 deletions(-) diff --git a/.vscode/import_map.json b/.vscode/import_map.json index 2ba2e0fc..26d19a63 100644 --- a/.vscode/import_map.json +++ b/.vscode/import_map.json @@ -6,9 +6,9 @@ "twind": "https://esm.sh/twind@0.16.17", "twind/": "https://esm.sh/twind@0.16.17/", - "preact": "https://esm.sh/preact@10.10.0", - "preact/": "https://esm.sh/preact@10.10.0/", - "preact-render-to-string": "https://esm.sh/preact-render-to-string@5.2.1?external=preact", + "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.2?external=preact", "$std/": "https://deno.land/std@0.150.0/" } diff --git a/examples/counter/import_map.json b/examples/counter/import_map.json index e59539e4..9b64504a 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.0", - "preact/": "https://esm.sh/preact@10.10.0/", - "preact-render-to-string": "https://esm.sh/preact-render-to-string@5.2.1?external=preact" + "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.2?external=preact" } } diff --git a/init.ts b/init.ts index f13f8924..7c73315a 100644 --- a/init.ts +++ b/init.ts @@ -94,10 +94,10 @@ if (useVSCode) { const importMap = { "imports": { "$fresh/": new URL("./", import.meta.url).href, - "preact": "https://esm.sh/preact@10.10.0", - "preact/": "https://esm.sh/preact@10.10.0/", + "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.1?external=preact", + "https://esm.sh/preact-render-to-string@5.2.2?external=preact", } as Record, }; if (useTwind) { diff --git a/tests/fixture/import_map.json b/tests/fixture/import_map.json index e59539e4..9b64504a 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.0", - "preact/": "https://esm.sh/preact@10.10.0/", - "preact-render-to-string": "https://esm.sh/preact-render-to-string@5.2.1?external=preact" + "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.2?external=preact" } } diff --git a/tests/fixture_error/import_map.json b/tests/fixture_error/import_map.json index e59539e4..9b64504a 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.0", - "preact/": "https://esm.sh/preact@10.10.0/", - "preact-render-to-string": "https://esm.sh/preact-render-to-string@5.2.1?external=preact" + "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.2?external=preact" } } diff --git a/tests/fixture_plugin/import_map.json b/tests/fixture_plugin/import_map.json index e59539e4..9b64504a 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.0", - "preact/": "https://esm.sh/preact@10.10.0/", - "preact-render-to-string": "https://esm.sh/preact-render-to-string@5.2.1?external=preact" + "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.2?external=preact" } } diff --git a/www/import_map.json b/www/import_map.json index 2488d1ca..a1d9577c 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.0", - "preact/": "https://esm.sh/preact@10.10.0/", - "preact-render-to-string": "https://esm.sh/preact-render-to-string@5.2.1?external=preact", + "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.2?external=preact", "$std/": "https://deno.land/std@0.150.0/" }