This commit is contained in:
Luca Casonato
2022-09-12 17:39:12 +02:00
committed by GitHub
parent 9d13f6ff26
commit eb712124de
2 changed files with 5 additions and 4 deletions
+4 -4
View File
@@ -21,7 +21,7 @@ below.
| Fresh version | Preact | preact-render-to-string | Deno |
| ------------- | ---------------- | ----------------------- | --------- |
| 1.0.0-1.0.2 | >=10.8.1 <11.0.0 | >=5.2.0 <6.0.0 | >= 1.23.0 |
| 1.1.0 | >=10.8.1 <11.0.0 | >=5.2.0 <6.0.0 | >= 1.25.0 |
| 1.1.0-1.1.1 | >=10.8.1 <11.0.0 | >=5.2.0 <6.0.0 | >= 1.25.0 |
## Updating dependencies
@@ -51,14 +51,14 @@ You will be prompted to confirm the changes that will be made to your project.
To manually update your project's dependencies, you can edit the
`import_map.json` file in the root of your projects directory. Dependency
versions are encoded into the URLs in this file. For example, here is how to
update a project from Fresh 1.0.2 to 1.1.0, and update Preact to the latest
update a project from Fresh 1.0.2 to 1.1.1, and update Preact to the latest
version:
```diff
{
"imports": {
- "$fresh/": "https://deno.land/x/fresh@1.0.2/",
+ "$fresh/": "https://deno.land/x/fresh@1.1.0/",
+ "$fresh/": "https://deno.land/x/fresh@1.1.1/",
- "preact": "https://esm.sh/preact@10.8.1",
- "preact/": "https://esm.sh/preact@10.8.1/",
@@ -66,7 +66,7 @@ version:
+ "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",
+ "preact-render-to-string": "https://esm.sh/*preact-render-to-string@5.2.4",
"twind": "https://esm.sh/twind@0.16.17",
"twind/": "https://esm.sh/twind@0.16.17/"
+1
View File
@@ -1,4 +1,5 @@
[
"1.1.1",
"1.1.0",
"1.0.2",
"1.0.1",