@doist/typist 7.0.8 → 8.0.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/CHANGELOG.md +16 -0
- package/dist/serializers/html/html.js +1 -1
- package/package.json +56 -56
package/CHANGELOG.md
CHANGED
|
@@ -1,3 +1,19 @@
|
|
|
1
|
+
## [8.0.1](https://github.com/Doist/typist/compare/v8.0.0...v8.0.1) (2025-05-21)
|
|
2
|
+
|
|
3
|
+
### Bug Fixes
|
|
4
|
+
|
|
5
|
+
- **deps:** update tiptap packages to v2.12.0 ([#1069](https://github.com/Doist/typist/issues/1069)) ([071be06](https://github.com/Doist/typist/commit/071be0654e83574a392ac9dd4e04f85051d33096))
|
|
6
|
+
|
|
7
|
+
## [8.0.0](https://github.com/Doist/typist/compare/v7.0.8...v8.0.0) (2025-03-17)
|
|
8
|
+
|
|
9
|
+
### ⚠ BREAKING CHANGES
|
|
10
|
+
|
|
11
|
+
- **html-serializer:** Removed support for the single tilde syntax (e.g., `~text~`) for strike-through formatting. Please update your content to use the double tilde syntax (e.g., `~~text~~`) instead.
|
|
12
|
+
|
|
13
|
+
### Bug Fixes
|
|
14
|
+
|
|
15
|
+
- **html-serializer:** Remove support for single tilde syntax for strike-through text ([#1055](https://github.com/Doist/typist/issues/1055)) ([95c7231](https://github.com/Doist/typist/commit/95c72316196e932c4599d2566684a9b2813acd09))
|
|
16
|
+
|
|
1
17
|
## [7.0.8](https://github.com/Doist/typist/compare/v7.0.7...v7.0.8) (2025-02-05)
|
|
2
18
|
|
|
3
19
|
### Bug Fixes
|
|
@@ -67,7 +67,7 @@ function createHTMLSerializer(schema) {
|
|
|
67
67
|
// Configure the unified processor to use a custom plugin to add support for the strikethrough
|
|
68
68
|
// extension from the GitHub Flavored Markdown (GFM) specification
|
|
69
69
|
if (schema.marks.strike) {
|
|
70
|
-
unifiedProcessor.use(remarkStrikethrough);
|
|
70
|
+
unifiedProcessor.use(remarkStrikethrough, { singleTilde: false });
|
|
71
71
|
}
|
|
72
72
|
// Configure the unified processor to use a custom plugin to add support for the autolink
|
|
73
73
|
// literals extension from the GitHub Flavored Markdown (GFM) specification
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@doist/typist",
|
|
3
3
|
"description": "The mighty Tiptap-based rich-text editor React component that powers Doist products.",
|
|
4
|
-
"version": "
|
|
4
|
+
"version": "8.0.1",
|
|
5
5
|
"license": "MIT",
|
|
6
6
|
"homepage": "https://typist.doist.dev/",
|
|
7
7
|
"repository": "https://github.com/Doist/typist",
|
|
@@ -9,7 +9,7 @@
|
|
|
9
9
|
"types": "dist/index.d.ts",
|
|
10
10
|
"sideEffects": false,
|
|
11
11
|
"engines": {
|
|
12
|
-
"node": "^16.0.0 || ^18.0.0 || ^20.0.0 || ^21.0.0",
|
|
12
|
+
"node": "^16.0.0 || ^18.0.0 || ^20.0.0 || ^21.0.0 || ^22.0.0",
|
|
13
13
|
"npm": "^7.0.0 || ^8.0.0 || ^9.0.0 || ^10.0.0"
|
|
14
14
|
},
|
|
15
15
|
"publishConfig": {
|
|
@@ -45,66 +45,66 @@
|
|
|
45
45
|
"validate:pre-push": "run-s test"
|
|
46
46
|
},
|
|
47
47
|
"dependencies": {
|
|
48
|
-
"@tiptap/core": "2.
|
|
49
|
-
"@tiptap/extension-blockquote": "2.
|
|
50
|
-
"@tiptap/extension-bold": "2.
|
|
51
|
-
"@tiptap/extension-bullet-list": "2.
|
|
52
|
-
"@tiptap/extension-character-count": "2.
|
|
53
|
-
"@tiptap/extension-code": "2.
|
|
54
|
-
"@tiptap/extension-code-block": "2.
|
|
55
|
-
"@tiptap/extension-document": "2.
|
|
56
|
-
"@tiptap/extension-dropcursor": "2.
|
|
57
|
-
"@tiptap/extension-gapcursor": "2.
|
|
58
|
-
"@tiptap/extension-hard-break": "2.
|
|
59
|
-
"@tiptap/extension-heading": "2.
|
|
60
|
-
"@tiptap/extension-history": "2.
|
|
61
|
-
"@tiptap/extension-horizontal-rule": "2.
|
|
62
|
-
"@tiptap/extension-image": "2.
|
|
63
|
-
"@tiptap/extension-italic": "2.
|
|
64
|
-
"@tiptap/extension-link": "2.
|
|
65
|
-
"@tiptap/extension-list-item": "2.
|
|
66
|
-
"@tiptap/extension-list-keymap": "2.
|
|
67
|
-
"@tiptap/extension-ordered-list": "2.
|
|
68
|
-
"@tiptap/extension-paragraph": "2.
|
|
69
|
-
"@tiptap/extension-placeholder": "2.
|
|
70
|
-
"@tiptap/extension-strike": "2.
|
|
71
|
-
"@tiptap/extension-task-item": "2.
|
|
72
|
-
"@tiptap/extension-task-list": "2.
|
|
73
|
-
"@tiptap/extension-text": "2.
|
|
74
|
-
"@tiptap/extension-text-style": "2.
|
|
75
|
-
"@tiptap/extension-typography": "2.
|
|
76
|
-
"@tiptap/pm": "2.
|
|
77
|
-
"@tiptap/react": "2.
|
|
78
|
-
"@tiptap/suggestion": "2.
|
|
48
|
+
"@tiptap/core": "2.12.0",
|
|
49
|
+
"@tiptap/extension-blockquote": "2.12.0",
|
|
50
|
+
"@tiptap/extension-bold": "2.12.0",
|
|
51
|
+
"@tiptap/extension-bullet-list": "2.12.0",
|
|
52
|
+
"@tiptap/extension-character-count": "2.12.0",
|
|
53
|
+
"@tiptap/extension-code": "2.12.0",
|
|
54
|
+
"@tiptap/extension-code-block": "2.12.0",
|
|
55
|
+
"@tiptap/extension-document": "2.12.0",
|
|
56
|
+
"@tiptap/extension-dropcursor": "2.12.0",
|
|
57
|
+
"@tiptap/extension-gapcursor": "2.12.0",
|
|
58
|
+
"@tiptap/extension-hard-break": "2.12.0",
|
|
59
|
+
"@tiptap/extension-heading": "2.12.0",
|
|
60
|
+
"@tiptap/extension-history": "2.12.0",
|
|
61
|
+
"@tiptap/extension-horizontal-rule": "2.12.0",
|
|
62
|
+
"@tiptap/extension-image": "2.12.0",
|
|
63
|
+
"@tiptap/extension-italic": "2.12.0",
|
|
64
|
+
"@tiptap/extension-link": "2.12.0",
|
|
65
|
+
"@tiptap/extension-list-item": "2.12.0",
|
|
66
|
+
"@tiptap/extension-list-keymap": "2.12.0",
|
|
67
|
+
"@tiptap/extension-ordered-list": "2.12.0",
|
|
68
|
+
"@tiptap/extension-paragraph": "2.12.0",
|
|
69
|
+
"@tiptap/extension-placeholder": "2.12.0",
|
|
70
|
+
"@tiptap/extension-strike": "2.12.0",
|
|
71
|
+
"@tiptap/extension-task-item": "2.12.0",
|
|
72
|
+
"@tiptap/extension-task-list": "2.12.0",
|
|
73
|
+
"@tiptap/extension-text": "2.12.0",
|
|
74
|
+
"@tiptap/extension-text-style": "2.12.0",
|
|
75
|
+
"@tiptap/extension-typography": "2.12.0",
|
|
76
|
+
"@tiptap/pm": "2.12.0",
|
|
77
|
+
"@tiptap/react": "2.12.0",
|
|
78
|
+
"@tiptap/suggestion": "2.12.0",
|
|
79
79
|
"prosemirror-codemark": "0.4.2"
|
|
80
80
|
},
|
|
81
81
|
"devDependencies": {
|
|
82
|
-
"@doist/eslint-config": "11.
|
|
82
|
+
"@doist/eslint-config": "11.2.0",
|
|
83
83
|
"@doist/prettier-config": "4.0.0",
|
|
84
|
-
"@doist/reactist": "
|
|
84
|
+
"@doist/reactist": "28.2.2",
|
|
85
85
|
"@mdx-js/react": "3.1.0",
|
|
86
86
|
"@semantic-release/changelog": "6.0.3",
|
|
87
|
-
"@semantic-release/exec": "
|
|
87
|
+
"@semantic-release/exec": "7.1.0",
|
|
88
88
|
"@semantic-release/git": "10.0.1",
|
|
89
|
-
"@storybook/addon-a11y": "8.
|
|
90
|
-
"@storybook/addon-essentials": "8.
|
|
91
|
-
"@storybook/blocks": "8.
|
|
89
|
+
"@storybook/addon-a11y": "8.6.14",
|
|
90
|
+
"@storybook/addon-essentials": "8.6.14",
|
|
91
|
+
"@storybook/blocks": "8.6.14",
|
|
92
92
|
"@storybook/csf": "0.1.13",
|
|
93
|
-
"@storybook/manager-api": "8.
|
|
93
|
+
"@storybook/manager-api": "8.6.14",
|
|
94
94
|
"@storybook/mdx2-csf": "1.1.0",
|
|
95
|
-
"@storybook/react": "8.
|
|
96
|
-
"@storybook/react-vite": "8.
|
|
95
|
+
"@storybook/react": "8.6.14",
|
|
96
|
+
"@storybook/react-vite": "8.6.14",
|
|
97
97
|
"@testing-library/dom": "10.4.0",
|
|
98
98
|
"@testing-library/jest-dom": "6.6.3",
|
|
99
|
-
"@testing-library/react": "16.
|
|
99
|
+
"@testing-library/react": "16.3.0",
|
|
100
100
|
"@types/hast": "3.0.4",
|
|
101
101
|
"@types/lodash-es": "4.17.12",
|
|
102
|
-
"@types/react": "18.3.
|
|
103
|
-
"@types/react-dom": "18.3.
|
|
102
|
+
"@types/react": "18.3.21",
|
|
103
|
+
"@types/react-dom": "18.3.7",
|
|
104
104
|
"@types/react-syntax-highlighter": "15.5.13",
|
|
105
105
|
"@types/turndown": "5.0.5",
|
|
106
106
|
"@types/unist": "3.0.3",
|
|
107
|
-
"@vitejs/plugin-react": "4.
|
|
107
|
+
"@vitejs/plugin-react": "4.4.1",
|
|
108
108
|
"boring-avatars": "1.11.2",
|
|
109
109
|
"classnames": "2.5.1",
|
|
110
110
|
"conventional-changelog-conventionalcommits": "8.0.0",
|
|
@@ -121,27 +121,27 @@
|
|
|
121
121
|
"husky": "9.1.7",
|
|
122
122
|
"ignore-sync": "8.0.0",
|
|
123
123
|
"is-ci": "4.1.0",
|
|
124
|
-
"jsdom": "26.
|
|
125
|
-
"lint-staged": "15.
|
|
124
|
+
"jsdom": "26.1.0",
|
|
125
|
+
"lint-staged": "15.5.2",
|
|
126
126
|
"npm-run-all2": "7.0.2",
|
|
127
127
|
"prettier": "3.2.5",
|
|
128
128
|
"react": "18.3.1",
|
|
129
129
|
"react-dom": "18.3.1",
|
|
130
|
-
"react-icons": "5.
|
|
131
|
-
"react-markdown": "9.0
|
|
130
|
+
"react-icons": "5.5.0",
|
|
131
|
+
"react-markdown": "9.1.0",
|
|
132
132
|
"react-syntax-highlighter": "15.6.1",
|
|
133
133
|
"react-use-event-hook": "0.9.6",
|
|
134
134
|
"rehype-raw": "7.0.0",
|
|
135
|
-
"remark-gfm": "4.0.
|
|
135
|
+
"remark-gfm": "4.0.1",
|
|
136
136
|
"rimraf": "6.0.1",
|
|
137
|
-
"semantic-release": "24.2.
|
|
138
|
-
"storybook": "8.
|
|
137
|
+
"semantic-release": "24.2.3",
|
|
138
|
+
"storybook": "8.6.14",
|
|
139
139
|
"storybook-css-modules": "1.0.8",
|
|
140
140
|
"tippy.js": "6.3.7",
|
|
141
|
-
"type-fest": "4.
|
|
142
|
-
"typescript": "5.
|
|
141
|
+
"type-fest": "4.41.0",
|
|
142
|
+
"typescript": "5.8.3",
|
|
143
143
|
"typescript-plugin-css-modules": "5.1.0",
|
|
144
|
-
"vitest": "3.
|
|
144
|
+
"vitest": "3.1.3"
|
|
145
145
|
},
|
|
146
146
|
"peerDependencies": {
|
|
147
147
|
"emoji-regex": "^10.2.1",
|