Fix punycode deprecation warning (#7426)

This commit is contained in:
MeiMei
2021-04-04 13:00:39 +09:00
committed by GitHub
parent 1f4ae2f63a
commit 7d2126e2b2
16 changed files with 20 additions and 14 deletions

View File

@@ -55,7 +55,7 @@
import { defineComponent, defineAsyncComponent } from 'vue';
import { faLock, faExclamationTriangle, faSpinner, faCheck, faKey } from '@fortawesome/free-solid-svg-icons';
const getPasswordStrength = require('syuilo-password-strength');
import { toUnicode } from 'punycode';
import { toUnicode } from 'punycode/';
import { host, url } from '@client/config';
import MkButton from './ui/button.vue';
import MkInput from './ui/input.vue';