Skip to content

Commit 426b46a

Browse files
committedMar 2, 2024
chore: update deps
1 parent b1dcf16 commit 426b46a

File tree

16 files changed

+55
-47
lines changed

16 files changed

+55
-47
lines changed
 

‎.vscode/import_map.json

+3-3
Original file line numberDiff line numberDiff line change
@@ -4,9 +4,9 @@
44
},
55
"imports": {
66
"$fresh/": "https://raw.githubusercontent.com/denoland/fresh/844370cadd1ed28fd76f796c2afc1e2411bfc425/",
7-
"preact": "https://esm.sh/preact@10.19.3",
8-
"preact/": "https://esm.sh/preact@10.19.3/",
9-
"$std/": "https://deno.land/std@0.214.0/",
7+
"preact": "https://esm.sh/preact@10.19.6",
8+
"preact/": "https://esm.sh/preact@10.19.6/",
9+
"$std/": "https://deno.land/std@0.218.2/",
1010
"@preact/signals-core": "https://esm.sh/*@preact/signals-core@1.5.1",
1111
"@preact/signals": "https://esm.sh/*@preact/signals@1.2.2",
1212
"tailwindcss": "npm:tailwindcss@3.4.1",

‎LICENSE

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
MIT License
22

3-
Copyright (c) 2023 Reed von Redwitz
3+
Copyright (c) 2024 Reed von Redwitz
44

55
Permission is hereby granted, free of charge, to any person obtaining a copy of
66
this software and associated documentation files (the "Software"), to deal in

‎deps.ts

+8-7
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
export * as preact from "https://esm.sh/preact@10.19.3";
1+
export * as preact from "https://esm.sh/preact@10.19.6";
22
export type {
33
FreshContext,
44
Handlers,
@@ -13,16 +13,17 @@ export {
1313
extname,
1414
fromFileUrl,
1515
join,
16-
} from "https://deno.land/std@0.214.0/path/mod.ts";
17-
export * as JSONC from "https://deno.land/std@0.214.0/jsonc/mod.ts";
18-
export { extract } from "https://deno.land/std@0.214.0/front_matter/yaml.ts";
16+
} from "https://deno.land/std@0.218.2/path/mod.ts";
17+
export * as JSONC from "https://deno.land/std@0.218.2/jsonc/mod.ts";
18+
export { extract } from "https://deno.land/std@0.218.2/front_matter/yaml.ts";
1919
export { CSS, render, Renderer } from "https://deno.land/x/gfm@0.6.0/mod.ts";
20-
export { load } from "https://deno.land/std@0.214.0/dotenv/mod.ts";
21-
export { existsSync } from "https://deno.land/std@0.214.0/fs/mod.ts";
20+
export { load } from "https://deno.land/std@0.218.2/dotenv/mod.ts";
21+
export { existsSync } from "https://deno.land/std@0.218.2/fs/mod.ts";
2222
export { Client } from "https://deno.land/x/notion_sdk@v2.2.3/src/mod.ts";
2323
export type {
2424
CodeBlockObjectResponse,
2525
PageObjectResponse,
2626
RichTextItemResponse,
2727
} from "https://deno.land/x/notion_sdk@v2.2.3/src/api-endpoints.ts";
28-
export { $ } from "https://deno.land/x/dax@0.38.0/mod.ts";
28+
export { $ } from "jsr:@david/dax@0.39.2";
29+
export { upNlevels } from "jsr:@deer/upnlevels@0.0.1";

‎src/plugin/blog.ts

+9-2
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,11 @@
1-
import { dirname, existsSync, fromFileUrl, join, Plugin } from "../../deps.ts";
1+
import {
2+
dirname,
3+
existsSync,
4+
fromFileUrl,
5+
join,
6+
Plugin,
7+
upNlevels,
8+
} from "../../deps.ts";
29
import { handler as blogSlugHandler } from "../routes/blog/[slug].tsx";
310
import { createPostPage } from "../routes/blog/[slug].tsx";
411
import { AppBuilder } from "../routes/_app.tsx";
@@ -71,7 +78,7 @@ export function blogPlugin(
7178
return {
7279
name: "blog_plugin",
7380
location: import.meta.url,
74-
projectLocation: new URL("../../", import.meta.url).href,
81+
projectLocation: upNlevels(import.meta.url, 2),
7582
middlewares: [{
7683
middleware: {
7784
handler: contextMiddleware(

‎tests/custom_titles_fixture/deno.json

+3-3
Original file line numberDiff line numberDiff line change
@@ -8,14 +8,14 @@
88
},
99
"imports": {
1010
"$fresh/": "https://raw.githubusercontent.com/denoland/fresh/844370cadd1ed28fd76f796c2afc1e2411bfc425/",
11-
"preact": "https://esm.sh/preact@10.19.3",
12-
"preact/": "https://esm.sh/preact@10.19.3/",
11+
"preact": "https://esm.sh/preact@10.19.6",
12+
"preact/": "https://esm.sh/preact@10.19.6/",
1313
"@preact/signals": "https://esm.sh/*@preact/signals@1.2.2",
1414
"@preact/signals-core": "https://esm.sh/*@preact/signals-core@1.5.1",
1515
"tailwindcss": "npm:tailwindcss@3.4.1",
1616
"tailwindcss/": "npm:/tailwindcss@3.4.1/",
1717
"tailwindcss/plugin": "npm:/tailwindcss@3.4.1/plugin.js",
18-
"$std/": "https://deno.land/std@0.214.0/"
18+
"$std/": "https://deno.land/std@0.218.2/"
1919
},
2020
"compilerOptions": { "jsx": "react-jsx", "jsxImportSource": "preact" },
2121
"lint": { "rules": { "tags": ["fresh", "recommended"] } },

‎tests/empty_posts_dir_fixture/deno.json

+3-3
Original file line numberDiff line numberDiff line change
@@ -8,14 +8,14 @@
88
},
99
"imports": {
1010
"$fresh/": "https://raw.githubusercontent.com/denoland/fresh/844370cadd1ed28fd76f796c2afc1e2411bfc425/",
11-
"preact": "https://esm.sh/preact@10.19.3",
12-
"preact/": "https://esm.sh/preact@10.19.3/",
11+
"preact": "https://esm.sh/preact@10.19.6",
12+
"preact/": "https://esm.sh/preact@10.19.6/",
1313
"@preact/signals": "https://esm.sh/*@preact/signals@1.2.2",
1414
"@preact/signals-core": "https://esm.sh/*@preact/signals-core@1.5.1",
1515
"tailwindcss": "npm:tailwindcss@3.4.1",
1616
"tailwindcss/": "npm:/tailwindcss@3.4.1/",
1717
"tailwindcss/plugin": "npm:/tailwindcss@3.4.1/plugin.js",
18-
"$std/": "https://deno.land/std@0.214.0/"
18+
"$std/": "https://deno.land/std@0.218.2/"
1919
},
2020
"compilerOptions": { "jsx": "react-jsx", "jsxImportSource": "preact" },
2121
"lint": { "rules": { "tags": ["fresh", "recommended"] } },

‎tests/fixture/deno.json

+3-3
Original file line numberDiff line numberDiff line change
@@ -8,14 +8,14 @@
88
},
99
"imports": {
1010
"$fresh/": "https://raw.githubusercontent.com/denoland/fresh/844370cadd1ed28fd76f796c2afc1e2411bfc425/",
11-
"preact": "https://esm.sh/preact@10.19.3",
12-
"preact/": "https://esm.sh/preact@10.19.3/",
11+
"preact": "https://esm.sh/preact@10.19.6",
12+
"preact/": "https://esm.sh/preact@10.19.6/",
1313
"@preact/signals": "https://esm.sh/*@preact/signals@1.2.2",
1414
"@preact/signals-core": "https://esm.sh/*@preact/signals-core@1.5.1",
1515
"tailwindcss": "npm:tailwindcss@3.4.1",
1616
"tailwindcss/": "npm:/tailwindcss@3.4.1/",
1717
"tailwindcss/plugin": "npm:/tailwindcss@3.4.1/plugin.js",
18-
"$std/": "https://deno.land/std@0.214.0/"
18+
"$std/": "https://deno.land/std@0.218.2/"
1919
},
2020
"compilerOptions": { "jsx": "react-jsx", "jsxImportSource": "preact" },
2121
"lint": { "rules": { "tags": ["fresh", "recommended"] } },

‎tests/localization_fixture/deno.json

+3-3
Original file line numberDiff line numberDiff line change
@@ -8,14 +8,14 @@
88
},
99
"imports": {
1010
"$fresh/": "https://raw.githubusercontent.com/denoland/fresh/844370cadd1ed28fd76f796c2afc1e2411bfc425/",
11-
"preact": "https://esm.sh/preact@10.19.3",
12-
"preact/": "https://esm.sh/preact@10.19.3/",
11+
"preact": "https://esm.sh/preact@10.19.6",
12+
"preact/": "https://esm.sh/preact@10.19.6/",
1313
"@preact/signals": "https://esm.sh/*@preact/signals@1.2.2",
1414
"@preact/signals-core": "https://esm.sh/*@preact/signals-core@1.5.1",
1515
"tailwindcss": "npm:tailwindcss@3.4.1",
1616
"tailwindcss/": "npm:/tailwindcss@3.4.1/",
1717
"tailwindcss/plugin": "npm:/tailwindcss@3.4.1/plugin.js",
18-
"$std/": "https://deno.land/std@0.214.0/"
18+
"$std/": "https://deno.land/std@0.218.2/"
1919
},
2020
"compilerOptions": { "jsx": "react-jsx", "jsxImportSource": "preact" },
2121
"lint": { "rules": { "tags": ["fresh", "recommended"] } },

‎tests/localization_test.ts

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
import {
22
assertEquals,
33
assertExists,
4-
} from "https://deno.land/std@0.214.0/assert/mod.ts";
4+
} from "https://deno.land/std@0.218.2/assert/mod.ts";
55
import blogConfig from "./localization_fixture/blog.config.ts";
66
import { languages } from "../src/utils/localization.ts";
77
import { createHandler } from "../deps.ts";

‎tests/no_posts_dir_fixture/deno.json

+3-3
Original file line numberDiff line numberDiff line change
@@ -8,14 +8,14 @@
88
},
99
"imports": {
1010
"$fresh/": "https://raw.githubusercontent.com/denoland/fresh/844370cadd1ed28fd76f796c2afc1e2411bfc425/",
11-
"preact": "https://esm.sh/preact@10.19.3",
12-
"preact/": "https://esm.sh/preact@10.19.3/",
11+
"preact": "https://esm.sh/preact@10.19.6",
12+
"preact/": "https://esm.sh/preact@10.19.6/",
1313
"@preact/signals": "https://esm.sh/*@preact/signals@1.2.2",
1414
"@preact/signals-core": "https://esm.sh/*@preact/signals-core@1.5.1",
1515
"tailwindcss": "npm:tailwindcss@3.4.1",
1616
"tailwindcss/": "npm:/tailwindcss@3.4.1/",
1717
"tailwindcss/plugin": "npm:/tailwindcss@3.4.1/plugin.js",
18-
"$std/": "https://deno.land/std@0.214.0/"
18+
"$std/": "https://deno.land/std@0.218.2/"
1919
},
2020
"compilerOptions": { "jsx": "react-jsx", "jsxImportSource": "preact" },
2121
"lint": { "rules": { "tags": ["fresh", "recommended"] } },

‎tests/notion_no_posts_dir_fixture/deno.json

+3-3
Original file line numberDiff line numberDiff line change
@@ -8,14 +8,14 @@
88
},
99
"imports": {
1010
"$fresh/": "https://raw.githubusercontent.com/denoland/fresh/844370cadd1ed28fd76f796c2afc1e2411bfc425/",
11-
"preact": "https://esm.sh/preact@10.19.3",
12-
"preact/": "https://esm.sh/preact@10.19.3/",
11+
"preact": "https://esm.sh/preact@10.19.6",
12+
"preact/": "https://esm.sh/preact@10.19.6/",
1313
"@preact/signals": "https://esm.sh/*@preact/signals@1.2.2",
1414
"@preact/signals-core": "https://esm.sh/*@preact/signals-core@1.5.1",
1515
"tailwindcss": "npm:tailwindcss@3.4.1",
1616
"tailwindcss/": "npm:/tailwindcss@3.4.1/",
1717
"tailwindcss/plugin": "npm:/tailwindcss@3.4.1/plugin.js",
18-
"$std/": "https://deno.land/std@0.214.0/"
18+
"$std/": "https://deno.land/std@0.218.2/"
1919
},
2020
"compilerOptions": { "jsx": "react-jsx", "jsxImportSource": "preact" },
2121
"lint": { "rules": { "tags": ["fresh", "recommended"] } },

