09:31:56
icon

💬 Commented on "The punycode module is deprecated.": anatawa12 "punycode.js がdependenciesで指定されてますが`"punycode"`をimportするとpunycode.jsではなくnodejsのモジュールを読んでしまうことがwarnの原因になってる模様なので`"punycode/"`に書き換えることで治りそうです"
https://github.com/misskey-dev/misskey/issues/15246#issuecomment-2581505088

Web site image
The `punycode` module is deprecated. · Issue #15246 · misskey-dev/misskey
14:52:16
icon

💬 Commented on "fix: node.js の punycode モジュールが使用されている場所がある問題": u1-liquid "結局のところ、当方で使用している punycode パッケージを変更しても、どこかで参照されているため警告メッセージは消えません。
```
<checksのログから>
(node:3575) [DEP0040] DeprecationWarning: The `punycode` module is deprecated. Please use a userland alternative instead.
```
また、import 文で`/`を付けるトリックを使うよりも、`punycode.js`パッケージ(punycodeパッケージと同時に公開されています)を使用したほうがよろしいのではないかと思います。
https://github.com/MisskeyIO/misskey/pull/833/files#diff-8571ecd91584b00015b23695d3a6a164282636bb47bfbe46dca243bf9b4db773R61
https://github.com/MisskeyIO/misskey/pull/833/files#diff-8571ecd91584b00015b23695d3a6a164282636bb47bfbe46dca243bf9b4db773R109
"
https://github.com/misskey-dev/misskey/pull/15248#issuecomment-2581832515

Web site image
fix: node.js の punycode モジュールが使用されている場所がある問題 by anatawa12 · Pull Request #15248 · misskey-dev/misskey