vue-codemirror6 1.1.13 → 1.1.14

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 CHANGED
@@ -4,11 +4,17 @@ 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.1.14](https://github.com/logue/vue-codemirror6/compare/1.1.13...1.1.14)
8
+
9
+ - Fixed Maximum call stack size exceeded error. [`f10eaae`](https://github.com/logue/vue-codemirror6/commit/f10eaaea9145bc1d7a6605ab3cb8a82c0ca12df6)
10
+
7
11
  #### [1.1.13](https://github.com/logue/vue-codemirror6/compare/1.1.12...1.1.13)
8
12
 
13
+ > 13 March 2023
14
+
9
15
  - Changed minimum Vue version requirement to 2.7.14. [`5b8b255`](https://github.com/logue/vue-codemirror6/commit/5b8b2558967f9fb6f6d9e83a0181afa50f182b98)
10
16
  - Add allow-multiple-selections prop. [`ced91ed`](https://github.com/logue/vue-codemirror6/commit/ced91edab8fc25f8f1299341489f6bbbdace9ce8)
11
- - Update README.md [`99bb208`](https://github.com/logue/vue-codemirror6/commit/99bb2080adb2c47a43b7a47bafddc958993caa13)
17
+ - Update CHANGELOG.md [`51d30e2`](https://github.com/logue/vue-codemirror6/commit/51d30e2f6370847ef888ab2b39ff6e1c8e3ec851)
12
18
 
13
19
  #### [1.1.12](https://github.com/logue/vue-codemirror6/compare/1.1.11...1.1.12)
14
20
 
@@ -16,7 +22,7 @@ Generated by [`auto-changelog`](https://github.com/CookPete/auto-changelog).
16
22
 
17
23
  - chore(CODEOWNERS): CODEOWNERS.com Bot, at your service! [`#14`](https://github.com/logue/vue-codemirror6/pull/14)
18
24
  - Update demo code. (Replaced @codemirror/html to @codemirror/vue.) [`8da1a8a`](https://github.com/logue/vue-codemirror6/commit/8da1a8a4e37d713cc78281ce9c304c42a06940dc)
19
- - Changed implementation to generate \*.d.ts with vite-plugin-dts. [`1caaa20`](https://github.com/logue/vue-codemirror6/commit/1caaa20b1423a3d252a6c770a630fb60e2e3440d)
25
+ - Changed implementation to generate *.d.ts with vite-plugin-dts. [`1caaa20`](https://github.com/logue/vue-codemirror6/commit/1caaa20b1423a3d252a6c770a630fb60e2e3440d)
20
26
  - Update README.md. [`f8dd493`](https://github.com/logue/vue-codemirror6/commit/f8dd4934a7b9cc089cd830473db5250d28b3389b)
21
27
 
22
28
  #### [1.1.11](https://github.com/logue/vue-codemirror6/compare/1.1.3...1.1.11)
package/dist/index.es.js CHANGED
@@ -349,11 +349,12 @@ var CodeMirror = defineComponent({
349
349
  watch(
350
350
  () => extensions.value,
351
351
  (exts) => {
352
- view.value.dispatch({
353
- effects: StateEffect.reconfigure.of(exts)
354
- });
355
- },
356
- { deep: true }
352
+ exts.forEach(
353
+ (ext) => view.value.dispatch({
354
+ effects: StateEffect.reconfigure.of(ext)
355
+ })
356
+ );
357
+ }
357
358
  );
358
359
  watch(focus, (isFocus) => context.emit("focus", isFocus));
359
360
  onMounted(async () => {
@@ -487,7 +488,7 @@ var CodeMirror = defineComponent({
487
488
 
488
489
  const meta = {
489
490
  version: "1.1.13",
490
- date: "2023-03-13T09:36:27.207Z"
491
+ date: "2023-03-14T01:57:05.152Z"
491
492
  };
492
493
 
493
494
  const installCodeMirror = (app) => app.component("CodeMirror", CodeMirror);
@@ -344,11 +344,12 @@ var CodeMirror = (function (exports, vueDemi, lodash, codemirror, state, view, c
344
344
  vueDemi.watch(
345
345
  () => extensions.value,
346
346
  (exts) => {
347
- view$1.value.dispatch({
348
- effects: state.StateEffect.reconfigure.of(exts)
349
- });
350
- },
351
- { deep: true }
347
+ exts.forEach(
348
+ (ext) => view$1.value.dispatch({
349
+ effects: state.StateEffect.reconfigure.of(ext)
350
+ })
351
+ );
352
+ }
352
353
  );
353
354
  vueDemi.watch(focus, (isFocus) => context.emit("focus", isFocus));
354
355
  vueDemi.onMounted(async () => {
@@ -482,7 +483,7 @@ var CodeMirror = (function (exports, vueDemi, lodash, codemirror, state, view, c
482
483
 
483
484
  const meta = {
484
485
  version: "1.1.13",
485
- date: "2023-03-13T09:36:27.207Z"
486
+ date: "2023-03-14T01:57:05.152Z"
486
487
  };
487
488
 
488
489
  const installCodeMirror = (app) => app.component("CodeMirror", CodeMirror);
package/dist/index.umd.js CHANGED
@@ -347,11 +347,12 @@
347
347
  vueDemi.watch(
348
348
  () => extensions.value,
349
349
  (exts) => {
350
- view$1.value.dispatch({
351
- effects: state.StateEffect.reconfigure.of(exts)
352
- });
353
- },
354
- { deep: true }
350
+ exts.forEach(
351
+ (ext) => view$1.value.dispatch({
352
+ effects: state.StateEffect.reconfigure.of(ext)
353
+ })
354
+ );
355
+ }
355
356
  );
356
357
  vueDemi.watch(focus, (isFocus) => context.emit("focus", isFocus));
357
358
  vueDemi.onMounted(async () => {
@@ -485,7 +486,7 @@
485
486
 
486
487
  const meta = {
487
488
  version: "1.1.13",
488
- date: "2023-03-13T09:36:27.207Z"
489
+ date: "2023-03-14T01:57:05.152Z"
489
490
  };
490
491
 
491
492
  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.1.13",
4
+ "version": "1.1.14",
5
5
  "license": "MIT",
6
6
  "description": "CodeMirror6 Component for vue2 and vue3.",
7
7
  "keywords": [
@@ -86,9 +86,9 @@
86
86
  "@codemirror/lang-markdown": "^6.1.0",
87
87
  "@codemirror/lang-vue": "^0.1.1",
88
88
  "@types/lodash": "^4.14.191",
89
- "@types/node": "^18.15.1",
90
- "@typescript-eslint/eslint-plugin": "^5.54.1",
91
- "@typescript-eslint/parser": "^5.54.1",
89
+ "@types/node": "^18.15.2",
90
+ "@typescript-eslint/eslint-plugin": "^5.55.0",
91
+ "@typescript-eslint/parser": "^5.55.0",
92
92
  "@vitejs/plugin-vue": "^4.0.0",
93
93
  "@vue/eslint-config-prettier": "^7.1.0",
94
94
  "@vue/tsconfig": "^0.1.3",
@@ -422,11 +422,12 @@ export default defineComponent({
422
422
  watch(
423
423
  () => extensions.value,
424
424
  exts => {
425
- view.value.dispatch({
426
- effects: StateEffect.reconfigure.of(exts),
427
- });
428
- },
429
- { deep: true }
425
+ exts.forEach(ext =>
426
+ view.value.dispatch({
427
+ effects: StateEffect.reconfigure.of(ext),
428
+ })
429
+ );
430
+ }
430
431
  );
431
432
 
432
433
  // focus changed