From 87da68b8a78e7bacabe9d604a8593549fcbbb061 Mon Sep 17 00:00:00 2001 From: Luca Casonato Date: Mon, 4 Jul 2022 17:25:32 +0200 Subject: [PATCH] chore: update preact + twind (#410) --- .vscode/import_map.json | 10 +++++----- examples/counter/import_map.json | 6 +++--- init.ts | 6 +++--- tests/fixture/import_map.json | 6 +++--- tests/fixture_error/import_map.json | 6 +++--- www/import_map.json | 10 +++++----- 6 files changed, 22 insertions(+), 22 deletions(-) diff --git a/.vscode/import_map.json b/.vscode/import_map.json index c6eaf205..589c720e 100644 --- a/.vscode/import_map.json +++ b/.vscode/import_map.json @@ -4,12 +4,12 @@ "$fresh/": "../", "@twind": "../www/utils/twind.ts", - "twind": "https://esm.sh/twind@0.16.16", - "twind/": "https://esm.sh/twind@0.16.16/", + "twind": "https://esm.sh/twind@0.16.17", + "twind/": "https://esm.sh/twind@0.16.17/", - "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", + "preact": "https://esm.sh/preact@10.8.2", + "preact/": "https://esm.sh/preact@10.8.2/", + "preact-render-to-string": "https://esm.sh/preact-render-to-string@5.2.0?deps=preact@10.8.2", "$semver/": "https://deno.land/x/semver@v1.4.0/" } diff --git a/examples/counter/import_map.json b/examples/counter/import_map.json index 86efdc9c..b5705fb2 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.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" + "preact": "https://esm.sh/preact@10.8.2", + "preact/": "https://esm.sh/preact@10.8.2/", + "preact-render-to-string": "https://esm.sh/preact-render-to-string@5.2.0?deps=preact@10.8.2" } } diff --git a/init.ts b/init.ts index 0ce2b71e..ed20cfac 100644 --- a/init.ts +++ b/init.ts @@ -94,10 +94,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.8.1", - "preact/": "https://esm.sh/preact@10.8.1/", + "preact": "https://esm.sh/preact@10.8.2", + "preact/": "https://esm.sh/preact@10.8.2/", "preact-render-to-string": - "https://esm.sh/preact-render-to-string@5.2.0?deps=preact@10.8.1", + "https://esm.sh/preact-render-to-string@5.2.0?deps=preact@10.8.2", } as Record, }; if (useTwind) { diff --git a/tests/fixture/import_map.json b/tests/fixture/import_map.json index 86efdc9c..b5705fb2 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.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" + "preact": "https://esm.sh/preact@10.8.2", + "preact/": "https://esm.sh/preact@10.8.2/", + "preact-render-to-string": "https://esm.sh/preact-render-to-string@5.2.0?deps=preact@10.8.2" } } diff --git a/tests/fixture_error/import_map.json b/tests/fixture_error/import_map.json index 86efdc9c..b5705fb2 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.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" + "preact": "https://esm.sh/preact@10.8.2", + "preact/": "https://esm.sh/preact@10.8.2/", + "preact-render-to-string": "https://esm.sh/preact-render-to-string@5.2.0?deps=preact@10.8.2" } } diff --git a/www/import_map.json b/www/import_map.json index 55f97ff5..21749586 100644 --- a/www/import_map.json +++ b/www/import_map.json @@ -3,12 +3,12 @@ "$fresh/": "../", "@twind": "./utils/twind.ts", - "twind": "https://esm.sh/twind@0.16.16", - "twind/": "https://esm.sh/twind@0.16.16/", + "twind": "https://esm.sh/twind@0.16.17", + "twind/": "https://esm.sh/twind@0.16.17/", - "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", + "preact": "https://esm.sh/preact@10.8.2", + "preact/": "https://esm.sh/preact@10.8.2/", + "preact-render-to-string": "https://esm.sh/preact-render-to-string@5.2.0?deps=preact@10.8.2", "$semver/": "https://deno.land/x/semver@v1.4.0/" }