@fedify/fedify 0.15.8 → 0.15.9
Sign up to get free protection for your applications and to get access to all the features.
- package/CHANGES.md +12 -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,10 +3,21 @@
|
|
3
3
|
Fedify changelog
|
4
4
|
================
|
5
5
|
|
6
|
+
Version 0.15.9
|
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
|
+
[#166]: https://github.com/dahlia/fedify/issues/166
|
15
|
+
|
16
|
+
|
6
17
|
Version 0.15.8
|
7
18
|
--------------
|
8
19
|
|
9
|
-
Released on November
|
20
|
+
Released on November 19, 2024.
|
10
21
|
|
11
22
|
- Fix a bug where `Actor`'s `inbox` and `outbox` properties had not been
|
12
23
|
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"}
|