@fedify/fedify 1.3.11 → 1.3.13

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
@@ -3,6 +3,30 @@
3
3
  Fedify changelog
4
4
  ================
5
5
 
6
+ Version 1.3.13
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.3.12
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.3.11
7
31
  --------------
8
32
 
@@ -258,6 +282,33 @@ Released on November 30, 2024.
258
282
  [#193]: https://github.com/fedify-dev/fedify/issues/193
259
283
 
260
284
 
285
+ Version 1.2.17
286
+ --------------
287
+
288
+ Released on March 9, 2025.
289
+
290
+ - Fedify no more depends on `node:punycode` module, which is deprecated in
291
+ Node.js. Now it uses the built-in `node:url` module instead.
292
+ [[#212], [#214] by Fróði Karlsson]
293
+
294
+
295
+ Version 1.2.16
296
+ --------------
297
+
298
+ Released on February 28, 2025.
299
+
300
+ - Made `fedify init` to install *@fedify/h3* 0.1.2 which is compatible with
301
+ Fedify 1.0.0 or later versions when `--web-framework nitro` option is
302
+ provided. [[#213]]
303
+
304
+ - Fixed a bug where `fedify init` had failed to initialize a project with
305
+ the `--runtime node --package-manager pnpm --web-framework nitro` option.
306
+ [[#213]]
307
+
308
+ - Made `fedify init` to install *@logtape/logtape* 0.7.2 which is the version
309
+ used in Fedify 1.2.x.
310
+
311
+
261
312
  Version 1.2.15
262
313
  --------------
263
314
 
@@ -559,6 +610,33 @@ Released on October 31, 2024.
559
610
  [#118]: https://github.com/fedify-dev/fedify/issues/118
560
611
 
561
612
 
613
+ Version 1.1.17
614
+ --------------
615
+
616
+ Released on March 9, 2025.
617
+
618
+ - Fedify no more depends on `node:punycode` module, which is deprecated in
619
+ Node.js. Now it uses the built-in `node:url` module instead.
620
+ [[#212], [#214] by Fróði Karlsson]
621
+
622
+
623
+ Version 1.1.16
624
+ --------------
625
+
626
+ Released on February 28, 2025.
627
+
628
+ - Made `fedify init` to install *@fedify/h3* 0.1.2 which is compatible with
629
+ Fedify 1.0.0 or later versions when `--web-framework nitro` option is
630
+ provided. [[#213]]
631
+
632
+ - Fixed a bug where `fedify init` had failed to initialize a project with
633
+ the `--runtime node --package-manager pnpm --web-framework nitro` option.
634
+ [[#213]]
635
+
636
+ - Made `fedify init` to install *@logtape/logtape* 0.6.5 which is the version
637
+ used in Fedify 1.1.x.
638
+
639
+
562
640
  Version 1.1.15
563
641
  --------------
564
642
 
@@ -901,6 +979,38 @@ Released on October 20, 2024.
901
979
  [#150]: https://github.com/fedify-dev/fedify/issues/150
902
980
 
903
981
 
982
+ Version 1.0.20
983
+ --------------
984
+
985
+ Released on March 9, 2025.
986
+
987
+ - Fedify no more depends on `node:punycode` module, which is deprecated in
988
+ Node.js. Now it uses the built-in `node:url` module instead.
989
+ [[#212], [#214] by Fróði Karlsson]
990
+
991
+ [#212]: https://github.com/fedify-dev/fedify/issues/212
992
+ [#214]: https://github.com/fedify-dev/fedify/pull/214
993
+
994
+
995
+ Version 1.0.19
996
+ --------------
997
+
998
+ Released on February 28, 2025.
999
+
1000
+ - Made `fedify init` to install *@fedify/h3* 0.1.2 which is compatible with
1001
+ Fedify 1.0.0 or later versions when `--web-framework nitro` option is
1002
+ provided. [[#213]]
1003
+
1004
+ - Fixed a bug where `fedify init` had failed to initialize a project with
1005
+ the `--runtime node --package-manager pnpm --web-framework nitro` option.
1006
+ [[#213]]
1007
+
1008
+ - Made `fedify init` to install *@logtape/logtape* 0.6.5 which is the version
1009
+ used in Fedify 1.0.x.
1010
+
1011
+ [#213]: https://github.com/fedify-dev/fedify/issues/213
1012
+
1013
+
904
1014
  Version 1.0.18
905
1015
  --------------
906
1016
 
@@ -3033,4 +3143,5 @@ Version 0.1.0
3033
3143
 
3034
3144
  Initial release. Released on March 8, 2024.
3035
3145
 
3036
- <!-- cSpell: ignore Dogeon Fabien Wressell Emelia Hana Heesun Kyunghee Jiyu -->
3146
+ <!-- cSpell: ignore Dogeon Fabien Wressell Emelia Fróði Karlsson -->
3147
+ <!-- cSpell: ignore Hana Heesun Kyunghee Jiyu -->
package/esm/deno.js CHANGED
@@ -1,6 +1,6 @@
1
1
  export default {
2
2
  "name": "@fedify/fedify",
3
- "version": "1.3.11",
3
+ "version": "1.3.13",
4
4
  "license": "MIT",
5
5
  "exports": {
6
6
  ".": "./mod.ts",
@@ -32,7 +32,7 @@ export default {
32
32
  "@fedify/fedify/x/sveltekit": "./x/sveltekit.ts",
33
33
  "@hongminhee/aitertools": "jsr:@hongminhee/aitertools@^0.6.0",
34
34
  "@hugoalh/http-header-link": "jsr:@hugoalh/http-header-link@^1.0.2",
35
- "@logtape/logtape": "jsr:@logtape/logtape@^0.8.1",
35
+ "@logtape/logtape": "jsr:@logtape/logtape@^0.8.2",
36
36
  "@opentelemetry/api": "npm:@opentelemetry/api@^1.9.0",
37
37
  "@opentelemetry/semantic-conventions": "npm:@opentelemetry/semantic-conventions@^1.27.0",
38
38
  "@phensley/language-tag": "npm:@phensley/language-tag@^1.9.0",
@@ -1,5 +1,5 @@
1
1
  import { SpanStatusCode, trace } from "@opentelemetry/api";
2
- import { toASCII, toUnicode } from "node:punycode";
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 ? toASCII(domain) : toUnicode(domain);
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}`;
@@ -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.10/delay.js";
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";