@fedify/fedify 1.5.0 → 1.5.2
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 +139 -0
- package/README.md +5 -1
- package/SPONSORS.md +6 -1
- package/esm/deno.js +1 -1
- package/esm/deps/jsr.io/@std/semver/{1.0.4 → 1.0.5}/_constants.js +0 -10
- package/esm/deps/jsr.io/@std/semver/{1.0.4 → 1.0.5}/satisfies.js +1 -0
- package/esm/federation/handler.js +1 -1
- package/esm/nodeinfo/client.js +1 -1
- package/esm/nodeinfo/mod.js +1 -1
- package/esm/nodeinfo/types.js +1 -1
- package/esm/sig/key.js +4 -1
- package/esm/vocab/undo.yaml +4 -0
- package/esm/vocab/vocab.js +338 -184
- package/package.json +1 -1
- package/types/deps/jsr.io/@std/http/{1.0.13 → 1.0.15}/_negotiation/common.d.ts.map +1 -1
- package/types/deps/jsr.io/@std/http/{1.0.13 → 1.0.15}/_negotiation/encoding.d.ts.map +1 -1
- package/types/deps/jsr.io/@std/http/{1.0.13 → 1.0.15}/_negotiation/language.d.ts.map +1 -1
- package/types/deps/jsr.io/@std/http/{1.0.13 → 1.0.15}/_negotiation/media_type.d.ts.map +1 -1
- package/types/deps/jsr.io/@std/http/{1.0.13 → 1.0.15}/negotiation.d.ts.map +1 -1
- package/types/deps/jsr.io/@std/semver/{1.0.4 → 1.0.5}/_constants.d.ts +0 -4
- package/types/deps/jsr.io/@std/semver/1.0.5/_constants.d.ts.map +1 -0
- package/types/deps/jsr.io/@std/semver/{1.0.4 → 1.0.5}/_shared.d.ts.map +1 -1
- package/types/deps/jsr.io/@std/semver/{1.0.4 → 1.0.5}/_test_comparator_set.d.ts.map +1 -1
- package/types/deps/jsr.io/@std/semver/{1.0.4 → 1.0.5}/can_parse.d.ts.map +1 -1
- package/types/deps/jsr.io/@std/semver/{1.0.4 → 1.0.5}/compare.d.ts.map +1 -1
- package/types/deps/jsr.io/@std/semver/{1.0.4 → 1.0.5}/difference.d.ts.map +1 -1
- package/types/deps/jsr.io/@std/semver/{1.0.4 → 1.0.5}/equals.d.ts.map +1 -1
- package/types/deps/jsr.io/@std/semver/{1.0.4 → 1.0.5}/format.d.ts.map +1 -1
- package/types/deps/jsr.io/@std/semver/{1.0.4 → 1.0.5}/format_range.d.ts.map +1 -1
- package/types/deps/jsr.io/@std/semver/{1.0.4 → 1.0.5}/greater_or_equal.d.ts.map +1 -1
- package/types/deps/jsr.io/@std/semver/{1.0.4 → 1.0.5}/greater_than.d.ts.map +1 -1
- package/types/deps/jsr.io/@std/semver/{1.0.4 → 1.0.5}/greater_than_range.d.ts.map +1 -1
- package/types/deps/jsr.io/@std/semver/{1.0.4 → 1.0.5}/increment.d.ts.map +1 -1
- package/types/deps/jsr.io/@std/semver/{1.0.4 → 1.0.5}/is_range.d.ts.map +1 -1
- package/types/deps/jsr.io/@std/semver/{1.0.4 → 1.0.5}/is_semver.d.ts.map +1 -1
- package/types/deps/jsr.io/@std/semver/{1.0.4 → 1.0.5}/less_or_equal.d.ts.map +1 -1
- package/types/deps/jsr.io/@std/semver/{1.0.4 → 1.0.5}/less_than.d.ts.map +1 -1
- package/types/deps/jsr.io/@std/semver/{1.0.4 → 1.0.5}/less_than_range.d.ts.map +1 -1
- package/types/deps/jsr.io/@std/semver/{1.0.4 → 1.0.5}/max_satisfying.d.ts.map +1 -1
- package/types/deps/jsr.io/@std/semver/{1.0.4 → 1.0.5}/min_satisfying.d.ts.map +1 -1
- package/types/deps/jsr.io/@std/semver/{1.0.4 → 1.0.5}/mod.d.ts.map +1 -1
- package/types/deps/jsr.io/@std/semver/{1.0.4 → 1.0.5}/not_equals.d.ts.map +1 -1
- package/types/deps/jsr.io/@std/semver/{1.0.4 → 1.0.5}/parse.d.ts.map +1 -1
- package/types/deps/jsr.io/@std/semver/{1.0.4 → 1.0.5}/parse_range.d.ts.map +1 -1
- package/types/deps/jsr.io/@std/semver/{1.0.4 → 1.0.5}/range_intersects.d.ts.map +1 -1
- package/types/deps/jsr.io/@std/semver/1.0.5/satisfies.d.ts.map +1 -0
- package/types/deps/jsr.io/@std/semver/{1.0.4 → 1.0.5}/try_parse.d.ts.map +1 -1
- package/types/deps/jsr.io/@std/semver/{1.0.4 → 1.0.5}/try_parse_range.d.ts.map +1 -1
- package/types/deps/jsr.io/@std/semver/{1.0.4 → 1.0.5}/types.d.ts.map +1 -1
- package/types/nodeinfo/mod.d.ts +1 -1
- package/types/nodeinfo/types.d.ts +1 -1
- package/types/sig/key.d.ts.map +1 -1
- package/types/vocab/vocab.d.ts.map +1 -1
- package/types/deps/jsr.io/@std/semver/1.0.4/_constants.d.ts.map +0 -1
- package/types/deps/jsr.io/@std/semver/1.0.4/satisfies.d.ts.map +0 -1
- /package/esm/deps/jsr.io/@std/http/{1.0.13 → 1.0.15}/_negotiation/common.js +0 -0
- /package/esm/deps/jsr.io/@std/http/{1.0.13 → 1.0.15}/_negotiation/encoding.js +0 -0
- /package/esm/deps/jsr.io/@std/http/{1.0.13 → 1.0.15}/_negotiation/language.js +0 -0
- /package/esm/deps/jsr.io/@std/http/{1.0.13 → 1.0.15}/_negotiation/media_type.js +0 -0
- /package/esm/deps/jsr.io/@std/http/{1.0.13 → 1.0.15}/negotiation.js +0 -0
- /package/esm/deps/jsr.io/@std/semver/{1.0.4 → 1.0.5}/_shared.js +0 -0
- /package/esm/deps/jsr.io/@std/semver/{1.0.4 → 1.0.5}/_test_comparator_set.js +0 -0
- /package/esm/deps/jsr.io/@std/semver/{1.0.4 → 1.0.5}/can_parse.js +0 -0
- /package/esm/deps/jsr.io/@std/semver/{1.0.4 → 1.0.5}/compare.js +0 -0
- /package/esm/deps/jsr.io/@std/semver/{1.0.4 → 1.0.5}/difference.js +0 -0
- /package/esm/deps/jsr.io/@std/semver/{1.0.4 → 1.0.5}/equals.js +0 -0
- /package/esm/deps/jsr.io/@std/semver/{1.0.4 → 1.0.5}/format.js +0 -0
- /package/esm/deps/jsr.io/@std/semver/{1.0.4 → 1.0.5}/format_range.js +0 -0
- /package/esm/deps/jsr.io/@std/semver/{1.0.4 → 1.0.5}/greater_or_equal.js +0 -0
- /package/esm/deps/jsr.io/@std/semver/{1.0.4 → 1.0.5}/greater_than.js +0 -0
- /package/esm/deps/jsr.io/@std/semver/{1.0.4 → 1.0.5}/greater_than_range.js +0 -0
- /package/esm/deps/jsr.io/@std/semver/{1.0.4 → 1.0.5}/increment.js +0 -0
- /package/esm/deps/jsr.io/@std/semver/{1.0.4 → 1.0.5}/is_range.js +0 -0
- /package/esm/deps/jsr.io/@std/semver/{1.0.4 → 1.0.5}/is_semver.js +0 -0
- /package/esm/deps/jsr.io/@std/semver/{1.0.4 → 1.0.5}/less_or_equal.js +0 -0
- /package/esm/deps/jsr.io/@std/semver/{1.0.4 → 1.0.5}/less_than.js +0 -0
- /package/esm/deps/jsr.io/@std/semver/{1.0.4 → 1.0.5}/less_than_range.js +0 -0
- /package/esm/deps/jsr.io/@std/semver/{1.0.4 → 1.0.5}/max_satisfying.js +0 -0
- /package/esm/deps/jsr.io/@std/semver/{1.0.4 → 1.0.5}/min_satisfying.js +0 -0
- /package/esm/deps/jsr.io/@std/semver/{1.0.4 → 1.0.5}/mod.js +0 -0
- /package/esm/deps/jsr.io/@std/semver/{1.0.4 → 1.0.5}/not_equals.js +0 -0
- /package/esm/deps/jsr.io/@std/semver/{1.0.4 → 1.0.5}/parse.js +0 -0
- /package/esm/deps/jsr.io/@std/semver/{1.0.4 → 1.0.5}/parse_range.js +0 -0
- /package/esm/deps/jsr.io/@std/semver/{1.0.4 → 1.0.5}/range_intersects.js +0 -0
- /package/esm/deps/jsr.io/@std/semver/{1.0.4 → 1.0.5}/try_parse.js +0 -0
- /package/esm/deps/jsr.io/@std/semver/{1.0.4 → 1.0.5}/try_parse_range.js +0 -0
- /package/esm/deps/jsr.io/@std/semver/{1.0.4 → 1.0.5}/types.js +0 -0
- /package/types/deps/jsr.io/@std/http/{1.0.13 → 1.0.15}/_negotiation/common.d.ts +0 -0
- /package/types/deps/jsr.io/@std/http/{1.0.13 → 1.0.15}/_negotiation/encoding.d.ts +0 -0
- /package/types/deps/jsr.io/@std/http/{1.0.13 → 1.0.15}/_negotiation/language.d.ts +0 -0
- /package/types/deps/jsr.io/@std/http/{1.0.13 → 1.0.15}/_negotiation/media_type.d.ts +0 -0
- /package/types/deps/jsr.io/@std/http/{1.0.13 → 1.0.15}/negotiation.d.ts +0 -0
- /package/types/deps/jsr.io/@std/semver/{1.0.4 → 1.0.5}/_shared.d.ts +0 -0
- /package/types/deps/jsr.io/@std/semver/{1.0.4 → 1.0.5}/_test_comparator_set.d.ts +0 -0
- /package/types/deps/jsr.io/@std/semver/{1.0.4 → 1.0.5}/can_parse.d.ts +0 -0
- /package/types/deps/jsr.io/@std/semver/{1.0.4 → 1.0.5}/compare.d.ts +0 -0
- /package/types/deps/jsr.io/@std/semver/{1.0.4 → 1.0.5}/difference.d.ts +0 -0
- /package/types/deps/jsr.io/@std/semver/{1.0.4 → 1.0.5}/equals.d.ts +0 -0
- /package/types/deps/jsr.io/@std/semver/{1.0.4 → 1.0.5}/format.d.ts +0 -0
- /package/types/deps/jsr.io/@std/semver/{1.0.4 → 1.0.5}/format_range.d.ts +0 -0
- /package/types/deps/jsr.io/@std/semver/{1.0.4 → 1.0.5}/greater_or_equal.d.ts +0 -0
- /package/types/deps/jsr.io/@std/semver/{1.0.4 → 1.0.5}/greater_than.d.ts +0 -0
- /package/types/deps/jsr.io/@std/semver/{1.0.4 → 1.0.5}/greater_than_range.d.ts +0 -0
- /package/types/deps/jsr.io/@std/semver/{1.0.4 → 1.0.5}/increment.d.ts +0 -0
- /package/types/deps/jsr.io/@std/semver/{1.0.4 → 1.0.5}/is_range.d.ts +0 -0
- /package/types/deps/jsr.io/@std/semver/{1.0.4 → 1.0.5}/is_semver.d.ts +0 -0
- /package/types/deps/jsr.io/@std/semver/{1.0.4 → 1.0.5}/less_or_equal.d.ts +0 -0
- /package/types/deps/jsr.io/@std/semver/{1.0.4 → 1.0.5}/less_than.d.ts +0 -0
- /package/types/deps/jsr.io/@std/semver/{1.0.4 → 1.0.5}/less_than_range.d.ts +0 -0
- /package/types/deps/jsr.io/@std/semver/{1.0.4 → 1.0.5}/max_satisfying.d.ts +0 -0
- /package/types/deps/jsr.io/@std/semver/{1.0.4 → 1.0.5}/min_satisfying.d.ts +0 -0
- /package/types/deps/jsr.io/@std/semver/{1.0.4 → 1.0.5}/mod.d.ts +0 -0
- /package/types/deps/jsr.io/@std/semver/{1.0.4 → 1.0.5}/not_equals.d.ts +0 -0
- /package/types/deps/jsr.io/@std/semver/{1.0.4 → 1.0.5}/parse.d.ts +0 -0
- /package/types/deps/jsr.io/@std/semver/{1.0.4 → 1.0.5}/parse_range.d.ts +0 -0
- /package/types/deps/jsr.io/@std/semver/{1.0.4 → 1.0.5}/range_intersects.d.ts +0 -0
- /package/types/deps/jsr.io/@std/semver/{1.0.4 → 1.0.5}/satisfies.d.ts +0 -0
- /package/types/deps/jsr.io/@std/semver/{1.0.4 → 1.0.5}/try_parse.d.ts +0 -0
- /package/types/deps/jsr.io/@std/semver/{1.0.4 → 1.0.5}/try_parse_range.d.ts +0 -0
- /package/types/deps/jsr.io/@std/semver/{1.0.4 → 1.0.5}/types.d.ts +0 -0
package/CHANGES.md
CHANGED
@@ -3,6 +3,43 @@
|
|
3
3
|
Fedify changelog
|
4
4
|
================
|
5
5
|
|
6
|
+
Version 1.5.2
|
7
|
+
-------------
|
8
|
+
|
9
|
+
Released on May 11, 2025.
|
10
|
+
|
11
|
+
- Fixed the `fedify init` command to install the correct version of
|
12
|
+
*@fedify/express* package. [[#230], [#231] by Emelia Smith]
|
13
|
+
|
14
|
+
- The `exportJwk()` function now populates the `alg` property of a returned
|
15
|
+
`JsonWebKey` object with `"Ed25519"` if the input key is an Ed25519 key.
|
16
|
+
|
17
|
+
[#230]: https://github.com/fedify-dev/fedify/issues/230
|
18
|
+
[#231]: https://github.com/fedify-dev/fedify/pull/231
|
19
|
+
|
20
|
+
|
21
|
+
Version 1.5.1
|
22
|
+
-------------
|
23
|
+
|
24
|
+
Released on April 8, 2025.
|
25
|
+
|
26
|
+
- Activity Vocabulary API became to accept [RFC 3339] date-time strings
|
27
|
+
without a timezone offset. This is not a bug fix, but improves
|
28
|
+
interoperability with some implementations that do not include a timezone
|
29
|
+
offset in their date-time strings including WordPress. [[#226]]
|
30
|
+
|
31
|
+
- Added the following default context to `Undo` class:
|
32
|
+
|
33
|
+
~~~~ json
|
34
|
+
{
|
35
|
+
"litepub": "http://litepub.social/ns#",
|
36
|
+
"toot": "http://joinmastodon.org/ns#",
|
37
|
+
"EmojiReact": "litepub:EmojiReact",
|
38
|
+
"Emoji": "toot:Emoji"
|
39
|
+
}
|
40
|
+
~~~~
|
41
|
+
|
42
|
+
|
6
43
|
Version 1.5.0
|
7
44
|
-------------
|
8
45
|
|
@@ -115,6 +152,28 @@ Released on March 28, 2025.
|
|
115
152
|
[multibase]: https://github.com/multiformats/js-multibase
|
116
153
|
|
117
154
|
|
155
|
+
Version 1.4.10
|
156
|
+
--------------
|
157
|
+
|
158
|
+
Released on April 8, 2025.
|
159
|
+
|
160
|
+
- Activity Vocabulary API became to accept [RFC 3339] date-time strings
|
161
|
+
without a timezone offset. This is not a bug fix, but improves
|
162
|
+
interoperability with some implementations that do not include a timezone
|
163
|
+
offset in their date-time strings including WordPress. [[#226]]
|
164
|
+
|
165
|
+
- Added the following default context to `Undo` class:
|
166
|
+
|
167
|
+
~~~~ json
|
168
|
+
{
|
169
|
+
"litepub": "http://litepub.social/ns#",
|
170
|
+
"toot": "http://joinmastodon.org/ns#",
|
171
|
+
"EmojiReact": "litepub:EmojiReact",
|
172
|
+
"Emoji": "toot:Emoji"
|
173
|
+
}
|
174
|
+
~~~~
|
175
|
+
|
176
|
+
|
118
177
|
Version 1.4.9
|
119
178
|
-------------
|
120
179
|
|
@@ -317,6 +376,28 @@ Released on February 5, 2025.
|
|
317
376
|
[#195]: https://github.com/fedify-dev/fedify/issues/195
|
318
377
|
|
319
378
|
|
379
|
+
Version 1.3.17
|
380
|
+
--------------
|
381
|
+
|
382
|
+
Released on April 8, 2025.
|
383
|
+
|
384
|
+
- Activity Vocabulary API became to accept [RFC 3339] date-time strings
|
385
|
+
without a timezone offset. This is not a bug fix, but improves
|
386
|
+
interoperability with some implementations that do not include a timezone
|
387
|
+
offset in their date-time strings including WordPress. [[#226]]
|
388
|
+
|
389
|
+
- Added the following default context to `Undo` class:
|
390
|
+
|
391
|
+
~~~~ json
|
392
|
+
{
|
393
|
+
"litepub": "http://litepub.social/ns#",
|
394
|
+
"toot": "http://joinmastodon.org/ns#",
|
395
|
+
"EmojiReact": "litepub:EmojiReact",
|
396
|
+
"Emoji": "toot:Emoji"
|
397
|
+
}
|
398
|
+
~~~~
|
399
|
+
|
400
|
+
|
320
401
|
Version 1.3.16
|
321
402
|
--------------
|
322
403
|
|
@@ -635,6 +716,28 @@ Released on November 30, 2024.
|
|
635
716
|
[#193]: https://github.com/fedify-dev/fedify/issues/193
|
636
717
|
|
637
718
|
|
719
|
+
Version 1.2.21
|
720
|
+
--------------
|
721
|
+
|
722
|
+
Released on April 8, 2025.
|
723
|
+
|
724
|
+
- Activity Vocabulary API became to accept [RFC 3339] date-time strings
|
725
|
+
without a timezone offset. This is not a bug fix, but improves
|
726
|
+
interoperability with some implementations that do not include a timezone
|
727
|
+
offset in their date-time strings including WordPress. [[#226]]
|
728
|
+
|
729
|
+
- Added the following default context to `Undo` class:
|
730
|
+
|
731
|
+
~~~~ json
|
732
|
+
{
|
733
|
+
"litepub": "http://litepub.social/ns#",
|
734
|
+
"toot": "http://joinmastodon.org/ns#",
|
735
|
+
"EmojiReact": "litepub:EmojiReact",
|
736
|
+
"Emoji": "toot:Emoji"
|
737
|
+
}
|
738
|
+
~~~~
|
739
|
+
|
740
|
+
|
638
741
|
Version 1.2.20
|
639
742
|
--------------
|
640
743
|
|
@@ -1001,6 +1104,28 @@ Released on October 31, 2024.
|
|
1001
1104
|
[#118]: https://github.com/fedify-dev/fedify/issues/118
|
1002
1105
|
|
1003
1106
|
|
1107
|
+
Version 1.1.21
|
1108
|
+
--------------
|
1109
|
+
|
1110
|
+
Released on April 8, 2025.
|
1111
|
+
|
1112
|
+
- Activity Vocabulary API became to accept [RFC 3339] date-time strings
|
1113
|
+
without a timezone offset. This is not a bug fix, but improves
|
1114
|
+
interoperability with some implementations that do not include a timezone
|
1115
|
+
offset in their date-time strings including WordPress. [[#226]]
|
1116
|
+
|
1117
|
+
- Added the following default context to `Undo` class:
|
1118
|
+
|
1119
|
+
~~~~ json
|
1120
|
+
{
|
1121
|
+
"litepub": "http://litepub.social/ns#",
|
1122
|
+
"toot": "http://joinmastodon.org/ns#",
|
1123
|
+
"EmojiReact": "litepub:EmojiReact",
|
1124
|
+
"Emoji": "toot:Emoji"
|
1125
|
+
}
|
1126
|
+
~~~~
|
1127
|
+
|
1128
|
+
|
1004
1129
|
Version 1.1.20
|
1005
1130
|
--------------
|
1006
1131
|
|
@@ -1408,6 +1533,20 @@ Released on October 20, 2024.
|
|
1408
1533
|
[#150]: https://github.com/fedify-dev/fedify/issues/150
|
1409
1534
|
|
1410
1535
|
|
1536
|
+
Version 1.0.24
|
1537
|
+
--------------
|
1538
|
+
|
1539
|
+
Released on April 8, 2025.
|
1540
|
+
|
1541
|
+
- Activity Vocabulary API became to accept [RFC 3339] date-time strings
|
1542
|
+
without a timezone offset. This is not a bug fix, but improves
|
1543
|
+
interoperability with some implementations that do not include a timezone
|
1544
|
+
offset in their date-time strings including WordPress. [[#226]]
|
1545
|
+
|
1546
|
+
[RFC 3339]: https://datatracker.ietf.org/doc/html/rfc3339
|
1547
|
+
[#226]: https://github.com/fedify-dev/fedify/issues/226
|
1548
|
+
|
1549
|
+
|
1411
1550
|
Version 1.0.23
|
1412
1551
|
--------------
|
1413
1552
|
|
package/README.md
CHANGED
@@ -92,6 +92,10 @@ financial contributors:[^2]
|
|
92
92
|
<!-- cSpell: disable -->
|
93
93
|
<!-- DO NOT EDIT(h3): this section is automatically generated by the script -->
|
94
94
|
|
95
|
+
### Corporate sponsors
|
96
|
+
|
97
|
+
- [<img src="https://images.opencollective.com/ghost/avatar/128.png" width="64" height="64"> Ghost](https://ghost.org)
|
98
|
+
|
95
99
|
### Supporters
|
96
100
|
|
97
101
|
- [Daniel Supernault](https://pixelfed.org/)
|
@@ -100,7 +104,7 @@ financial contributors:[^2]
|
|
100
104
|
|
101
105
|
### Backers
|
102
106
|
|
103
|
-
yamanoku,
|
107
|
+
yamanoku, taye, Encyclia, okin, Andy Piper, box464, Evan Prodromou, Rafael Goulart, malte
|
104
108
|
|
105
109
|
### One-time donations
|
106
110
|
|
package/SPONSORS.md
CHANGED
@@ -10,6 +10,11 @@ financial contributors:[^1]
|
|
10
10
|
<!-- cSpell: disable -->
|
11
11
|
<!-- DO NOT EDIT(h2): this section is automatically generated by the script -->
|
12
12
|
|
13
|
+
Corporate sponsors
|
14
|
+
------------------
|
15
|
+
|
16
|
+
- [<img src="https://images.opencollective.com/ghost/avatar/128.png" width="64" height="64"> Ghost](https://ghost.org)
|
17
|
+
|
13
18
|
Supporters
|
14
19
|
----------
|
15
20
|
|
@@ -20,7 +25,7 @@ Supporters
|
|
20
25
|
Backers
|
21
26
|
-------
|
22
27
|
|
23
|
-
yamanoku,
|
28
|
+
yamanoku, taye, Encyclia, okin, Andy Piper, box464, Evan Prodromou, Rafael Goulart, malte
|
24
29
|
|
25
30
|
One-time donations
|
26
31
|
------------------
|
package/esm/deno.js
CHANGED
@@ -1,14 +1,4 @@
|
|
1
1
|
// Copyright 2018-2025 the Deno authors. MIT license.
|
2
|
-
/**
|
3
|
-
* The minimum valid SemVer object. Equivalent to `0.0.0`.
|
4
|
-
*/
|
5
|
-
export const MIN = {
|
6
|
-
major: 0,
|
7
|
-
minor: 0,
|
8
|
-
patch: 0,
|
9
|
-
prerelease: [],
|
10
|
-
build: [],
|
11
|
-
};
|
12
2
|
/**
|
13
3
|
* ANY is a sentinel value used by some range calculations. It is not a valid
|
14
4
|
* SemVer object and should not be used directly.
|
@@ -1,6 +1,6 @@
|
|
1
1
|
import { getLogger } from "@logtape/logtape";
|
2
2
|
import { SpanKind, SpanStatusCode, trace } from "@opentelemetry/api";
|
3
|
-
import { accepts } from "../deps/jsr.io/@std/http/1.0.
|
3
|
+
import { accepts } from "../deps/jsr.io/@std/http/1.0.15/negotiation.js";
|
4
4
|
import metadata from "../deno.js";
|
5
5
|
import { verifyRequest } from "../sig/http.js";
|
6
6
|
import { detachSignature, verifyJsonLd } from "../sig/ld.js";
|
package/esm/nodeinfo/client.js
CHANGED
@@ -1,5 +1,5 @@
|
|
1
1
|
import { getLogger } from "@logtape/logtape";
|
2
|
-
import { parse } from "../deps/jsr.io/@std/semver/1.0.
|
2
|
+
import { parse } from "../deps/jsr.io/@std/semver/1.0.5/mod.js";
|
3
3
|
import { getUserAgent, } from "../runtime/docloader.js";
|
4
4
|
const logger = getLogger(["fedify", "nodeinfo", "client"]);
|
5
5
|
export async function getNodeInfo(url, options = {}) {
|
package/esm/nodeinfo/mod.js
CHANGED
@@ -5,6 +5,6 @@
|
|
5
5
|
* @module
|
6
6
|
* @since 0.2.0
|
7
7
|
*/
|
8
|
-
export { format as formatSemVer, parse as parseSemVer, } from "../deps/jsr.io/@std/semver/1.0.
|
8
|
+
export { format as formatSemVer, parse as parseSemVer, } from "../deps/jsr.io/@std/semver/1.0.5/mod.js";
|
9
9
|
export { getNodeInfo, parseNodeInfo, } from "./client.js";
|
10
10
|
export * from "./types.js";
|
package/esm/nodeinfo/types.js
CHANGED
package/esm/sig/key.js
CHANGED
@@ -70,7 +70,10 @@ export function generateCryptoKeyPair(algorithm) {
|
|
70
70
|
*/
|
71
71
|
export async function exportJwk(key) {
|
72
72
|
validateCryptoKey(key);
|
73
|
-
|
73
|
+
const jwk = await dntShim.crypto.subtle.exportKey("jwk", key);
|
74
|
+
if (jwk.crv === "Ed25519")
|
75
|
+
jwk.alg = "Ed25519";
|
76
|
+
return jwk;
|
74
77
|
}
|
75
78
|
/**
|
76
79
|
* Imports a key from JWK format.
|
package/esm/vocab/undo.yaml
CHANGED
@@ -19,4 +19,8 @@ defaultContext:
|
|
19
19
|
- "https://w3id.org/security/data-integrity/v1"
|
20
20
|
- "https://www.w3.org/ns/did/v1"
|
21
21
|
- "https://w3id.org/security/multikey/v1"
|
22
|
+
- litepub: "http://litepub.social/ns#"
|
23
|
+
toot: "http://joinmastodon.org/ns#"
|
24
|
+
EmojiReact: "litepub:EmojiReact"
|
25
|
+
Emoji: "toot:Emoji"
|
22
26
|
properties: []
|