vue-codemirror6 1.1.14 → 1.1.15

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,9 +4,11 @@ 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)
7
+ #### [1.1.15](https://github.com/logue/vue-codemirror6/compare/1.1.13...1.1.15)
8
8
 
9
9
  - Fixed Maximum call stack size exceeded error. [`f10eaae`](https://github.com/logue/vue-codemirror6/commit/f10eaaea9145bc1d7a6605ab3cb8a82c0ca12df6)
10
+ - Partially fixed the problem that the values defined in props disappeared under certain conditions. [`1cc4468`](https://github.com/logue/vue-codemirror6/commit/1cc4468e35e39ee8eaae1b2f007e3425a757217f)
11
+ - Update CHANGELOG.md. [`f313ddc`](https://github.com/logue/vue-codemirror6/commit/f313ddc4d5e622b8ae4b52842178bb88149ec99c)
10
12
 
11
13
  #### [1.1.13](https://github.com/logue/vue-codemirror6/compare/1.1.12...1.1.13)
12
14
 
@@ -22,7 +24,7 @@ Generated by [`auto-changelog`](https://github.com/CookPete/auto-changelog).
22
24
 
23
25
  - chore(CODEOWNERS): CODEOWNERS.com Bot, at your service! [`#14`](https://github.com/logue/vue-codemirror6/pull/14)
24
26
  - Update demo code. (Replaced @codemirror/html to @codemirror/vue.) [`8da1a8a`](https://github.com/logue/vue-codemirror6/commit/8da1a8a4e37d713cc78281ce9c304c42a06940dc)
25
- - Changed implementation to generate *.d.ts with vite-plugin-dts. [`1caaa20`](https://github.com/logue/vue-codemirror6/commit/1caaa20b1423a3d252a6c770a630fb60e2e3440d)
27
+ - Changed implementation to generate \*.d.ts with vite-plugin-dts. [`1caaa20`](https://github.com/logue/vue-codemirror6/commit/1caaa20b1423a3d252a6c770a630fb60e2e3440d)
26
28
  - Update README.md. [`f8dd493`](https://github.com/logue/vue-codemirror6/commit/f8dd4934a7b9cc089cd830473db5250d28b3389b)
27
29
 
28
30
  #### [1.1.11](https://github.com/logue/vue-codemirror6/compare/1.1.3...1.1.11)
package/dist/index.es.js CHANGED
@@ -5,7 +5,7 @@
5
5
  * @author Logue <logue@hotmail.co.jp>
6
6
  * @copyright 2022-2023 By Masashi Yoshikawa All rights reserved.
7
7
  * @license MIT
8
- * @version 1.1.13
8
+ * @version 1.1.15
9
9
  * @see {@link https://github.com/logue/vue-codemirror6}
10
10
  */
11
11
 
@@ -349,11 +349,9 @@ var CodeMirror = defineComponent({
349
349
  watch(
350
350
  () => extensions.value,
351
351
  (exts) => {
352
- exts.forEach(
353
- (ext) => view.value.dispatch({
354
- effects: StateEffect.reconfigure.of(ext)
355
- })
356
- );
352
+ view.value.dispatch({
353
+ effects: StateEffect.reconfigure.of(exts)
354
+ });
357
355
  }
358
356
  );
359
357
  watch(focus, (isFocus) => context.emit("focus", isFocus));
@@ -487,8 +485,8 @@ var CodeMirror = defineComponent({
487
485
  });
488
486
 
489
487
  const meta = {
490
- version: "1.1.13",
491
- date: "2023-03-14T01:57:05.152Z"
488
+ version: "1.1.15",
489
+ date: "2023-03-14T09:58:31.925Z"
492
490
  };
493
491
 
494
492
  const installCodeMirror = (app) => app.component("CodeMirror", CodeMirror);
@@ -5,7 +5,7 @@
5
5
  * @author Logue <logue@hotmail.co.jp>
6
6
  * @copyright 2022-2023 By Masashi Yoshikawa All rights reserved.
7
7
  * @license MIT
8
- * @version 1.1.13
8
+ * @version 1.1.15
9
9
  * @see {@link https://github.com/logue/vue-codemirror6}
10
10
  */
11
11
 
@@ -344,11 +344,9 @@ var CodeMirror = (function (exports, vueDemi, lodash, codemirror, state, view, c
344
344
  vueDemi.watch(
345
345
  () => extensions.value,
346
346
  (exts) => {
347
- exts.forEach(
348
- (ext) => view$1.value.dispatch({
349
- effects: state.StateEffect.reconfigure.of(ext)
350
- })
351
- );
347
+ view$1.value.dispatch({
348
+ effects: state.StateEffect.reconfigure.of(exts)
349
+ });
352
350
  }
353
351
  );
354
352
  vueDemi.watch(focus, (isFocus) => context.emit("focus", isFocus));
@@ -482,8 +480,8 @@ var CodeMirror = (function (exports, vueDemi, lodash, codemirror, state, view, c
482
480
  });
483
481
 
484
482
  const meta = {
485
- version: "1.1.13",
486
- date: "2023-03-14T01:57:05.152Z"
483
+ version: "1.1.15",
484
+ date: "2023-03-14T09:58:31.925Z"
487
485
  };
488
486
 
489
487
  const installCodeMirror = (app) => app.component("CodeMirror", CodeMirror);
package/dist/index.umd.js CHANGED
@@ -5,7 +5,7 @@
5
5
  * @author Logue <logue@hotmail.co.jp>
6
6
  * @copyright 2022-2023 By Masashi Yoshikawa All rights reserved.
7
7
  * @license MIT
8
- * @version 1.1.13
8
+ * @version 1.1.15
9
9
  * @see {@link https://github.com/logue/vue-codemirror6}
10
10
  */
11
11
 
@@ -347,11 +347,9 @@
347
347
  vueDemi.watch(
348
348
  () => extensions.value,
349
349
  (exts) => {
350
- exts.forEach(
351
- (ext) => view$1.value.dispatch({
352
- effects: state.StateEffect.reconfigure.of(ext)
353
- })
354
- );
350
+ view$1.value.dispatch({
351
+ effects: state.StateEffect.reconfigure.of(exts)
352
+ });
355
353
  }
356
354
  );
357
355
  vueDemi.watch(focus, (isFocus) => context.emit("focus", isFocus));
@@ -485,8 +483,8 @@
485
483
  });
486
484
 
487
485
  const meta = {
488
- version: "1.1.13",
489
- date: "2023-03-14T01:57:05.152Z"
486
+ version: "1.1.15",
487
+ date: "2023-03-14T09:58:31.925Z"
490
488
  };
491
489
 
492
490
  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.14",
4
+ "version": "1.1.15",
5
5
  "license": "MIT",
6
6
  "description": "CodeMirror6 Component for vue2 and vue3.",
7
7
  "keywords": [
@@ -86,7 +86,7 @@
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.2",
89
+ "@types/node": "^18.15.3",
90
90
  "@typescript-eslint/eslint-plugin": "^5.55.0",
91
91
  "@typescript-eslint/parser": "^5.55.0",
92
92
  "@vitejs/plugin-vue": "^4.0.0",
@@ -101,7 +101,7 @@
101
101
  "eslint-linter-browserify": "^8.36.0",
102
102
  "eslint-plugin-html": "^7.1.0",
103
103
  "eslint-plugin-import": "^2.27.5",
104
- "eslint-plugin-jsdoc": "^40.0.1",
104
+ "eslint-plugin-jsdoc": "^40.0.2",
105
105
  "eslint-plugin-prettier": "^4.2.1",
106
106
  "eslint-plugin-tsdoc": "^0.2.17",
107
107
  "eslint-plugin-vue": "^9.9.0",
@@ -422,11 +422,9 @@ export default defineComponent({
422
422
  watch(
423
423
  () => extensions.value,
424
424
  exts => {
425
- exts.forEach(ext =>
426
- view.value.dispatch({
427
- effects: StateEffect.reconfigure.of(ext),
428
- })
429
- );
425
+ view.value.dispatch({
426
+ effects: StateEffect.reconfigure.of(exts),
427
+ });
430
428
  }
431
429
  );
432
430