chore: bump dependencies (#1428)

This commit is contained in:
Lino Le Van
2023-07-08 22:47:12 +02:00
committed by GitHub
parent 92516e441e
commit 292b4c2d6f
15 changed files with 36 additions and 36 deletions
+1 -1
View File
@@ -13,7 +13,7 @@
"@preact/signals-core": "https://esm.sh/@preact/signals-core@1.2.3",
"@preact/signals-core@1.2.3": "https://esm.sh/@preact/signals-core@1.2.3",
"@preact/signals-core@1.3.0": "https://esm.sh/@preact/signals-core@1.3.0",
"$std/": "https://deno.land/std@0.190.0/",
"$std/": "https://deno.land/std@0.193.0/",
"$ga4": "https://raw.githubusercontent.com/denoland/ga4/main/mod.ts"
}
}
+2 -2
View File
@@ -2,8 +2,8 @@
export {
fromFileUrl,
toFileUrl,
} from "https://deno.land/std@0.190.0/path/mod.ts";
export { escape as regexpEscape } from "https://deno.land/std@0.190.0/regexp/escape.ts";
} from "https://deno.land/std@0.193.0/path/mod.ts";
export { escape as regexpEscape } from "https://deno.land/std@0.193.0/regexp/escape.ts";
// -- esbuild --
// @deno-types="https://deno.land/x/esbuild@v0.17.19/mod.d.ts"
+5 -5
View File
@@ -9,11 +9,11 @@ export {
resolve,
SEP,
toFileUrl,
} from "https://deno.land/std@0.190.0/path/mod.ts";
export { walk, WalkError } 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";
export { existsSync } from "https://deno.land/std@0.190.0/fs/mod.ts";
} from "https://deno.land/std@0.193.0/path/mod.ts";
export { walk, WalkError } from "https://deno.land/std@0.193.0/fs/walk.ts";
export { parse } from "https://deno.land/std@0.193.0/flags/mod.ts";
export { gte } from "https://deno.land/std@0.193.0/semver/mod.ts";
export { existsSync } from "https://deno.land/std@0.193.0/fs/mod.ts";
// ts-morph
export { Node, Project } from "https://deno.land/x/ts_morph@17.0.1/mod.ts";
+1 -1
View File
@@ -3,7 +3,7 @@ export const RECOMMENDED_PREACT_RTS_VERSION = "6.1.0";
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.190.0";
export const RECOMMENDED_STD_VERSION = "0.193.0";
export function freshImports(imports: Record<string, string>) {
imports["$fresh/"] = new URL("../../", import.meta.url).href;
+9 -9
View File
@@ -5,20 +5,20 @@ export {
fromFileUrl,
join,
toFileUrl,
} from "https://deno.land/std@0.190.0/path/mod.ts";
export { walk } from "https://deno.land/std@0.190.0/fs/walk.ts";
} from "https://deno.land/std@0.193.0/path/mod.ts";
export { walk } from "https://deno.land/std@0.193.0/fs/walk.ts";
export {
type Handler as ServeHandler,
serve,
} from "https://deno.land/std@0.190.0/http/server.ts";
} from "https://deno.land/std@0.193.0/http/server.ts";
export type {
ConnInfo,
ServeInit,
} 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";
} from "https://deno.land/std@0.193.0/http/server.ts";
export { Status } from "https://deno.land/std@0.193.0/http/http_status.ts";
export {
typeByExtension,
} 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";
export * as JSONC from "https://deno.land/std@0.190.0/jsonc/mod.ts";
} from "https://deno.land/std@0.193.0/media_types/mod.ts";
export { toHashString } from "https://deno.land/std@0.193.0/crypto/to_hash_string.ts";
export { escape } from "https://deno.land/std@0.193.0/regexp/escape.ts";
export * as JSONC from "https://deno.land/std@0.193.0/jsonc/mod.ts";
+1 -1
View File
@@ -1,5 +1,5 @@
import { ServerContext } from "./context.ts";
import * as colors from "https://deno.land/std@0.190.0/fmt/colors.ts";
import * as colors from "https://deno.land/std@0.193.0/fmt/colors.ts";
import { ConnInfo, serve, ServeHandler } from "./deps.ts";
export { Status } from "./deps.ts";
import {
+1 -1
View File
@@ -2,7 +2,7 @@ import * as path from "$std/path/mod.ts";
import {
assertMatch,
assertNotMatch,
} from "https://deno.land/std@0.190.0/testing/asserts.ts";
} from "https://deno.land/std@0.193.0/testing/asserts.ts";
import { Status } from "../src/server/deps.ts";
import {
assert,
+5 -5
View File
@@ -8,13 +8,13 @@ export {
assert,
assertEquals,
assertStringIncludes,
} from "https://deno.land/std@0.190.0/testing/asserts.ts";
export { assertSnapshot } from "https://deno.land/std@0.190.0/testing/snapshot.ts";
} from "https://deno.land/std@0.193.0/testing/asserts.ts";
export { assertSnapshot } from "https://deno.land/std@0.193.0/testing/snapshot.ts";
export {
TextLineStream,
} 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";
} from "https://deno.land/std@0.193.0/streams/text_line_stream.ts";
export { delay } from "https://deno.land/std@0.193.0/async/delay.ts";
export { retry } from "https://deno.land/std@0.193.0/async/retry.ts";
export {
default as puppeteer,
Page,
+1 -1
View File
@@ -10,7 +10,7 @@ import manifest from "./fixture/fresh.gen.ts";
import options from "./fixture/options.ts";
import { BUILD_ID } from "../src/server/build_id.ts";
import { startFreshServer } from "./test_utils.ts";
import { assertMatch } from "https://deno.land/std@0.190.0/testing/asserts.ts";
import { assertMatch } from "https://deno.land/std@0.193.0/testing/asserts.ts";
const ctx = await ServerContext.fromManifest(manifest, options);
const handler = ctx.handler();
+2 -2
View File
@@ -1,7 +1,7 @@
import { useSignal } from "@preact/signals";
import Prism from "https://esm.sh/prismjs@1.27.0";
import "https://esm.sh/prismjs@1.27.0/components/prism-typescript?no-check";
import Prism from "https://esm.sh/prismjs@1.29.0";
import "https://esm.sh/prismjs@1.29.0/components/prism-typescript?no-check";
interface CodeBoxProps {
code: string;
+1 -1
View File
@@ -12,7 +12,7 @@
"preact-render-to-string": "https://esm.sh/*preact-render-to-string@6.1.0",
"@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.190.0/",
"$std/": "https://deno.land/std@0.193.0/",
"$ga4": "https://raw.githubusercontent.com/denoland/ga4/main/mod.ts"
},
"compilerOptions": {
+1 -1
View File
@@ -45,7 +45,7 @@ export default function Home(props: PageProps<HomeProps>) {
<title>{TITLE}</title>
<link
rel="stylesheet"
href="https://esm.sh/prismjs@1.27.0/themes/prism-dark.min.css"
href="https://esm.sh/prismjs@1.29.0/themes/prism-dark.min.css"
/>
<meta name="description" content={DESCRIPTION} />
<meta property="og:title" content={TITLE} />
+4 -4
View File
@@ -1,6 +1,6 @@
import { RouteConfig } from "$fresh/server.ts";
import { Handlers } from "$fresh/server.ts";
import { parse } from "$std/semver/mod.ts";
import { format, parse } from "$std/semver/mod.ts";
import VERSIONS from "../../versions.json" assert { type: "json" };
import { extname } from "$std/path/mod.ts";
@@ -22,16 +22,16 @@ export const handler: Handlers = {
const isHTML = accept?.includes("text/html");
const { version, path } = ctx.params;
const semver = parse(version, { includePrerelease: true });
const semver = parse(version);
if (!semver) {
return new Response("Invalid version", { status: 400 });
}
if (!VERSIONS.includes(semver.version)) {
if (!VERSIONS.includes(format(semver))) {
return new Response("Version not found", { status: 404 });
}
const url = `${BASE_URL}${semver.version}/${path}`;
const url = `${BASE_URL}${format(semver)}/${path}`;
const r = await fetch(url, { redirect: "manual" });
const response = new Response(r.body, r);
response.headers.delete("content-encoding");
+1 -1
View File
@@ -1,4 +1,4 @@
export * as gfm from "https://deno.land/x/gfm@0.2.1/mod.ts";
export * as gfm from "https://deno.land/x/gfm@0.2.5/mod.ts";
import "https://esm.sh/prismjs@1.29.0/components/prism-jsx.js?no-check";
import "https://esm.sh/prismjs@1.29.0/components/prism-typescript.js?no-check";
import "https://esm.sh/prismjs@1.29.0/components/prism-tsx.js?no-check";
+1 -1
View File
@@ -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.190.0/path/mod.ts";
import { join } from "https://deno.land/std@0.193.0/path/mod.ts";
const url = Deno.args[0];
const id = Deno.args[1];