@fedify/fedify 1.2.6 → 1.2.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.
Files changed (24) hide show
  1. package/CHANGES.md +71 -1
  2. package/esm/federation/handler.js +1 -1
  3. package/esm/vocab/lookup.js +1 -1
  4. package/esm/webfinger/lookup.js +1 -1
  5. package/package.json +1 -1
  6. package/types/deps/jsr.io/@std/async/{1.0.8 → 1.0.9}/delay.d.ts.map +1 -1
  7. package/types/deps/jsr.io/@std/http/{1.0.10 → 1.0.11}/_negotiation/common.d.ts.map +1 -1
  8. package/types/deps/jsr.io/@std/http/{1.0.10 → 1.0.11}/_negotiation/encoding.d.ts.map +1 -1
  9. package/types/deps/jsr.io/@std/http/{1.0.10 → 1.0.11}/_negotiation/language.d.ts.map +1 -1
  10. package/types/deps/jsr.io/@std/http/{1.0.10 → 1.0.11}/_negotiation/media_type.d.ts.map +1 -1
  11. package/types/deps/jsr.io/@std/http/{1.0.10 → 1.0.11}/negotiation.d.ts.map +1 -1
  12. package/types/webfinger/lookup.d.ts.map +1 -1
  13. /package/esm/deps/jsr.io/@std/async/{1.0.8 → 1.0.9}/delay.js +0 -0
  14. /package/esm/deps/jsr.io/@std/http/{1.0.10 → 1.0.11}/_negotiation/common.js +0 -0
  15. /package/esm/deps/jsr.io/@std/http/{1.0.10 → 1.0.11}/_negotiation/encoding.js +0 -0
  16. /package/esm/deps/jsr.io/@std/http/{1.0.10 → 1.0.11}/_negotiation/language.js +0 -0
  17. /package/esm/deps/jsr.io/@std/http/{1.0.10 → 1.0.11}/_negotiation/media_type.js +0 -0
  18. /package/esm/deps/jsr.io/@std/http/{1.0.10 → 1.0.11}/negotiation.js +0 -0
  19. /package/types/deps/jsr.io/@std/async/{1.0.8 → 1.0.9}/delay.d.ts +0 -0
  20. /package/types/deps/jsr.io/@std/http/{1.0.10 → 1.0.11}/_negotiation/common.d.ts +0 -0
  21. /package/types/deps/jsr.io/@std/http/{1.0.10 → 1.0.11}/_negotiation/encoding.d.ts +0 -0
  22. /package/types/deps/jsr.io/@std/http/{1.0.10 → 1.0.11}/_negotiation/language.d.ts +0 -0
  23. /package/types/deps/jsr.io/@std/http/{1.0.10 → 1.0.11}/_negotiation/media_type.d.ts +0 -0
  24. /package/types/deps/jsr.io/@std/http/{1.0.10 → 1.0.11}/negotiation.d.ts +0 -0
package/CHANGES.md CHANGED
@@ -3,6 +3,31 @@
3
3
  Fedify changelog
4
4
  ================
5
5
 
