diff --git a/package.json b/package.json index 880595e323ab..485fafc252d3 100644 --- a/package.json +++ b/package.json @@ -73,6 +73,7 @@ "@types/parse5": "6.0.0", "@types/parsimmon": "1.10.6", "@types/pug": "2.0.4", + "@types/punycode": "2.1.0", "@types/qrcode": "1.4.0", "@types/ratelimiter": "3.4.1", "@types/redis": "2.8.28", diff --git a/src/client/app/admin/views/instance.vue b/src/client/app/admin/views/instance.vue index b11ee2dae68d..a657c0c8f3c8 100644 --- a/src/client/app/admin/views/instance.vue +++ b/src/client/app/admin/views/instance.vue @@ -133,7 +133,7 @@ import Vue from 'vue'; import i18n from '../../i18n'; import { url, host } from '../../config'; -import { toUnicode } from 'punycode'; +import { toUnicode } from 'punycode/'; import { faHeadset, faShieldAlt, faGhost, faUserPlus, faBolt } from '@fortawesome/free-solid-svg-icons'; import { faEnvelope as farEnvelope } from '@fortawesome/free-regular-svg-icons'; diff --git a/src/client/app/common/views/components/acct.vue b/src/client/app/common/views/components/acct.vue index f4e7a748c3a7..9c29bcc824d6 100644 --- a/src/client/app/common/views/components/acct.vue +++ b/src/client/app/common/views/components/acct.vue @@ -11,7 +11,7 @@