From 51263e43d38ae4df39b5e45b7193cc2353e1513a Mon Sep 17 00:00:00 2001 From: MeiMei <30769358+mei23@users.noreply.github.com> Date: Sun, 4 Apr 2021 13:00:39 +0900 Subject: [PATCH] Fix punycode deprecation warning (#7426) --- package.json | 1 + src/client/components/global/acct.vue | 2 +- src/client/components/global/url.vue | 2 +- src/client/components/mention.vue | 2 +- src/client/components/post-form.vue | 2 +- src/client/components/signin.vue | 2 +- src/client/components/signup.vue | 2 +- src/client/pages/advanced-theme-editor.vue | 2 +- src/client/pages/theme-editor.vue | 2 +- src/client/pages/welcome.entrance.a.vue | 2 +- src/client/pages/welcome.entrance.b.vue | 2 +- src/client/pages/welcome.entrance.c.vue | 2 +- src/client/scripts/autocomplete.ts | 2 +- src/client/ui/chat/post-form.vue | 2 +- src/misc/convert-host.ts | 2 +- yarn.lock | 5 +++++ 16 files changed, 20 insertions(+), 14 deletions(-) diff --git a/package.json b/package.json index b604c75f9..954a8cc62 100644 --- a/package.json +++ b/package.json @@ -88,6 +88,7 @@ "@types/parsimmon": "1.10.6", "@types/portscanner": "2.1.0", "@types/pug": "2.0.4", + "@types/punycode": "2.1.0", "@types/qrcode": "1.4.0", "@types/random-seed": "0.3.3", "@types/ratelimiter": "3.4.1", diff --git a/src/client/components/global/acct.vue b/src/client/components/global/acct.vue index a969636a7..e3601ff79 100644 --- a/src/client/components/global/acct.vue +++ b/src/client/components/global/acct.vue @@ -7,7 +7,7 @@