@fedify/fedify 1.4.0-dev.607 → 1.4.0-dev.612

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 CHANGED
@@ -39,13 +39,29 @@ To be released.
39
39
  - `new Object()` constructor now accepts `emojiReactions` option.
40
40
  - `Object.clone()` method now accepts `emojiReactions` option.
41
41
 
42
+ - Added `allowPrivateAddress` option to `LookupWebFingerOptions` interface.
43
+
42
44
  - Added `-t`/`--traverse` option to the `fedify lookup` subcommand. [[#195]]
43
45
 
44
46
  - Added `-S`/`--suppress-errors` option to the `fedify lookup` subcommand.
45
47
  [[#195]]
46
48
 
47
- [#3]: https://github.com/dahlia/fedify/issues/3
48
- [#195]: https://github.com/dahlia/fedify/issues/195
49
+ [#3]: https://github.com/fedify-dev/fedify/issues/3
50
+ [#195]: https://github.com/fedify-dev/fedify/issues/195
51
+
52
+
53
+ Version 1.3.5
54
+ -------------
55
+
56
+ Released on January 21, 2025.
57
+
58
+ - Fixed a bug where `CreateFederationOptions.allowPrivateAddress` option had
59
+ been ignored by the `Context.lookupObject()` method when it had taken
60
+ a fediverse handle.
61
+
62
+ - The `lookupWebFinger()` function became to silently return `null` when
63
+ it fails to fetch the WebFinger document due to accessing a private network
64
+ address, instead of throwing a `UrlError`.
49
65
 
50
66
 
51
67
  Version 1.3.4
@@ -205,14 +221,14 @@ Released on November 30, 2024.
205
221
 
206
222
 
207
223
  [SvelteKit]: https://kit.svelte.dev/
208
- [#162]: https://github.com/dahlia/fedify/issues/162
209
- [#170]: https://github.com/dahlia/fedify/issues/170
210
- [#171]: https://github.com/dahlia/fedify/issues/171
211
- [#173]: https://github.com/dahlia/fedify/issues/173
212
- [#183]: https://github.com/dahlia/fedify/pull/183
213
- [#186]: https://github.com/dahlia/fedify/pull/186
214
- [#192]: https://github.com/dahlia/fedify/issues/192
215
- [#193]: https://github.com/dahlia/fedify/issues/193
224
+ [#162]: https://github.com/fedify-dev/fedify/issues/162
225
+ [#170]: https://github.com/fedify-dev/fedify/issues/170
226
+ [#171]: https://github.com/fedify-dev/fedify/issues/171
227
+ [#173]: https://github.com/fedify-dev/fedify/issues/173
228
+ [#183]: https://github.com/fedify-dev/fedify/pull/183
229
+ [#186]: https://github.com/fedify-dev/fedify/pull/186
230
+ [#192]: https://github.com/fedify-dev/fedify/issues/192
231
+ [#193]: https://github.com/fedify-dev/fedify/issues/193
216
232
 
217
233
 
218
234
  Version 1.2.11
@@ -268,8 +284,8 @@ Released on November 23, 2024.
268
284
  - Fixed text overflow of the `fedify inbox` command's web log view.
269
285
  [[#180], [#188] by Lim Kyunghee]
270
286
 
271
- [#177]: https://github.com/dahlia/fedify/issues/177
272
- [#181]: https://github.com/dahlia/fedify/pull/181
287
+ [#177]: https://github.com/fedify-dev/fedify/issues/177
288
+ [#181]: https://github.com/fedify-dev/fedify/pull/181
273
289
 
274
290
 
275
291
  Version 1.2.7
@@ -393,7 +409,7 @@ Released on November 1, 2024.
393
409
  - Support the `fedify` command on Windows on ARM64 via x64 emulation.
394
410
  [[#160]]
395
411
 
396
- [#160]: https://github.com/dahlia/fedify/issues/160
412
+ [#160]: https://github.com/fedify-dev/fedify/issues/160
397
413
 
398
414
 
399
415
  Version 1.2.1
@@ -459,7 +475,7 @@ Released on October 31, 2024.
459
475
  - `["fedify", "nodeinfo", "client"]`
460
476
 
461
477
  [implicit contexts]: https://logtape.org/manual/contexts#implicit-contexts
462
- [#118]: https://github.com/dahlia/fedify/issues/118
478
+ [#118]: https://github.com/fedify-dev/fedify/issues/118
463
479
 
464
480
 
465
481
  Version 1.1.11
@@ -513,10 +529,10 @@ Released on November 23, 2024.
513
529
  - Fixed text overflow of the `fedify inbox` command's web log view.
514
530
  [[#180], [#188] by Lim Kyunghee]
515
531
 
516
- [#178]: https://github.com/dahlia/fedify/issues/178
517
- [#180]: https://github.com/dahlia/fedify/issues/180
518
- [#185]: https://github.com/dahlia/fedify/pull/185
519
- [#188]: https://github.com/dahlia/fedify/pull/188
532
+ [#178]: https://github.com/fedify-dev/fedify/issues/178
533
+ [#180]: https://github.com/fedify-dev/fedify/issues/180
534
+ [#185]: https://github.com/fedify-dev/fedify/pull/185
535
+ [#188]: https://github.com/fedify-dev/fedify/pull/188
520
536
 
521
537
 
522
538
  Version 1.1.7
@@ -746,8 +762,8 @@ Released on October 20, 2024.
746
762
  [FEP-c0e0]: https://w3id.org/fep/c0e0
747
763
  [FEP-9091]: https://w3id.org/fep/9091
748
764
  [ActivityPub and HTTP Signatures]: https://swicg.github.io/activitypub-http-signature/
749
- [#146]: https://github.com/dahlia/fedify/issues/146
750
- [#150]: https://github.com/dahlia/fedify/issues/150
765
+ [#146]: https://github.com/fedify-dev/fedify/issues/146
766
+ [#150]: https://github.com/fedify-dev/fedify/issues/150
751
767
 
752
768
 
753
769
  Version 1.0.14
@@ -772,7 +788,7 @@ Released on January 21, 2025.
772
788
  could lead to a SSRF attack. Now it follows only the public network
773
789
  addresses.
774
790
 
775
- [CVE-2025-23221]: https://github.com/dahlia/fedify/security/advisories/GHSA-c59p-wq67-24wx
791
+ [CVE-2025-23221]: https://github.com/fedify-dev/fedify/security/advisories/GHSA-c59p-wq67-24wx
776
792
 
777
793
 
778
794
  Version 1.0.13
@@ -783,7 +799,7 @@ Released on December 18, 2024.
783
799
  - Fixed the default document loader to handle the `Link` header with
784
800
  incorrect syntax. [[#196]]
785
801
 
786
- [#196]: https://github.com/dahlia/fedify/issues/196
802
+ [#196]: https://github.com/fedify-dev/fedify/issues/196
787
803
 
788
804
 
789
805
  Version 1.0.12
@@ -1140,9 +1156,9 @@ Released on September 26, 2024.
1140
1156
  - `["fedify", "sig", "ld"]`
1141
1157
 
1142
1158
  [Linked Data Signatures]: https://web.archive.org/web/20170923124140/https://w3c-dvcg.github.io/ld-signatures/
1143
- [#106]: https://github.com/dahlia/fedify/issues/106
1144
- [#135]: https://github.com/dahlia/fedify/issues/135
1145
- [#137]: https://github.com/dahlia/fedify/issues/137
1159
+ [#106]: https://github.com/fedify-dev/fedify/issues/106
1160
+ [#135]: https://github.com/fedify-dev/fedify/issues/135
1161
+ [#137]: https://github.com/fedify-dev/fedify/issues/137
1146
1162
 
1147
1163
 
1148
1164
  Version 0.15.9
@@ -1153,7 +1169,7 @@ Released on November 22, 2024.
1153
1169
  - Fixed a bug where `lookupWebFinger()` function had thrown a `TypeError`
1154
1170
  when the *.well-known/webfinger* redirects to a relative URI. [[#166]]
1155
1171
 
1156
- [#166]: https://github.com/dahlia/fedify/issues/166
1172
+ [#166]: https://github.com/fedify-dev/fedify/issues/166
1157
1173
 
1158
1174
 
1159
1175
  Version 0.15.8
@@ -1212,7 +1228,7 @@ Released on November 19, 2024.
1212
1228
  methods is now `OrderedCollection | OrderedCollectionPage | null` (was
1213
1229
  `OrderedCollection | null`).
1214
1230
 
1215
- [#165]: https://github.com/dahlia/fedify/issues/165
1231
+ [#165]: https://github.com/fedify-dev/fedify/issues/165
1216
1232
 
1217
1233
 
1218
1234
  Version 0.15.7
@@ -1233,7 +1249,7 @@ Released on November 14, 2024.
1233
1249
  "inbox"]` logger category and responds with a `500 Internal Server
1234
1250
  Error`.
1235
1251
 
1236
- [#159]: https://github.com/dahlia/fedify/issues/159
1252
+ [#159]: https://github.com/fedify-dev/fedify/issues/159
1237
1253
 
1238
1254
 
1239
1255
  Version 0.15.6
@@ -1267,7 +1283,7 @@ Released on October 27, 2024.
1267
1283
  - The `fetchDocumentLoader()` function now preloads the following JSON-LD
1268
1284
  context: <http://schema.org/>.
1269
1285
 
1270
- [#155]: https://github.com/dahlia/fedify/pull/155
1286
+ [#155]: https://github.com/fedify-dev/fedify/pull/155
1271
1287
 
1272
1288
 
1273
1289
  Version 0.15.3
@@ -1296,7 +1312,7 @@ Released on September 15, 2024.
1296
1312
  - Fixed a bug where even if the `ActorCallbackSetters.mapHandle()` method was
1297
1313
  called, a WebFinger username was used as an actor's handle. [[#136]]
1298
1314
 
1299
- [#136]: https://github.com/dahlia/fedify/pull/136
1315
+ [#136]: https://github.com/fedify-dev/fedify/pull/136
1300
1316
 
1301
1317
 
1302
1318
  Version 0.15.0
@@ -1501,8 +1517,8 @@ Released on August 27, 2024.
1501
1517
  Bun, and fills the *deno.json* file with the default `compilerOptions` on
1502
1518
  Deno.
1503
1519
 
1504
- [#114]: https://github.com/dahlia/fedify/issues/114
1505
- [#115]: https://github.com/dahlia/fedify/issues/115
1520
+ [#114]: https://github.com/fedify-dev/fedify/issues/114
1521
+ [#115]: https://github.com/fedify-dev/fedify/issues/115
1506
1522
 
1507
1523
 
1508
1524
  Version 0.13.5
@@ -1523,7 +1539,7 @@ Released on September 1, 2024.
1523
1539
  - Fixed `fedify inbox` command where it had ignored `-a`/`--accept-follow`
1524
1540
  options when no `-f`/`--follow` option was provided. [[#132]]
1525
1541
 
1526
- [#132]: https://github.com/dahlia/fedify/issues/132
1542
+ [#132]: https://github.com/fedify-dev/fedify/issues/132
1527
1543
 
1528
1544
 
1529
1545
  Version 0.13.3
@@ -1535,7 +1551,7 @@ Released on August 30, 2024.
1535
1551
  been verified by their inbox. [[#125]]
1536
1552
 
1537
1553
  [Threads]: https://www.threads.net/
1538
- [#125]: https://github.com/dahlia/fedify/issues/125
1554
+ [#125]: https://github.com/fedify-dev/fedify/issues/125
1539
1555
 
1540
1556
 
1541
1557
  Version 0.13.2
@@ -1546,7 +1562,7 @@ Released on August 29, 2024.
1546
1562
  - Fixed `fedify inbox` command that had not been able to parse activities
1547
1563
  even if they are valid JSON-LD. [[#126]]
1548
1564
 
1549
- [#126]: https://github.com/dahlia/fedify/issues/126
1565
+ [#126]: https://github.com/fedify-dev/fedify/issues/126
1550
1566
 
1551
1567
 
1552
1568
  Version 0.13.1
@@ -1627,8 +1643,8 @@ Released on August 7, 2024.
1627
1643
 
1628
1644
  - `["fedify", "webfinger", "server"]`
1629
1645
 
1630
- [#69]: https://github.com/dahlia/fedify/issues/69
1631
- [#110]: https://github.com/dahlia/fedify/issues/110
1646
+ [#69]: https://github.com/fedify-dev/fedify/issues/69
1647
+ [#110]: https://github.com/fedify-dev/fedify/issues/110
1632
1648
  [Express]: https://expressjs.com/
1633
1649
  [Nitro]: https://nitro.unjs.io/
1634
1650
 
@@ -1799,16 +1815,16 @@ Released on July 24, 2024.
1799
1815
  - `["fedify", "federation", "queue"]`
1800
1816
 
1801
1817
  [@fedify/cli]: https://www.npmjs.com/package/@fedify/cli
1802
- [#6]: https://github.com/dahlia/fedify/issues/6
1803
- [#53]: https://github.com/dahlia/fedify/issues/53
1804
- [#66]: https://github.com/dahlia/fedify/issues/66
1805
- [#70]: https://github.com/dahlia/fedify/issues/70
1806
- [#81]: https://github.com/dahlia/fedify/issues/81
1807
- [#85]: https://github.com/dahlia/fedify/issues/85
1808
- [#92]: https://github.com/dahlia/fedify/pull/92
1809
- [#104]: https://github.com/dahlia/fedify/issues/104
1810
- [#105]: https://github.com/dahlia/fedify/issues/105
1811
- [#107]: https://github.com/dahlia/fedify/issues/107
1818
+ [#6]: https://github.com/fedify-dev/fedify/issues/6
1819
+ [#53]: https://github.com/fedify-dev/fedify/issues/53
1820
+ [#66]: https://github.com/fedify-dev/fedify/issues/66
1821
+ [#70]: https://github.com/fedify-dev/fedify/issues/70
1822
+ [#81]: https://github.com/fedify-dev/fedify/issues/81
1823
+ [#85]: https://github.com/fedify-dev/fedify/issues/85
1824
+ [#92]: https://github.com/fedify-dev/fedify/pull/92
1825
+ [#104]: https://github.com/fedify-dev/fedify/issues/104
1826
+ [#105]: https://github.com/fedify-dev/fedify/issues/105
1827
+ [#107]: https://github.com/fedify-dev/fedify/issues/107
1812
1828
 
1813
1829
 
1814
1830
  Version 0.11.3
@@ -1820,7 +1836,7 @@ Released on July 15, 2024.
1820
1836
  `Federation.setInboxListeners()` had caused a `RouterError` to be
1821
1837
  thrown even if the paths match. [[#101] by Fabien O'Carroll]
1822
1838
 
1823
- [#101]: https://github.com/dahlia/fedify/pull/101
1839
+ [#101]: https://github.com/fedify-dev/fedify/pull/101
1824
1840
 
1825
1841
 
1826
1842
  Version 0.11.2
@@ -2028,12 +2044,12 @@ Released on June 29, 2024.
2028
2044
  for Object Integrity Proofs. [[FEP-8b32], [#54]]
2029
2045
 
2030
2046
  [eddsa-jcs-2022]: https://codeberg.org/fediverse/fep/pulls/338
2031
- [#71]: https://github.com/dahlia/fedify/issues/71
2032
- [#74]: https://github.com/dahlia/fedify/issues/74
2033
- [#76]: https://github.com/dahlia/fedify/pull/76
2034
- [#78]: https://github.com/dahlia/fedify/issues/78
2035
- [#79]: https://github.com/dahlia/fedify/issues/79
2036
- [#80]: https://github.com/dahlia/fedify/pull/80
2047
+ [#71]: https://github.com/fedify-dev/fedify/issues/71
2048
+ [#74]: https://github.com/fedify-dev/fedify/issues/74
2049
+ [#76]: https://github.com/fedify-dev/fedify/pull/76
2050
+ [#78]: https://github.com/fedify-dev/fedify/issues/78
2051
+ [#79]: https://github.com/fedify-dev/fedify/issues/79
2052
+ [#80]: https://github.com/fedify-dev/fedify/pull/80
2037
2053
 
2038
2054
 
2039
2055
  Version 0.10.2
@@ -2214,10 +2230,10 @@ is now distributed under the [MIT License] to encourage wider adoption.
2214
2230
  - `["fedify", "vocab", "lookup"]`
2215
2231
  - `["fedify", "webfinger", "lookup"]`
2216
2232
 
2217
- [#54]: https://github.com/dahlia/fedify/issues/54
2218
- [#55]: https://github.com/dahlia/fedify/issues/55
2219
- [#65]: https://github.com/dahlia/fedify/issues/65
2220
- [#68]: https://github.com/dahlia/fedify/pull/68
2233
+ [#54]: https://github.com/fedify-dev/fedify/issues/54
2234
+ [#55]: https://github.com/fedify-dev/fedify/issues/55
2235
+ [#65]: https://github.com/fedify-dev/fedify/issues/65
2236
+ [#68]: https://github.com/fedify-dev/fedify/pull/68
2221
2237
  [AGPL 3.0]: https://www.gnu.org/licenses/agpl-3.0.en.html
2222
2238
  [MIT License]: https://minhee.mit-license.org/
2223
2239
  [FEP-521a]: https://w3id.org/fep/521a
@@ -2254,7 +2270,7 @@ Released on July 5, 2024.
2254
2270
  loader that throws an error when the given URL is not an HTTP or HTTPS
2255
2271
  URL or refers to a private network address.
2256
2272
 
2257
- [CVE-2024-39687]: https://github.com/dahlia/fedify/security/advisories/GHSA-p9cg-vqcc-grcx
2273
+ [CVE-2024-39687]: https://github.com/fedify-dev/fedify/security/advisories/GHSA-p9cg-vqcc-grcx
2258
2274
 
2259
2275
 
2260
2276
  Version 0.9.1
@@ -2331,8 +2347,8 @@ Released on June 2, 2024.
2331
2347
  - `["fedify", "sig", "key"]`
2332
2348
  - `["fedify", "sig", "owner"]`
2333
2349
 
2334
- [#48]: https://github.com/dahlia/fedify/issues/48
2335
- [#52]: https://github.com/dahlia/fedify/issues/52
2350
+ [#48]: https://github.com/fedify-dev/fedify/issues/48
2351
+ [#52]: https://github.com/fedify-dev/fedify/issues/52
2336
2352
 
2337
2353
 
2338
2354
  Version 0.8.0
@@ -2428,9 +2444,9 @@ Released on May 6, 2024.
2428
2444
  "application/ld+json; profile=\"https://www.w3.org/ns/activitystreams\""`.
2429
2445
 
2430
2446
  [@fedify/cli]: https://jsr.io/@fedify/cli
2431
- [releases]: https://github.com/dahlia/fedify/releases
2447
+ [releases]: https://github.com/fedify-dev/fedify/releases
2432
2448
  [FEP-8fcf]: https://w3id.org/fep/8fcf
2433
- [#47]: https://github.com/dahlia/fedify/issues/47
2449
+ [#47]: https://github.com/fedify-dev/fedify/issues/47
2434
2450
 
2435
2451
 
2436
2452
  Version 0.7.0
@@ -2482,7 +2498,7 @@ Released on April 23, 2024.
2482
2498
  [public addressing]: https://www.w3.org/TR/activitypub/#public-addressing
2483
2499
  [authorized fetch]: https://swicg.github.io/activitypub-http-signature/#authorized-fetch
2484
2500
  [LogTape]: https://github.com/dahlia/logtape
2485
- [#33]: https://github.com/dahlia/fedify/issues/33
2501
+ [#33]: https://github.com/fedify-dev/fedify/issues/33
2486
2502
 
2487
2503
 
2488
2504
  Version 0.6.1
@@ -2534,8 +2550,8 @@ Released on April 9, 2024.
2534
2550
  - Added `OutboxErrorHandler` type.
2535
2551
 
2536
2552
  [Hono]: https://hono.dev/
2537
- [#25]: https://github.com/dahlia/fedify/issues/25
2538
- [#27]: https://github.com/dahlia/fedify/issues/27
2553
+ [#25]: https://github.com/fedify-dev/fedify/issues/25
2554
+ [#27]: https://github.com/fedify-dev/fedify/issues/27
2539
2555
 
2540
2556
 
2541
2557
  Version 0.5.2
@@ -2546,7 +2562,7 @@ Released on April 17, 2024.
2546
2562
  - Fixed a bug of `new Federation()` constructor that if it is once called
2547
2563
  the process will never exit. [[#39]]
2548
2564
 
2549
- [#39]: https://github.com/dahlia/fedify/issues/39
2565
+ [#39]: https://github.com/fedify-dev/fedify/issues/39
2550
2566
 
2551
2567
 
2552
2568
  Version 0.5.1
@@ -2560,7 +2576,7 @@ Released on April 5, 2024.
2560
2576
  had responded with `406 Not Acceptable` instead of `404 Not Found` when
2561
2577
  the resource does not exist in the web browser. [[#34]]
2562
2578
 
2563
- [#34]: https://github.com/dahlia/fedify/issues/34
2579
+ [#34]: https://github.com/fedify-dev/fedify/issues/34
2564
2580
 
2565
2581
 
2566
2582
  Version 0.5.0
@@ -2627,8 +2643,8 @@ Released on April 2, 2024.
2627
2643
  properties were not properly displayed in Mastodon.
2628
2644
 
2629
2645
  [@fedify/fedify]: https://www.npmjs.com/package/@fedify/fedify
2630
- [#24]: https://github.com/dahlia/fedify/discussions/24
2631
- [#29]: https://github.com/dahlia/fedify/issues/29
2646
+ [#24]: https://github.com/fedify-dev/fedify/discussions/24
2647
+ [#29]: https://github.com/fedify-dev/fedify/issues/29
2632
2648
 
2633
2649
 
2634
2650
  Version 0.4.0
@@ -2745,7 +2761,7 @@ Released on March 26, 2024.
2745
2761
  now omit `type` property.
2746
2762
 
2747
2763
  [Fresh]: https://fresh.deno.dev/
2748
- [#12]: https://github.com/dahlia/fedify/issues/12
2764
+ [#12]: https://github.com/fedify-dev/fedify/issues/12
2749
2765
 
2750
2766
 
2751
2767
  Version 0.3.0
@@ -2781,7 +2797,7 @@ Released on March 15, 2024.
2781
2797
  - Now `onNotFound`/`onNotAcceptable` options are optional for
2782
2798
  `Federation.handle()` method. [[#9]]
2783
2799
 
2784
- [#9]: https://github.com/dahlia/fedify/issues/9
2800
+ [#9]: https://github.com/fedify-dev/fedify/issues/9
2785
2801
 
2786
2802
 
2787
2803
  Version 0.2.0
@@ -2818,7 +2834,7 @@ Released on March 10, 2024.
2818
2834
 
2819
2835
  [NodeInfo]: https://nodeinfo.diaspora.software/
2820
2836
  [WebFinger]: https://datatracker.ietf.org/doc/html/rfc7033
2821
- [#1]: https://github.com/dahlia/fedify/issues/1
2837
+ [#1]: https://github.com/fedify-dev/fedify/issues/1
2822
2838
 
2823
2839
 
2824
2840
  Version 0.1.0
package/README.md CHANGED
@@ -42,7 +42,7 @@ resources:
42
42
  [Learning the basics](https://fedify.dev/tutorial/basics) &
43
43
  [Creating a microblog](https://fedify.dev/tutorial/microblog)
44
44
  - [API reference][JSR]
45
- - [Examples](https://github.com/dahlia/fedify/tree/main/examples)
45
+ - [Examples](https://github.com/fedify-dev/fedify/tree/main/examples)
46
46
 
47
47
  If you have any questions, suggestions, or feedback, please feel free to
48
48
  join our [Matrix chat space][Matrix] or [Discord server][Discord] or
@@ -55,8 +55,8 @@ join our [Matrix chat space][Matrix] or [Discord server][Discord] or
55
55
  [JSR badge]: https://jsr.io/badges/@fedify/fedify
56
56
  [npm]: https://www.npmjs.com/package/@fedify/fedify
57
57
  [npm badge]: https://img.shields.io/npm/v/@fedify/fedify?logo=npm
58
- [GitHub Actions]: https://github.com/dahlia/fedify/actions/workflows/build.yaml
59
- [GitHub Actions badge]: https://github.com/dahlia/fedify/actions/workflows/build.yaml/badge.svg
58
+ [GitHub Actions]: https://github.com/fedify-dev/fedify/actions/workflows/build.yaml
59
+ [GitHub Actions badge]: https://github.com/fedify-dev/fedify/actions/workflows/build.yaml/badge.svg
60
60
  [Matrix]: https://matrix.to/#/#fedify:matrix.org
61
61
  [Matrix badge]: https://img.shields.io/matrix/fedify%3Amatrix.org?logo=matrix
62
62
  [Discord]: https://discord.gg/bhtwpzURwd
@@ -72,7 +72,7 @@ join our [Matrix chat space][Matrix] or [Discord server][Discord] or
72
72
  [FEP-8b32]: https://w3id.org/fep/8b32
73
73
  [Linked Data Signatures]: https://web.archive.org/web/20170923124140/https://w3c-dvcg.github.io/ld-signatures/
74
74
  [NodeInfo]: https://nodeinfo.diaspora.software/
75
- [GitHub Discussions]: https://github.com/dahlia/fedify/discussions
75
+ [GitHub Discussions]: https://github.com/fedify-dev/fedify/discussions
76
76
  [#Fedify]: https://mastodon.social/tags/fedify
77
77
  [Mastodon]: https://joinmastodon.org/
78
78
  [Lemmy]: https://join-lemmy.org/
package/esm/deno.js CHANGED
@@ -1,6 +1,6 @@
1
1
  export default {
2
2
  "name": "@fedify/fedify",
3
- "version": "1.4.0-dev.607+b9f34f48",
3
+ "version": "1.4.0-dev.612+b8012128",
4
4
  "license": "MIT",
5
5
  "exports": {
6
6
  ".": "./mod.ts",
@@ -1,4 +1,4 @@
1
- // Copyright 2018-2024 the Deno authors. All rights reserved. MIT license.
1
+ // Copyright 2018-2025 the Deno authors. MIT license.
2
2
  // This module is browser compatible.
3
3
  /** Options for {@linkcode delay}. */
4
4
  import * as dntShim from "../../../../../_dnt.shims.js";
@@ -58,6 +58,7 @@ export class FederationImpl {
58
58
  documentLoader;
59
59
  contextLoader;
60
60
  authenticatedDocumentLoaderFactory;
61
+ allowPrivateAddress;
61
62
  userAgent;
62
63
  onOutboxError;
63
64
  signatureTimeWindow;
@@ -112,6 +113,7 @@ export class FederationImpl {
112
113
  }
113
114
  }
114
115
  const { allowPrivateAddress, userAgent } = options;
116
+ this.allowPrivateAddress = allowPrivateAddress ?? false;
115
117
  this.documentLoader = options.documentLoader ?? kvCache({
116
118
  loader: getDocumentLoader({ allowPrivateAddress, userAgent }),
117
119
  kv: options.kv,
@@ -1826,6 +1828,8 @@ export class ContextImpl {
1826
1828
  contextLoader: options.contextLoader ?? this.contextLoader,
1827
1829
  userAgent: options.userAgent ?? this.federation.userAgent,
1828
1830
  tracerProvider: options.tracerProvider ?? this.tracerProvider,
1831
+ // @ts-ignore: `allowPrivateAddress` is not in the type definition.
1832
+ allowPrivateAddress: this.federation.allowPrivateAddress,
1829
1833
  });
1830
1834
  }
1831
1835
  traverseCollection(collection, options = {}) {
package/esm/mod.js CHANGED
@@ -25,10 +25,10 @@
25
25
  * If you want to know more about the project, please take a look at the
26
26
  * following resources:
27
27
  *
28
- * - [GitHub](https://github.com/dahlia/fedify)
28
+ * - [GitHub](https://github.com/fedify-dev/fedify)
29
29
  * - Tutorials: [Learning the basics](https://fedify.dev/tutorial/basics)
30
30
  * & [Creating a microblog](https://fedify.dev/tutorial/microblog)
31
- * - [Examples](https://github.com/dahlia/fedify/tree/main/examples)
31
+ * - [Examples](https://github.com/fedify-dev/fedify/tree/main/examples)
32
32
  *
33
33
  * [ActivityPub]: https://www.w3.org/TR/activitypub/
34
34
  * [fediverse]: https://en.wikipedia.org/wiki/Fediverse
@@ -1,5 +1,5 @@
1
1
  // Preloaded context documents
2
- // https://github.com/dahlia/fedify/issues/74
2
+ // https://github.com/fedify-dev/fedify/issues/74
3
3
  // cSpell: disable
4
4
  const preloadedContexts = {
5
5
  "https://www.w3.org/ns/activitystreams": {
@@ -1,7 +1,7 @@
1
1
  import * as dntShim from "../_dnt.shims.js";
2
2
  import { getLogger } from "@logtape/logtape";
3
3
  import { SpanStatusCode, trace } from "@opentelemetry/api";
4
- import { delay } from "../deps/jsr.io/@std/async/1.0.9/delay.js";
4
+ import { delay } from "../deps/jsr.io/@std/async/1.0.10/delay.js";
5
5
  import metadata from "../deno.js";
6
6
  import { getDocumentLoader, } from "../runtime/docloader.js";
7
7
  import { lookupWebFinger } from "../webfinger/lookup.js";
@@ -95,6 +95,8 @@ async function lookupObjectInternal(identifier, options = {}) {
95
95
  const jrd = await lookupWebFinger(identifier, {
96
96
  userAgent: options.userAgent,
97
97
  tracerProvider: options.tracerProvider,
98
+ allowPrivateAddress: "allowPrivateAddress" in options &&
99
+ options.allowPrivateAddress === true,
98
100
  });
99
101
  if (jrd?.links == null)
100
102
  return null;