chore: bump deps (#2000)
This commit is contained in:
@@ -1,7 +1,6 @@
|
||||
import { assertEquals } from "$std/testing/asserts.ts";
|
||||
import { assertSnapshot } from "$std/testing/snapshot.ts";
|
||||
import { createCodeFrame, getFirstUserFile } from "./code_frame.ts";
|
||||
import { colors } from "./deps.ts";
|
||||
import { assertEquals, colors } from "./deps.ts";
|
||||
|
||||
function testCodeFrame(text: string, line: number, column: number) {
|
||||
const codeFrame = createCodeFrame(text, line, column);
|
||||
|
||||
+13
-9
@@ -6,18 +6,22 @@ export {
|
||||
isAbsolute,
|
||||
join,
|
||||
toFileUrl,
|
||||
} 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 * as colors from "https://deno.land/std@0.193.0/fmt/colors.ts";
|
||||
} from "https://deno.land/std@0.205.0/path/mod.ts";
|
||||
export { walk } from "https://deno.land/std@0.205.0/fs/walk.ts";
|
||||
export * as colors from "https://deno.land/std@0.205.0/fmt/colors.ts";
|
||||
export {
|
||||
type Handler as ServeHandler,
|
||||
serve,
|
||||
} 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";
|
||||
} from "https://deno.land/std@0.205.0/http/server.ts";
|
||||
export { Status } from "https://deno.land/std@0.205.0/http/http_status.ts";
|
||||
export {
|
||||
typeByExtension,
|
||||
} 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";
|
||||
} from "https://deno.land/std@0.205.0/media_types/mod.ts";
|
||||
export { toHashString } from "https://deno.land/std@0.205.0/crypto/to_hash_string.ts";
|
||||
export { escape } from "https://deno.land/std@0.205.0/regexp/escape.ts";
|
||||
export * as JSONC from "https://deno.land/std@0.205.0/jsonc/mod.ts";
|
||||
export { renderToString } from "https://esm.sh/*preact-render-to-string@6.2.2";
|
||||
export {
|
||||
assertEquals,
|
||||
assertThrows,
|
||||
} from "https://deno.land/std@0.205.0/assert/mod.ts";
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
import { assertEquals, assertThrows } from "$std/testing/asserts.ts";
|
||||
import { assertEquals, assertThrows } from "./deps.ts";
|
||||
import { pathToPattern, sortRoutePaths } from "./fs_extract.ts";
|
||||
|
||||
Deno.test("pathToPattern", async (t) => {
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
import { assertEquals } from "$std/testing/asserts.ts";
|
||||
import { assertEquals } from "./deps.ts";
|
||||
import { IS_PATTERN, patternToRegExp } from "./router.ts";
|
||||
|
||||
function testPattern(input: string, test: string) {
|
||||
|
||||
Reference in New Issue
Block a user