6
+ Version 1.2.8
7
+ -------------
8
+
9
+ Released on November 23, 2024.
10
+
11
+ - Fixed warnings from the `fedify inbox` command.
12
+ [[#177], [#181] by WinterHana]
13
+ - Fixed `ShikiError` on the `fedify inbox` command rendering web interface.
14
+ [[#178], [#185] by Heesun Jung]
15
+ - Fixed text overflow of the `fedify inbox` command's web log view.
16
+ [[#180], [#188] by Lim Kyunghee]
17
+
18
+ [#177]: https://github.com/dahlia/fedify/issues/177
19
+ [#181]: https://github.com/dahlia/fedify/pull/181
20
+
21
+
22
+ Version 1.2.7
23
+ -------------
24
+
25
+ Released on December 22, 2024.
26
+
27
+ - Fixed a bug where `lookupWebFinger()` function had thrown a `TypeError`
28
+ when the *.well-known/webfinger* redirects to a relative URI. [[#166]]
29
+
30
+
6
31
  Version 1.2.6
7
32
  -------------
8
33
 
@@ -184,6 +209,31 @@ Released on October 31, 2024.
184
209
  [#118]: https://github.com/dahlia/fedify/issues/118
185
210
 
186
211
 
212
+ Version 1.1.8
213
+ -------------
214
+
215
+ Released on November 23, 2024.
216
+
217
+ - Fixed `ShikiError` on the `fedify inbox` command rendering web interface.
218
+ [[#178], [#185] by Heesun Jung]
219
+ - Fixed text overflow of the `fedify inbox` command's web log view.
220
+ [[#180], [#188] by Lim Kyunghee]
221
+
222
+ [#178]: https://github.com/dahlia/fedify/issues/178
223
+ [#180]: https://github.com/dahlia/fedify/issues/180
224
+ [#185]: https://github.com/dahlia/fedify/pull/185
225
+ [#188]: https://github.com/dahlia/fedify/pull/188
226
+
227
+
228
+ Version 1.1.7
229
+ -------------
230
+
231
+ Released on November 22, 2024.
232
+
233
+ - Fixed a bug where `lookupWebFinger()` function had thrown a `TypeError`
234
+ when the *.well-known/webfinger* redirects to a relative URI. [[#166]]
235
+
236
+
187
237
  Version 1.1.6
188
238
  -------------
189
239
 
@@ -406,6 +456,15 @@ Released on October 20, 2024.
406
456
  [#150]: https://github.com/dahlia/fedify/issues/150
407
457
 
408
458
 
459
+ Version 1.0.11
460
+ --------------
461
+
462
+ Released on December 22, 2024.
463
+
464
+ - Fixed a bug where `lookupWebFinger()` function had thrown a `TypeError`
465
+ when the *.well-known/webfinger* redirects to a relative URI. [[#166]]
466
+
467
+
409
468
  Version 1.0.10
410
469
  --------------
411
470
 
@@ -747,10 +806,21 @@ Released on September 26, 2024.
747
806
  [#137]: https://github.com/dahlia/fedify/issues/137
748
807
 
749
808
 
809
+ Version 0.15.9
810
+ --------------
811
+
812
+ Released on November 22, 2024.
813
+
814
+ - Fixed a bug where `lookupWebFinger()` function had thrown a `TypeError`
815
+ when the *.well-known/webfinger* redirects to a relative URI. [[#166]]
816
+
817
+ [#166]: https://github.com/dahlia/fedify/issues/166
818
+
819
+
750
820
  Version 0.15.8
751
821
  --------------
752
822
 
753
- Released on November 159, 2024.
823
+ Released on November 19, 2024.
754
824
 
755
825
  - Fix a bug where `Actor`'s `inbox` and `outbox` properties had not been
756
826
  able to be set to an `OrderedCollectionPage` object, even though it is
@@ -1,6 +1,6 @@
1
1
  import * as dntShim from "../_dnt.shims.js";
2
2
  import { getLogger } from "@logtape/logtape";
3
- import { accepts } from "../deps/jsr.io/@std/http/1.0.10/negotiation.js";
3
+ import { accepts } from "../deps/jsr.io/@std/http/1.0.11/negotiation.js";
4
4
  import { verifyRequest } from "../sig/http.js";
5
5
  import { detachSignature, verifyJsonLd } from "../sig/ld.js";
6
6
  import { doesActorOwnKey } from "../sig/owner.js";
@@ -1,6 +1,6 @@
1
1
  import * as dntShim from "../_dnt.shims.js";
2
2
  import { getLogger } from "@logtape/logtape";
3
- import { delay } from "../deps/jsr.io/@std/async/1.0.8/delay.js";
3
+ import { delay } from "../deps/jsr.io/@std/async/1.0.9/delay.js";
4
4
  import { fetchDocumentLoader, } from "../runtime/docloader.js";
5
5
  import { lookupWebFinger } from "../webfinger/lookup.js";
6
6
  import { Object } from "./vocab.js";
@@ -40,7 +40,7 @@ export async function lookupWebFinger(resource) {
40
40
  }
41
41
  if (response.status >= 300 && response.status < 400 &&
42
42
  response.headers.has("Location")) {
43
- url = new URL(response.headers.get("Location"));
43
+ url = new URL(response.headers.get("Location"), response.url == null || response.url === "" ? url : response.url);
44
44
  continue;
45
45
  }
46
46
  if (!response.ok) {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@fedify/fedify",
3
- "version": "1.2.6",
3
+ "version": "1.2.8",
4
4
  "description": "An ActivityPub server framework",
5
5
  "keywords": [
6
6
  "ActivityPub",
@@ -1 +1 @@
1
- {"version":3,"file":"delay.d.ts","sourceRoot":"","sources":["../../../../../../src/deps/jsr.io/@std/async/1.0.8/delay.ts"],"names":[],"mappings":";AAMA,MAAM,WAAW,YAAY;IAC3B,sCAAsC;IACtC,MAAM,CAAC,EAAE,WAAW,CAAC;IACrB;;;OAGG;IACH,UAAU,CAAC,EAAE,OAAO,CAAC;CACtB;AAED;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GA8BG;AACH,wBAAgB,KAAK,CAAC,EAAE,EAAE,MAAM,EAAE,OAAO,GAAE,YAAiB,GAAG,OAAO,CAAC,IAAI,CAAC,CA2B3E"}
1
+ {"version":3,"file":"delay.d.ts","sourceRoot":"","sources":["../../../../../../src/deps/jsr.io/@std/async/1.0.9/delay.ts"],"names":[],"mappings":";AAMA,MAAM,WAAW,YAAY;IAC3B,sCAAsC;IACtC,MAAM,CAAC,EAAE,WAAW,CAAC;IACrB;;;OAGG;IACH,UAAU,CAAC,EAAE,OAAO,CAAC;CACtB;AAED;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GA8BG;AACH,wBAAgB,KAAK,CAAC,EAAE,EAAE,MAAM,EAAE,OAAO,GAAE,YAAiB,GAAG,OAAO,CAAC,IAAI,CAAC,CA2B3E"}
@@ -1 +1 @@
1
- {"version":3,"file":"common.d.ts","sourceRoot":"","sources":["../../../../../../../src/deps/jsr.io/@std/http/1.0.10/_negotiation/common.ts"],"names":[],"mappings":"AACA;;;;;;;;;;;;;;;;;;;;;;;;;;;;GA4BG;AAEH,MAAM,WAAW,WAAW;IAC1B,CAAC,EAAE,MAAM,CAAC;IACV,CAAC,EAAE,MAAM,GAAG,SAAS,CAAC;IACtB,CAAC,EAAE,MAAM,CAAC;IACV,CAAC,EAAE,MAAM,GAAG,SAAS,CAAC;CACvB;AAED,wBAAgB,YAAY,CAAC,CAAC,EAAE,WAAW,EAAE,CAAC,EAAE,WAAW,GAAG,MAAM,CAQnE;AAED,wBAAgB,SAAS,CAAC,IAAI,EAAE,WAAW,GAAG,OAAO,CAEpD"}
1
+ {"version":3,"file":"common.d.ts","sourceRoot":"","sources":["../../../../../../../src/deps/jsr.io/@std/http/1.0.11/_negotiation/common.ts"],"names":[],"mappings":"AACA;;;;;;;;;;;;;;;;;;;;;;;;;;;;GA4BG;AAEH,MAAM,WAAW,WAAW;IAC1B,CAAC,EAAE,MAAM,CAAC;IACV,CAAC,EAAE,MAAM,GAAG,SAAS,CAAC;IACtB,CAAC,EAAE,MAAM,CAAC;IACV,CAAC,EAAE,MAAM,GAAG,SAAS,CAAC;CACvB;AAED,wBAAgB,YAAY,CAAC,CAAC,EAAE,WAAW,EAAE,CAAC,EAAE,WAAW,GAAG,MAAM,CAQnE;AAED,wBAAgB,SAAS,CAAC,IAAI,EAAE,WAAW,GAAG,OAAO,CAEpD"}
@@ -1 +1 @@
1
- {"version":3,"file":"encoding.d.ts","sourceRoot":"","sources":["../../../../../../../src/deps/jsr.io/@std/http/1.0.10/_negotiation/encoding.ts"],"names":[],"mappings":"AACA;;;;;;;;;;;;;;;;;;;;;;;;;;;;GA4BG;AA8GH;;qCAEqC;AACrC,wBAAgB,kBAAkB,CAChC,MAAM,EAAE,MAAM,EACd,QAAQ,CAAC,EAAE,MAAM,EAAE,GAClB,MAAM,EAAE,CAkBV"}
1
+ {"version":3,"file":"encoding.d.ts","sourceRoot":"","sources":["../../../../../../../src/deps/jsr.io/@std/http/1.0.11/_negotiation/encoding.ts"],"names":[],"mappings":"AACA;;;;;;;;;;;;;;;;;;;;;;;;;;;;GA4BG;AA8GH;;qCAEqC;AACrC,wBAAgB,kBAAkB,CAChC,MAAM,EAAE,MAAM,EACd,QAAQ,CAAC,EAAE,MAAM,EAAE,GAClB,MAAM,EAAE,CAkBV"}
@@ -1 +1 @@
1
- {"version":3,"file":"language.d.ts","sourceRoot":"","sources":["../../../../../../../src/deps/jsr.io/@std/http/1.0.10/_negotiation/language.ts"],"names":[],"mappings":"AACA;;;;;;;;;;;;;;;;;;;;;;;;;;;;GA4BG;AAkGH,wBAAgB,kBAAkB,CAChC,MAAM,SAAM,EACZ,QAAQ,CAAC,EAAE,MAAM,EAAE,GAClB,MAAM,EAAE,CAiBV"}
1
+ {"version":3,"file":"language.d.ts","sourceRoot":"","sources":["../../../../../../../src/deps/jsr.io/@std/http/1.0.11/_negotiation/language.ts"],"names":[],"mappings":"AACA;;;;;;;;;;;;;;;;;;;;;;;;;;;;GA4BG;AAkGH,wBAAgB,kBAAkB,CAChC,MAAM,SAAM,EACZ,QAAQ,CAAC,EAAE,MAAM,EAAE,GAClB,MAAM,EAAE,CAiBV"}
@@ -1 +1 @@
1
- {"version":3,"file":"media_type.d.ts","sourceRoot":"","sources":["../../../../../../../src/deps/jsr.io/@std/http/1.0.10/_negotiation/media_type.ts"],"names":[],"mappings":"AACA;;;;;;;;;;;;;;;;;;;;;;;;;;;;GA4BG;AAiJH,wBAAgB,mBAAmB,CACjC,MAAM,CAAC,EAAE,MAAM,GAAG,IAAI,EACtB,QAAQ,CAAC,EAAE,MAAM,EAAE,GAClB,MAAM,EAAE,CAkBV"}
1
+ {"version":3,"file":"media_type.d.ts","sourceRoot":"","sources":["../../../../../../../src/deps/jsr.io/@std/http/1.0.11/_negotiation/media_type.ts"],"names":[],"mappings":"AACA;;;;;;;;;;;;;;;;;;;;;;;;;;;;GA4BG;AAiJH,wBAAgB,mBAAmB,CACjC,MAAM,CAAC,EAAE,MAAM,GAAG,IAAI,EACtB,QAAQ,CAAC,EAAE,MAAM,EAAE,GAClB,MAAM,EAAE,CAkBV"}
@@ -1 +1 @@
1
- {"version":3,"file":"negotiation.d.ts","sourceRoot":"","sources":["../../../../../../src/deps/jsr.io/@std/http/1.0.10/negotiation.ts"],"names":[],"mappings":";AAcA;;;;;;;;;;;;;;;;;;;;;;;;;;;;GA4BG;AACH,wBAAgB,OAAO,CAAC,OAAO,EAAE,IAAI,CAAC,OAAO,EAAE,SAAS,CAAC,GAAG,MAAM,EAAE,CAAC;AACrE;;;;;;;;;;;;;;;;;;;;;;GAsBG;AACH,wBAAgB,OAAO,CACrB,OAAO,EAAE,IAAI,CAAC,OAAO,EAAE,SAAS,CAAC,EACjC,GAAG,KAAK,EAAE,MAAM,EAAE,GACjB,MAAM,GAAG,SAAS,CAAC;AAatB;;;;;;;;;;;;;;;;;;;GAmBG;AACH,wBAAgB,gBAAgB,CAAC,OAAO,EAAE,IAAI,CAAC,OAAO,EAAE,SAAS,CAAC,GAAG,MAAM,EAAE,CAAC;AAC9E;;;;;;;;;;;;;;;;;;;;;;;;GAwBG;AACH,wBAAgB,gBAAgB,CAC9B,OAAO,EAAE,IAAI,CAAC,OAAO,EAAE,SAAS,CAAC,EACjC,GAAG,SAAS,EAAE,MAAM,EAAE,GACrB,MAAM,GAAG,SAAS,CAAC;AAetB;;;;;;;;;;;;;;;;;;;;;GAqBG;AACH,wBAAgB,gBAAgB,CAAC,OAAO,EAAE,IAAI,CAAC,OAAO,EAAE,SAAS,CAAC,GAAG,MAAM,EAAE,CAAC;AAC9E;;;;;;;;;;;;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-1 +1 @@
1
- {"version":3,"file":"lookup.d.ts","sourceRoot":"","sources":["../../src/webfinger/lookup.ts"],"names":[],"mappings":";AACA,OAAO,KAAK,EAAE,kBAAkB,EAAE,MAAM,UAAU,CAAC;AAInD;;;;;GAKG;AACH,wBAAsB,eAAe,CACnC,QAAQ,EAAE,GAAG,GAAG,MAAM,GACrB,OAAO,CAAC,kBAAkB,GAAG,IAAI,CAAC,CAgEpC"}
1
+ {"version":3,"file":"lookup.d.ts","sourceRoot":"","sources":["../../src/webfinger/lookup.ts"],"names":[],"mappings":";AACA,OAAO,KAAK,EAAE,kBAAkB,EAAE,MAAM,UAAU,CAAC;AAInD;;;;;GAKG;AACH,wBAAsB,eAAe,CACnC,QAAQ,EAAE,GAAG,GAAG,MAAM,GACrB,OAAO,CAAC,kBAAkB,GAAG,IAAI,CAAC,CAmEpC"}