diff --git a/deno.json b/deno.json index 63e198a..abdc967 100644 --- a/deno.json +++ b/deno.json @@ -3,6 +3,7 @@ "dev": "deno run --watch src/main.ts" }, "imports": { + "@fedify/fedify": "jsr:@fedify/fedify@^1.0.2", "@std/assert": "jsr:@std/assert@1" } } diff --git a/deno.lock b/deno.lock new file mode 100644 index 0000000..6047b43 --- /dev/null +++ b/deno.lock @@ -0,0 +1,286 @@ +{ + "version": "3", + "packages": { + "specifiers": { + "jsr:@fedify/fedify@^1.0.2": "jsr:@fedify/fedify@1.0.2", + "jsr:@hugoalh/http-header-link@^1.0.2": "jsr:@hugoalh/http-header-link@1.0.2", + "jsr:@hugoalh/is-string-singleline@1.0.2": "jsr:@hugoalh/is-string-singleline@1.0.2", + "jsr:@logtape/logtape@^0.6.2": "jsr:@logtape/logtape@0.6.3", + "jsr:@std/assert@1": "jsr:@std/assert@1.0.6", + "jsr:@std/bytes@^1.0.2": "jsr:@std/bytes@1.0.2", + "jsr:@std/encoding@^1.0.5": "jsr:@std/encoding@1.0.5", + "jsr:@std/http@^1.0.6": "jsr:@std/http@1.0.8", + "jsr:@std/internal@^1.0.4": "jsr:@std/internal@1.0.4", + "jsr:@std/semver@^1.0.3": "jsr:@std/semver@1.0.3", + "npm:@phensley/language-tag@^1.9.0": "npm:@phensley/language-tag@1.9.0", + "npm:asn1js@^3.0.5": "npm:asn1js@3.0.5", + "npm:json-canon@^1.0.1": "npm:json-canon@1.0.1", + "npm:jsonld@^8.3.2": "npm:jsonld@8.3.2", + "npm:multibase@^4.0.6": "npm:multibase@4.0.6", + "npm:multicodec@^3.2.1": "npm:multicodec@3.2.1", + "npm:pkijs@^3.2.4": "npm:pkijs@3.2.4", + "npm:uri-template-router@^0.0.16": "npm:uri-template-router@0.0.16", + "npm:url-template@^3.1.1": "npm:url-template@3.1.1" + }, + "jsr": { + "@fedify/fedify@1.0.2": { + "integrity": "e2ad764a08112776110518504d20f82c28c4e7455439e62c48d093dbd4911510", + "dependencies": [ + "jsr:@hugoalh/http-header-link@^1.0.2", + "jsr:@logtape/logtape@^0.6.2", + "jsr:@std/bytes@^1.0.2", + "jsr:@std/encoding@^1.0.5", + "jsr:@std/http@^1.0.6", + "jsr:@std/semver@^1.0.3", + "npm:@phensley/language-tag@^1.9.0", + "npm:asn1js@^3.0.5", + "npm:json-canon@^1.0.1", + "npm:jsonld@^8.3.2", + "npm:multibase@^4.0.6", + "npm:multicodec@^3.2.1", + "npm:pkijs@^3.2.4", + "npm:uri-template-router@^0.0.16", + "npm:url-template@^3.1.1" + ] + }, + "@hugoalh/http-header-link@1.0.2": { + "integrity": "1f607e34ac0790a0b0759f89ade294ab3a1d211e46a8dea337eaafa26950205f", + "dependencies": [ + "jsr:@hugoalh/is-string-singleline@1.0.2" + ] + }, + "@hugoalh/is-string-singleline@1.0.2": { + "integrity": "f79dc9930bd89f3534db2efc93293fde5af81648dacbb87afd921cd6a163c9bd" + }, + "@logtape/logtape@0.6.3": { + "integrity": "64cac3459fddf0455b85d36c8ca3e21764d6b2965c426fb40a0e4a98be436d2b" + }, + "@std/assert@1.0.6": { + "integrity": "1904c05806a25d94fe791d6d883b685c9e2dcd60e4f9fc30f4fc5cf010c72207", + "dependencies": [ + "jsr:@std/internal@^1.0.4" + ] + }, + "@std/bytes@1.0.2": { + "integrity": "fbdee322bbd8c599a6af186a1603b3355e59a5fb1baa139f8f4c3c9a1b3e3d57" + }, + "@std/encoding@1.0.5": { + "integrity": "ecf363d4fc25bd85bd915ff6733a7e79b67e0e7806334af15f4645c569fefc04" + }, + "@std/http@1.0.8": { + "integrity": "6ea1b2e8d33929967754a3b6d6c6f399ad6647d7bbb5a466c1eaf9b294a6ebcd" + }, + "@std/internal@1.0.4": { + "integrity": "62e8e4911527e5e4f307741a795c0b0a9e6958d0b3790716ae71ce085f755422" + }, + "@std/semver@1.0.3": { + "integrity": "7c139c6076a080eeaa4252c78b95ca5302818d7eafab0470d34cafd9930c13c8" + } + }, + "npm": { + "@digitalbazaar/http-client@3.4.1_ky@0.33.3": { + "integrity": "sha512-Ahk1N+s7urkgj7WvvUND5f8GiWEPfUw0D41hdElaqLgu8wZScI8gdI0q+qWw5N1d35x7GCRH2uk9mi+Uzo9M3g==", + "dependencies": { + "ky": "ky@0.33.3", + "ky-universal": "ky-universal@0.11.0_ky@0.33.3", + "undici": "undici@5.28.4" + } + }, + "@fastify/busboy@2.1.1": { + "integrity": "sha512-vBZP4NlzfOlerQTnba4aqZoMhE/a9HY7HRqoOPaETQcSQuWEIyZMHGfVu6w9wGtGK5fED5qRs2DteVCjOH60sA==", + "dependencies": {} + }, + "@multiformats/base-x@4.0.1": { + "integrity": "sha512-eMk0b9ReBbV23xXU693TAIrLyeO5iTgBZGSJfpqriG8UkYvr/hC9u9pyMlAakDNHWmbhMZCDs6KQO0jzKD8OTw==", + "dependencies": {} + }, + "@noble/hashes@1.5.0": { + "integrity": "sha512-1j6kQFb7QRru7eKN3ZDvRcP13rugwdxZqCjbiAVZfIJwgj2A65UmT4TgARXGlXgnRkORLTDTrO19ZErt7+QXgA==", + "dependencies": {} + }, + "@phensley/language-tag@1.9.0": { + "integrity": "sha512-nj2uFsnp2SSD/DEGvLqcrpTXerIe9yShGndnwY7p3Z6Ep4m6+GkrgZCNJUc8rKcXWgQmRGC2TUzwG/LlBVtuCA==", + "dependencies": { + "tslib": "tslib@2.7.0" + } + }, + "abort-controller@3.0.0": { + "integrity": "sha512-h8lQ8tacZYnR3vNQTgibj+tODHI5/+l06Au2Pcriv/Gmet0eaj4TwWH41sO9wnHDiQsEj19q0drzdWdeAHtweg==", + "dependencies": { + "event-target-shim": "event-target-shim@5.0.1" + } + }, + "asn1js@3.0.5": { + "integrity": "sha512-FVnvrKJwpt9LP2lAMl8qZswRNm3T4q9CON+bxldk2iwk3FFpuwhx2FfinyitizWHsVYyaY+y5JzDR0rCMV5yTQ==", + "dependencies": { + "pvtsutils": "pvtsutils@1.3.5", + "pvutils": "pvutils@1.1.3", + "tslib": "tslib@2.7.0" + } + }, + "bytestreamjs@2.0.1": { + "integrity": "sha512-U1Z/ob71V/bXfVABvNr/Kumf5VyeQRBEm6Txb0PQ6S7V5GpBM3w4Cbqz/xPDicR5tN0uvDifng8C+5qECeGwyQ==", + "dependencies": {} + }, + "canonicalize@1.0.8": { + "integrity": "sha512-0CNTVCLZggSh7bc5VkX5WWPWO+cyZbNd07IHIsSXLia/eAq+r836hgk+8BKoEh7949Mda87VUOitx5OddVj64A==", + "dependencies": {} + }, + "data-uri-to-buffer@4.0.1": { + "integrity": "sha512-0R9ikRb668HB7QDxT1vkpuUBtqc53YyAwMwGeUFKRojY/NWKvdZ+9UYtRfGmhqNbRkTSVpMbmyhXipFFv2cb/A==", + "dependencies": {} + }, + "event-target-shim@5.0.1": { + "integrity": "sha512-i/2XbnSz/uxRCU6+NdVJgKWDTM427+MqYbkQzD321DuCQJUqOuJKIA0IM2+W2xtYHdKOmZ4dR6fExsd4SXL+WQ==", + "dependencies": {} + }, + "fetch-blob@3.2.0": { + "integrity": "sha512-7yAQpD2UMJzLi1Dqv7qFYnPbaPx7ZfFK6PiIxQ4PfkGPyNyl2Ugx+a/umUonmKqjhM4DnfbMvdX6otXq83soQQ==", + "dependencies": { + "node-domexception": "node-domexception@1.0.0", + "web-streams-polyfill": "web-streams-polyfill@3.3.3" + } + }, + "formdata-polyfill@4.0.10": { + "integrity": "sha512-buewHzMvYL29jdeQTVILecSaZKnt/RJWjoZCF5OW60Z67/GmSLBkOFM7qh1PI3zFNtJbaZL5eQu1vLfazOwj4g==", + "dependencies": { + "fetch-blob": "fetch-blob@3.2.0" + } + }, + "json-canon@1.0.1": { + "integrity": "sha512-PQcj4PFOTAQxE8PgoQ4KrM0DcKWZd7S3ELOON8rmysl9I8JuFMgxu1H9v+oZsTPjjkpeS3IHPwLjr7d+gKygnw==", + "dependencies": {} + }, + "jsonld@8.3.2": { + "integrity": "sha512-MwBbq95szLwt8eVQ1Bcfwmgju/Y5P2GdtlHE2ncyfuYjIdEhluUVyj1eudacf1mOkWIoS9GpDBTECqhmq7EOaA==", + "dependencies": { + "@digitalbazaar/http-client": "@digitalbazaar/http-client@3.4.1_ky@0.33.3", + "canonicalize": "canonicalize@1.0.8", + "lru-cache": "lru-cache@6.0.0", + "rdf-canonize": "rdf-canonize@3.4.0" + } + }, + "ky-universal@0.11.0_ky@0.33.3": { + "integrity": "sha512-65KyweaWvk+uKKkCrfAf+xqN2/epw1IJDtlyCPxYffFCMR8u1sp2U65NtWpnozYfZxQ6IUzIlvUcw+hQ82U2Xw==", + "dependencies": { + "abort-controller": "abort-controller@3.0.0", + "ky": "ky@0.33.3", + "node-fetch": "node-fetch@3.3.2" + } + }, + "ky@0.33.3": { + "integrity": "sha512-CasD9OCEQSFIam2U8efFK81Yeg8vNMTBUqtMOHlrcWQHqUX3HeCl9Dr31u4toV7emlH8Mymk5+9p0lL6mKb/Xw==", + "dependencies": {} + }, + "lru-cache@6.0.0": { + "integrity": "sha512-Jo6dJ04CmSjuznwJSS3pUeWmd/H0ffTlkXXgwZi+eq1UCmqQwCh+eLsYOYCwY991i2Fah4h1BEMCx4qThGbsiA==", + "dependencies": { + "yallist": "yallist@4.0.0" + } + }, + "multibase@4.0.6": { + "integrity": "sha512-x23pDe5+svdLz/k5JPGCVdfn7Q5mZVMBETiC+ORfO+sor9Sgs0smJzAjfTbM5tckeCqnaUuMYoz+k3RXMmJClQ==", + "dependencies": { + "@multiformats/base-x": "@multiformats/base-x@4.0.1" + } + }, + "multicodec@3.2.1": { + "integrity": "sha512-+expTPftro8VAW8kfvcuNNNBgb9gPeNYV9dn+z1kJRWF2vih+/S79f2RVeIwmrJBUJ6NT9IUPWnZDQvegEh5pw==", + "dependencies": { + "uint8arrays": "uint8arrays@3.1.1", + "varint": "varint@6.0.0" + } + }, + "multiformats@9.9.0": { + "integrity": "sha512-HoMUjhH9T8DDBNT+6xzkrd9ga/XiBI4xLr58LJACwK6G3HTOPeMz4nB4KJs33L2BelrIJa7P0VuNaVF3hMYfjg==", + "dependencies": {} + }, + "node-domexception@1.0.0": { + "integrity": "sha512-/jKZoMpw0F8GRwl4/eLROPA3cfcXtLApP0QzLmUT/HuPCZWyB7IY9ZrMeKw2O/nFIqPQB3PVM9aYm0F312AXDQ==", + "dependencies": {} + }, + "node-fetch@3.3.2": { + "integrity": "sha512-dRB78srN/l6gqWulah9SrxeYnxeddIG30+GOqK/9OlLVyLg3HPnr6SqOWTWOXKRwC2eGYCkZ59NNuSgvSrpgOA==", + "dependencies": { + "data-uri-to-buffer": "data-uri-to-buffer@4.0.1", + "fetch-blob": "fetch-blob@3.2.0", + "formdata-polyfill": "formdata-polyfill@4.0.10" + } + }, + "pkijs@3.2.4": { + "integrity": "sha512-Et9V5QpvBilPFgagJcaKBqXjKrrgF5JL2mSDELk1vvbOTt4fuBhSSsGn9Tcz0TQTfS5GCpXQ31Whrpqeqp0VRg==", + "dependencies": { + "@noble/hashes": "@noble/hashes@1.5.0", + "asn1js": "asn1js@3.0.5", + "bytestreamjs": "bytestreamjs@2.0.1", + "pvtsutils": "pvtsutils@1.3.5", + "pvutils": "pvutils@1.1.3", + "tslib": "tslib@2.7.0" + } + }, + "pvtsutils@1.3.5": { + "integrity": "sha512-ARvb14YB9Nm2Xi6nBq1ZX6dAM0FsJnuk+31aUp4TrcZEdKUlSqOqsxJHUPJDNE3qiIp+iUPEIeR6Je/tgV7zsA==", + "dependencies": { + "tslib": "tslib@2.7.0" + } + }, + "pvutils@1.1.3": { + "integrity": "sha512-pMpnA0qRdFp32b1sJl1wOJNxZLQ2cbQx+k6tjNtZ8CpvVhNqEPRgivZ2WOUev2YMajecdH7ctUPDvEe87nariQ==", + "dependencies": {} + }, + "rdf-canonize@3.4.0": { + "integrity": "sha512-fUeWjrkOO0t1rg7B2fdyDTvngj+9RlUyL92vOdiB7c0FPguWVsniIMjEtHH+meLBO9rzkUlUzBVXgWrjI8P9LA==", + "dependencies": { + "setimmediate": "setimmediate@1.0.5" + } + }, + "setimmediate@1.0.5": { + "integrity": "sha512-MATJdZp8sLqDl/68LfQmbP8zKPLQNV6BIZoIgrscFDQ+RsvK/BxeDQOgyxKKoh0y/8h3BqVFnCqQ/gd+reiIXA==", + "dependencies": {} + }, + "tslib@2.7.0": { + "integrity": "sha512-gLXCKdN1/j47AiHiOkJN69hJmcbGTHI0ImLmbYLHykhgeN0jVGola9yVjFgzCUklsZQMW55o+dW7IXv3RCXDzA==", + "dependencies": {} + }, + "uint8arrays@3.1.1": { + "integrity": "sha512-+QJa8QRnbdXVpHYjLoTpJIdCTiw9Ir62nocClWuXIq2JIh4Uta0cQsTSpFL678p2CN8B+XSApwcU+pQEqVpKWg==", + "dependencies": { + "multiformats": "multiformats@9.9.0" + } + }, + "undici@5.28.4": { + "integrity": "sha512-72RFADWFqKmUb2hmmvNODKL3p9hcB6Gt2DOQMis1SEBaV6a4MH8soBvzg+95CYhCKPFedut2JY9bMfrDl9D23g==", + "dependencies": { + "@fastify/busboy": "@fastify/busboy@2.1.1" + } + }, + "uri-template-router@0.0.16": { + "integrity": "sha512-kvIuR8BtfL/VXFCM5hA7kjfYBdxMKQMmjOOA2zPUR1Xy7K+aVF2cVWMDaQEa2O74WN7zMloyvvmYjNJ38fVUew==", + "dependencies": {} + }, + "url-template@3.1.1": { + "integrity": "sha512-4oszoaEKE/mQOtAmdMWqIRHmkxWkUZMnXFnjQ5i01CuRSK3uluxcH1MRVVVWmhlnzT1SCDfKxxficm2G37qzCA==", + "dependencies": {} + }, + "varint@6.0.0": { + "integrity": "sha512-cXEIW6cfr15lFv563k4GuVuW/fiwjknytD37jIOLSdSWuOI6WnO/oKwmP2FQTU2l01LP8/M5TSAJpzUaGe3uWg==", + "dependencies": {} + }, + "web-streams-polyfill@3.3.3": { + "integrity": "sha512-d2JWLCivmZYTSIoge9MsgFCZrt571BikcWGYkjC1khllbTeDlGqZ2D8vD8E/lJa8WGWbb7Plm8/XJYV7IJHZZw==", + "dependencies": {} + }, + "yallist@4.0.0": { + "integrity": "sha512-3wdGidZyq5PB084XLES5TpOSRA3wjXAlIWMhum2kRcv/41Sn2emQ0dycQW4uZXLejwKvg6EsvbdlVL+FYEct7A==", + "dependencies": {} + } + } + }, + "remote": {}, + "workspace": { + "dependencies": [ + "jsr:@fedify/fedify@^1.0.2", + "jsr:@std/assert@1" + ] + } +}