Fix punycode deprecation warning (#7426)
This commit is contained in:
parent
1f4ae2f63a
commit
7d2126e2b2
16 changed files with 20 additions and 14 deletions
|
|
@ -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';
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue