@fedify/fedify 1.3.6 → 1.3.8
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 +61 -0
- package/esm/deno.js +2 -2
- package/esm/deps/jsr.io/@std/bytes/1.0.5/_types.js +2 -0
- package/esm/deps/jsr.io/@std/bytes/{1.0.4 → 1.0.5}/concat.js +1 -1
- package/esm/deps/jsr.io/@std/bytes/{1.0.4 → 1.0.5}/copy.js +1 -1
- package/esm/deps/jsr.io/@std/bytes/{1.0.4 → 1.0.5}/ends_with.js +1 -1
- package/esm/deps/jsr.io/@std/bytes/{1.0.4 → 1.0.5}/equals.js +1 -1
- package/esm/deps/jsr.io/@std/bytes/{1.0.4 → 1.0.5}/includes_needle.js +1 -1
- package/esm/deps/jsr.io/@std/bytes/{1.0.4 → 1.0.5}/index_of_needle.js +1 -1
- package/esm/deps/jsr.io/@std/bytes/{1.0.4 → 1.0.5}/last_index_of_needle.js +1 -1
- package/esm/deps/jsr.io/@std/bytes/{1.0.4 → 1.0.5}/mod.js +1 -1
- package/esm/deps/jsr.io/@std/bytes/{1.0.4 → 1.0.5}/repeat.js +1 -1
- package/esm/deps/jsr.io/@std/bytes/{1.0.4 → 1.0.5}/starts_with.js +1 -1
- package/esm/deps/jsr.io/@std/encoding/1.0.7/_types.js +2 -0
- package/esm/deps/jsr.io/@std/encoding/{1.0.6 → 1.0.7}/_validate_binary_like.js +1 -1
- package/esm/deps/jsr.io/@std/encoding/{1.0.6 → 1.0.7}/base64.js +1 -1
- package/esm/deps/jsr.io/@std/encoding/{1.0.6 → 1.0.7}/base64url.js +1 -1
- package/esm/deps/jsr.io/@std/encoding/{1.0.6 → 1.0.7}/hex.js +1 -1
- package/esm/deps/jsr.io/@std/http/{1.0.12 → 1.0.13}/_negotiation/common.js +1 -1
- package/esm/deps/jsr.io/@std/http/{1.0.12 → 1.0.13}/_negotiation/encoding.js +1 -1
- package/esm/deps/jsr.io/@std/http/{1.0.12 → 1.0.13}/_negotiation/language.js +1 -1
- package/esm/deps/jsr.io/@std/http/{1.0.12 → 1.0.13}/_negotiation/media_type.js +1 -1
- package/esm/deps/jsr.io/@std/http/{1.0.12 → 1.0.13}/negotiation.js +1 -1
- package/esm/federation/collection.js +1 -1
- package/esm/federation/handler.js +1 -1
- package/esm/runtime/key.js +4 -4
- package/esm/sig/http.js +3 -3
- package/esm/sig/ld.js +2 -2
- package/esm/sig/proof.js +1 -1
- package/esm/vocab/vocab.js +320 -173
- package/package.json +2 -2
- package/types/deps/jsr.io/@std/bytes/1.0.5/_types.d.ts +9 -0
- package/types/deps/jsr.io/@std/bytes/1.0.5/_types.d.ts.map +1 -0
- package/types/deps/jsr.io/@std/bytes/{1.0.4 → 1.0.5}/concat.d.ts +3 -1
- package/types/deps/jsr.io/@std/bytes/1.0.5/concat.d.ts.map +1 -0
- package/types/deps/jsr.io/@std/bytes/{1.0.4 → 1.0.5}/copy.d.ts.map +1 -1
- package/types/deps/jsr.io/@std/bytes/{1.0.4 → 1.0.5}/ends_with.d.ts.map +1 -1
- package/types/deps/jsr.io/@std/bytes/{1.0.4 → 1.0.5}/equals.d.ts.map +1 -1
- package/types/deps/jsr.io/@std/bytes/{1.0.4 → 1.0.5}/includes_needle.d.ts.map +1 -1
- package/types/deps/jsr.io/@std/bytes/{1.0.4 → 1.0.5}/index_of_needle.d.ts.map +1 -1
- package/types/deps/jsr.io/@std/bytes/{1.0.4 → 1.0.5}/last_index_of_needle.d.ts.map +1 -1
- package/types/deps/jsr.io/@std/bytes/{1.0.4 → 1.0.5}/mod.d.ts.map +1 -1
- package/types/deps/jsr.io/@std/bytes/{1.0.4 → 1.0.5}/repeat.d.ts +3 -1
- package/types/deps/jsr.io/@std/bytes/1.0.5/repeat.d.ts.map +1 -0
- package/types/deps/jsr.io/@std/bytes/{1.0.4 → 1.0.5}/starts_with.d.ts.map +1 -1
- package/types/deps/jsr.io/@std/encoding/1.0.7/_types.d.ts +9 -0
- package/types/deps/jsr.io/@std/encoding/1.0.7/_types.d.ts.map +1 -0
- package/types/deps/jsr.io/@std/encoding/{1.0.6 → 1.0.7}/_validate_binary_like.d.ts.map +1 -1
- package/types/deps/jsr.io/@std/encoding/{1.0.6 → 1.0.7}/base64.d.ts +3 -1
- package/types/deps/jsr.io/@std/encoding/1.0.7/base64.d.ts.map +1 -0
- package/types/deps/jsr.io/@std/encoding/{1.0.6 → 1.0.7}/base64url.d.ts +3 -1
- package/types/deps/jsr.io/@std/encoding/1.0.7/base64url.d.ts.map +1 -0
- package/types/deps/jsr.io/@std/encoding/{1.0.6 → 1.0.7}/hex.d.ts +3 -1
- package/types/deps/jsr.io/@std/encoding/1.0.7/hex.d.ts.map +1 -0
- package/types/deps/jsr.io/@std/http/{1.0.12 → 1.0.13}/_negotiation/common.d.ts.map +1 -1
- package/types/deps/jsr.io/@std/http/{1.0.12 → 1.0.13}/_negotiation/encoding.d.ts.map +1 -1
- package/types/deps/jsr.io/@std/http/{1.0.12 → 1.0.13}/_negotiation/language.d.ts.map +1 -1
- package/types/deps/jsr.io/@std/http/{1.0.12 → 1.0.13}/_negotiation/media_type.d.ts.map +1 -1
- package/types/deps/jsr.io/@std/http/{1.0.12 → 1.0.13}/negotiation.d.ts.map +1 -1
- package/types/vocab/vocab.d.ts.map +1 -1
- package/types/deps/jsr.io/@std/bytes/1.0.4/concat.d.ts.map +0 -1
- package/types/deps/jsr.io/@std/bytes/1.0.4/repeat.d.ts.map +0 -1
- package/types/deps/jsr.io/@std/encoding/1.0.6/base64.d.ts.map +0 -1
- package/types/deps/jsr.io/@std/encoding/1.0.6/base64url.d.ts.map +0 -1
- package/types/deps/jsr.io/@std/encoding/1.0.6/hex.d.ts.map +0 -1
- /package/types/deps/jsr.io/@std/bytes/{1.0.4 → 1.0.5}/copy.d.ts +0 -0
- /package/types/deps/jsr.io/@std/bytes/{1.0.4 → 1.0.5}/ends_with.d.ts +0 -0
- /package/types/deps/jsr.io/@std/bytes/{1.0.4 → 1.0.5}/equals.d.ts +0 -0
- /package/types/deps/jsr.io/@std/bytes/{1.0.4 → 1.0.5}/includes_needle.d.ts +0 -0
- /package/types/deps/jsr.io/@std/bytes/{1.0.4 → 1.0.5}/index_of_needle.d.ts +0 -0
- /package/types/deps/jsr.io/@std/bytes/{1.0.4 → 1.0.5}/last_index_of_needle.d.ts +0 -0
- /package/types/deps/jsr.io/@std/bytes/{1.0.4 → 1.0.5}/mod.d.ts +0 -0
- /package/types/deps/jsr.io/@std/bytes/{1.0.4 → 1.0.5}/starts_with.d.ts +0 -0
- /package/types/deps/jsr.io/@std/encoding/{1.0.6 → 1.0.7}/_validate_binary_like.d.ts +0 -0
- /package/types/deps/jsr.io/@std/http/{1.0.12 → 1.0.13}/_negotiation/common.d.ts +0 -0
- /package/types/deps/jsr.io/@std/http/{1.0.12 → 1.0.13}/_negotiation/encoding.d.ts +0 -0
- /package/types/deps/jsr.io/@std/http/{1.0.12 → 1.0.13}/_negotiation/language.d.ts +0 -0
- /package/types/deps/jsr.io/@std/http/{1.0.12 → 1.0.13}/_negotiation/media_type.d.ts +0 -0
- /package/types/deps/jsr.io/@std/http/{1.0.12 → 1.0.13}/negotiation.d.ts +0 -0
package/CHANGES.md
CHANGED
@@ -3,6 +3,28 @@
|
|
3
3
|
Fedify changelog
|
4
4
|
================
|
5
5
|
|
6
|
+
Version 1.3.8
|
7
|
+
-------------
|
8
|
+
|
9
|
+
Released on February 10, 2025.
|
10
|
+
|
11
|
+
- Fixed a bug with nested object hydration in Activity Vocabulary API where
|
12
|
+
deeply nested properties (like `Object.getAttribution()` on
|
13
|
+
`Activity.getObject()`) were't being properly hydrated during `toJsonLd()`
|
14
|
+
calls. Previously, subsequent calls to `toJsonLd()` on nested objects could
|
15
|
+
result in inconsistent JSON-LD output where nested objects remained as URLs
|
16
|
+
instead of being fully expanded.
|
17
|
+
|
18
|
+
|
19
|
+
Version 1.3.7
|
20
|
+
-------------
|
21
|
+
|
22
|
+
Released on February 1, 2025.
|
23
|
+
|
24
|
+
- Updated [LogTape] to version 0.8.1, which fixes a bug where `lowestLevel`
|
25
|
+
option had incorrectly behaved.
|
26
|
+
|
27
|
+
|
6
28
|
Version 1.3.6
|
7
29
|
-------------
|
8
30
|
|
@@ -195,6 +217,19 @@ Released on November 30, 2024.
|
|
195
217
|
[#193]: https://github.com/fedify-dev/fedify/issues/193
|
196
218
|
|
197
219
|
|
220
|
+
Version 1.2.12
|
221
|
+
--------------
|
222
|
+
|
223
|
+
Released on February 10, 2025.
|
224
|
+
|
225
|
+
- Fixed a bug with nested object hydration in Activity Vocabulary API where
|
226
|
+
deeply nested properties (like `Object.getAttribution()` on
|
227
|
+
`Activity.getObject()`) were't being properly hydrated during `toJsonLd()`
|
228
|
+
calls. Previously, subsequent calls to `toJsonLd()` on nested objects could
|
229
|
+
result in inconsistent JSON-LD output where nested objects remained as URLs
|
230
|
+
instead of being fully expanded.
|
231
|
+
|
232
|
+
|
198
233
|
Version 1.2.11
|
199
234
|
--------------
|
200
235
|
|
@@ -442,6 +477,19 @@ Released on October 31, 2024.
|
|
442
477
|
[#118]: https://github.com/fedify-dev/fedify/issues/118
|
443
478
|
|
444
479
|
|
480
|
+
Version 1.1.12
|
481
|
+
--------------
|
482
|
+
|
483
|
+
Released on February 10, 2025.
|
484
|
+
|
485
|
+
- Fixed a bug with nested object hydration in Activity Vocabulary API where
|
486
|
+
deeply nested properties (like `Object.getAttribution()` on
|
487
|
+
`Activity.getObject()`) were't being properly hydrated during `toJsonLd()`
|
488
|
+
calls. Previously, subsequent calls to `toJsonLd()` on nested objects could
|
489
|
+
result in inconsistent JSON-LD output where nested objects remained as URLs
|
490
|
+
instead of being fully expanded.
|
491
|
+
|
492
|
+
|
445
493
|
Version 1.1.11
|
446
494
|
--------------
|
447
495
|
|
@@ -730,6 +778,19 @@ Released on October 20, 2024.
|
|
730
778
|
[#150]: https://github.com/fedify-dev/fedify/issues/150
|
731
779
|
|
732
780
|
|
781
|
+
Version 1.0.15
|
782
|
+
--------------
|
783
|
+
|
784
|
+
Released on February 10, 2025.
|
785
|
+
|
786
|
+
- Fixed a bug with nested object hydration in Activity Vocabulary API where
|
787
|
+
deeply nested properties (like `Object.getAttribution()` on
|
788
|
+
`Activity.getObject()`) were't being properly hydrated during `toJsonLd()`
|
789
|
+
calls. Previously, subsequent calls to `toJsonLd()` on nested objects could
|
790
|
+
result in inconsistent JSON-LD output where nested objects remained as URLs
|
791
|
+
instead of being fully expanded.
|
792
|
+
|
793
|
+
|
733
794
|
Version 1.0.14
|
734
795
|
--------------
|
735
796
|
|
package/esm/deno.js
CHANGED
@@ -1,6 +1,6 @@
|
|
1
1
|
export default {
|
2
2
|
"name": "@fedify/fedify",
|
3
|
-
"version": "1.3.
|
3
|
+
"version": "1.3.8",
|
4
4
|
"license": "MIT",
|
5
5
|
"exports": {
|
6
6
|
".": "./mod.ts",
|
@@ -32,7 +32,7 @@ export default {
|
|
32
32
|
"@fedify/fedify/x/sveltekit": "./x/sveltekit.ts",
|
33
33
|
"@hongminhee/aitertools": "jsr:@hongminhee/aitertools@^0.6.0",
|
34
34
|
"@hugoalh/http-header-link": "jsr:@hugoalh/http-header-link@^1.0.2",
|
35
|
-
"@logtape/logtape": "jsr:@logtape/logtape@^0.8.
|
35
|
+
"@logtape/logtape": "jsr:@logtape/logtape@^0.8.1",
|
36
36
|
"@opentelemetry/api": "npm:@opentelemetry/api@^1.9.0",
|
37
37
|
"@opentelemetry/semantic-conventions": "npm:@opentelemetry/semantic-conventions@^1.27.0",
|
38
38
|
"@phensley/language-tag": "npm:@phensley/language-tag@^1.9.0",
|
@@ -1,6 +1,6 @@
|
|
1
1
|
// Copyright 2009 The Go Authors. All rights reserved.
|
2
2
|
// https://github.com/golang/go/blob/master/LICENSE
|
3
|
-
// Copyright 2018-
|
3
|
+
// Copyright 2018-2025 the Deno authors. MIT license.
|
4
4
|
// This module is browser compatible.
|
5
5
|
/**
|
6
6
|
* Port of the Go
|
@@ -1,6 +1,6 @@
|
|
1
1
|
import { getLogger } from "@logtape/logtape";
|
2
2
|
import { SpanKind, SpanStatusCode, trace } from "@opentelemetry/api";
|
3
|
-
import { accepts } from "../deps/jsr.io/@std/http/1.0.
|
3
|
+
import { accepts } from "../deps/jsr.io/@std/http/1.0.13/negotiation.js";
|
4
4
|
import metadata from "../deno.js";
|
5
5
|
import { verifyRequest } from "../sig/http.js";
|
6
6
|
import { detachSignature, verifyJsonLd } from "../sig/ld.js";
|
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
|
-
import { concat } from "../deps/jsr.io/@std/bytes/1.0.
|
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.
|
3
|
+
import { concat } from "../deps/jsr.io/@std/bytes/1.0.5/concat.js";
|
4
|
+
import { decodeBase64, encodeBase64 } from "../deps/jsr.io/@std/encoding/1.0.7/base64.js";
|
5
|
+
import { decodeBase64Url } from "../deps/jsr.io/@std/encoding/1.0.7/base64url.js";
|
6
|
+
import { decodeHex } from "../deps/jsr.io/@std/encoding/1.0.7/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
@@ -2,9 +2,9 @@ import * as dntShim from "../_dnt.shims.js";
|
|
2
2
|
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
|
-
import { equals } from "../deps/jsr.io/@std/bytes/1.0.
|
6
|
-
import { decodeBase64, encodeBase64 } from "../deps/jsr.io/@std/encoding/1.0.
|
7
|
-
import { encodeHex } from "../deps/jsr.io/@std/encoding/1.0.
|
5
|
+
import { equals } from "../deps/jsr.io/@std/bytes/1.0.5/mod.js";
|
6
|
+
import { decodeBase64, encodeBase64 } from "../deps/jsr.io/@std/encoding/1.0.7/base64.js";
|
7
|
+
import { encodeHex } from "../deps/jsr.io/@std/encoding/1.0.7/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.7/base64.js";
|
5
|
+
import { encodeHex } from "../deps/jsr.io/@std/encoding/1.0.7/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.7/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";
|