diff --git a/.vscode/import_map.json b/.vscode/import_map.json index 88037a45..f6797c8a 100644 --- a/.vscode/import_map.json +++ b/.vscode/import_map.json @@ -5,9 +5,9 @@ "$twind": "https://esm.sh/twind@0.16.16", "$twind/": "https://esm.sh/twind@0.16.16/", - "preact": "https://esm.sh/preact@10.6.6", - "preact/": "https://esm.sh/preact@10.6.6/", - "preact-render-to-string": "https://esm.sh/preact-render-to-string@5.1.20?deps=preact@10.6.6", + "preact": "https://esm.sh/preact@10.8.1", + "preact/": "https://esm.sh/preact@10.8.1/", + "preact-render-to-string": "https://esm.sh/preact-render-to-string@5.2.0?deps=preact@10.8.1", "$semver/": "https://deno.land/x/semver@v1.4.0/" } diff --git a/examples/counter/import_map.json b/examples/counter/import_map.json index 47674ea3..86efdc9c 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.6.6", - "preact/": "https://esm.sh/preact@10.6.6/", - "preact-render-to-string": "https://esm.sh/preact-render-to-string@5.1.20?deps=preact@10.6.6" + "preact": "https://esm.sh/preact@10.8.1", + "preact/": "https://esm.sh/preact@10.8.1/", + "preact-render-to-string": "https://esm.sh/preact-render-to-string@5.2.0?deps=preact@10.8.1" } } diff --git a/init.ts b/init.ts index 5575537c..fca6492d 100644 --- a/init.ts +++ b/init.ts @@ -67,10 +67,10 @@ if (useTwind) await Deno.mkdir(join(directory, "utils"), { recursive: true }); const importMap = { "imports": { "$fresh/": new URL("./", import.meta.url).href, - "preact": "https://esm.sh/preact@10.6.6", - "preact/": "https://esm.sh/preact@10.6.6/", + "preact": "https://esm.sh/preact@10.8.1", + "preact/": "https://esm.sh/preact@10.8.1/", "preact-render-to-string": - "https://esm.sh/preact-render-to-string@5.1.20?deps=preact@10.6.6", + "https://esm.sh/preact-render-to-string@5.2.0?deps=preact@10.8.1", } as Record, }; if (useTwind) { diff --git a/tests/fixture/import_map.json b/tests/fixture/import_map.json index 47674ea3..86efdc9c 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.6.6", - "preact/": "https://esm.sh/preact@10.6.6/", - "preact-render-to-string": "https://esm.sh/preact-render-to-string@5.1.20?deps=preact@10.6.6" + "preact": "https://esm.sh/preact@10.8.1", + "preact/": "https://esm.sh/preact@10.8.1/", + "preact-render-to-string": "https://esm.sh/preact-render-to-string@5.2.0?deps=preact@10.8.1" } } diff --git a/tests/fixture_error/import_map.json b/tests/fixture_error/import_map.json index 47674ea3..86efdc9c 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.6.6", - "preact/": "https://esm.sh/preact@10.6.6/", - "preact-render-to-string": "https://esm.sh/preact-render-to-string@5.1.20?deps=preact@10.6.6" + "preact": "https://esm.sh/preact@10.8.1", + "preact/": "https://esm.sh/preact@10.8.1/", + "preact-render-to-string": "https://esm.sh/preact-render-to-string@5.2.0?deps=preact@10.8.1" } } diff --git a/www/import_map.json b/www/import_map.json index 7a3b507f..c3227f9d 100644 --- a/www/import_map.json +++ b/www/import_map.json @@ -3,9 +3,9 @@ "$fresh/": "../", "$twind": "https://esm.sh/twind@0.16.16", "$twind/": "https://esm.sh/twind@0.16.16/", - "preact": "https://esm.sh/preact@10.6.6", - "preact/": "https://esm.sh/preact@10.6.6/", - "preact-render-to-string": "https://esm.sh/preact-render-to-string@5.1.20?deps=preact@10.6.6", + "preact": "https://esm.sh/preact@10.8.1", + "preact/": "https://esm.sh/preact@10.8.1/", + "preact-render-to-string": "https://esm.sh/preact-render-to-string@5.2.0?deps=preact@10.8.1", "$semver/": "https://deno.land/x/semver@v1.4.0/" } }