@fedify/fedify 1.4.4 → 1.4.6
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 +136 -1
- package/README.md +1 -1
- package/esm/deno.js +2 -2
- package/esm/vocab/actor.js +2 -2
- package/esm/vocab/lookup.js +1 -1
- package/esm/vocab/vocab.js +176 -176
- package/esm/webfinger/handler.js +2 -2
- package/package.json +2 -2
- package/types/deps/jsr.io/@std/async/{1.0.10 → 1.0.11}/delay.d.ts.map +1 -1
- /package/esm/deps/jsr.io/@std/async/{1.0.10 → 1.0.11}/delay.js +0 -0
- /package/types/deps/jsr.io/@std/async/{1.0.10 → 1.0.11}/delay.d.ts +0 -0
package/CHANGES.md
CHANGED
@@ -3,6 +3,30 @@
|
|
3
3
|
Fedify changelog
|
4
4
|
================
|
5
5
|
|
6
|
+
Version 1.4.6
|
7
|
+
-------------
|
8
|
+
|
9
|
+
Released on March 9, 2025.
|
10
|
+
|
11
|
+
- Fedify no more depends on `node:punycode` module, which is deprecated in
|
12
|
+
Node.js. Now it uses the built-in `node:url` module instead.
|
13
|
+
[[#212], [#214] by Fróði Karlsson]
|
14
|
+
|
15
|
+
|
16
|
+
Version 1.4.5
|
17
|
+
-------------
|
18
|
+
|
19
|
+
Released on February 28, 2025.
|
20
|
+
|
21
|
+
- Made `fedify init` to install *@fedify/h3* 0.1.2 which is compatible with
|
22
|
+
Fedify 1.0.0 or later versions when `--web-framework nitro` option is
|
23
|
+
provided. [[#213]]
|
24
|
+
|
25
|
+
- Fixed a bug where `fedify init` had failed to initialize a project with
|
26
|
+
the `--runtime node --package-manager pnpm --web-framework nitro` option.
|
27
|
+
[[#213]]
|
28
|
+
|
29
|
+
|
6
30
|
Version 1.4.4
|
7
31
|
-------------
|
8
32
|
|
@@ -142,6 +166,30 @@ Released on February 5, 2025.
|
|
142
166
|
[#195]: https://github.com/fedify-dev/fedify/issues/195
|
143
167
|
|
144
168
|
|
169
|
+
Version 1.3.13
|
170
|
+
--------------
|
171
|
+
|
172
|
+
Released on March 9, 2025.
|
173
|
+
|
174
|
+
- Fedify no more depends on `node:punycode` module, which is deprecated in
|
175
|
+
Node.js. Now it uses the built-in `node:url` module instead.
|
176
|
+
[[#212], [#214] by Fróði Karlsson]
|
177
|
+
|
178
|
+
|
179
|
+
Version 1.3.12
|
180
|
+
--------------
|
181
|
+
|
182
|
+
Released on February 28, 2025.
|
183
|
+
|
184
|
+
- Made `fedify init` to install *@fedify/h3* 0.1.2 which is compatible with
|
185
|
+
Fedify 1.0.0 or later versions when `--web-framework nitro` option is
|
186
|
+
provided. [[#213]]
|
187
|
+
|
188
|
+
- Fixed a bug where `fedify init` had failed to initialize a project with
|
189
|
+
the `--runtime node --package-manager pnpm --web-framework nitro` option.
|
190
|
+
[[#213]]
|
191
|
+
|
192
|
+
|
145
193
|
Version 1.3.11
|
146
194
|
--------------
|
147
195
|
|
@@ -397,6 +445,33 @@ Released on November 30, 2024.
|
|
397
445
|
[#193]: https://github.com/fedify-dev/fedify/issues/193
|
398
446
|
|
399
447
|
|
448
|
+
Version 1.2.17
|
449
|
+
--------------
|
450
|
+
|
451
|
+
Released on March 9, 2025.
|
452
|
+
|
453
|
+
- Fedify no more depends on `node:punycode` module, which is deprecated in
|
454
|
+
Node.js. Now it uses the built-in `node:url` module instead.
|
455
|
+
[[#212], [#214] by Fróði Karlsson]
|
456
|
+
|
457
|
+
|
458
|
+
Version 1.2.16
|
459
|
+
--------------
|
460
|
+
|
461
|
+
Released on February 28, 2025.
|
462
|
+
|
463
|
+
- Made `fedify init` to install *@fedify/h3* 0.1.2 which is compatible with
|
464
|
+
Fedify 1.0.0 or later versions when `--web-framework nitro` option is
|
465
|
+
provided. [[#213]]
|
466
|
+
|
467
|
+
- Fixed a bug where `fedify init` had failed to initialize a project with
|
468
|
+
the `--runtime node --package-manager pnpm --web-framework nitro` option.
|
469
|
+
[[#213]]
|
470
|
+
|
471
|
+
- Made `fedify init` to install *@logtape/logtape* 0.7.2 which is the version
|
472
|
+
used in Fedify 1.2.x.
|
473
|
+
|
474
|
+
|
400
475
|
Version 1.2.15
|
401
476
|
--------------
|
402
477
|
|
@@ -698,6 +773,33 @@ Released on October 31, 2024.
|
|
698
773
|
[#118]: https://github.com/fedify-dev/fedify/issues/118
|
699
774
|
|
700
775
|
|
776
|
+
Version 1.1.17
|
777
|
+
--------------
|
778
|
+
|
779
|
+
Released on March 9, 2025.
|
780
|
+
|
781
|
+
- Fedify no more depends on `node:punycode` module, which is deprecated in
|
782
|
+
Node.js. Now it uses the built-in `node:url` module instead.
|
783
|
+
[[#212], [#214] by Fróði Karlsson]
|
784
|
+
|
785
|
+
|
786
|
+
Version 1.1.16
|
787
|
+
--------------
|
788
|
+
|
789
|
+
Released on February 28, 2025.
|
790
|
+
|
791
|
+
- Made `fedify init` to install *@fedify/h3* 0.1.2 which is compatible with
|
792
|
+
Fedify 1.0.0 or later versions when `--web-framework nitro` option is
|
793
|
+
provided. [[#213]]
|
794
|
+
|
795
|
+
- Fixed a bug where `fedify init` had failed to initialize a project with
|
796
|
+
the `--runtime node --package-manager pnpm --web-framework nitro` option.
|
797
|
+
[[#213]]
|
798
|
+
|
799
|
+
- Made `fedify init` to install *@logtape/logtape* 0.6.5 which is the version
|
800
|
+
used in Fedify 1.1.x.
|
801
|
+
|
802
|
+
|
701
803
|
Version 1.1.15
|
702
804
|
--------------
|
703
805
|
|
@@ -1040,6 +1142,38 @@ Released on October 20, 2024.
|
|
1040
1142
|
[#150]: https://github.com/fedify-dev/fedify/issues/150
|
1041
1143
|
|
1042
1144
|
|
1145
|
+
Version 1.0.20
|
1146
|
+
--------------
|
1147
|
+
|
1148
|
+
Released on March 9, 2025.
|
1149
|
+
|
1150
|
+
- Fedify no more depends on `node:punycode` module, which is deprecated in
|
1151
|
+
Node.js. Now it uses the built-in `node:url` module instead.
|
1152
|
+
[[#212], [#214] by Fróði Karlsson]
|
1153
|
+
|
1154
|
+
[#212]: https://github.com/fedify-dev/fedify/issues/212
|
1155
|
+
[#214]: https://github.com/fedify-dev/fedify/pull/214
|
1156
|
+
|
1157
|
+
|
1158
|
+
Version 1.0.19
|
1159
|
+
--------------
|
1160
|
+
|
1161
|
+
Released on February 28, 2025.
|
1162
|
+
|
1163
|
+
- Made `fedify init` to install *@fedify/h3* 0.1.2 which is compatible with
|
1164
|
+
Fedify 1.0.0 or later versions when `--web-framework nitro` option is
|
1165
|
+
provided. [[#213]]
|
1166
|
+
|
1167
|
+
- Fixed a bug where `fedify init` had failed to initialize a project with
|
1168
|
+
the `--runtime node --package-manager pnpm --web-framework nitro` option.
|
1169
|
+
[[#213]]
|
1170
|
+
|
1171
|
+
- Made `fedify init` to install *@logtape/logtape* 0.6.5 which is the version
|
1172
|
+
used in Fedify 1.0.x.
|
1173
|
+
|
1174
|
+
[#213]: https://github.com/fedify-dev/fedify/issues/213
|
1175
|
+
|
1176
|
+
|
1043
1177
|
Version 1.0.18
|
1044
1178
|
--------------
|
1045
1179
|
|
@@ -3172,4 +3306,5 @@ Version 0.1.0
|
|
3172
3306
|
|
3173
3307
|
Initial release. Released on March 8, 2024.
|
3174
3308
|
|
3175
|
-
<!-- cSpell: ignore Dogeon Fabien Wressell Emelia
|
3309
|
+
<!-- cSpell: ignore Dogeon Fabien Wressell Emelia Fróði Karlsson -->
|
3310
|
+
<!-- cSpell: ignore Hana Heesun Kyunghee Jiyu -->
|
package/README.md
CHANGED
@@ -100,7 +100,7 @@ financial contributors:[^2]
|
|
100
100
|
|
101
101
|
### Backers
|
102
102
|
|
103
|
-
yamanoku,
|
103
|
+
yamanoku, taye, okin, Andy Piper, box464, Evan Prodromou, Rafael Goulart, malte, Encyclia
|
104
104
|
|
105
105
|
### One-time donations
|
106
106
|
|
package/esm/deno.js
CHANGED
@@ -1,6 +1,6 @@
|
|
1
1
|
export default {
|
2
2
|
"name": "@fedify/fedify",
|
3
|
-
"version": "1.4.
|
3
|
+
"version": "1.4.6",
|
4
4
|
"license": "MIT",
|
5
5
|
"exports": {
|
6
6
|
".": "./mod.ts",
|
@@ -33,7 +33,7 @@ export default {
|
|
33
33
|
"@fedify/fedify/x/sveltekit": "./x/sveltekit.ts",
|
34
34
|
"@hongminhee/aitertools": "jsr:@hongminhee/aitertools@^0.6.0",
|
35
35
|
"@hugoalh/http-header-link": "jsr:@hugoalh/http-header-link@^1.0.2",
|
36
|
-
"@logtape/logtape": "jsr:@logtape/logtape@^0.8.
|
36
|
+
"@logtape/logtape": "jsr:@logtape/logtape@^0.8.2",
|
37
37
|
"@opentelemetry/api": "npm:@opentelemetry/api@^1.9.0",
|
38
38
|
"@opentelemetry/semantic-conventions": "npm:@opentelemetry/semantic-conventions@^1.27.0",
|
39
39
|
"@phensley/language-tag": "npm:@phensley/language-tag@^1.9.0",
|
package/esm/vocab/actor.js
CHANGED
@@ -1,5 +1,5 @@
|
|
1
1
|
import { SpanStatusCode, trace } from "@opentelemetry/api";
|
2
|
-
import {
|
2
|
+
import { domainToASCII, domainToUnicode } from "node:url";
|
3
3
|
import metadata from "../deno.js";
|
4
4
|
import { lookupWebFinger } from "../webfinger/lookup.js";
|
5
5
|
import { getTypeId } from "./type.js";
|
@@ -161,7 +161,7 @@ export function normalizeActorHandle(handle, options = {}) {
|
|
161
161
|
throw new TypeError("Invalid actor handle.");
|
162
162
|
}
|
163
163
|
domain = domain.toLowerCase();
|
164
|
-
domain = options.punycode ?
|
164
|
+
domain = options.punycode ? domainToASCII(domain) : domainToUnicode(domain);
|
165
165
|
domain = domain.toLowerCase();
|
166
166
|
const user = handle.substring(0, atPos);
|
167
167
|
return options.trimLeadingAt ? `${user}@${domain}` : `@${user}@${domain}`;
|
package/esm/vocab/lookup.js
CHANGED
@@ -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.
|
4
|
+
import { delay } from "../deps/jsr.io/@std/async/1.0.11/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";
|