@fedify/fedify 1.1.6 → 1.1.7
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 +30 -1
- package/esm/webfinger/lookup.js +1 -1
- package/package.json +1 -1
- package/types/webfinger/lookup.d.ts.map +1 -1
package/CHANGES.md
CHANGED
|
@@ -3,6 +3,15 @@
|
|
|
3
3
|
Fedify changelog
|
|
4
4
|
================
|
|
5
5
|
|
|
6
|
+
Version 1.1.7
|
|
7
|
+
-------------
|
|
8
|
+
|
|
9
|
+
Released on November 22, 2024.
|
|
10
|
+
|
|
11
|
+
- Fixed a bug where `lookupWebFinger()` function had thrown a `TypeError`
|
|
12
|
+
when the *.well-known/webfinger* redirects to a relative URI. [[#166]]
|
|
13
|
+
|
|
14
|
+
|
|
6
15
|
Version 1.1.6
|
|
7
16
|
-------------
|
|
8
17
|
|
|
@@ -225,6 +234,15 @@ Released on October 20, 2024.
|
|
|
225
234
|
[#150]: https://github.com/dahlia/fedify/issues/150
|
|
226
235
|
|
|
227
236
|
|
|
237
|
+
Version 1.0.11
|
|
238
|
+
--------------
|
|
239
|
+
|
|
240
|
+
Released on December 22, 2024.
|
|
241
|
+
|
|
242
|
+
- Fixed a bug where `lookupWebFinger()` function had thrown a `TypeError`
|
|
243
|
+
when the *.well-known/webfinger* redirects to a relative URI. [[#166]]
|
|
244
|
+
|
|
245
|
+
|
|
228
246
|
Version 1.0.10
|
|
229
247
|
--------------
|
|
230
248
|
|
|
@@ -566,10 +584,21 @@ Released on September 26, 2024.
|
|
|
566
584
|
[#137]: https://github.com/dahlia/fedify/issues/137
|
|
567
585
|
|
|
568
586
|
|
|
587
|
+
Version 0.15.9
|
|
588
|
+
--------------
|
|
589
|
+
|
|
590
|
+
Released on November 22, 2024.
|
|
591
|
+
|
|
592
|
+
- Fixed a bug where `lookupWebFinger()` function had thrown a `TypeError`
|
|
593
|
+
when the *.well-known/webfinger* redirects to a relative URI. [[#166]]
|
|
594
|
+
|
|
595
|
+
[#166]: https://github.com/dahlia/fedify/issues/166
|
|
596
|
+
|
|
597
|
+
|
|
569
598
|
Version 0.15.8
|
|
570
599
|
--------------
|
|
571
600
|
|
|
572
|
-
Released on November
|
|
601
|
+
Released on November 19, 2024.
|
|
573
602
|
|
|
574
603
|
- Fix a bug where `Actor`'s `inbox` and `outbox` properties had not been
|
|
575
604
|
able to be set to an `OrderedCollectionPage` object, even though it is
|
package/esm/webfinger/lookup.js
CHANGED
|
@@ -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 +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,
|
|
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"}
|