@fedify/fedify 1.3.12 → 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,16 @@
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
+
6
16
  Version 1.3.12
7
17
  --------------
8
18
 
@@ -272,6 +282,16 @@ Released on November 30, 2024.
272
282
  [#193]: https://github.com/fedify-dev/fedify/issues/193
273
283
 
274
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
+
275
295
  Version 1.2.16
276
296
  --------------
277
297
 
@@ -590,6 +610,16 @@ Released on October 31, 2024.
590
610
  [#118]: https://github.com/fedify-dev/fedify/issues/118
591
611
 
592
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
+
593
623
  Version 1.1.16
594
624
  --------------
595
625
 
@@ -949,6 +979,19 @@ Released on October 20, 2024.
949
979
  [#150]: https://github.com/fedify-dev/fedify/issues/150
950
980
 
951
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
+
952
995
  Version 1.0.19
953
996
  --------------
954
997
 
@@ -3100,4 +3143,5 @@ Version 0.1.0
3100
3143
 
3101
3144
  Initial release. Released on March 8, 2024.
3102
3145
 
3103
- <!-- 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.12",
3
+ "version": "1.3.13",
4
4
  "license": "MIT",
5
5
  "exports": {
6
6
  ".": "./mod.ts",
@@ -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";