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
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
16 changed files with 20 additions and 14 deletions

View file

@ -52,7 +52,7 @@
<script lang="ts">
import { defineComponent } from 'vue';
import { faPalette, faSave, faEye, faCode } from '@fortawesome/free-solid-svg-icons';
import { toUnicode } from 'punycode';
import { toUnicode } from 'punycode/';
import * as tinycolor from 'tinycolor2';
import { v4 as uuid} from 'uuid';
import * as JSON5 from 'json5';