vue-codemirror6 1.3.18 → 1.3.21
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.
- package/CHANGELOG.md +7 -3
- package/dist/index.es.js +3 -3
- package/dist/index.iife.js +2 -2
- package/dist/index.umd.js +2 -2
- package/package.json +41 -38
package/CHANGELOG.md
CHANGED
|
@@ -4,12 +4,16 @@ All notable changes to this project will be documented in this file. Dates are d
|
|
|
4
4
|
|
|
5
5
|
Generated by [`auto-changelog`](https://github.com/CookPete/auto-changelog).
|
|
6
6
|
|
|
7
|
-
#### [1.3.
|
|
7
|
+
#### [1.3.21](https://github.com/logue/vue-codemirror6/compare/1.3.21...1.3.21)
|
|
8
|
+
|
|
9
|
+
#### [1.3.21](https://github.com/logue/vue-codemirror6/compare/1.3.13...1.3.21)
|
|
10
|
+
|
|
11
|
+
> 12 July 2025
|
|
8
12
|
|
|
9
13
|
- fix: full example link [`#58`](https://github.com/logue/vue-codemirror6/pull/58)
|
|
10
14
|
- Update dependencies. [`985f36f`](https://github.com/logue/vue-codemirror6/commit/985f36f23c4fc1b562b53b664deb7ff1eec79989)
|
|
11
|
-
-
|
|
12
|
-
-
|
|
15
|
+
- Reviewed dependencies. Moved them to peerDependencies and relaxed the version requirements. [`1ffab22`](https://github.com/logue/vue-codemirror6/commit/1ffab224a4274e142449e74abc71a988f6ad8d1c)
|
|
16
|
+
- Update vue, codemirror. [`bfbd153`](https://github.com/logue/vue-codemirror6/commit/bfbd153eeec6c718b95bb719117ad5a02dcf6a37)
|
|
13
17
|
|
|
14
18
|
#### [1.3.13](https://github.com/logue/vue-codemirror6/compare/1.3.8...1.3.13)
|
|
15
19
|
|
package/dist/index.es.js
CHANGED
|
@@ -5,7 +5,7 @@
|
|
|
5
5
|
* @author Logue <logue@hotmail.co.jp>
|
|
6
6
|
* @copyright 2022-2025 By Masashi Yoshikawa All rights reserved.
|
|
7
7
|
* @license MIT
|
|
8
|
-
* @version 1.3.
|
|
8
|
+
* @version 1.3.21
|
|
9
9
|
* @see {@link https://github.com/logue/vue-codemirror6}
|
|
10
10
|
*/
|
|
11
11
|
|
|
@@ -17,8 +17,8 @@ import { EditorView as c, placeholder as H, keymap as K } from "@codemirror/view
|
|
|
17
17
|
import { basicSetup as Q, minimalSetup as X } from "codemirror";
|
|
18
18
|
import { isVue2 as Y, h as V, defineComponent as ee, ref as m, shallowRef as te, computed as d, watch as B, onMounted as ae, nextTick as ne, onUnmounted as le } from "vue-demi";
|
|
19
19
|
const he = {
|
|
20
|
-
version: "1.3.
|
|
21
|
-
date: "2025-
|
|
20
|
+
version: "1.3.21",
|
|
21
|
+
date: "2025-07-12T04:49:37.509Z"
|
|
22
22
|
}, ie = (e) => e ? Object.entries(e).reduce((i, [l, u]) => (l = l.charAt(0).toUpperCase() + l.slice(1), l = `on${l}`, { ...i, [l]: u }), {}) : {};
|
|
23
23
|
function M(e, i = {}, l) {
|
|
24
24
|
if (Y)
|
package/dist/index.iife.js
CHANGED
|
@@ -5,9 +5,9 @@
|
|
|
5
5
|
* @author Logue <logue@hotmail.co.jp>
|
|
6
6
|
* @copyright 2022-2025 By Masashi Yoshikawa All rights reserved.
|
|
7
7
|
* @license MIT
|
|
8
|
-
* @version 1.3.
|
|
8
|
+
* @version 1.3.21
|
|
9
9
|
* @see {@link https://github.com/logue/vue-codemirror6}
|
|
10
10
|
*/
|
|
11
11
|
|
|
12
|
-
var CodeMirror=function(u,E,O,f,i,d,b,l){"use strict";const M={version:"1.3.
|
|
12
|
+
var CodeMirror=function(u,E,O,f,i,d,b,l){"use strict";const M={version:"1.3.21",date:"2025-07-12T04:49:37.509Z"},B=e=>e?Object.entries(e).reduce((c,[o,s])=>(o=o.charAt(0).toUpperCase()+o.slice(1),o=`on${o}`,{...c,[o]:s}),{}):{};function w(e,c={},o){if(l.isVue2)return l.h(e,c,o);const{props:s,domProps:t,on:h,...g}=c,m=h?B(h):{};return l.h(e,{...g,...s,...t,...m},o)}const $=e=>typeof e=="function"?e():e;var C=l.defineComponent({name:"CodeMirror",model:{prop:"modelValue",event:"update:modelValue"},props:{modelValue:{type:String,default:""},theme:{type:Object,default:()=>({})},dark:{type:Boolean,default:!1},basic:{type:Boolean,default:!1},minimal:{type:Boolean,default:!1},placeholder:{type:String,default:void 0},wrap:{type:Boolean,default:!1},tab:{type:Boolean,default:!1},indentUnit:{type:String,default:void 0},allowMultipleSelections:{type:Boolean,default:!1},tabSize:{type:Number,default:void 0},lineSeparator:{type:String,default:void 0},readonly:{type:Boolean,default:!1},disabled:{type:Boolean,default:!1},extensions:{type:Array,default:()=>[]},phrases:{type:Object,default:void 0},lang:{type:Object,default:void 0},linter:{type:Function,default:void 0},linterConfig:{type:Object,default:()=>({})},forceLinting:{type:Boolean,default:!1},gutter:{type:Boolean,default:!1},gutterConfig:{type:Object,default:void 0},tag:{type:String,default:"div"},scrollIntoView:{type:Boolean,default:!0},keymap:{type:Array,default:()=>[]}},emits:{"update:modelValue":(e="")=>!0,update:e=>!0,ready:e=>!0,focus:e=>!0,change:e=>!0,destroy:()=>!0},setup(e,c){const o=l.ref(),s=l.ref(e.modelValue),t=l.shallowRef(new d.EditorView),h=l.computed({get:()=>t.value.hasFocus,set:a=>{a&&t.value.focus()}}),g=l.computed({get:()=>t.value.state.selection,set:a=>t.value.dispatch({selection:a})}),m=l.computed({get:()=>t.value.state.selection.main.head,set:a=>t.value.dispatch({selection:{anchor:a}})}),_=l.computed({get:()=>t.value.state.toJSON(),set:a=>t.value.setState(i.EditorState.fromJSON(a))}),p=l.ref(0),y=l.ref(0),S=l.computed(()=>{const a=new i.Compartment,n=new i.Compartment;if(e.basic&&e.minimal)throw new Error("[Vue CodeMirror] Both basic and minimal cannot be specified.");let r=[];return e.keymap&&e.keymap.length>0&&(r=e.keymap),e.tab&&r.push(E.indentWithTab),[e.basic&&!e.minimal?b.basicSetup:void 0,e.minimal&&!e.basic?b.minimalSetup:void 0,d.EditorView.updateListener.of(v=>{c.emit("focus",t.value.hasFocus),p.value=t.value.state.doc?.length,!(v.changes.empty||!v.docChanged)&&(e.linter&&(e.forceLinting&&f.forceLinting(t.value),y.value=e.linter(t.value).length),c.emit("update",v))}),d.EditorView.theme(e.theme,{dark:e.dark}),e.wrap?d.EditorView.lineWrapping:void 0,e.indentUnit?O.indentUnit.of(e.indentUnit):void 0,i.EditorState.allowMultipleSelections.of(e.allowMultipleSelections),e.tabSize?n.of(i.EditorState.tabSize.of(e.tabSize)):void 0,e.phrases?i.EditorState.phrases.of(e.phrases):void 0,i.EditorState.readOnly.of(e.readonly),d.EditorView.editable.of(!e.disabled),e.lineSeparator?i.EditorState.lineSeparator.of(e.lineSeparator):void 0,e.lang?a.of(e.lang):void 0,e.linter?f.linter(e.linter,e.linterConfig):void 0,e.linter&&e.gutter?f.lintGutter(e.gutterConfig):void 0,e.placeholder?d.placeholder(e.placeholder):void 0,r.length!==0?d.keymap.of(r):void 0,...e.extensions].filter(v=>!!v)});l.watch(S,a=>t.value?.dispatch({effects:i.StateEffect.reconfigure.of(a)}),{immediate:!0}),l.watch(()=>e.modelValue,async a=>{if(t.value.composing||t.value.state.doc.toJSON().join(e.lineSeparator??`
|
|
13
13
|
`)===a)return;const n=!t.value.state.selection.ranges.every(r=>r.anchor<a.length&&r.head<a.length);t.value.dispatch({changes:{from:0,to:t.value.state.doc.length,insert:a},selection:n?{anchor:0,head:0}:t.value.state.selection,scrollIntoView:e.scrollIntoView})},{immediate:!0}),l.onMounted(async()=>{let a=s.value;o.value&&(o.value.childNodes[0]&&(s.value!==""&&console.warn("[CodeMirror.vue] The <code-mirror> tag contains child elements that overwrite the `v-model` values."),a=o.value.childNodes[0].innerText.trim()),t.value=new d.EditorView({parent:o.value,state:i.EditorState.create({doc:a,extensions:S.value}),dispatch:n=>{t.value.update([n]),!(n.changes.empty||!n.docChanged)&&(c.emit("update:modelValue",n.state.doc.toString()),c.emit("change",n.state))}}),await l.nextTick(),c.emit("ready",{view:t.value,state:t.value.state,container:o.value}))}),l.onUnmounted(()=>{t.value.destroy(),c.emit("destroy")});const L=()=>{!e.linter||!t.value||(e.forceLinting&&f.forceLinting(t.value),y.value=f.diagnosticCount(t.value.state))},N=()=>{t.value?.dispatch({effects:i.StateEffect.reconfigure.of([])}),t.value?.dispatch({effects:i.StateEffect.appendConfig.of(S.value)})},U=(a,n)=>t.value.state.sliceDoc(a,n),k=a=>t.value.state.doc.line(a+1).text,z=()=>t.value.state.doc.lines,R=()=>t.value.state.selection.main.head,T=()=>{let a;return(a=t.value.state.selection.ranges)!==null&&a!==void 0?a:[]},A=()=>{let a;return(a=t.value.state.sliceDoc(t.value.state.selection.main.from,t.value.state.selection.main.to))!==null&&a!==void 0?a:""},F=()=>{const a=t.value.state;return a?a.selection.ranges.map(n=>a.sliceDoc(n.from,n.to)):[]},I=()=>t.value.state.selection.ranges.some(a=>!a.empty),J=(a,n,r)=>t.value.dispatch({changes:{from:n,to:r,insert:a}}),x=a=>t.value.dispatch(t.value.state.replaceSelection(a)),P=a=>t.value.dispatch({selection:{anchor:a}}),W=(a,n)=>t.value.dispatch({selection:{anchor:a,head:n}}),G=(a,n)=>t.value.dispatch({selection:i.EditorSelection.create(a,n)}),Z=a=>t.value.dispatch({selection:i.EditorSelection.create(g.value.ranges.map(n=>n.extend(a(n))))}),V={editor:o,view:t,cursor:m,selection:g,focus:h,length:p,json:_,diagnosticCount:y,dom:t.value.contentDOM,lint:L,forceReconfigure:N,getRange:U,getLine:k,lineCount:z,getCursor:R,listSelections:T,getSelection:A,getSelections:F,somethingSelected:I,replaceRange:J,replaceSelection:x,setCursor:P,setSelection:W,setSelections:G,extendSelectionsBy:Z};return c.expose(V),V},render(){return w(this.$props.tag,{ref:"editor",class:"vue-codemirror"},this.$slots.default?w("aside",{style:"display: none;","aria-hidden":"true"},$(this.$slots.default)):void 0)}});const j=e=>e.component("CodeMirror",C);return u.Meta=M,u.default=C,u.install=j,Object.defineProperty(u,"__esModule",{value:!0}),u}({},commands,language,lint,state,view,codemirror,VueDemi);
|
package/dist/index.umd.js
CHANGED
|
@@ -5,9 +5,9 @@
|
|
|
5
5
|
* @author Logue <logue@hotmail.co.jp>
|
|
6
6
|
* @copyright 2022-2025 By Masashi Yoshikawa All rights reserved.
|
|
7
7
|
* @license MIT
|
|
8
|
-
* @version 1.3.
|
|
8
|
+
* @version 1.3.21
|
|
9
9
|
* @see {@link https://github.com/logue/vue-codemirror6}
|
|
10
10
|
*/
|
|
11
11
|
|
|
12
|
-
(function(l,f){typeof exports=="object"&&typeof module<"u"?f(exports,require("@codemirror/commands"),require("@codemirror/language"),require("@codemirror/lint"),require("@codemirror/state"),require("@codemirror/view"),require("codemirror"),require("vue-demi")):typeof define=="function"&&define.amd?define(["exports","@codemirror/commands","@codemirror/language","@codemirror/lint","@codemirror/state","@codemirror/view","codemirror","vue-demi"],f):(l=typeof globalThis<"u"?globalThis:l||self,f(l.CodeMirror={},l.commands,l.language,l.lint,l.state,l.view,l.codemirror,l.VueDemi))})(this,function(l,f,O,v,r,s,w,i){"use strict";const M={version:"1.3.
|
|
12
|
+
(function(l,f){typeof exports=="object"&&typeof module<"u"?f(exports,require("@codemirror/commands"),require("@codemirror/language"),require("@codemirror/lint"),require("@codemirror/state"),require("@codemirror/view"),require("codemirror"),require("vue-demi")):typeof define=="function"&&define.amd?define(["exports","@codemirror/commands","@codemirror/language","@codemirror/lint","@codemirror/state","@codemirror/view","codemirror","vue-demi"],f):(l=typeof globalThis<"u"?globalThis:l||self,f(l.CodeMirror={},l.commands,l.language,l.lint,l.state,l.view,l.codemirror,l.VueDemi))})(this,function(l,f,O,v,r,s,w,i){"use strict";const M={version:"1.3.21",date:"2025-07-12T04:49:37.509Z"},B=e=>e?Object.entries(e).reduce((d,[o,u])=>(o=o.charAt(0).toUpperCase()+o.slice(1),o=`on${o}`,{...d,[o]:u}),{}):{};function C(e,d={},o){if(i.isVue2)return i.h(e,d,o);const{props:u,domProps:t,on:h,...g}=d,y=h?B(h):{};return i.h(e,{...g,...u,...t,...y},o)}const $=e=>typeof e=="function"?e():e;var b=i.defineComponent({name:"CodeMirror",model:{prop:"modelValue",event:"update:modelValue"},props:{modelValue:{type:String,default:""},theme:{type:Object,default:()=>({})},dark:{type:Boolean,default:!1},basic:{type:Boolean,default:!1},minimal:{type:Boolean,default:!1},placeholder:{type:String,default:void 0},wrap:{type:Boolean,default:!1},tab:{type:Boolean,default:!1},indentUnit:{type:String,default:void 0},allowMultipleSelections:{type:Boolean,default:!1},tabSize:{type:Number,default:void 0},lineSeparator:{type:String,default:void 0},readonly:{type:Boolean,default:!1},disabled:{type:Boolean,default:!1},extensions:{type:Array,default:()=>[]},phrases:{type:Object,default:void 0},lang:{type:Object,default:void 0},linter:{type:Function,default:void 0},linterConfig:{type:Object,default:()=>({})},forceLinting:{type:Boolean,default:!1},gutter:{type:Boolean,default:!1},gutterConfig:{type:Object,default:void 0},tag:{type:String,default:"div"},scrollIntoView:{type:Boolean,default:!0},keymap:{type:Array,default:()=>[]}},emits:{"update:modelValue":(e="")=>!0,update:e=>!0,ready:e=>!0,focus:e=>!0,change:e=>!0,destroy:()=>!0},setup(e,d){const o=i.ref(),u=i.ref(e.modelValue),t=i.shallowRef(new s.EditorView),h=i.computed({get:()=>t.value.hasFocus,set:a=>{a&&t.value.focus()}}),g=i.computed({get:()=>t.value.state.selection,set:a=>t.value.dispatch({selection:a})}),y=i.computed({get:()=>t.value.state.selection.main.head,set:a=>t.value.dispatch({selection:{anchor:a}})}),_=i.computed({get:()=>t.value.state.toJSON(),set:a=>t.value.setState(r.EditorState.fromJSON(a))}),V=i.ref(0),S=i.ref(0),p=i.computed(()=>{const a=new r.Compartment,n=new r.Compartment;if(e.basic&&e.minimal)throw new Error("[Vue CodeMirror] Both basic and minimal cannot be specified.");let c=[];return e.keymap&&e.keymap.length>0&&(c=e.keymap),e.tab&&c.push(f.indentWithTab),[e.basic&&!e.minimal?w.basicSetup:void 0,e.minimal&&!e.basic?w.minimalSetup:void 0,s.EditorView.updateListener.of(m=>{d.emit("focus",t.value.hasFocus),V.value=t.value.state.doc?.length,!(m.changes.empty||!m.docChanged)&&(e.linter&&(e.forceLinting&&v.forceLinting(t.value),S.value=e.linter(t.value).length),d.emit("update",m))}),s.EditorView.theme(e.theme,{dark:e.dark}),e.wrap?s.EditorView.lineWrapping:void 0,e.indentUnit?O.indentUnit.of(e.indentUnit):void 0,r.EditorState.allowMultipleSelections.of(e.allowMultipleSelections),e.tabSize?n.of(r.EditorState.tabSize.of(e.tabSize)):void 0,e.phrases?r.EditorState.phrases.of(e.phrases):void 0,r.EditorState.readOnly.of(e.readonly),s.EditorView.editable.of(!e.disabled),e.lineSeparator?r.EditorState.lineSeparator.of(e.lineSeparator):void 0,e.lang?a.of(e.lang):void 0,e.linter?v.linter(e.linter,e.linterConfig):void 0,e.linter&&e.gutter?v.lintGutter(e.gutterConfig):void 0,e.placeholder?s.placeholder(e.placeholder):void 0,c.length!==0?s.keymap.of(c):void 0,...e.extensions].filter(m=>!!m)});i.watch(p,a=>t.value?.dispatch({effects:r.StateEffect.reconfigure.of(a)}),{immediate:!0}),i.watch(()=>e.modelValue,async a=>{if(t.value.composing||t.value.state.doc.toJSON().join(e.lineSeparator??`
|
|
13
13
|
`)===a)return;const n=!t.value.state.selection.ranges.every(c=>c.anchor<a.length&&c.head<a.length);t.value.dispatch({changes:{from:0,to:t.value.state.doc.length,insert:a},selection:n?{anchor:0,head:0}:t.value.state.selection,scrollIntoView:e.scrollIntoView})},{immediate:!0}),i.onMounted(async()=>{let a=u.value;o.value&&(o.value.childNodes[0]&&(u.value!==""&&console.warn("[CodeMirror.vue] The <code-mirror> tag contains child elements that overwrite the `v-model` values."),a=o.value.childNodes[0].innerText.trim()),t.value=new s.EditorView({parent:o.value,state:r.EditorState.create({doc:a,extensions:p.value}),dispatch:n=>{t.value.update([n]),!(n.changes.empty||!n.docChanged)&&(d.emit("update:modelValue",n.state.doc.toString()),d.emit("change",n.state))}}),await i.nextTick(),d.emit("ready",{view:t.value,state:t.value.state,container:o.value}))}),i.onUnmounted(()=>{t.value.destroy(),d.emit("destroy")});const q=()=>{!e.linter||!t.value||(e.forceLinting&&v.forceLinting(t.value),S.value=v.diagnosticCount(t.value.state))},L=()=>{t.value?.dispatch({effects:r.StateEffect.reconfigure.of([])}),t.value?.dispatch({effects:r.StateEffect.appendConfig.of(p.value)})},T=(a,n)=>t.value.state.sliceDoc(a,n),x=a=>t.value.state.doc.line(a+1).text,N=()=>t.value.state.doc.lines,U=()=>t.value.state.selection.main.head,k=()=>{let a;return(a=t.value.state.selection.ranges)!==null&&a!==void 0?a:[]},z=()=>{let a;return(a=t.value.state.sliceDoc(t.value.state.selection.main.from,t.value.state.selection.main.to))!==null&&a!==void 0?a:""},R=()=>{const a=t.value.state;return a?a.selection.ranges.map(n=>a.sliceDoc(n.from,n.to)):[]},A=()=>t.value.state.selection.ranges.some(a=>!a.empty),F=(a,n,c)=>t.value.dispatch({changes:{from:n,to:c,insert:a}}),I=a=>t.value.dispatch(t.value.state.replaceSelection(a)),J=a=>t.value.dispatch({selection:{anchor:a}}),P=(a,n)=>t.value.dispatch({selection:{anchor:a,head:n}}),W=(a,n)=>t.value.dispatch({selection:r.EditorSelection.create(a,n)}),G=a=>t.value.dispatch({selection:r.EditorSelection.create(g.value.ranges.map(n=>n.extend(a(n))))}),E={editor:o,view:t,cursor:y,selection:g,focus:h,length:V,json:_,diagnosticCount:S,dom:t.value.contentDOM,lint:q,forceReconfigure:L,getRange:T,getLine:x,lineCount:N,getCursor:U,listSelections:k,getSelection:z,getSelections:R,somethingSelected:A,replaceRange:F,replaceSelection:I,setCursor:J,setSelection:P,setSelections:W,extendSelectionsBy:G};return d.expose(E),E},render(){return C(this.$props.tag,{ref:"editor",class:"vue-codemirror"},this.$slots.default?C("aside",{style:"display: none;","aria-hidden":"true"},$(this.$slots.default)):void 0)}});const j=e=>e.component("CodeMirror",b);l.Meta=M,l.default=b,l.install=j,Object.defineProperty(l,"__esModule",{value:!0})});
|
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.3.
|
|
4
|
+
"version": "1.3.21",
|
|
5
5
|
"license": "MIT",
|
|
6
6
|
"description": "CodeMirror6 Component for vue2 and vue3.",
|
|
7
7
|
"keywords": [
|
|
@@ -41,8 +41,10 @@
|
|
|
41
41
|
"types": "dist/index.d.ts",
|
|
42
42
|
"exports": {
|
|
43
43
|
".": {
|
|
44
|
-
"import": "./dist/index.
|
|
45
|
-
"
|
|
44
|
+
"import": "./dist/index.js",
|
|
45
|
+
"require": "./dist/index.cjs",
|
|
46
|
+
"types": "./dist/index.d.ts",
|
|
47
|
+
"default": "./dist/index.js"
|
|
46
48
|
}
|
|
47
49
|
},
|
|
48
50
|
"files": [
|
|
@@ -50,14 +52,15 @@
|
|
|
50
52
|
"/dist",
|
|
51
53
|
"./src/components/CodeMirror.ts"
|
|
52
54
|
],
|
|
55
|
+
"sideEffects": false,
|
|
53
56
|
"browser": {
|
|
54
57
|
"./sfc": "./src/components/CodeMirror.ts"
|
|
55
58
|
},
|
|
56
59
|
"engines": {
|
|
60
|
+
"node": ">=18",
|
|
57
61
|
"pnpm": ">=10.3.0"
|
|
58
62
|
},
|
|
59
|
-
"packageManager": "pnpm@10.
|
|
60
|
-
"sideEffects": false,
|
|
63
|
+
"packageManager": "pnpm@10.13.1",
|
|
61
64
|
"scripts": {
|
|
62
65
|
"dev": "vite",
|
|
63
66
|
"clean": "rimraf node_modules/.vite",
|
|
@@ -73,62 +76,62 @@
|
|
|
73
76
|
"version": "auto-changelog -p && git add CHANGELOG.md"
|
|
74
77
|
},
|
|
75
78
|
"dependencies": {
|
|
76
|
-
"@codemirror/autocomplete": "^6.18.6",
|
|
77
|
-
"@codemirror/commands": "^6.8.1",
|
|
78
|
-
"@codemirror/language": "^6.11.1",
|
|
79
|
-
"@codemirror/lint": "^6.8.5",
|
|
80
|
-
"@codemirror/search": "^6.5.11",
|
|
81
|
-
"@codemirror/state": "^6.5.2",
|
|
82
|
-
"@codemirror/view": "^6.37.1",
|
|
83
|
-
"codemirror": "^6.0.1",
|
|
84
|
-
"style-mod": "^4.1.2",
|
|
85
79
|
"vue-demi": "latest"
|
|
86
80
|
},
|
|
87
81
|
"peerDependencies": {
|
|
88
|
-
"vue": "^2.7.14 || ^3.4"
|
|
82
|
+
"vue": "^2.7.14 || ^3.3.4",
|
|
83
|
+
"@codemirror/autocomplete": "^6.0.0",
|
|
84
|
+
"@codemirror/commands": "^6.0.0",
|
|
85
|
+
"@codemirror/language": "^6.0.0",
|
|
86
|
+
"@codemirror/lint": "^6.0.0",
|
|
87
|
+
"@codemirror/search": "^6.0.0",
|
|
88
|
+
"@codemirror/state": "^6.0.0",
|
|
89
|
+
"@codemirror/view": "^6.0.0",
|
|
90
|
+
"style-mod": "^4.0.0",
|
|
91
|
+
"codemirror": "^6.0.0"
|
|
89
92
|
},
|
|
90
93
|
"devDependencies": {
|
|
91
94
|
"@codemirror/lang-javascript": "^6.2.4",
|
|
92
|
-
"@codemirror/lang-json": "^6.0.
|
|
93
|
-
"@codemirror/lang-markdown": "^6.3.
|
|
95
|
+
"@codemirror/lang-json": "^6.0.2",
|
|
96
|
+
"@codemirror/lang-markdown": "^6.3.3",
|
|
94
97
|
"@codemirror/lang-vue": "^0.1.3",
|
|
95
|
-
"@tsconfig/node-lts": "^22.0.
|
|
96
|
-
"@types/node": "^
|
|
97
|
-
"@vitejs/plugin-vue": "^
|
|
98
|
-
"@vue/compiler-sfc": "^3.5.
|
|
98
|
+
"@tsconfig/node-lts": "^22.0.2",
|
|
99
|
+
"@types/node": "^24.0.13",
|
|
100
|
+
"@vitejs/plugin-vue": "^6.0.0",
|
|
101
|
+
"@vue/compiler-sfc": "^3.5.17",
|
|
99
102
|
"@vue/eslint-config-prettier": "^10.2.0",
|
|
100
|
-
"@vue/eslint-config-typescript": "^14.
|
|
103
|
+
"@vue/eslint-config-typescript": "^14.6.0",
|
|
101
104
|
"@vue/test-utils": "^2.4.6",
|
|
102
105
|
"@vue/tsconfig": "^0.7.0",
|
|
103
|
-
"@vueuse/core": "^13.
|
|
104
|
-
"bootstrap": "^5.3.
|
|
105
|
-
"eslint": "^9.
|
|
106
|
+
"@vueuse/core": "^13.5.0",
|
|
107
|
+
"bootstrap": "^5.3.7",
|
|
108
|
+
"eslint": "^9.31.0",
|
|
106
109
|
"eslint-import-resolver-custom-alias": "^1.3.2",
|
|
107
|
-
"eslint-import-resolver-typescript": "^4.4.
|
|
108
|
-
"eslint-linter-browserify": "^9.
|
|
109
|
-
"eslint-plugin-import": "^2.
|
|
110
|
+
"eslint-import-resolver-typescript": "^4.4.4",
|
|
111
|
+
"eslint-linter-browserify": "^9.31.0",
|
|
112
|
+
"eslint-plugin-import": "^2.32.0",
|
|
110
113
|
"eslint-plugin-playwright": "^2.2.0",
|
|
111
|
-
"eslint-plugin-vue": "^10.
|
|
114
|
+
"eslint-plugin-vue": "^10.3.0",
|
|
112
115
|
"eslint-plugin-vuejs-accessibility": "^2.4.1",
|
|
113
116
|
"husky": "^9.1.7",
|
|
114
117
|
"jiti": "^2.4.2",
|
|
115
|
-
"lint-staged": "^16.1.
|
|
118
|
+
"lint-staged": "^16.1.2",
|
|
116
119
|
"npm-run-all2": "^8.0.4",
|
|
117
|
-
"prettier": "^3.
|
|
120
|
+
"prettier": "^3.6.2",
|
|
118
121
|
"rimraf": "^6.0.1",
|
|
119
122
|
"rollup-plugin-visualizer": "^6.0.3",
|
|
120
|
-
"sass-embedded": "^1.89.
|
|
123
|
+
"sass-embedded": "^1.89.2",
|
|
121
124
|
"supports-color": "^10.0.0",
|
|
122
125
|
"typescript": "^5.8.3",
|
|
123
|
-
"typescript-eslint": "^8.
|
|
124
|
-
"vite": "^
|
|
126
|
+
"typescript-eslint": "^8.36.0",
|
|
127
|
+
"vite": "^7.0.4",
|
|
125
128
|
"vite-plugin-banner": "^0.8.1",
|
|
126
|
-
"vite-plugin-checker": "^0.
|
|
129
|
+
"vite-plugin-checker": "^0.10.0",
|
|
127
130
|
"vite-plugin-dts": "^4.5.4",
|
|
128
|
-
"vue": "^3.5.
|
|
129
|
-
"vue-eslint-parser": "^10.
|
|
131
|
+
"vue": "^3.5.17",
|
|
132
|
+
"vue-eslint-parser": "^10.2.0",
|
|
130
133
|
"vue-markdown-wasm": "^0.5.1",
|
|
131
|
-
"vue-tsc": "^
|
|
134
|
+
"vue-tsc": "^3.0.1"
|
|
132
135
|
},
|
|
133
136
|
"husky": {
|
|
134
137
|
"hooks": {
|