From ab0e9a7af4e8e4c77ed3e4413f002b4e47b4e151 Mon Sep 17 00:00:00 2001 From: Hong Minhee Date: Tue, 24 Sep 2024 17:19:38 +0900 Subject: [PATCH] Upgrade LogTape to 0.6.0 --- cli/import_map.g.json | 35 +++++++++++++---------------- cli/import_map.json | 2 +- examples/blog/import_map.g.json | 40 +++++++++++++++------------------ examples/blog/import_map.json | 1 + src/deno.json | 2 +- 5 files changed, 36 insertions(+), 44 deletions(-) diff --git a/cli/import_map.g.json b/cli/import_map.g.json index f72286b7..4bd93e58 100644 --- a/cli/import_map.g.json +++ b/cli/import_map.g.json @@ -1,12 +1,13 @@ { "imports": { - "@cfworker/json-schema": "npm:@cfworker/json-schema@^1.12.8", + "@cfworker/json-schema": "npm:@cfworker/json-schema@^2.0.1", "@david/which-runtime": "jsr:@david/which-runtime@^0.2.0", "@deno/dnt": "jsr:@deno/dnt@0.41.2", "@fedify/fedify": "../src/./mod.ts", "@fedify/fedify/federation": "../src/./federation/mod.ts", "@fedify/fedify/nodeinfo": "../src/./nodeinfo/mod.ts", "@fedify/fedify/runtime": "../src/./runtime/mod.ts", + "@fedify/fedify/sig": "../src/./sig/mod.ts", "@fedify/fedify/vocab": "../src/./vocab/mod.ts", "@fedify/fedify/webfinger": "../src/./webfinger/mod.ts", "@fedify/fedify/x/denokv": "../src/./x/denokv.ts", @@ -14,37 +15,31 @@ "@fedify/fedify/x/hono": "../src/./x/hono.ts", "@hongminhee/aitertools": "jsr:@hongminhee/aitertools@^0.6.0", "@hugoalh/http-header-link": "jsr:@hugoalh/http-header-link@^1.0.2", - "@logtape/logtape": "jsr:@logtape/logtape@^0.5.1", - "@phensley/language-tag": "npm:@phensley/language-tag@^1.8.1", + "@logtape/logtape": "jsr:@logtape/logtape@^0.6.0", + "@phensley/language-tag": "npm:@phensley/language-tag@^1.9.0", "@std/assert": "jsr:@std/assert@^0.226.0", - "@std/async/delay": "jsr:@std/async@^0.224.2/delay", - "@std/bytes": "jsr:@std/bytes@^1.0.0", - "@std/bytes/concat": "jsr:@std/bytes@^1.0.0/concat", - "@std/collections": "jsr:@std/collections@^0.224.2", - "@std/encoding": "jsr:@std/encoding@^0.224.3", - "@std/encoding/base64": "jsr:@std/encoding@^0.224.3/base64", - "@std/encoding/base64url": "jsr:@std/encoding@^0.224.3/base64url", - "@std/encoding/hex": "jsr:@std/encoding@^0.224.3/hex", + "@std/async": "jsr:@std/async@^1.0.5", + "@std/bytes": "jsr:@std/bytes@^1.0.2", + "@std/collections": "jsr:@std/collections@^1.0.6", + "@std/encoding": "jsr:@std/encoding@^1.0.5", "@std/fs": "jsr:@std/fs@^0.229.3", - "@std/http/negotiation": "jsr:@std/http@^0.224.4/negotiation", - "@std/json/common": "jsr:@std/json@^0.224.1/common", + "@std/http": "jsr:@std/http@^1.0.6", "@std/path": "jsr:@std/path@^0.225.1", "@std/semver": "jsr:@std/semver@^0.224.3", "@std/testing": "jsr:@std/testing@^0.224.0", - "@std/text": "jsr:@std/text@^0.224.3", - "@std/url": "jsr:@std/url@^0.224.1", - "@std/yaml": "jsr:@std/yaml@^0.224.1", + "@std/text": "jsr:@std/text@^1.0.6", + "@std/url": "jsr:@std/url@^0.225.1", + "@std/yaml": "jsr:@std/yaml@^0.224.3", "asn1js": "npm:asn1js@^3.0.5", - "fast-check": "npm:fast-check@^3.19.0", + "fast-check": "npm:fast-check@^3.22.0", "json-canon": "npm:json-canon@^1.0.1", "jsonld": "npm:jsonld@^8.3.2", - "mock_fetch": "https://raw.githubusercontent.com/dahlia/deno_mock_fetch/internalize-router/mod.ts", + "mock_fetch": "jsr:@hongminhee/deno-mock-fetch@^0.3.2", "multibase": "npm:multibase@^4.0.6", "multicodec": "npm:multicodec@^3.2.1", - "pkijs": "npm:pkijs@^3.1.0", + "pkijs": "npm:pkijs@^3.2.4", "uri-template-router": "npm:uri-template-router@^0.0.16", "url-template": "npm:url-template@^3.1.1", - "@fedify/fedify/sig": "../src/./sig/mod.ts", "@cliffy/ansi": "jsr:@cliffy/ansi@1.0.0-rc.4", "@cliffy/command": "jsr:@cliffy/command@1.0.0-rc.4", "@cliffy/prompt": "jsr:@cliffy/prompt@1.0.0-rc.4", diff --git a/cli/import_map.json b/cli/import_map.json index 402ecb30..4e29eb27 100644 --- a/cli/import_map.json +++ b/cli/import_map.json @@ -7,7 +7,7 @@ "@cross/dir": "jsr:@cross/dir@^1.1.0", "@david/dax": "jsr:@david/dax@^0.41.0", "@hongminhee/localtunnel": "jsr:@hongminhee/localtunnel@^0.2.0", - "@logtape/logtape": "jsr:@logtape/logtape@^0.5.1", + "@logtape/logtape": "jsr:@logtape/logtape@^0.6.0", "@poppanator/http-constants": "npm:@poppanator/http-constants@^1.1.1", "@std/dotenv": "jsr:@std/dotenv@^0.225.2", "@std/fs": "jsr:@std/fs@^0.229.3", diff --git a/examples/blog/import_map.g.json b/examples/blog/import_map.g.json index 5963340a..0eeb00c7 100644 --- a/examples/blog/import_map.g.json +++ b/examples/blog/import_map.g.json @@ -1,12 +1,13 @@ { "imports": { - "@cfworker/json-schema": "npm:@cfworker/json-schema@^1.12.8", + "@cfworker/json-schema": "npm:@cfworker/json-schema@^2.0.1", "@david/which-runtime": "jsr:@david/which-runtime@^0.2.0", - "@deno/dnt": "jsr:@deno/dnt@^0.41.2", + "@deno/dnt": "jsr:@deno/dnt@0.41.2", "@fedify/fedify": "../../src.mod.ts", "@fedify/fedify/federation": "../../src/federation/mod.ts", "@fedify/fedify/nodeinfo": "../../src/nodeinfo/mod.ts", "@fedify/fedify/runtime": "../../src/runtime/mod.ts", + "@fedify/fedify/sig": "../../src/sig/mod.ts", "@fedify/fedify/vocab": "../../src/vocab/mod.ts", "@fedify/fedify/webfinger": "../../src/webfinger/mod.ts", "@fedify/fedify/x/denokv": "../../src/x/denokv.ts", @@ -14,41 +15,36 @@ "@fedify/fedify/x/hono": "./x/hono.ts", "@hongminhee/aitertools": "jsr:@hongminhee/aitertools@^0.6.0", "@hugoalh/http-header-link": "jsr:@hugoalh/http-header-link@^1.0.2", - "@logtape/logtape": "jsr:@logtape/logtape@^0.4.0", - "@phensley/language-tag": "npm:@phensley/language-tag@^1.8.1", + "@logtape/logtape": "jsr:@logtape/logtape@^0.6.0", + "@phensley/language-tag": "npm:@phensley/language-tag@^1.9.0", "@std/assert": "jsr:@std/assert@^0.226.0", - "@std/async/delay": "jsr:@std/async@^0.224.2/delay", - "@std/bytes": "jsr:@std/bytes@^1.0.0", - "@std/bytes/concat": "jsr:@std/bytes@^1.0.0/concat", - "@std/collections": "jsr:@std/collections@^0.224.2", - "@std/encoding": "jsr:@std/encoding@^0.224.3", - "@std/encoding/base64": "jsr:@std/encoding@^0.224.3/base64", - "@std/encoding/base64url": "jsr:@std/encoding@^0.224.3/base64url", - "@std/encoding/hex": "jsr:@std/encoding@^0.224.3/hex", - "@std/fs": "jsr:@std/fs@^0.224.0", - "@std/http/negotiation": "jsr:@std/http@^0.224.4/negotiation", - "@std/json/common": "jsr:@std/json@^0.224.1/common", + "@std/async": "jsr:@std/async@^1.0.5", + "@std/bytes": "jsr:@std/bytes@^1.0.2", + "@std/collections": "jsr:@std/collections@^1.0.6", + "@std/encoding": "jsr:@std/encoding@^1.0.5", + "@std/fs": "jsr:@std/fs@^1.0.3", + "@std/http": "jsr:@std/http@^1.0.6", "@std/path": "jsr:@std/path@^0.225.2", "@std/semver": "jsr:@std/semver@^0.224.3", "@std/testing": "jsr:@std/testing@^0.224.0", - "@std/text": "jsr:@std/text@^0.224.3", - "@std/url": "jsr:@std/url@^0.224.1", - "@std/yaml": "jsr:@std/yaml@^0.224.1", + "@std/text": "jsr:@std/text@^1.0.6", + "@std/url": "jsr:@std/url@^0.225.1", + "@std/yaml": "jsr:@std/yaml@^0.224.3", "asn1js": "npm:asn1js@^3.0.5", - "fast-check": "npm:fast-check@^3.19.0", + "fast-check": "npm:fast-check@^3.22.0", "json-canon": "npm:json-canon@^1.0.1", "jsonld": "npm:jsonld@^8.3.2", - "mock_fetch": "https://raw.githubusercontent.com/dahlia/deno_mock_fetch/internalize-router/mod.ts", + "mock_fetch": "jsr:@hongminhee/deno-mock-fetch@^0.3.2", "multibase": "npm:multibase@^4.0.6", "multicodec": "npm:multicodec@^3.2.1", - "pkijs": "npm:pkijs@^3.1.0", + "pkijs": "npm:pkijs@^3.2.4", "uri-template-router": "npm:uri-template-router@^0.0.16", "url-template": "npm:url-template@^3.1.1", "$fresh/": "https://deno.land/x/fresh@1.6.8/", "@preact/signals": "https://esm.sh/*@preact/signals@1.2.3", "@preact/signals-core": "https://esm.sh/*@preact/signals-core@1.6.1", "@std/dotenv/load": "jsr:@std/dotenv@^0.224.0/load", - "@fedify/fedify/sig": "../../src/sig/mod.ts", + "@std/encoding/hex": "jsr:@std/encoding@^0.224.3/hex", "@hongminhee/x-forwarded-fetch": "jsr:@hongminhee/x-forwarded-fetch@^0.2.0", "markdown-it": "npm:markdown-it@^14.1.0", "preact": "https://esm.sh/preact@10.22.0", diff --git a/examples/blog/import_map.json b/examples/blog/import_map.json index 77a23865..b2ee37c8 100644 --- a/examples/blog/import_map.json +++ b/examples/blog/import_map.json @@ -17,6 +17,7 @@ "@fedify/fedify/x/fresh": "../../src/x/fresh.ts", "@fedify/fedify/x/denokv": "../../src/x/denokv.ts", "@hongminhee/x-forwarded-fetch": "jsr:@hongminhee/x-forwarded-fetch@^0.2.0", + "@logtape/logtape": "jsr:@logtape/logtape@^0.6.0", "markdown-it": "npm:markdown-it@^14.1.0", "preact": "https://esm.sh/preact@10.22.0", "preact/": "https://esm.sh/preact@10.22.0/", diff --git a/src/deno.json b/src/deno.json index e44fe9dc..382f6d20 100644 --- a/src/deno.json +++ b/src/deno.json @@ -30,7 +30,7 @@ "@fedify/fedify/x/hono": "./x/hono.ts", "@hongminhee/aitertools": "jsr:@hongminhee/aitertools@^0.6.0", "@hugoalh/http-header-link": "jsr:@hugoalh/http-header-link@^1.0.2", - "@logtape/logtape": "jsr:@logtape/logtape@^0.5.1", + "@logtape/logtape": "jsr:@logtape/logtape@^0.6.0", "@phensley/language-tag": "npm:@phensley/language-tag@^1.9.0", "@std/assert": "jsr:@std/assert@^0.226.0", "@std/async": "jsr:@std/async@^1.0.5",