@fedify/fedify 1.3.0-dev.514 → 1.3.0-dev.519

Sign up to get free protection for your applications and to get access to all the features.
package/CHANGES.md CHANGED
@@ -68,6 +68,15 @@ To be released.
68
68
  [#162]: https://github.com/dahlia/fedify/issues/162
69
69
 
70
70
 
71
+ Version 1.2.7
72
+ -------------
73
+
74
+ Released on December 22, 2024.
75
+
76
+ - Fixed a bug where `lookupWebFinger()` function had thrown a `TypeError`
77
+ when the *.well-known/webfinger* redirects to a relative URI. [[#166]]
78
+
79
+
71
80
  Version 1.2.6
72
81
  -------------
73
82
 
@@ -249,6 +258,15 @@ Released on October 31, 2024.
249
258
  [#118]: https://github.com/dahlia/fedify/issues/118
250
259
 
251
260
 
261
+ Version 1.1.7
262
+ -------------
263
+
264
+ Released on November 22, 2024.
265
+
266
+ - Fixed a bug where `lookupWebFinger()` function had thrown a `TypeError`
267
+ when the *.well-known/webfinger* redirects to a relative URI. [[#166]]
268
+
269
+
252
270
  Version 1.1.6
253
271
  -------------
254
272
 
@@ -471,6 +489,15 @@ Released on October 20, 2024.
471
489
  [#150]: https://github.com/dahlia/fedify/issues/150
472
490
 
473
491
 
492
+ Version 1.0.11
493
+ --------------
494
+
495
+ Released on December 22, 2024.
496
+
497
+ - Fixed a bug where `lookupWebFinger()` function had thrown a `TypeError`
498
+ when the *.well-known/webfinger* redirects to a relative URI. [[#166]]
499
+
500
+
474
501
  Version 1.0.10
475
502
  --------------
476
503
 
@@ -812,10 +839,21 @@ Released on September 26, 2024.
812
839
  [#137]: https://github.com/dahlia/fedify/issues/137
813
840
 
814
841
 
842
+ Version 0.15.9
843
+ --------------
844
+
845
+ Released on November 22, 2024.
846
+
847
+ - Fixed a bug where `lookupWebFinger()` function had thrown a `TypeError`
848
+ when the *.well-known/webfinger* redirects to a relative URI. [[#166]]
849
+
850
+ [#166]: https://github.com/dahlia/fedify/issues/166
851
+
852
+
815
853
  Version 0.15.8
816
854
  --------------
817
855
 
818
- Released on November 159, 2024.
856
+ Released on November 19, 2024.
819
857
 
820
858
  - Fix a bug where `Actor`'s `inbox` and `outbox` properties had not been
821
859
  able to be set to an `OrderedCollectionPage` object, even though it is
package/esm/deno.js CHANGED
@@ -1,6 +1,6 @@
1
1
  export default {
2
2
  "name": "@fedify/fedify",
3
- "version": "1.3.0-dev.514+006c410a",
3
+ "version": "1.3.0-dev.519+6be10f1d",
4
4
  "license": "MIT",
5
5
  "exports": {
6
6
  ".": "./mod.ts",
@@ -47,7 +47,7 @@ export async function lookupWebFinger(resource, options = {}) {
47
47
  }
48
48
  if (response.status >= 300 && response.status < 400 &&
49
49
  response.headers.has("Location")) {
50
- url = new URL(response.headers.get("Location"));
50
+ url = new URL(response.headers.get("Location"), response.url == null || response.url === "" ? url : response.url);
51
51
  continue;
52
52
  }
53
53
  if (!response.ok) {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@fedify/fedify",
3
- "version": "1.3.0-dev.514+006c410a",
3
+ "version": "1.3.0-dev.519+6be10f1d",
4
4
  "description": "An ActivityPub server framework",
5
5
  "keywords": [
6
6
  "ActivityPub",
@@ -1 +1 @@
1
- {"version":3,"file":"lookup.d.ts","sourceRoot":"","sources":["../../src/webfinger/lookup.ts"],"names":[],"mappings":";AACA,OAAO,EAEL,KAAK,mBAAmB,EACzB,MAAM,yBAAyB,CAAC;AACjC,OAAO,KAAK,EAAE,kBAAkB,EAAE,MAAM,UAAU,CAAC;AAInD;;;GAGG;AACH,MAAM,WAAW,sBAAsB;IACrC;;;;;OAKG;IACH,SAAS,CAAC,EAAE,mBAAmB,GAAG,MAAM,CAAC;CAC1C;AAED;;;;;;GAMG;AACH,wBAAsB,eAAe,CACnC,QAAQ,EAAE,GAAG,GAAG,MAAM,EACtB,OAAO,GAAE,sBAA2B,GACnC,OAAO,CAAC,kBAAkB,GAAG,IAAI,CAAC,CAqEpC"}
1
+ {"version":3,"file":"lookup.d.ts","sourceRoot":"","sources":["../../src/webfinger/lookup.ts"],"names":[],"mappings":";AACA,OAAO,EAEL,KAAK,mBAAmB,EACzB,MAAM,yBAAyB,CAAC;AACjC,OAAO,KAAK,EAAE,kBAAkB,EAAE,MAAM,UAAU,CAAC;AAInD;;;GAGG;AACH,MAAM,WAAW,sBAAsB;IACrC;;;;;OAKG;IACH,SAAS,CAAC,EAAE,mBAAmB,GAAG,MAAM,CAAC;CAC1C;AAED;;;;;;GAMG;AACH,wBAAsB,eAAe,CACnC,QAAQ,EAAE,GAAG,GAAG,MAAM,EACtB,OAAO,GAAE,sBAA2B,GACnC,OAAO,CAAC,kBAAkB,GAAG,IAAI,CAAC,CAwEpC"}