@fedify/fedify 1.4.0-dev.587 → 1.4.0-dev.593
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGES.md +38 -0
- package/esm/deno.js +1 -1
- package/esm/federation/collection.js +1 -1
- package/esm/runtime/docloader.js +12 -1
- package/esm/runtime/key.js +3 -3
- package/esm/sig/http.js +2 -2
- package/esm/sig/ld.js +2 -2
- package/esm/sig/proof.js +1 -1
- package/esm/vocab/vocab.js +173 -173
- package/package.json +1 -1
- package/types/deps/jsr.io/@std/encoding/{1.0.5 → 1.0.6}/_validate_binary_like.d.ts.map +1 -1
- package/types/deps/jsr.io/@std/encoding/{1.0.5 → 1.0.6}/base64.d.ts.map +1 -1
- package/types/deps/jsr.io/@std/encoding/{1.0.5 → 1.0.6}/base64url.d.ts.map +1 -1
- package/types/deps/jsr.io/@std/encoding/{1.0.5 → 1.0.6}/hex.d.ts.map +1 -1
- package/types/runtime/docloader.d.ts.map +1 -1
- /package/esm/deps/jsr.io/@std/encoding/{1.0.5 → 1.0.6}/_validate_binary_like.js +0 -0
- /package/esm/deps/jsr.io/@std/encoding/{1.0.5 → 1.0.6}/base64.js +0 -0
- /package/esm/deps/jsr.io/@std/encoding/{1.0.5 → 1.0.6}/base64url.js +0 -0
- /package/esm/deps/jsr.io/@std/encoding/{1.0.5 → 1.0.6}/hex.js +0 -0
- /package/types/deps/jsr.io/@std/encoding/{1.0.5 → 1.0.6}/_validate_binary_like.d.ts +0 -0
- /package/types/deps/jsr.io/@std/encoding/{1.0.5 → 1.0.6}/base64.d.ts +0 -0
- /package/types/deps/jsr.io/@std/encoding/{1.0.5 → 1.0.6}/base64url.d.ts +0 -0
- /package/types/deps/jsr.io/@std/encoding/{1.0.5 → 1.0.6}/hex.d.ts +0 -0
package/CHANGES.md
CHANGED
@@ -20,6 +20,15 @@ To be released.
|
|
20
20
|
[#195]: https://github.com/dahlia/fedify/issues/195
|
21
21
|
|
22
22
|
|
23
|
+
Version 1.3.2
|
24
|
+
-------------
|
25
|
+
|
26
|
+
Released on December 18, 2024.
|
27
|
+
|
28
|
+
- Fixed the default document loader to handle the `Link` header with
|
29
|
+
incorrect syntax. [[#196]]
|
30
|
+
|
31
|
+
|
23
32
|
Version 1.3.1
|
24
33
|
-------------
|
25
34
|
|
@@ -146,6 +155,15 @@ Released on November 30, 2024.
|
|
146
155
|
[#193]: https://github.com/dahlia/fedify/issues/193
|
147
156
|
|
148
157
|
|
158
|
+
Version 1.2.10
|
159
|
+
--------------
|
160
|
+
|
161
|
+
Released on December 18, 2024.
|
162
|
+
|
163
|
+
- Fixed the default document loader to handle the `Link` header with
|
164
|
+
incorrect syntax. [[#196]]
|
165
|
+
|
166
|
+
|
149
167
|
Version 1.2.9
|
150
168
|
-------------
|
151
169
|
|
@@ -361,6 +379,15 @@ Released on October 31, 2024.
|
|
361
379
|
[#118]: https://github.com/dahlia/fedify/issues/118
|
362
380
|
|
363
381
|
|
382
|
+
Version 1.1.10
|
383
|
+
--------------
|
384
|
+
|
385
|
+
Released on December 18, 2024.
|
386
|
+
|
387
|
+
- Fixed the default document loader to handle the `Link` header with
|
388
|
+
incorrect syntax. [[#196]]
|
389
|
+
|
390
|
+
|
364
391
|
Version 1.1.9
|
365
392
|
-------------
|
366
393
|
|
@@ -617,6 +644,17 @@ Released on October 20, 2024.
|
|
617
644
|
[#150]: https://github.com/dahlia/fedify/issues/150
|
618
645
|
|
619
646
|
|
647
|
+
Version 1.0.13
|
648
|
+
--------------
|
649
|
+
|
650
|
+
Released on December 18, 2024.
|
651
|
+
|
652
|
+
- Fixed the default document loader to handle the `Link` header with
|
653
|
+
incorrect syntax. [[#196]]
|
654
|
+
|
655
|
+
[#196]: https://github.com/dahlia/fedify/issues/196
|
656
|
+
|
657
|
+
|
620
658
|
Version 1.0.12
|
621
659
|
--------------
|
622
660
|
|
package/esm/deno.js
CHANGED
package/esm/runtime/docloader.js
CHANGED
@@ -66,7 +66,18 @@ async function getRemoteDocument(url, response, fetch) {
|
|
66
66
|
const linkHeader = response.headers.get("Link");
|
67
67
|
let contextUrl = null;
|
68
68
|
if (linkHeader != null) {
|
69
|
-
|
69
|
+
let link;
|
70
|
+
try {
|
71
|
+
link = new HTTPHeaderLink(linkHeader);
|
72
|
+
}
|
73
|
+
catch (e) {
|
74
|
+
if (e instanceof SyntaxError) {
|
75
|
+
link = new HTTPHeaderLink();
|
76
|
+
}
|
77
|
+
else {
|
78
|
+
throw e;
|
79
|
+
}
|
80
|
+
}
|
70
81
|
if (jsonLd) {
|
71
82
|
const entries = link.getByRel("http://www.w3.org/ns/json-ld#context");
|
72
83
|
for (const [uri, params] of entries) {
|
package/esm/runtime/key.js
CHANGED
@@ -1,9 +1,9 @@
|
|
1
1
|
import * as dntShim from "../_dnt.shims.js";
|
2
2
|
import { createPublicKey } from "node:crypto";
|
3
3
|
import { concat } from "../deps/jsr.io/@std/bytes/1.0.4/concat.js";
|
4
|
-
import { decodeBase64, encodeBase64 } from "../deps/jsr.io/@std/encoding/1.0.
|
5
|
-
import { decodeBase64Url } from "../deps/jsr.io/@std/encoding/1.0.
|
6
|
-
import { decodeHex } from "../deps/jsr.io/@std/encoding/1.0.
|
4
|
+
import { decodeBase64, encodeBase64 } from "../deps/jsr.io/@std/encoding/1.0.6/base64.js";
|
5
|
+
import { decodeBase64Url } from "../deps/jsr.io/@std/encoding/1.0.6/base64url.js";
|
6
|
+
import { decodeHex } from "../deps/jsr.io/@std/encoding/1.0.6/hex.js";
|
7
7
|
import { Integer, Sequence } from "asn1js";
|
8
8
|
import { decode, encode } from "multibase";
|
9
9
|
import { addPrefix, getCodeFromData, rmPrefix } from "multicodec";
|
package/esm/sig/http.js
CHANGED
@@ -3,8 +3,8 @@ import { getLogger } from "@logtape/logtape";
|
|
3
3
|
import { SpanStatusCode, trace, } from "@opentelemetry/api";
|
4
4
|
import { ATTR_HTTP_REQUEST_HEADER, ATTR_HTTP_REQUEST_METHOD, ATTR_URL_FULL, } from "@opentelemetry/semantic-conventions";
|
5
5
|
import { equals } from "../deps/jsr.io/@std/bytes/1.0.4/mod.js";
|
6
|
-
import { decodeBase64, encodeBase64 } from "../deps/jsr.io/@std/encoding/1.0.
|
7
|
-
import { encodeHex } from "../deps/jsr.io/@std/encoding/1.0.
|
6
|
+
import { decodeBase64, encodeBase64 } from "../deps/jsr.io/@std/encoding/1.0.6/base64.js";
|
7
|
+
import { encodeHex } from "../deps/jsr.io/@std/encoding/1.0.6/hex.js";
|
8
8
|
import metadata from "../deno.js";
|
9
9
|
import { CryptographicKey } from "../vocab/vocab.js";
|
10
10
|
import { fetchKey, validateCryptoKey } from "./key.js";
|
package/esm/sig/ld.js
CHANGED
@@ -1,8 +1,8 @@
|
|
1
1
|
import * as dntShim from "../_dnt.shims.js";
|
2
2
|
import { getLogger } from "@logtape/logtape";
|
3
3
|
import { SpanStatusCode, trace } from "@opentelemetry/api";
|
4
|
-
import { decodeBase64, encodeBase64 } from "../deps/jsr.io/@std/encoding/1.0.
|
5
|
-
import { encodeHex } from "../deps/jsr.io/@std/encoding/1.0.
|
4
|
+
import { decodeBase64, encodeBase64 } from "../deps/jsr.io/@std/encoding/1.0.6/base64.js";
|
5
|
+
import { encodeHex } from "../deps/jsr.io/@std/encoding/1.0.6/hex.js";
|
6
6
|
// @ts-ignore TS7016
|
7
7
|
import jsonld from "jsonld";
|
8
8
|
import metadata from "../deno.js";
|
package/esm/sig/proof.js
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
import * as dntShim from "../_dnt.shims.js";
|
2
2
|
import { getLogger } from "@logtape/logtape";
|
3
3
|
import { SpanStatusCode, trace } from "@opentelemetry/api";
|
4
|
-
import { encodeHex } from "../deps/jsr.io/@std/encoding/1.0.
|
4
|
+
import { encodeHex } from "../deps/jsr.io/@std/encoding/1.0.6/hex.js";
|
5
5
|
// @ts-ignore: json-canon is not typed
|
6
6
|
import serialize from "json-canon";
|
7
7
|
import metadata from "../deno.js";
|