@fedify/fedify 1.1.6 → 1.1.8

Sign up to get free protection for your applications and to get access to all the features.
Files changed (24) hide show
  1. package/CHANGES.md +46 -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.1.8
7
+ -------------
8
+
9
+ Released on November 23, 2024.
10
+
11
+ - Fixed `ShikiError` on the `fedify inbox` command rendering web interface.
12
+ [[#178], [#185] by Heesun Jung]
13
+ - Fixed text overflow of the `fedify inbox` command's web log view.
14
+ [[#180], [#188] by Lim Kyunghee]
15
+
16
+ [#178]: https://github.com/dahlia/fedify/issues/178
17
+ [#180]: https://github.com/dahlia/fedify/issues/180
18
+ [#185]: https://github.com/dahlia/fedify/pull/185
19
+ [#188]: https://github.com/dahlia/fedify/pull/188
20
+
21
+
22
+ Version 1.1.7
23
+ -------------
24
+
25
+ Released on November 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.1.6
7
32
  -------------
8
33
 
@@ -225,6 +250,15 @@ Released on October 20, 2024.
225
250
  [#150]: https://github.com/dahlia/fedify/issues/150
226
251
 
227
252
 
253
+ Version 1.0.11
254
+ --------------
255
+
256
+ Released on December 22, 2024.
257
+
258
+ - Fixed a bug where `lookupWebFinger()` function had thrown a `TypeError`
259
+ when the *.well-known/webfinger* redirects to a relative URI. [[#166]]
260
+
261
+
228
262
  Version 1.0.10
229
263
  --------------
230
264
 
@@ -566,10 +600,21 @@ Released on September 26, 2024.
566
600
  [#137]: https://github.com/dahlia/fedify/issues/137
567
601
 
568
602
 
603
+ Version 0.15.9
604
+ --------------
605
+
606
+ Released on November 22, 2024.
607
+
608
+ - Fixed a bug where `lookupWebFinger()` function had thrown a `TypeError`
609
+ when the *.well-known/webfinger* redirects to a relative URI. [[#166]]
610
+
611
+ [#166]: https://github.com/dahlia/fedify/issues/166
612
+
613
+
569
614
  Version 0.15.8
570
615
  --------------
571
616
 
572
- Released on November 159, 2024.
617
+ Released on November 19, 2024.
573
618
 
574
619
  - Fix a bug where `Actor`'s `inbox` and `outbox` properties had not been
575
620
  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.1.6",
3
+ "version": "1.1.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,I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O,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;;;;;;;;;;;;;;;;;;;;;GAqBG;AACH,wBAAgB,gBAAgB,CAC9B,OAAO,EAAE,IAAI,CAAC,OAAO,EAAE,SAAS,CAAC,EACjC,GAAG,KAAK,EAAE,MAAM,EAAE,GACjB,MAAM,GAAG,SAAS,CAAC"}
@@ -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"}