Skip to content

Commit 87da68b

Browse files
authored
chore: update preact + twind (#410)
1 parent e0e669e commit 87da68b

File tree

6 files changed

+22
-22
lines changed

6 files changed

+22
-22
lines changed

.vscode/import_map.json

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -4,12 +4,12 @@
44
"$fresh/": "../",
55

66
"@twind": "../www/utils/twind.ts",
7-
"twind": "https://esm.sh/twind@0.16.16",
8-
"twind/": "https://esm.sh/twind@0.16.16/",
7+
"twind": "https://esm.sh/twind@0.16.17",
8+
"twind/": "https://esm.sh/twind@0.16.17/",
99

10-
"preact": "https://esm.sh/preact@10.8.1",
11-
"preact/": "https://esm.sh/preact@10.8.1/",
12-
"preact-render-to-string": "https://esm.sh/preact-render-to-string@5.2.0?deps=preact@10.8.1",
10+
"preact": "https://esm.sh/preact@10.8.2",
11+
"preact/": "https://esm.sh/preact@10.8.2/",
12+
"preact-render-to-string": "https://esm.sh/preact-render-to-string@5.2.0?deps=preact@10.8.2",
1313

1414
"$semver/": "https://deno.land/x/semver@v1.4.0/"
1515
}

examples/counter/import_map.json

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
11
{
22
"imports": {
33
"$fresh/": "../../",
4-
"preact": "https://esm.sh/preact@10.8.1",
5-
"preact/": "https://esm.sh/preact@10.8.1/",
6-
"preact-render-to-string": "https://esm.sh/preact-render-to-string@5.2.0?deps=preact@10.8.1"
4+
"preact": "https://esm.sh/preact@10.8.2",
5+
"preact/": "https://esm.sh/preact@10.8.2/",
6+
"preact-render-to-string": "https://esm.sh/preact-render-to-string@5.2.0?deps=preact@10.8.2"
77
}
88
}

init.ts

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -94,10 +94,10 @@ if (useTwind) await Deno.mkdir(join(directory, "utils"), { recursive: true });
9494
const importMap = {
9595
"imports": {
9696
"$fresh/": new URL("./", import.meta.url).href,
97-
"preact": "https://esm.sh/preact@10.8.1",
98-
"preact/": "https://esm.sh/preact@10.8.1/",
97+
"preact": "https://esm.sh/preact@10.8.2",
98+
"preact/": "https://esm.sh/preact@10.8.2/",
9999
"preact-render-to-string":
100-
"https://esm.sh/preact-render-to-string@5.2.0?deps=preact@10.8.1",
100+
"https://esm.sh/preact-render-to-string@5.2.0?deps=preact@10.8.2",
101101
} as Record<string, string>,
102102
};
103103
if (useTwind) {

tests/fixture/import_map.json

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
11
{
22
"imports": {
33
"$fresh/": "../../",
4-
"preact": "https://esm.sh/preact@10.8.1",
5-
"preact/": "https://esm.sh/preact@10.8.1/",
6-
"preact-render-to-string": "https://esm.sh/preact-render-to-string@5.2.0?deps=preact@10.8.1"
4+
"preact": "https://esm.sh/preact@10.8.2",
5+
"preact/": "https://esm.sh/preact@10.8.2/",
6+
"preact-render-to-string": "https://esm.sh/preact-render-to-string@5.2.0?deps=preact@10.8.2"
77
}
88
}
Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
11
{
22
"imports": {
33
"$fresh/": "../../",
4-
"preact": "https://esm.sh/preact@10.8.1",
5-
"preact/": "https://esm.sh/preact@10.8.1/",
6-
"preact-render-to-string": "https://esm.sh/preact-render-to-string@5.2.0?deps=preact@10.8.1"
4+
"preact": "https://esm.sh/preact@10.8.2",
5+
"preact/": "https://esm.sh/preact@10.8.2/",
6+
"preact-render-to-string": "https://esm.sh/preact-render-to-string@5.2.0?deps=preact@10.8.2"
77
}
88
}

www/import_map.json

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -3,12 +3,12 @@
33
"$fresh/": "../",
44

55
"@twind": "./utils/twind.ts",
6-
"twind": "https://esm.sh/twind@0.16.16",
7-
"twind/": "https://esm.sh/twind@0.16.16/",
6+
"twind": "https://esm.sh/twind@0.16.17",
7+
"twind/": "https://esm.sh/twind@0.16.17/",
88

9-
"preact": "https://esm.sh/preact@10.8.1",
10-
"preact/": "https://esm.sh/preact@10.8.1/",
11-
"preact-render-to-string": "https://esm.sh/preact-render-to-string@5.2.0?deps=preact@10.8.1",
9+
"preact": "https://esm.sh/preact@10.8.2",
10+
"preact/": "https://esm.sh/preact@10.8.2/",
11+
"preact-render-to-string": "https://esm.sh/preact-render-to-string@5.2.0?deps=preact@10.8.2",
1212

1313
"$semver/": "https://deno.land/x/semver@v1.4.0/"
1414
}

0 commit comments

Comments
 (0)