wysimark-lite 0.15.2 → 0.15.4
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.
|
|
3
|
+
"version": "0.15.4",
|
|
4
4
|
"license": "MIT",
|
|
5
5
|
"author": "takesy<takesy.morito@gmail.com>",
|
|
6
6
|
"repository": {
|
|
@@ -16,8 +16,7 @@
|
|
|
16
16
|
"types": "./dist/index.d.ts",
|
|
17
17
|
"files": [
|
|
18
18
|
"README.md",
|
|
19
|
-
"dist/"
|
|
20
|
-
"patches/"
|
|
19
|
+
"dist/"
|
|
21
20
|
],
|
|
22
21
|
"description": "A modern and clean rich text editor for React",
|
|
23
22
|
"devDependencies": {
|
|
@@ -79,8 +78,6 @@
|
|
|
79
78
|
"lodash.throttle": "^4.1.1",
|
|
80
79
|
"mdast-util-definitions": "^5.1.1",
|
|
81
80
|
"nanoid": "^3.3.6",
|
|
82
|
-
"patch-package": "^8.0.0",
|
|
83
|
-
"postinstall-postinstall": "^2.1.0",
|
|
84
81
|
"react": ">=17.x",
|
|
85
82
|
"react-dom": ">=17.x",
|
|
86
83
|
"remark-gfm": "^4.0.1",
|
|
@@ -92,11 +89,17 @@
|
|
|
92
89
|
"unist-util-visit": "^4.1.2",
|
|
93
90
|
"zustand": "^4.1.5"
|
|
94
91
|
},
|
|
92
|
+
"overrides": {
|
|
93
|
+
"remark-gfm": {
|
|
94
|
+
"mdast-util-gfm": {
|
|
95
|
+
"mdast-util-gfm-table": "npm:@takeshy/mdast-util-gfm-table@^2.0.1"
|
|
96
|
+
}
|
|
97
|
+
}
|
|
98
|
+
},
|
|
95
99
|
"scripts": {
|
|
96
100
|
"dev": "vite --host",
|
|
97
101
|
"build": "rimraf dist && tsup src/index.tsx",
|
|
98
102
|
"storybook": "storybook dev -p 6006",
|
|
99
|
-
"build-storybook": "storybook build"
|
|
100
|
-
"postinstall": "patch-package"
|
|
103
|
+
"build-storybook": "storybook build"
|
|
101
104
|
}
|
|
102
105
|
}
|
|
@@ -1,22 +0,0 @@
|
|
|
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
|
-
/**
|