‎tests/notion_test.ts

+1-1
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ import manifest from "./fixture/fresh.gen.ts";
66
import { blogPlugin } from "../src/plugin/blog.ts";
77
import { Context } from "../src/routes/_middleware.ts";
88

9-
import "https://deno.land/std@0.214.0/dotenv/load.ts";
9+
import "https://deno.land/std@0.218.2/dotenv/load.ts";
1010

1111
parameterizedTests(notionConfig);
1212

‎tests/responsive_navbar_fixture/deno.json

+3-3
Original file line numberDiff line numberDiff line change
@@ -8,14 +8,14 @@
88
},
99
"imports": {
1010
"$fresh/": "https://raw.githubusercontent.com/denoland/fresh/844370cadd1ed28fd76f796c2afc1e2411bfc425/",
11-
"preact": "https://esm.sh/preact@10.19.3",
12-
"preact/": "https://esm.sh/preact@10.19.3/",
11+
"preact": "https://esm.sh/preact@10.19.6",
12+
"preact/": "https://esm.sh/preact@10.19.6/",
1313
"@preact/signals": "https://esm.sh/*@preact/signals@1.2.2",
1414
"@preact/signals-core": "https://esm.sh/*@preact/signals-core@1.5.1",
1515
"tailwindcss": "npm:tailwindcss@3.4.1",
1616
"tailwindcss/": "npm:/tailwindcss@3.4.1/",
1717
"tailwindcss/plugin": "npm:/tailwindcss@3.4.1/plugin.js",
18-
"$std/": "https://deno.land/std@0.214.0/"
18+
"$std/": "https://deno.land/std@0.218.2/"
1919
},
2020
"compilerOptions": { "jsx": "react-jsx", "jsxImportSource": "preact" },
2121
"lint": { "rules": { "tags": ["fresh", "recommended"] } },

