chore: bump deps (#2000)

This commit is contained in:
Reed von Redwitz
2023-11-03 16:52:54 +01:00
committed by GitHub
parent d06f88cd24
commit da90d92ebd
36 changed files with 104 additions and 88 deletions
+6 -4
View File
@@ -1,14 +1,16 @@
import * as path from "$std/path/mod.ts";
import { puppeteer } from "./deps.ts";
import { assert } from "$std/_util/asserts.ts";
import {
assert,
assertNotMatch,
assertStringIncludes,
puppeteer,
} from "./deps.ts";
import {
getStdOutput,
startFreshServer,
waitForText,
} from "$fresh/tests/test_utils.ts";
import { BuildSnapshotJson } from "$fresh/src/build/mod.ts";
import { assertStringIncludes } from "$std/testing/asserts.ts";
import { assertNotMatch } from "$std/testing/asserts.ts";
function runBuild(fixture: string, subDirPath: string, outDir: string) {
return new Deno.Command(Deno.execPath(), {
+1 -1
View File
@@ -5,7 +5,7 @@ import {
assertMatch,
assertNotEquals,
assertNotMatch,
} from "$std/testing/asserts.ts";
} from "./deps.ts";
import versions from "../versions.json" assert { type: "json" };
import { CheckFile } from "$fresh/src/dev/update_check.ts";
import { WEEK } from "$fresh/src/dev/deps.ts";
+10 -7
View File
@@ -9,16 +9,17 @@ export {
assertEquals,
assertExists,
assertMatch,
assertNotEquals,
assertNotMatch,
assertRejects,
assertStringIncludes,
} from "https://deno.land/std@0.193.0/testing/asserts.ts";
export { assertSnapshot } from "https://deno.land/std@0.193.0/testing/snapshot.ts";
} from "https://deno.land/std@0.205.0/assert/mod.ts";
export { assertSnapshot } from "https://deno.land/std@0.205.0/testing/snapshot.ts";
export {
TextLineStream,
} 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";
} from "https://deno.land/std@0.205.0/streams/text_line_stream.ts";
export { delay } from "https://deno.land/std@0.205.0/async/delay.ts";
export { retry } from "https://deno.land/std@0.205.0/async/retry.ts";
export {
default as puppeteer,
Page,
@@ -31,11 +32,13 @@ export {
} from "https://esm.sh/linkedom@0.15.1";
export { defineConfig, type Preset } from "https://esm.sh/@twind/core@1.1.3";
export { default as presetTailwind } from "https://esm.sh/@twind/preset-tailwind@1.1.4";
export * as fs from "https://deno.land/std@0.195.0/fs/mod.ts";
export { copy } from "https://deno.land/std@0.205.0/fs/mod.ts";
export {
basename,
dirname,
extname,
fromFileUrl,
join,
relative,
} from "https://deno.land/std@0.193.0/path/mod.ts";
} from "https://deno.land/std@0.205.0/path/mod.ts";
export * as JSONC from "https://deno.land/std@0.205.0/jsonc/mod.ts";
+1 -1
View File
@@ -4,7 +4,7 @@ import {
assertTextMany,
withFakeServe,
} from "$fresh/tests/test_utils.ts";
import { assertNotMatch } from "$std/testing/asserts.ts";
import { assertNotMatch } from "./deps.ts";
Deno.test("doesn't apply internal app template", async () => {
await withFakeServe(
+3 -3
View File
@@ -1,11 +1,11 @@
import * as path from "https://deno.land/std@0.192.0/path/mod.ts";
import { basename, dirname, extname, fromFileUrl } from "../../deps.ts";
const __dirname = path.dirname(path.fromFileUrl(import.meta.url));
const __dirname = dirname(fromFileUrl(import.meta.url));
const links: string[] = [];
for (const file of Deno.readDirSync(__dirname)) {
if (file.name.startsWith("index")) continue;
const name = path.basename(file.name, path.extname(file.name));
const name = basename(file.name, extname(file.name));
links.push(name);
}
@@ -1,11 +1,11 @@
import * as path from "https://deno.land/std@0.192.0/path/mod.ts";
import { basename, dirname, extname, fromFileUrl } from "../../deps.ts";
const __dirname = path.dirname(path.fromFileUrl(import.meta.url));
const __dirname = dirname(fromFileUrl(import.meta.url));
const links: string[] = [];
for (const file of Deno.readDirSync(__dirname)) {
if (file.name.startsWith("index")) continue;
const name = path.basename(file.name, path.extname(file.name));
const name = basename(file.name, extname(file.name));
links.push(name);
}
+3 -3
View File
@@ -1,11 +1,11 @@
import * as path from "https://deno.land/std@0.192.0/path/mod.ts";
import { basename, dirname, extname, fromFileUrl } from "../../deps.ts";
const __dirname = path.dirname(path.fromFileUrl(import.meta.url));
const __dirname = dirname(fromFileUrl(import.meta.url));
const links: string[] = [];
for (const file of Deno.readDirSync(__dirname)) {
if (file.name.startsWith("index")) continue;
const name = path.basename(file.name, path.extname(file.name));
const name = basename(file.name, extname(file.name));
links.push(name);
}
@@ -1,5 +1,5 @@
import { defineConfig } from "$fresh/src/server/defines.ts";
import * as path from "https://deno.land/std@0.193.0/path/mod.ts";
import { relative } from "../deps.ts";
export default defineConfig({
plugins: [
@@ -24,7 +24,7 @@ export default defineConfig({
{
name: "c",
buildStart(config) {
const outDir = path.relative(Deno.cwd(), config.build.outDir);
const outDir = relative(Deno.cwd(), config.build.outDir);
console.log(`Plugin c: ${outDir}`);
},
},
+3 -3
View File
@@ -1,11 +1,11 @@
import * as path from "https://deno.land/std@0.192.0/path/mod.ts";
import { basename, dirname, extname, fromFileUrl } from "../../deps.ts";
const __dirname = path.dirname(path.fromFileUrl(import.meta.url));
const __dirname = dirname(fromFileUrl(import.meta.url));
const links: string[] = [];
for (const file of Deno.readDirSync(__dirname)) {
if (file.name.startsWith("index")) continue;
const name = path.basename(file.name, path.extname(file.name));
const name = basename(file.name, extname(file.name));
links.push(name);
}
+1 -1
View File
@@ -10,7 +10,7 @@
"preact/": "https://esm.sh/preact@10.15.1/",
"@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.205.0/"
},
"compilerOptions": {
"jsx": "react-jsx",
@@ -1,11 +1,11 @@
import * as path from "https://deno.land/std@0.192.0/path/mod.ts";
import { basename, dirname, extname, fromFileUrl } from "../../deps.ts";
const __dirname = path.dirname(path.fromFileUrl(import.meta.url));
const __dirname = dirname(fromFileUrl(import.meta.url));
const links: string[] = [];
for (const file of Deno.readDirSync(__dirname)) {
if (file.name.startsWith("index")) continue;
const name = path.basename(file.name, path.extname(file.name));
const name = basename(file.name, extname(file.name));
links.push(name);
}
+3 -3
View File
@@ -1,11 +1,11 @@
import * as path from "https://deno.land/std@0.192.0/path/mod.ts";
import { basename, dirname, extname, fromFileUrl } from "../../deps.ts";
const __dirname = path.dirname(path.fromFileUrl(import.meta.url));
const __dirname = dirname(fromFileUrl(import.meta.url));
const links: string[] = [];
for (const file of Deno.readDirSync(__dirname)) {
if (file.name.startsWith("index")) continue;
const name = path.basename(file.name, path.extname(file.name));
const name = basename(file.name, extname(file.name));
links.push(name);
}
+1 -1
View File
@@ -1,6 +1,6 @@
import { copy } from "https://deno.land/std@0.204.0/fs/copy.ts";
import {
basename,
copy,
delay,
dirname,
join,
+1 -2
View File
@@ -1,5 +1,4 @@
import { assert, assertEquals, assertMatch } from "$std/testing/asserts.ts";
import { Page } from "./deps.ts";
import { assert, assertEquals, assertMatch, Page } from "./deps.ts";
import {
assertMetaContent,
assertNoComments,
+1 -1
View File
@@ -1,8 +1,8 @@
import { assertMatch } from "$std/testing/asserts.ts";
import { ServerContext, Status } from "../server.ts";
import {
assert,
assertEquals,
assertMatch,
assertStringIncludes,
delay,
join,
+1 -1
View File
@@ -3,7 +3,7 @@ import {
parseHtml,
withFakeServe,
} from "$fresh/tests/test_utils.ts";
import { assertEquals } from "$std/testing/asserts.ts";
import { assertEquals } from "./deps.ts";
import { createHandler } from "$fresh/server.ts";
import manifest from "./fixture/fresh.gen.ts";
import config from "./fixture/fresh.config.ts";
+1 -2
View File
@@ -1,9 +1,8 @@
import { startFreshServerExpectErrors } from "./test_utils.ts";
import { dirname, join } from "$std/path/mod.ts";
import { assertStringIncludes } from "./deps.ts";
import { assertEquals, assertStringIncludes } from "./deps.ts";
import { ServerContext } from "$fresh/server.ts";
import manifest from "./fixture/fresh.gen.ts";
import { assertEquals } from "$std/testing/asserts.ts";
const dir = dirname(import.meta.url);
+1 -1
View File
@@ -1,4 +1,4 @@
import { assertEquals } from "$std/testing/asserts.ts";
import { assertEquals } from "./deps.ts";
import {
assertTextMany,
parseHtml,
+1 -1
View File
@@ -1,5 +1,4 @@
import { colors, toFileUrl } from "$fresh/src/server/deps.ts";
import { assert } from "$std/_util/asserts.ts";
import * as path from "$std/path/mod.ts";
import {
FromManifestConfig,
@@ -8,6 +7,7 @@ import {
ServerContext,
} from "$fresh/server.ts";
import {
assert,
assertEquals,
basename,
delay,
+1 -1
View File
@@ -1,12 +1,12 @@
import * as path from "$std/path/mod.ts";
import { DenoConfig } from "$fresh/server.ts";
import { JSONC } from "../src/server/deps.ts";
import {
assertEquals,
assertExists,
assertMatch,
assertRejects,
assertStringIncludes,
JSONC,
retry,
} from "./deps.ts";