vue-codemirror6 1.0.3 → 1.1.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -5,11 +5,11 @@
5
5
  * @author Logue <logue@hotmail.co.jp>
6
6
  * @copyright 2022 By Masashi Yoshikawa All rights reserved.
7
7
  * @license MIT
8
- * @version 1.0.3
8
+ * @version 1.1.1
9
9
  * @see {@link https://github.com/logue/vue-codemirror6}
10
10
  */
11
11
 
12
- var CodeMirror = (function (exports, vueDemi, lodash, state, view, lint, codemirror, commands) {
12
+ var CodeMirror = (function (exports, vueDemi, lodash, codemirror, state, view, commands, lint) {
13
13
  'use strict';
14
14
 
15
15
  const adaptOnsV3 = (ons) => {
@@ -49,7 +49,6 @@ var CodeMirror = (function (exports, vueDemi, lodash, state, view, lint, codemir
49
49
  theme: {
50
50
  type: Object,
51
51
  default: () => {
52
- return {};
53
52
  }
54
53
  },
55
54
  dark: {
@@ -64,6 +63,10 @@ var CodeMirror = (function (exports, vueDemi, lodash, state, view, lint, codemir
64
63
  type: Boolean,
65
64
  default: false
66
65
  },
66
+ placeholder: {
67
+ type: String,
68
+ default: void 0
69
+ },
67
70
  wrap: {
68
71
  type: Boolean,
69
72
  default: false
@@ -72,13 +75,21 @@ var CodeMirror = (function (exports, vueDemi, lodash, state, view, lint, codemir
72
75
  type: Boolean,
73
76
  default: false
74
77
  },
78
+ tabSize: {
79
+ type: Number,
80
+ default: void 0
81
+ },
82
+ lineSeparator: {
83
+ type: String,
84
+ default: void 0
85
+ },
75
86
  readonly: {
76
87
  type: Boolean,
77
88
  default: false
78
89
  },
79
- editable: {
90
+ disabled: {
80
91
  type: Boolean,
81
- default: true
92
+ default: false
82
93
  },
83
94
  extensions: {
84
95
  type: Array,
@@ -98,16 +109,26 @@ var CodeMirror = (function (exports, vueDemi, lodash, state, view, lint, codemir
98
109
  type: Function,
99
110
  default: void 0
100
111
  },
101
- lintGutter: {
112
+ linterConfig: {
113
+ type: Object,
114
+ default: () => {
115
+ }
116
+ },
117
+ gutter: {
102
118
  type: Boolean,
103
119
  defalt: false
104
120
  },
121
+ gutterConfig: {
122
+ type: Object,
123
+ default: () => {
124
+ }
125
+ },
105
126
  tag: {
106
127
  type: String,
107
128
  default: "div"
108
129
  }
109
130
  },
110
- emits: ["update:modelValue", "update", "ready", "focus", "changed"],
131
+ emits: ["update:modelValue", "update", "ready", "focus", "change"],
111
132
  setup(props, context) {
112
133
  const editor = vueDemi.ref();
113
134
  const doc = vueDemi.ref(props.modelValue);
@@ -116,14 +137,14 @@ var CodeMirror = (function (exports, vueDemi, lodash, state, view, lint, codemir
116
137
  get: () => view$1.value.state.selection,
117
138
  set: (s) => view$1.value.dispatch({ selection: s })
118
139
  });
119
- const cursor = vueDemi.computed({
120
- get: () => selection.value.main.head || 0,
121
- set: (a) => view$1.value.dispatch({ selection: { anchor: a } })
122
- });
123
140
  const state$1 = vueDemi.computed({
124
141
  get: () => view$1.value.state,
125
142
  set: (s) => view$1.value.setState(s)
126
143
  });
144
+ const cursor = vueDemi.computed({
145
+ get: () => view$1.value.state.selection.main.head || 0,
146
+ set: (a) => view$1.value.dispatch({ selection: { anchor: a } })
147
+ });
127
148
  const focus = vueDemi.computed({
128
149
  get: () => view$1.value.hasFocus,
129
150
  set: (f) => {
@@ -132,6 +153,9 @@ var CodeMirror = (function (exports, vueDemi, lodash, state, view, lint, codemir
132
153
  }
133
154
  }
134
155
  });
156
+ const length = vueDemi.computed(
157
+ () => view$1.value.state.doc.length
158
+ );
135
159
  const extensions = vueDemi.computed(
136
160
  () => lodash.compact([
137
161
  props.basic ? codemirror.basicSetup : void 0,
@@ -142,37 +166,39 @@ var CodeMirror = (function (exports, vueDemi, lodash, state, view, lint, codemir
142
166
  view.EditorView.theme(props.theme, { dark: props.dark }),
143
167
  props.wrap ? view.EditorView.lineWrapping : void 0,
144
168
  props.tab ? view.keymap.of([commands.indentWithTab]) : void 0,
169
+ props.tabSize ? state.EditorState.tabSize.of(props.tabSize) : void 0,
145
170
  props.phrases ? state.EditorState.phrases.of(props.phrases) : void 0,
146
171
  state.EditorState.readOnly.of(props.readonly),
147
- view.EditorView.editable.of(props.editable),
148
- props.lang ? vueDemi.toRaw(props.lang) : void 0,
149
- props.linter ? lint.linter(props.linter) : void 0,
150
- props.linter && props.lintGutter ? lint.lintGutter() : void 0,
172
+ view.EditorView.editable.of(!props.disabled),
173
+ props.lineSeparator ? state.EditorState.lineSeparator.of(props.lineSeparator) : void 0,
174
+ props.lang ? props.lang : void 0,
175
+ props.linter ? lint.linter(props.linter, props.linterConfig) : void 0,
176
+ props.linter && props.gutter ? lint.lintGutter(props.gutterConfig) : void 0,
177
+ props.placeholder ? view.placeholder(props.placeholder) : void 0,
151
178
  ...props.extensions
152
179
  ])
153
180
  );
154
181
  vueDemi.watch(
155
182
  () => props.modelValue,
156
183
  (value) => {
157
- if (!view$1.value || view$1.value.composing) {
184
+ if (view$1.value.composing) {
158
185
  return;
159
186
  }
160
- const previous = view$1.value.state.selection;
161
187
  view$1.value.dispatch({
162
188
  changes: { from: 0, to: view$1.value.state.doc.length, insert: value },
163
- selection: previous
189
+ selection: view$1.value.state.selection,
190
+ scrollIntoView: true
164
191
  });
165
192
  },
166
193
  { immediate: true }
167
194
  );
168
- vueDemi.watch(extensions, (e) => {
169
- view$1.value.dispatch({
170
- effects: state.StateEffect.reconfigure.of(e)
171
- });
172
- });
173
- vueDemi.watch(focus, (isFocus) => {
174
- context.emit("focus", isFocus);
175
- });
195
+ vueDemi.watch(
196
+ extensions,
197
+ (exts) => view$1.value.dispatch({
198
+ effects: state.StateEffect.reconfigure.of(exts)
199
+ })
200
+ );
201
+ vueDemi.watch(focus, (isFocus) => context.emit("focus", isFocus));
176
202
  vueDemi.onMounted(async () => {
177
203
  let value = doc.value;
178
204
  if (editor.value && editor.value.childNodes[0]) {
@@ -189,7 +215,7 @@ var CodeMirror = (function (exports, vueDemi, lodash, state, view, lint, codemir
189
215
  return;
190
216
  const v = view$1.value.state.doc.toString();
191
217
  context.emit("update:modelValue", v);
192
- context.emit("changed", v);
218
+ context.emit("change", v);
193
219
  }
194
220
  });
195
221
  await vueDemi.nextTick();
@@ -199,7 +225,10 @@ var CodeMirror = (function (exports, vueDemi, lodash, state, view, lint, codemir
199
225
  container: editor.value
200
226
  });
201
227
  });
202
- vueDemi.onUnmounted(() => view$1.value.destroy());
228
+ vueDemi.onUnmounted(() => {
229
+ view$1.value.destroy();
230
+ });
231
+ const lint$1 = () => lint.forceLinting(view$1.value);
203
232
  const getRange = (from, to) => view$1.value.state.sliceDoc(from, to);
204
233
  const getLine = (number) => view$1.value.state.doc.line(number + 1).text;
205
234
  const lineCount = () => view$1.value.state.doc.lines;
@@ -236,6 +265,8 @@ var CodeMirror = (function (exports, vueDemi, lodash, state, view, lint, codemir
236
265
  selection,
237
266
  state: state$1,
238
267
  focus,
268
+ length,
269
+ lint: lint$1,
239
270
  getRange,
240
271
  getLine,
241
272
  lineCount,
@@ -269,8 +300,8 @@ var CodeMirror = (function (exports, vueDemi, lodash, state, view, lint, codemir
269
300
  });
270
301
 
271
302
  const meta = {
272
- version: "1.0.3",
273
- date: "2022-10-11T23:57:24.765Z"
303
+ version: "1.1.1",
304
+ date: "2022-11-07T00:40:00.830Z"
274
305
  };
275
306
 
276
307
  const installCodeMirror = (app) => app.component("CodeMirror", CodeMirror);
@@ -286,4 +317,4 @@ var CodeMirror = (function (exports, vueDemi, lodash, state, view, lint, codemir
286
317
 
287
318
  return exports;
288
319
 
289
- })({}, VueDemi, lodash, state, view, lint, codemirror, commands);
320
+ })({}, VueDemi, lodash, codemirror, state, view, commands, lint);
package/dist/index.umd.js CHANGED
@@ -5,15 +5,15 @@
5
5
  * @author Logue <logue@hotmail.co.jp>
6
6
  * @copyright 2022 By Masashi Yoshikawa All rights reserved.
7
7
  * @license MIT
8
- * @version 1.0.3
8
+ * @version 1.1.1
9
9
  * @see {@link https://github.com/logue/vue-codemirror6}
10
10
  */
11
11
 
12
12
  (function (global, factory) {
13
- typeof exports === 'object' && typeof module !== 'undefined' ? factory(exports, require('vue-demi'), require('lodash'), require('@codemirror/state'), require('@codemirror/view'), require('@codemirror/lint'), require('codemirror'), require('@codemirror/commands')) :
14
- typeof define === 'function' && define.amd ? define(['exports', 'vue-demi', 'lodash', '@codemirror/state', '@codemirror/view', '@codemirror/lint', 'codemirror', '@codemirror/commands'], factory) :
15
- (global = typeof globalThis !== 'undefined' ? globalThis : global || self, factory(global.CodeMirror = {}, global.VueDemi, global.lodash, global.state, global.view, global.lint, global.codemirror, global.commands));
16
- })(this, (function (exports, vueDemi, lodash, state, view, lint, codemirror, commands) { 'use strict';
13
+ typeof exports === 'object' && typeof module !== 'undefined' ? factory(exports, require('vue-demi'), require('lodash'), require('codemirror'), require('@codemirror/state'), require('@codemirror/view'), require('@codemirror/commands'), require('@codemirror/lint')) :
14
+ typeof define === 'function' && define.amd ? define(['exports', 'vue-demi', 'lodash', 'codemirror', '@codemirror/state', '@codemirror/view', '@codemirror/commands', '@codemirror/lint'], factory) :
15
+ (global = typeof globalThis !== 'undefined' ? globalThis : global || self, factory(global.CodeMirror = {}, global.VueDemi, global.lodash, global.codemirror, global.state, global.view, global.commands, global.lint));
16
+ })(this, (function (exports, vueDemi, lodash, codemirror, state, view, commands, lint) { 'use strict';
17
17
 
18
18
  const adaptOnsV3 = (ons) => {
19
19
  if (!ons)
@@ -52,7 +52,6 @@
52
52
  theme: {
53
53
  type: Object,
54
54
  default: () => {
55
- return {};
56
55
  }
57
56
  },
58
57
  dark: {
@@ -67,6 +66,10 @@
67
66
  type: Boolean,
68
67
  default: false
69
68
  },
69
+ placeholder: {
70
+ type: String,
71
+ default: void 0
72
+ },
70
73
  wrap: {
71
74
  type: Boolean,
72
75
  default: false
@@ -75,13 +78,21 @@
75
78
  type: Boolean,
76
79
  default: false
77
80
  },
81
+ tabSize: {
82
+ type: Number,
83
+ default: void 0
84
+ },
85
+ lineSeparator: {
86
+ type: String,
87
+ default: void 0
88
+ },
78
89
  readonly: {
79
90
  type: Boolean,
80
91
  default: false
81
92
  },
82
- editable: {
93
+ disabled: {
83
94
  type: Boolean,
84
- default: true
95
+ default: false
85
96
  },
86
97
  extensions: {
87
98
  type: Array,
@@ -101,16 +112,26 @@
101
112
  type: Function,
102
113
  default: void 0
103
114
  },
104
- lintGutter: {
115
+ linterConfig: {
116
+ type: Object,
117
+ default: () => {
118
+ }
119
+ },
120
+ gutter: {
105
121
  type: Boolean,
106
122
  defalt: false
107
123
  },
124
+ gutterConfig: {
125
+ type: Object,
126
+ default: () => {
127
+ }
128
+ },
108
129
  tag: {
109
130
  type: String,
110
131
  default: "div"
111
132
  }
112
133
  },
113
- emits: ["update:modelValue", "update", "ready", "focus", "changed"],
134
+ emits: ["update:modelValue", "update", "ready", "focus", "change"],
114
135
  setup(props, context) {
115
136
  const editor = vueDemi.ref();
116
137
  const doc = vueDemi.ref(props.modelValue);
@@ -119,14 +140,14 @@
119
140
  get: () => view$1.value.state.selection,
120
141
  set: (s) => view$1.value.dispatch({ selection: s })
121
142
  });
122
- const cursor = vueDemi.computed({
123
- get: () => selection.value.main.head || 0,
124
- set: (a) => view$1.value.dispatch({ selection: { anchor: a } })
125
- });
126
143
  const state$1 = vueDemi.computed({
127
144
  get: () => view$1.value.state,
128
145
  set: (s) => view$1.value.setState(s)
129
146
  });
147
+ const cursor = vueDemi.computed({
148
+ get: () => view$1.value.state.selection.main.head || 0,
149
+ set: (a) => view$1.value.dispatch({ selection: { anchor: a } })
150
+ });
130
151
  const focus = vueDemi.computed({
131
152
  get: () => view$1.value.hasFocus,
132
153
  set: (f) => {
@@ -135,6 +156,9 @@
135
156
  }
136
157
  }
137
158
  });
159
+ const length = vueDemi.computed(
160
+ () => view$1.value.state.doc.length
161
+ );
138
162
  const extensions = vueDemi.computed(
139
163
  () => lodash.compact([
140
164
  props.basic ? codemirror.basicSetup : void 0,
@@ -145,37 +169,39 @@
145
169
  view.EditorView.theme(props.theme, { dark: props.dark }),
146
170
  props.wrap ? view.EditorView.lineWrapping : void 0,
147
171
  props.tab ? view.keymap.of([commands.indentWithTab]) : void 0,
172
+ props.tabSize ? state.EditorState.tabSize.of(props.tabSize) : void 0,
148
173
  props.phrases ? state.EditorState.phrases.of(props.phrases) : void 0,
149
174
  state.EditorState.readOnly.of(props.readonly),
150
- view.EditorView.editable.of(props.editable),
151
- props.lang ? vueDemi.toRaw(props.lang) : void 0,
152
- props.linter ? lint.linter(props.linter) : void 0,
153
- props.linter && props.lintGutter ? lint.lintGutter() : void 0,
175
+ view.EditorView.editable.of(!props.disabled),
176
+ props.lineSeparator ? state.EditorState.lineSeparator.of(props.lineSeparator) : void 0,
177
+ props.lang ? props.lang : void 0,
178
+ props.linter ? lint.linter(props.linter, props.linterConfig) : void 0,
179
+ props.linter && props.gutter ? lint.lintGutter(props.gutterConfig) : void 0,
180
+ props.placeholder ? view.placeholder(props.placeholder) : void 0,
154
181
  ...props.extensions
155
182
  ])
156
183
  );
157
184
  vueDemi.watch(
158
185
  () => props.modelValue,
159
186
  (value) => {
160
- if (!view$1.value || view$1.value.composing) {
187
+ if (view$1.value.composing) {
161
188
  return;
162
189
  }
163
- const previous = view$1.value.state.selection;
164
190
  view$1.value.dispatch({
165
191
  changes: { from: 0, to: view$1.value.state.doc.length, insert: value },
166
- selection: previous
192
+ selection: view$1.value.state.selection,
193
+ scrollIntoView: true
167
194
  });
168
195
  },
169
196
  { immediate: true }
170
197
  );
171
- vueDemi.watch(extensions, (e) => {
172
- view$1.value.dispatch({
173
- effects: state.StateEffect.reconfigure.of(e)
174
- });
175
- });
176
- vueDemi.watch(focus, (isFocus) => {
177
- context.emit("focus", isFocus);
178
- });
198
+ vueDemi.watch(
199
+ extensions,
200
+ (exts) => view$1.value.dispatch({
201
+ effects: state.StateEffect.reconfigure.of(exts)
202
+ })
203
+ );
204
+ vueDemi.watch(focus, (isFocus) => context.emit("focus", isFocus));
179
205
  vueDemi.onMounted(async () => {
180
206
  let value = doc.value;
181
207
  if (editor.value && editor.value.childNodes[0]) {
@@ -192,7 +218,7 @@
192
218
  return;
193
219
  const v = view$1.value.state.doc.toString();
194
220
  context.emit("update:modelValue", v);
195
- context.emit("changed", v);
221
+ context.emit("change", v);
196
222
  }
197
223
  });
198
224
  await vueDemi.nextTick();
@@ -202,7 +228,10 @@
202
228
  container: editor.value
203
229
  });
204
230
  });
205
- vueDemi.onUnmounted(() => view$1.value.destroy());
231
+ vueDemi.onUnmounted(() => {
232
+ view$1.value.destroy();
233
+ });
234
+ const lint$1 = () => lint.forceLinting(view$1.value);
206
235
  const getRange = (from, to) => view$1.value.state.sliceDoc(from, to);
207
236
  const getLine = (number) => view$1.value.state.doc.line(number + 1).text;
208
237
  const lineCount = () => view$1.value.state.doc.lines;
@@ -239,6 +268,8 @@
239
268
  selection,
240
269
  state: state$1,
241
270
  focus,
271
+ length,
272
+ lint: lint$1,
242
273
  getRange,
243
274
  getLine,
244
275
  lineCount,
@@ -272,8 +303,8 @@
272
303
  });
273
304
 
274
305
  const meta = {
275
- version: "1.0.3",
276
- date: "2022-10-11T23:57:24.765Z"
306
+ version: "1.1.1",
307
+ date: "2022-11-07T00:40:00.830Z"
277
308
  };
278
309
 
279
310
  const installCodeMirror = (app) => app.component("CodeMirror", CodeMirror);
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "$schema": "https://json.schemastore.org/package.json",
3
3
  "name": "vue-codemirror6",
4
- "version": "1.0.3",
4
+ "version": "1.1.1",
5
5
  "license": "MIT",
6
6
  "description": "CodeMirror6 Component for vue2 and vue3.",
7
7
  "keywords": [
@@ -44,6 +44,7 @@
44
44
  }
45
45
  },
46
46
  "files": [
47
+ "CHANGELOG.md",
47
48
  "/dist",
48
49
  "./src/components/CodeMirror.ts"
49
50
  ],
@@ -51,22 +52,26 @@
51
52
  "./sfc": "./src/components/CodeMirror.ts"
52
53
  },
53
54
  "engines": {
54
- "node": ">=16.17.1",
55
+ "node": ">=18.12.1",
55
56
  "yarn": ">=1.22.10"
56
57
  },
57
58
  "packageManager": "yarn@3.2.4",
58
59
  "sideEffects": false,
59
60
  "scripts": {
60
61
  "dev": "vite",
61
- "clean": "rimraf node_modules/.vite && npx vue-demi-fix",
62
- "build": "vite build & vue-tsc --declaration --emitDeclarationOnly",
63
- "build:analyze": "vue-tsc --noEmit & vue-tsc --declaration --emitDeclarationOnly & vite build --mode analyze",
64
- "build:docs": "vite build --config vite.config.docs.ts",
62
+ "clean": "rimraf ./node_modules/.vite",
63
+ "type-check": "vue-tsc --noEmit --composite false",
64
+ "lint": "eslint . --fix --cache --cache-location ./node_modules/.vite/vite-plugin-eslint && prettier . -w -u",
65
+ "lint:style": "stylelint \"./**/*.{css,sass,scss,htm,html,vue}\" --fix --cache-location ./node_modules/.vite/vite-plugin-stylelint && prettier \"./**/*.{css,sass,scss,htm,html,vue}\" -w -u",
66
+ "build": "run-p type-check build-only build:declaration",
67
+ "build:declaration": "vue-tsc --composite false --declaration --emitDeclarationOnly",
68
+ "build:analyze": "vite build --mode analyze",
65
69
  "build:clean": "rimraf dist",
66
- "lint": "eslint --fix --cache --cache-location ./node_modules/.vite/vite-plugin-eslint && prettier . -w -u",
67
- "lint:markup": "vue-tsc --noEmit",
70
+ "build:docs": "vite build --config vite.config.docs.ts",
71
+ "build-only": "vite build",
68
72
  "preview": "vite preview --config vite.config.docs.ts",
69
- "prepare": "husky install"
73
+ "prepare": "husky install",
74
+ "version": "auto-changelog -p && git add CHANGELOG.md"
70
75
  },
71
76
  "dependencies": {
72
77
  "vue-demi": "latest"
@@ -82,42 +87,45 @@
82
87
  }
83
88
  },
84
89
  "devDependencies": {
85
- "@codemirror/lang-javascript": "^6.1.0",
86
- "@codemirror/lang-markdown": "^6.0.2",
87
- "@types/lodash": "^4.14.186",
88
- "@types/node": "^18.8.4",
89
- "@typescript-eslint/eslint-plugin": "^5.40.0",
90
- "@typescript-eslint/parser": "^5.40.0",
91
- "@vitejs/plugin-vue": "^3.1.2",
90
+ "@codemirror/lang-javascript": "^6.1.1",
91
+ "@codemirror/lang-json": "^6.0.1",
92
+ "@codemirror/lang-markdown": "^6.0.4",
93
+ "@types/lodash": "^4.14.188",
94
+ "@types/node": "^18.11.9",
95
+ "@typescript-eslint/eslint-plugin": "^5.42.0",
96
+ "@typescript-eslint/parser": "^5.42.0",
97
+ "@vitejs/plugin-vue": "^3.2.0",
92
98
  "@vue/eslint-config-prettier": "^7.0.0",
93
99
  "@vue/tsconfig": "^0.1.3",
94
100
  "codemirror": "^6.0.1",
95
- "eslint": "^8.25.0",
101
+ "eslint": "^8.27.0",
96
102
  "eslint-config-google": "^0.14.0",
97
103
  "eslint-config-prettier": "^8.5.0",
98
104
  "eslint-import-resolver-alias": "^1.1.2",
99
- "eslint-import-resolver-typescript": "^3.5.1",
100
- "eslint-linter-browserify": "^8.25.0",
105
+ "eslint-import-resolver-typescript": "^3.5.2",
106
+ "eslint-linter-browserify": "^8.26.0",
101
107
  "eslint-plugin-html": "^7.1.0",
102
108
  "eslint-plugin-import": "^2.26.0",
103
- "eslint-plugin-jsdoc": "^39.3.6",
109
+ "eslint-plugin-jsdoc": "^39.6.2",
104
110
  "eslint-plugin-tsdoc": "^0.2.17",
105
- "eslint-plugin-vue": "^9.6.0",
106
- "eslint-plugin-vuejs-accessibility": "^1.2.0",
111
+ "eslint-plugin-vue": "^9.7.0",
112
+ "eslint-plugin-vuejs-accessibility": "^2.0.0",
107
113
  "eslint-plugin-yaml": "^0.5.0",
108
114
  "husky": "^8.0.1",
109
115
  "lint-staged": "^13.0.3",
110
116
  "lodash": "^4.17.21",
117
+ "markdown-wasm": "^1.2.0",
118
+ "npm-run-all": "^4.1.5",
111
119
  "prettier": "^2.7.1",
112
120
  "rimraf": "^3.0.2",
113
- "rollup-plugin-visualizer": "^5.8.2",
121
+ "rollup-plugin-visualizer": "^5.8.3",
114
122
  "typescript": "^4.8.4",
115
- "vite": "^3.1.7",
116
- "vite-plugin-banner": "^0.5.0",
123
+ "vite": "^3.2.2",
124
+ "vite-plugin-banner": "^0.6.1",
117
125
  "vite-plugin-checker": "^0.5.1",
118
- "vue": "^3.2.40",
126
+ "vue": "^3.2.41",
119
127
  "vue-eslint-parser": "^9.1.0",
120
- "vue-tsc": "^1.0.5"
128
+ "vue-tsc": "^1.0.9"
121
129
  },
122
130
  "husky": {
123
131
  "hooks": {
@@ -129,6 +137,7 @@
129
137
  "*": "prettier -w -u"
130
138
  },
131
139
  "resolutions": {
132
- "prettier": "^2.7.1"
140
+ "prettier": "^2.7.1",
141
+ "@codemirror/language": "<6.3.0"
133
142
  }
134
143
  }