vue-codemirror6 1.3.22 → 1.4.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.
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.22",
4
+ "version": "1.4.1",
5
5
  "license": "MIT",
6
6
  "description": "CodeMirror6 Component for vue2 and vue3.",
7
7
  "keywords": [
@@ -34,10 +34,8 @@
34
34
  "bugs": {
35
35
  "url": "https://github.com/logue/vue-codemirror6/issues"
36
36
  },
37
- "main": "dist/index.umd.js",
37
+ "main": "dist/index.cjs.js",
38
38
  "module": "dist/index.es.js",
39
- "jsdelivr": "dist/index.iife.js",
40
- "unpkg": "dist/index.iife.js",
41
39
  "types": "dist/index.d.ts",
42
40
  "exports": {
43
41
  ".": {
@@ -51,23 +49,18 @@
51
49
  },
52
50
  "./iife": {
53
51
  "default": "./dist/index.iife.js"
54
- },
55
- "./package.json": "./package.json"
52
+ }
56
53
  },
57
54
  "files": [
58
55
  "CHANGELOG.md",
59
- "/dist",
60
- "./src/components/CodeMirror.ts"
56
+ "/dist"
61
57
  ],
62
58
  "sideEffects": false,
63
- "browser": {
64
- "./sfc": "./src/components/CodeMirror.ts"
65
- },
66
59
  "engines": {
67
60
  "node": ">=18",
68
61
  "pnpm": ">=10.3.0"
69
62
  },
70
- "packageManager": "pnpm@10.13.1",
63
+ "packageManager": "pnpm@10.18.3",
71
64
  "scripts": {
72
65
  "dev": "vite",
73
66
  "clean": "rimraf node_modules/.vite",
@@ -79,6 +72,10 @@
79
72
  "preview": "vite preview --mode=docs",
80
73
  "build-only": "vite build",
81
74
  "type-check": "vue-tsc --declaration --emitDeclarationOnly",
75
+ "test": "vitest",
76
+ "test:ui": "vitest --ui",
77
+ "test:run": "vitest run",
78
+ "test:coverage": "vitest run --coverage",
82
79
  "prepare": "husky",
83
80
  "version": "auto-changelog -p && git add CHANGELOG.md"
84
81
  },
@@ -86,7 +83,6 @@
86
83
  "vue-demi": "latest"
87
84
  },
88
85
  "peerDependencies": {
89
- "vue": "^2.7.14 || ^3.3.4",
90
86
  "@codemirror/autocomplete": "^6.0.0",
91
87
  "@codemirror/commands": "^6.0.0",
92
88
  "@codemirror/language": "^6.0.0",
@@ -94,51 +90,64 @@
94
90
  "@codemirror/search": "^6.0.0",
95
91
  "@codemirror/state": "^6.0.0",
96
92
  "@codemirror/view": "^6.0.0",
93
+ "codemirror": "^6.0.0",
97
94
  "style-mod": "^4.0.0",
98
- "codemirror": "^6.0.0"
95
+ "vue": "^2.7.14 || ^3.3.4"
99
96
  },
100
97
  "devDependencies": {
98
+ "@codemirror/autocomplete": "^6.19.0",
99
+ "@codemirror/commands": "^6.9.0",
100
+ "@codemirror/language": "^6.11.3",
101
101
  "@codemirror/lang-javascript": "^6.2.4",
102
102
  "@codemirror/lang-json": "^6.0.2",
103
- "@codemirror/lang-markdown": "^6.3.3",
103
+ "@codemirror/lang-markdown": "^6.4.0",
104
104
  "@codemirror/lang-vue": "^0.1.3",
105
+ "@codemirror/lint": "^6.9.0",
106
+ "@codemirror/search": "^6.5.11",
107
+ "@codemirror/state": "^6.5.2",
108
+ "@codemirror/view": "^6.38.6",
109
+ "codemirror": "^6.0.2",
110
+ "style-mod": "^4.1.3",
105
111
  "@tsconfig/node-lts": "^22.0.2",
106
- "@types/node": "^24.0.13",
107
- "@vitejs/plugin-vue": "^6.0.0",
108
- "@vue/compiler-sfc": "^3.5.17",
112
+ "@types/node": "^24.8.1",
113
+ "@vitejs/plugin-vue": "^6.0.1",
114
+ "@vitest/ui": "^3.2.4",
115
+ "@vue/compiler-sfc": "^3.5.22",
109
116
  "@vue/eslint-config-prettier": "^10.2.0",
110
117
  "@vue/eslint-config-typescript": "^14.6.0",
111
118
  "@vue/test-utils": "^2.4.6",
112
- "@vue/tsconfig": "^0.7.0",
113
- "@vueuse/core": "^13.5.0",
114
- "bootstrap": "^5.3.7",
115
- "eslint": "^9.31.0",
119
+ "@vue/tsconfig": "^0.8.1",
120
+ "@vueuse/core": "^13.9.0",
121
+ "bootstrap": "^5.3.8",
122
+ "eslint": "^9.38.0",
116
123
  "eslint-import-resolver-custom-alias": "^1.3.2",
117
124
  "eslint-import-resolver-typescript": "^4.4.4",
118
- "eslint-linter-browserify": "^9.31.0",
125
+ "eslint-linter-browserify": "^9.37.0",
119
126
  "eslint-plugin-import": "^2.32.0",
120
- "eslint-plugin-playwright": "^2.2.0",
121
- "eslint-plugin-vue": "^10.3.0",
127
+ "eslint-plugin-playwright": "^2.2.2",
128
+ "eslint-plugin-vue": "^10.5.1",
122
129
  "eslint-plugin-vuejs-accessibility": "^2.4.1",
130
+ "happy-dom": "^20.0.5",
123
131
  "husky": "^9.1.7",
124
- "jiti": "^2.4.2",
125
- "lint-staged": "^16.1.2",
132
+ "jiti": "^2.6.1",
133
+ "lint-staged": "^16.2.4",
126
134
  "npm-run-all2": "^8.0.4",
127
135
  "prettier": "^3.6.2",
128
136
  "rimraf": "^6.0.1",
129
- "rollup-plugin-visualizer": "^6.0.3",
130
- "sass-embedded": "^1.89.2",
131
- "supports-color": "^10.0.0",
132
- "typescript": "^5.8.3",
133
- "typescript-eslint": "^8.36.0",
134
- "vite": "^7.0.4",
137
+ "rollup-plugin-visualizer": "^6.0.5",
138
+ "sass-embedded": "^1.93.2",
139
+ "supports-color": "^10.2.2",
140
+ "typescript": "^5.9.3",
141
+ "typescript-eslint": "^8.46.1",
142
+ "vite": "^7.1.10",
135
143
  "vite-plugin-banner": "^0.8.1",
136
- "vite-plugin-checker": "^0.10.0",
144
+ "vite-plugin-checker": "^0.11.0",
137
145
  "vite-plugin-dts": "^4.5.4",
138
- "vue": "^3.5.17",
146
+ "vitest": "^3.2.4",
147
+ "vue": "^3.5.22",
139
148
  "vue-eslint-parser": "^10.2.0",
140
- "vue-markdown-wasm": "^0.5.1",
141
- "vue-tsc": "^3.0.1"
149
+ "vue-markdown-wasm": "^0.5.2",
150
+ "vue-tsc": "^3.1.1"
142
151
  },
143
152
  "husky": {
144
153
  "hooks": {
@@ -153,4 +162,4 @@
153
162
  "json5": ">=2.2.3",
154
163
  "yaml": ">=2.6.0"
155
164
  }
156
- }
165
+ }