Skip to content

Commit dacdd76

Browse files
committed
fix: #19
1 parent 1a7982c commit dacdd76

File tree

4 files changed

+201
-185
lines changed

4 files changed

+201
-185
lines changed

demo/vue3/index.vue

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -39,6 +39,8 @@ import { parse, stringify } from 'lossless-json'
3939
import JsonEditorVue from '../../src'
4040
import type { Mode } from '../../src'
4141
42+
const console = window.console
43+
4244
const LosslessJSONParser = {
4345
parse, /* : (json) => { return JSON.parse(json, (k, v, { source }) =>
4446
(typeof source === 'number' && source > Number.MAX_SAFE_INTEGER)

package.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -77,7 +77,7 @@
7777
"lint-staged": "latest",
7878
"lossless-json": "latest",
7979
"typescript": "latest",
80-
"unplugin-auto-import": "latest",
80+
"unplugin-auto-import": "0.11.2",
8181
"vanilla-jsoneditor": "latest",
8282
"vite": "latest",
8383
"vite-plugin-dts": "latest",
@@ -92,4 +92,4 @@
9292
"publishConfig": {
9393
"registry": "https://registry.npmjs.org/"
9494
}
95-
}
95+
}

0 commit comments

Comments
 (0)