@fedify/fedify 1.4.5 → 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 CHANGED
@@ -3,6 +3,16 @@
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
+
6
16
  Version 1.4.5
7
17
  -------------
8
18
 
@@ -156,6 +166,16 @@ Released on February 5, 2025.
156
166
  [#195]: https://github.com/fedify-dev/fedify/issues/195
157
167
 
158
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
+
159
179
  Version 1.3.12
160
180
  --------------
161
181
 
@@ -425,6 +445,16 @@ Released on November 30, 2024.
425
445
  [#193]: https://github.com/fedify-dev/fedify/issues/193
426
446
 
427
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
+
428
458
  Version 1.2.16
429
459
  --------------
430
460
 
@@ -743,6 +773,16 @@ Released on October 31, 2024.
743
773
  [#118]: https://github.com/fedify-dev/fedify/issues/118
744
774
 
745
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
+
746
786
  Version 1.1.16
747
787
  --------------
748
788
 
@@ -1102,6 +1142,19 @@ Released on October 20, 2024.
1102
1142
  [#150]: https://github.com/fedify-dev/fedify/issues/150
1103
1143
 
1104
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
+
1105
1158
  Version 1.0.19
1106
1159
  --------------
1107
1160
 
@@ -3253,4 +3306,5 @@ Version 0.1.0
3253
3306
 
3254
3307
  Initial release. Released on March 8, 2024.
3255
3308
 
3256
- <!-- cSpell: ignore Dogeon Fabien Wressell Emelia Hana Heesun Kyunghee Jiyu -->
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, Julian Fietkau, taye, okin, Andy Piper, box464, Evan Prodromou, Rafael Goulart, malte
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.5",
3
+ "version": "1.4.6",
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";