wysimark-lite 0.15.1 → 0.15.2

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,6 +1,6 @@
1
1
  {
2
2
  "name": "wysimark-lite",
3
- "version": "0.15.1",
3
+ "version": "0.15.2",
4
4
  "license": "MIT",
5
5
  "author": "takesy<takesy.morito@gmail.com>",
6
6
  "repository": {
@@ -16,7 +16,8 @@
16
16
  "types": "./dist/index.d.ts",
17
17
  "files": [
18
18
  "README.md",
19
- "dist/"
19
+ "dist/",
20
+ "patches/"
20
21
  ],
21
22
  "description": "A modern and clean rich text editor for React",
22
23
  "devDependencies": {
@@ -49,8 +50,6 @@
49
50
  "json-beautify": "^1.1.1",
50
51
  "just-map-values": "^3.2.0",
51
52
  "mdast-util-definitions": "^5.1.1",
52
- "patch-package": "^8.0.0",
53
- "postinstall-postinstall": "^2.1.0",
54
53
  "pretty-bytes": "^6.0.0",
55
54
  "react": "^19.0.0",
56
55
  "react-dom": "^19.0.0",
@@ -80,6 +79,8 @@
80
79
  "lodash.throttle": "^4.1.1",
81
80
  "mdast-util-definitions": "^5.1.1",
82
81
  "nanoid": "^3.3.6",
82
+ "patch-package": "^8.0.0",
83
+ "postinstall-postinstall": "^2.1.0",
83
84
  "react": ">=17.x",
84
85
  "react-dom": ">=17.x",
85
86
  "remark-gfm": "^4.0.1",
@@ -0,0 +1,22 @@
1
+ diff --git a/node_modules/mdast-util-gfm-table/lib/index.js b/node_modules/mdast-util-gfm-table/lib/index.js
2
+ index 1234567..abcdefg 100644
3
+ --- a/node_modules/mdast-util-gfm-table/lib/index.js
4
+ +++ b/node_modules/mdast-util-gfm-table/lib/index.js
5
+ @@ -78,7 +78,7 @@ function enterTable(token) {
6
+ },
7
+ token
8
+ )
9
+ - this.data.inTable = true
10
+ + if(this.data) this.data.inTable = true
11
+ }
12
+
13
+ /**
14
+ @@ -87,7 +87,7 @@ function enterTable(token) {
15
+ */
16
+ function exitTable(token) {
17
+ this.exit(token)
18
+ - this.data.inTable = undefined
19
+ + if(this.data) this.data.inTable = undefined
20
+ }
21
+
22
+ /**