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:
co-authored by
Asher Gomez
parent
009b31f922
commit
736c5524d5
Vendored
+3
-3
@@ -6,11 +6,11 @@
|
||||
"$fresh/": "../",
|
||||
"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.13.1/",
|
||||
"preact": "https://esm.sh/preact@10.15.1",
|
||||
"preact/": "https://esm.sh/preact@10.15.1/",
|
||||
"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-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/"
|
||||
}
|
||||
}
|
||||
|
||||
@@ -1,8 +1,8 @@
|
||||
{
|
||||
"imports": {
|
||||
"$fresh/": "../",
|
||||
"preact": "https://esm.sh/preact@10.13.1",
|
||||
"preact/": "https://esm.sh/preact@10.13.1/",
|
||||
"preact": "https://esm.sh/preact@10.15.1",
|
||||
"preact/": "https://esm.sh/preact@10.15.1/",
|
||||
"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-core": "https://esm.sh/@preact/signals-core@1.2.3"
|
||||
|
||||
+4
-4
@@ -8,10 +8,10 @@ export {
|
||||
resolve,
|
||||
SEP,
|
||||
toFileUrl,
|
||||
} from "https://deno.land/std@0.189.0/path/mod.ts";
|
||||
export { walk } from "https://deno.land/std@0.189.0/fs/walk.ts";
|
||||
export { parse } from "https://deno.land/std@0.189.0/flags/mod.ts";
|
||||
export { gte } from "https://deno.land/std@0.189.0/semver/mod.ts";
|
||||
} from "https://deno.land/std@0.190.0/path/mod.ts";
|
||||
export { walk } from "https://deno.land/std@0.190.0/fs/walk.ts";
|
||||
export { parse } from "https://deno.land/std@0.190.0/flags/mod.ts";
|
||||
export { gte } from "https://deno.land/std@0.190.0/semver/mod.ts";
|
||||
|
||||
// ts-morph
|
||||
export { Node, Project } from "https://deno.land/x/ts_morph@17.0.1/mod.ts";
|
||||
|
||||
+2
-2
@@ -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_SIGNALS_VERSION = "1.1.3";
|
||||
export const RECOMMENDED_PREACT_SIGNALS_CORE_VERSION = "1.2.3";
|
||||
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>) {
|
||||
imports["$fresh/"] = new URL("../../", import.meta.url).href;
|
||||
|
||||
+8
-8
@@ -3,20 +3,20 @@ export {
|
||||
extname,
|
||||
fromFileUrl,
|
||||
toFileUrl,
|
||||
} from "https://deno.land/std@0.189.0/path/mod.ts";
|
||||
export { walk } from "https://deno.land/std@0.189.0/fs/walk.ts";
|
||||
export { serve } from "https://deno.land/std@0.189.0/http/server.ts";
|
||||
} from "https://deno.land/std@0.190.0/path/mod.ts";
|
||||
export { walk } from "https://deno.land/std@0.190.0/fs/walk.ts";
|
||||
export { serve } from "https://deno.land/std@0.190.0/http/server.ts";
|
||||
export type {
|
||||
ConnInfo,
|
||||
Handler as RequestHandler,
|
||||
ServeInit,
|
||||
} from "https://deno.land/std@0.189.0/http/server.ts";
|
||||
export { Status } from "https://deno.land/std@0.189.0/http/http_status.ts";
|
||||
} from "https://deno.land/std@0.190.0/http/server.ts";
|
||||
export { Status } from "https://deno.land/std@0.190.0/http/http_status.ts";
|
||||
export {
|
||||
typeByExtension,
|
||||
} from "https://deno.land/std@0.189.0/media_types/mod.ts";
|
||||
export { toHashString } from "https://deno.land/std@0.189.0/crypto/to_hash_string.ts";
|
||||
export { escape } from "https://deno.land/std@0.189.0/regexp/escape.ts";
|
||||
} from "https://deno.land/std@0.190.0/media_types/mod.ts";
|
||||
export { toHashString } from "https://deno.land/std@0.190.0/crypto/to_hash_string.ts";
|
||||
export { escape } from "https://deno.land/std@0.190.0/regexp/escape.ts";
|
||||
|
||||
// -- esbuild --
|
||||
// @deno-types="https://deno.land/x/esbuild@v0.17.11/mod.d.ts"
|
||||
|
||||
+1
-1
@@ -1,5 +1,5 @@
|
||||
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 {
|
||||
assert,
|
||||
|
||||
+5
-5
@@ -8,13 +8,13 @@ export {
|
||||
assert,
|
||||
assertEquals,
|
||||
assertStringIncludes,
|
||||
} from "https://deno.land/std@0.189.0/testing/asserts.ts";
|
||||
export { assertSnapshot } from "https://deno.land/std@0.189.0/testing/snapshot.ts";
|
||||
} from "https://deno.land/std@0.190.0/testing/asserts.ts";
|
||||
export { assertSnapshot } from "https://deno.land/std@0.190.0/testing/snapshot.ts";
|
||||
export {
|
||||
TextLineStream,
|
||||
} from "https://deno.land/std@0.189.0/streams/text_line_stream.ts";
|
||||
export { delay } from "https://deno.land/std@0.189.0/async/delay.ts";
|
||||
export { retry } from "https://deno.land/std@0.189.0/async/retry.ts";
|
||||
} from "https://deno.land/std@0.190.0/streams/text_line_stream.ts";
|
||||
export { delay } from "https://deno.land/std@0.190.0/async/delay.ts";
|
||||
export { retry } from "https://deno.land/std@0.190.0/async/retry.ts";
|
||||
export {
|
||||
default as puppeteer,
|
||||
Page,
|
||||
|
||||
@@ -1,8 +1,8 @@
|
||||
{
|
||||
"imports": {
|
||||
"$fresh/": "../../",
|
||||
"preact": "https://esm.sh/preact@10.13.1",
|
||||
"preact/": "https://esm.sh/preact@10.13.1/",
|
||||
"preact": "https://esm.sh/preact@10.15.1",
|
||||
"preact/": "https://esm.sh/preact@10.15.1/",
|
||||
"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-core": "https://esm.sh/@preact/signals-core@1.2.3"
|
||||
|
||||
@@ -1,8 +1,8 @@
|
||||
{
|
||||
"imports": {
|
||||
"$fresh/": "../../",
|
||||
"preact": "https://esm.sh/preact@10.13.1",
|
||||
"preact/": "https://esm.sh/preact@10.13.1/",
|
||||
"preact": "https://esm.sh/preact@10.15.1",
|
||||
"preact/": "https://esm.sh/preact@10.15.1/",
|
||||
"preact-render-to-string": "https://esm.sh/*preact-render-to-string@6.0.3"
|
||||
}
|
||||
}
|
||||
|
||||
@@ -1,8 +1,8 @@
|
||||
{
|
||||
"imports": {
|
||||
"$fresh/": "../../",
|
||||
"preact": "https://esm.sh/preact@10.13.1",
|
||||
"preact/": "https://esm.sh/preact@10.13.1/",
|
||||
"preact": "https://esm.sh/preact@10.15.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"
|
||||
}
|
||||
}
|
||||
|
||||
@@ -1,8 +1,8 @@
|
||||
{
|
||||
"imports": {
|
||||
"$fresh/": "../../",
|
||||
"preact": "https://esm.sh/preact@10.13.1",
|
||||
"preact/": "https://esm.sh/preact@10.13.1/",
|
||||
"preact": "https://esm.sh/preact@10.15.1",
|
||||
"preact/": "https://esm.sh/preact@10.15.1/",
|
||||
"preact-render-to-string": "https://esm.sh/*preact-render-to-string@6.0.3"
|
||||
}
|
||||
}
|
||||
|
||||
+3
-3
@@ -3,12 +3,12 @@
|
||||
"$fresh/": "../",
|
||||
"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.13.1/",
|
||||
"preact": "https://esm.sh/preact@10.15.1",
|
||||
"preact/": "https://esm.sh/preact@10.15.1/",
|
||||
"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-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"
|
||||
}
|
||||
}
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
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 { 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 id = Deno.args[1];
|
||||
|
||||
Reference in New Issue
Block a user