‎tests/separate_index_fixture/deno.json

+3-3
Original file line numberDiff line numberDiff line change
@@ -8,14 +8,14 @@
88
},
99
"imports": {
1010
"$fresh/": "https://raw.githubusercontent.com/denoland/fresh/844370cadd1ed28fd76f796c2afc1e2411bfc425/",
11-
"preact": "https://esm.sh/preact@10.19.3",
12-
"preact/": "https://esm.sh/preact@10.19.3/",
11+
"preact": "https://esm.sh/preact@10.19.6",
12+
"preact/": "https://esm.sh/preact@10.19.6/",
1313
"@preact/signals": "https://esm.sh/*@preact/signals@1.2.2",
1414
"@preact/signals-core": "https://esm.sh/*@preact/signals-core@1.5.1",
1515
"tailwindcss": "npm:tailwindcss@3.4.1",
1616
"tailwindcss/": "npm:/tailwindcss@3.4.1/",
1717
"tailwindcss/plugin": "npm:/tailwindcss@3.4.1/plugin.js",
18-
"$std/": "https://deno.land/std@0.214.0/"
18+
"$std/": "https://deno.land/std@0.218.2/"
1919
},
2020
"compilerOptions": { "jsx": "react-jsx", "jsxImportSource": "preact" },
2121
"lint": { "rules": { "tags": ["fresh", "recommended"] } },

