chore: upgrade preact to 10.15.1 and std to 0.190.0 (#1237)

Co-authored-by: Asher Gomez <ashersaupingomez@gmail.com>
This commit is contained in:
Lino Le Van
2023-06-03 10:04:23 +10:00
committed by GitHub
co-authored by Asher Gomez
parent 009b31f922
commit 736c5524d5
13 changed files with 37 additions and 37 deletions
+3 -3
View File
@@ -6,11 +6,11 @@
"$fresh/": "../", "$fresh/": "../",
"twind": "https://esm.sh/twind@0.16.19", "twind": "https://esm.sh/twind@0.16.19",
"twind/": "https://esm.sh/twind@0.16.19/", "twind/": "https://esm.sh/twind@0.16.19/",
"preact": "https://esm.sh/preact@10.13.1", "preact": "https://esm.sh/preact@10.15.1",
"preact/": "https://esm.sh/preact@10.13.1/", "preact/": "https://esm.sh/preact@10.15.1/",
"preact-render-to-string": "https://esm.sh/*preact-render-to-string@6.0.3", "preact-render-to-string": "https://esm.sh/*preact-render-to-string@6.0.3",
"@preact/signals": "https://esm.sh/*@preact/signals@1.1.3", "@preact/signals": "https://esm.sh/*@preact/signals@1.1.3",
"@preact/signals-core": "https://esm.sh/@preact/signals-core@1.2.3", "@preact/signals-core": "https://esm.sh/@preact/signals-core@1.2.3",
"$std/": "https://deno.land/std@0.189.0/" "$std/": "https://deno.land/std@0.190.0/"
} }
} }
+2 -2
View File
@@ -1,8 +1,8 @@
{ {
"imports": { "imports": {
"$fresh/": "../", "$fresh/": "../",
"preact": "https://esm.sh/preact@10.13.1", "preact": "https://esm.sh/preact@10.15.1",
"preact/": "https://esm.sh/preact@10.13.1/", "preact/": "https://esm.sh/preact@10.15.1/",
"preact-render-to-string": "https://esm.sh/*preact-render-to-string@6.0.3", "preact-render-to-string": "https://esm.sh/*preact-render-to-string@6.0.3",
"@preact/signals": "https://esm.sh/*@preact/signals@1.1.3", "@preact/signals": "https://esm.sh/*@preact/signals@1.1.3",
"@preact/signals-core": "https://esm.sh/@preact/signals-core@1.2.3" "@preact/signals-core": "https://esm.sh/@preact/signals-core@1.2.3"
+4 -4
View File
@@ -8,10 +8,10 @@ export {
resolve, resolve,
SEP, SEP,
toFileUrl, toFileUrl,
} from "https://deno.land/std@0.189.0/path/mod.ts"; } from "https://deno.land/std@0.190.0/path/mod.ts";
export { walk } from "https://deno.land/std@0.189.0/fs/walk.ts"; export { walk } from "https://deno.land/std@0.190.0/fs/walk.ts";
export { parse } from "https://deno.land/std@0.189.0/flags/mod.ts"; export { parse } from "https://deno.land/std@0.190.0/flags/mod.ts";
export { gte } from "https://deno.land/std@0.189.0/semver/mod.ts"; export { gte } from "https://deno.land/std@0.190.0/semver/mod.ts";
// ts-morph // ts-morph
export { Node, Project } from "https://deno.land/x/ts_morph@17.0.1/mod.ts"; export { Node, Project } from "https://deno.land/x/ts_morph@17.0.1/mod.ts";
+2 -2
View File
@@ -1,9 +1,9 @@
export const RECOMMENDED_PREACT_VERSION = "10.13.1"; export const RECOMMENDED_PREACT_VERSION = "10.15.1";
export const RECOMMENDED_PREACT_RTS_VERSION = "6.0.3"; export const RECOMMENDED_PREACT_RTS_VERSION = "6.0.3";
export const RECOMMENDED_PREACT_SIGNALS_VERSION = "1.1.3"; export const RECOMMENDED_PREACT_SIGNALS_VERSION = "1.1.3";
export const RECOMMENDED_PREACT_SIGNALS_CORE_VERSION = "1.2.3"; export const RECOMMENDED_PREACT_SIGNALS_CORE_VERSION = "1.2.3";
export const RECOMMENDED_TWIND_VERSION = "0.16.19"; export const RECOMMENDED_TWIND_VERSION = "0.16.19";
export const RECOMMENDED_STD_VERSION = "0.189.0"; export const RECOMMENDED_STD_VERSION = "0.190.0";
export function freshImports(imports: Record<string, string>) { export function freshImports(imports: Record<string, string>) {
imports["$fresh/"] = new URL("../../", import.meta.url).href; imports["$fresh/"] = new URL("../../", import.meta.url).href;
+8 -8
View File
@@ -3,20 +3,20 @@ export {
extname, extname,
fromFileUrl, fromFileUrl,
toFileUrl, toFileUrl,
} from "https://deno.land/std@0.189.0/path/mod.ts"; } from "https://deno.land/std@0.190.0/path/mod.ts";
export { walk } from "https://deno.land/std@0.189.0/fs/walk.ts"; export { walk } from "https://deno.land/std@0.190.0/fs/walk.ts";
export { serve } from "https://deno.land/std@0.189.0/http/server.ts"; export { serve } from "https://deno.land/std@0.190.0/http/server.ts";
export type { export type {
ConnInfo, ConnInfo,
Handler as RequestHandler, Handler as RequestHandler,
ServeInit, ServeInit,
} from "https://deno.land/std@0.189.0/http/server.ts"; } from "https://deno.land/std@0.190.0/http/server.ts";
export { Status } from "https://deno.land/std@0.189.0/http/http_status.ts"; export { Status } from "https://deno.land/std@0.190.0/http/http_status.ts";
export { export {
typeByExtension, typeByExtension,
} from "https://deno.land/std@0.189.0/media_types/mod.ts"; } from "https://deno.land/std@0.190.0/media_types/mod.ts";
export { toHashString } from "https://deno.land/std@0.189.0/crypto/to_hash_string.ts"; export { toHashString } from "https://deno.land/std@0.190.0/crypto/to_hash_string.ts";
export { escape } from "https://deno.land/std@0.189.0/regexp/escape.ts"; export { escape } from "https://deno.land/std@0.190.0/regexp/escape.ts";
// -- esbuild -- // -- esbuild --
// @deno-types="https://deno.land/x/esbuild@v0.17.11/mod.d.ts" // @deno-types="https://deno.land/x/esbuild@v0.17.11/mod.d.ts"
+1 -1
View File
@@ -1,5 +1,5 @@
import * as path from "$std/path/mod.ts"; import * as path from "$std/path/mod.ts";
import { assertNotMatch } from "https://deno.land/std@0.189.0/testing/asserts.ts"; import { assertNotMatch } from "https://deno.land/std@0.190.0/testing/asserts.ts";
import { Status } from "../src/server/deps.ts"; import { Status } from "../src/server/deps.ts";
import { import {
assert, assert,
+5 -5
View File
@@ -8,13 +8,13 @@ export {
assert, assert,
assertEquals, assertEquals,
assertStringIncludes, assertStringIncludes,
} from "https://deno.land/std@0.189.0/testing/asserts.ts"; } from "https://deno.land/std@0.190.0/testing/asserts.ts";
export { assertSnapshot } from "https://deno.land/std@0.189.0/testing/snapshot.ts"; export { assertSnapshot } from "https://deno.land/std@0.190.0/testing/snapshot.ts";
export { export {
TextLineStream, TextLineStream,
} from "https://deno.land/std@0.189.0/streams/text_line_stream.ts"; } from "https://deno.land/std@0.190.0/streams/text_line_stream.ts";
export { delay } from "https://deno.land/std@0.189.0/async/delay.ts"; export { delay } from "https://deno.land/std@0.190.0/async/delay.ts";
export { retry } from "https://deno.land/std@0.189.0/async/retry.ts"; export { retry } from "https://deno.land/std@0.190.0/async/retry.ts";
export { export {
default as puppeteer, default as puppeteer,
Page, Page,
+2 -2
View File
@@ -1,8 +1,8 @@
{ {
"imports": { "imports": {
"$fresh/": "../../", "$fresh/": "../../",
"preact": "https://esm.sh/preact@10.13.1", "preact": "https://esm.sh/preact@10.15.1",
"preact/": "https://esm.sh/preact@10.13.1/", "preact/": "https://esm.sh/preact@10.15.1/",
"preact-render-to-string": "https://esm.sh/*preact-render-to-string@6.0.3", "preact-render-to-string": "https://esm.sh/*preact-render-to-string@6.0.3",
"@preact/signals": "https://esm.sh/*@preact/signals@1.1.3", "@preact/signals": "https://esm.sh/*@preact/signals@1.1.3",
"@preact/signals-core": "https://esm.sh/@preact/signals-core@1.2.3" "@preact/signals-core": "https://esm.sh/@preact/signals-core@1.2.3"
+2 -2
View File
@@ -1,8 +1,8 @@
{ {
"imports": { "imports": {
"$fresh/": "../../", "$fresh/": "../../",
"preact": "https://esm.sh/preact@10.13.1", "preact": "https://esm.sh/preact@10.15.1",
"preact/": "https://esm.sh/preact@10.13.1/", "preact/": "https://esm.sh/preact@10.15.1/",
"preact-render-to-string": "https://esm.sh/*preact-render-to-string@6.0.3" "preact-render-to-string": "https://esm.sh/*preact-render-to-string@6.0.3"
} }
} }
+2 -2
View File
@@ -1,8 +1,8 @@
{ {
"imports": { "imports": {
"$fresh/": "../../", "$fresh/": "../../",
"preact": "https://esm.sh/preact@10.13.1", "preact": "https://esm.sh/preact@10.15.1",
"preact/": "https://esm.sh/preact@10.13.1/", "preact/": "https://esm.sh/preact@10.15.1/",
"preact-render-to-string": "https://esm.sh/preact-render-to-string@5.2.6?external=preact" "preact-render-to-string": "https://esm.sh/preact-render-to-string@5.2.6?external=preact"
} }
} }
+2 -2
View File
@@ -1,8 +1,8 @@
{ {
"imports": { "imports": {
"$fresh/": "../../", "$fresh/": "../../",
"preact": "https://esm.sh/preact@10.13.1", "preact": "https://esm.sh/preact@10.15.1",
"preact/": "https://esm.sh/preact@10.13.1/", "preact/": "https://esm.sh/preact@10.15.1/",
"preact-render-to-string": "https://esm.sh/*preact-render-to-string@6.0.3" "preact-render-to-string": "https://esm.sh/*preact-render-to-string@6.0.3"
} }
} }
+3 -3
View File
@@ -3,12 +3,12 @@
"$fresh/": "../", "$fresh/": "../",
"twind": "https://esm.sh/twind@0.16.19", "twind": "https://esm.sh/twind@0.16.19",
"twind/": "https://esm.sh/twind@0.16.19/", "twind/": "https://esm.sh/twind@0.16.19/",
"preact": "https://esm.sh/preact@10.13.1", "preact": "https://esm.sh/preact@10.15.1",
"preact/": "https://esm.sh/preact@10.13.1/", "preact/": "https://esm.sh/preact@10.15.1/",
"preact-render-to-string": "https://esm.sh/*preact-render-to-string@6.0.3", "preact-render-to-string": "https://esm.sh/*preact-render-to-string@6.0.3",
"@preact/signals": "https://esm.sh/*@preact/signals@1.1.3", "@preact/signals": "https://esm.sh/*@preact/signals@1.1.3",
"@preact/signals-core": "https://esm.sh/@preact/signals-core@1.2.3", "@preact/signals-core": "https://esm.sh/@preact/signals-core@1.2.3",
"$std/": "https://deno.land/std@0.189.0/", "$std/": "https://deno.land/std@0.190.0/",
"$ga4": "https://raw.githubusercontent.com/denoland/ga4/main/mod.ts" "$ga4": "https://raw.githubusercontent.com/denoland/ga4/main/mod.ts"
} }
} }
+1 -1
View File
@@ -1,6 +1,6 @@
import puppeteer from "https://deno.land/x/puppeteer@16.2.0/mod.ts"; import puppeteer from "https://deno.land/x/puppeteer@16.2.0/mod.ts";
import { Image } from "https://deno.land/x/imagescript@1.2.15/mod.ts"; import { Image } from "https://deno.land/x/imagescript@1.2.15/mod.ts";
import { join } from "https://deno.land/std@0.189.0/path/mod.ts"; import { join } from "https://deno.land/std@0.190.0/path/mod.ts";
const url = Deno.args[0]; const url = Deno.args[0];
const id = Deno.args[1]; const id = Deno.args[1];