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

@ -22,7 +22,7 @@
<script lang="ts">
import { defineComponent } from 'vue';
import { faExternalLinkSquareAlt } from '@fortawesome/free-solid-svg-icons';
import { toUnicode as decodePunycode } from 'punycode';
import { toUnicode as decodePunycode } from 'punycode/';
import { url as local } from '@client/config';
import { isDeviceTouch } from '@client/scripts/is-device-touch';
import * as os from '@client/os';