‎tests/styles_fixture/deno.json

+3-3
Original file line numberDiff line numberDiff line change
@@ -8,14 +8,14 @@
88
},
99
"imports": {
1010
"$fresh/": "https://raw.githubusercontent.com/denoland/fresh/844370cadd1ed28fd76f796c2afc1e2411bfc425/",
11-
"preact": "https://esm.sh/preact@10.19.3",
12-
"preact/": "https://esm.sh/preact@10.19.3/",
11+
"preact": "https://esm.sh/preact@10.19.6",
12+
"preact/": "https://esm.sh/preact@10.19.6/",
1313
"@preact/signals": "https://esm.sh/*@preact/signals@1.2.2",
1414
"@preact/signals-core": "https://esm.sh/*@preact/signals-core@1.5.1",
1515
"tailwindcss": "npm:tailwindcss@3.4.1",
1616
"tailwindcss/": "npm:/tailwindcss@3.4.1/",
1717
"tailwindcss/plugin": "npm:/tailwindcss@3.4.1/plugin.js",
18-
"$std/": "https://deno.land/std@0.214.0/"
18+
"$std/": "https://deno.land/std@0.218.2/"
1919
},
2020
"compilerOptions": { "jsx": "react-jsx", "jsxImportSource": "preact" },
2121
"lint": { "rules": { "tags": ["fresh", "recommended"] } },

‎tests/test_deps.ts

+5-5
Original file line numberDiff line numberDiff line change
@@ -8,17 +8,17 @@ export {
88
assertEquals,
99
assertNotEquals,
1010
assertStringIncludes,
11-
} from "https://deno.land/std@0.214.0/assert/mod.ts";
11+
} from "https://deno.land/std@0.218.2/assert/mod.ts";
1212
export {
1313
default as puppeteer,
1414
Page,
1515
} from "https://deno.land/x/puppeteer@16.2.0/mod.ts";
1616
export type {
1717
ChromeArgOptions,
1818
} from "https://deno.land/x/puppeteer@16.2.0/src/deno/LaunchOptions.ts";
19-
export { delay } from "https://deno.land/std@0.214.0/async/delay.ts";
19+
export { delay } from "https://deno.land/std@0.218.2/async/delay.ts";
2020
export {
2121
TextLineStream,
22-
} from "https://deno.land/std@0.214.0/streams/text_line_stream.ts";
23-
export { $ } from "https://deno.land/x/dax@0.38.0/mod.ts";
24-
export { STATUS_CODE } from "https://deno.land/std@0.214.0/http/status.ts";
22+
} from "https://deno.land/std@0.218.2/streams/text_line_stream.ts";
23+
export { $ } from "jsr:@david/dax@0.39.2";
24+
export { STATUS_CODE } from "https://deno.land/std@0.218.2/http/status.ts";

0 commit comments

Comments
 (0)