@yozora/tokenizer-thematic-break 2.3.12 → 2.3.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 +25 -19
- package/README.md +42 -47
- package/lib/types/index.d.ts +3 -2
- package/package.json +13 -10
package/CHANGELOG.md
CHANGED
|
@@ -1,36 +1,42 @@
|
|
|
1
1
|
# Change Log
|
|
2
2
|
|
|
3
|
-
|
|
4
|
-
See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.
|
|
5
|
-
|
|
6
|
-
## <small>2.3.12 (2025-02-26)</small>
|
|
7
|
-
|
|
8
|
-
* :bookmark: release: publish v2.3.10 ([a36b4dd](https://github.com/yozorajs/yozora/commit/a36b4dd))
|
|
9
|
-
* :bookmark: release: publish v2.3.11 ([dcc0a95](https://github.com/yozorajs/yozora/commit/dcc0a95))
|
|
10
|
-
* :bookmark: release: publish v2.3.8 ([c4ddb8b](https://github.com/yozorajs/yozora/commit/c4ddb8b))
|
|
11
|
-
* :bookmark: release: publish v2.3.9 ([d125df1](https://github.com/yozorajs/yozora/commit/d125df1))
|
|
12
|
-
* fix(math): should handle the eatAndInterruptPreviousSibling manually ([ef96d32](https://github.com/yozorajs/yozora/commit/ef96d32))
|
|
13
|
-
* chore: fix nx dependencies ([d11d405](https://github.com/yozorajs/yozora/commit/d11d405))
|
|
14
|
-
|
|
3
|
+
## 2.3.14
|
|
15
4
|
|
|
5
|
+
### Patch Changes
|
|
16
6
|
|
|
7
|
+
- Patch release for all public packages: align monorepo tooling with pnpm + changesets, update
|
|
8
|
+
package metadata and docs, and include test and configuration improvements for release
|
|
9
|
+
consistency.
|
|
10
|
+
- Updated dependencies:
|
|
11
|
+
- @yozora/ast@2.3.14
|
|
12
|
+
- @yozora/character@2.3.14
|
|
13
|
+
- @yozora/core-tokenizer@2.3.14
|
|
17
14
|
|
|
15
|
+
All notable changes to this project will be documented in this file. See
|
|
16
|
+
[Conventional Commits](https://conventionalcommits.org) for commit guidelines.
|
|
18
17
|
|
|
19
|
-
## <small>2.3.
|
|
18
|
+
## <small>2.3.13 (2025-11-30)</small>
|
|
20
19
|
|
|
21
|
-
|
|
20
|
+
**Note:** Version bump only for package @yozora/tokenizer-thematic-break
|
|
22
21
|
|
|
22
|
+
## <small>2.3.12 (2025-02-26)</small>
|
|
23
23
|
|
|
24
|
+
- :bookmark: release: publish v2.3.10 ([a36b4dd](https://github.com/yozorajs/yozora/commit/a36b4dd))
|
|
25
|
+
- :bookmark: release: publish v2.3.11 ([dcc0a95](https://github.com/yozorajs/yozora/commit/dcc0a95))
|
|
26
|
+
- :bookmark: release: publish v2.3.8 ([c4ddb8b](https://github.com/yozorajs/yozora/commit/c4ddb8b))
|
|
27
|
+
- :bookmark: release: publish v2.3.9 ([d125df1](https://github.com/yozorajs/yozora/commit/d125df1))
|
|
28
|
+
- fix(math): should handle the eatAndInterruptPreviousSibling manually
|
|
29
|
+
([ef96d32](https://github.com/yozorajs/yozora/commit/ef96d32))
|
|
30
|
+
- chore: fix nx dependencies ([d11d405](https://github.com/yozorajs/yozora/commit/d11d405))
|
|
24
31
|
|
|
32
|
+
## <small>2.3.11 (2025-01-13)</small>
|
|
25
33
|
|
|
34
|
+
- fix(math): should handle the eatAndInterruptPreviousSibling manually
|
|
35
|
+
([ef96d32](https://github.com/yozorajs/yozora/commit/ef96d32))
|
|
26
36
|
|
|
27
37
|
## <small>2.3.10 (2025-01-09)</small>
|
|
28
38
|
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
39
|
+
- chore: fix nx dependencies ([d11d405](https://github.com/yozorajs/yozora/commit/d11d405))
|
|
34
40
|
|
|
35
41
|
# Change Log
|
|
36
42
|
|
package/README.md
CHANGED
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
|
|
3
3
|
<header>
|
|
4
4
|
<h1 align="center">
|
|
5
|
-
<a href="https://github.com/yozorajs/yozora/tree/v2.3.
|
|
5
|
+
<a href="https://github.com/yozorajs/yozora/tree/v2.3.13/tokenizers/thematic-break#readme">@yozora/tokenizer-thematic-break</a>
|
|
6
6
|
</h1>
|
|
7
7
|
<div align="center">
|
|
8
8
|
<a href="https://www.npmjs.com/package/@yozora/tokenizer-thematic-break">
|
|
@@ -66,11 +66,6 @@
|
|
|
66
66
|
npm install --save @yozora/tokenizer-thematic-break
|
|
67
67
|
```
|
|
68
68
|
|
|
69
|
-
- yarn
|
|
70
|
-
|
|
71
|
-
```bash
|
|
72
|
-
yarn add @yozora/tokenizer-thematic-break
|
|
73
|
-
```
|
|
74
69
|
|
|
75
70
|
## Usage
|
|
76
71
|
|
|
@@ -182,80 +177,80 @@ ___
|
|
|
182
177
|
|
|
183
178
|
[live-examples]: https://yozora.guanghechen.com/docs/package/tokenizer-thematic-break#live-examples
|
|
184
179
|
[docpage]: https://yozora.guanghechen.com/docs/package/tokenizer-thematic-break
|
|
185
|
-
[homepage]: https://github.com/yozorajs/yozora/tree/v2.3.
|
|
180
|
+
[homepage]: https://github.com/yozorajs/yozora/tree/v2.3.13/tokenizers/thematic-break#readme
|
|
186
181
|
[gfm-spec]: https://github.github.com/gfm
|
|
187
182
|
[mdast-homepage]: https://github.com/syntax-tree/mdast
|
|
188
|
-
[@yozora/ast]: https://github.com/yozorajs/yozora/tree/v2.3.
|
|
189
|
-
[@yozora/ast-util]: https://github.com/yozorajs/yozora/tree/v2.3.
|
|
190
|
-
[@yozora/character]: https://github.com/yozorajs/yozora/tree/v2.3.
|
|
183
|
+
[@yozora/ast]: https://github.com/yozorajs/yozora/tree/v2.3.13/packages/ast#readme
|
|
184
|
+
[@yozora/ast-util]: https://github.com/yozorajs/yozora/tree/v2.3.13/packages/ast-util#readme
|
|
185
|
+
[@yozora/character]: https://github.com/yozorajs/yozora/tree/v2.3.13/packages/character#readme
|
|
191
186
|
[@yozora/eslint-config]:
|
|
192
187
|
https://github.com/yozorajs/yozora/tree/release-2.x.x/packages/eslint-config#readme
|
|
193
|
-
[@yozora/core-parser]: https://github.com/yozorajs/yozora/tree/v2.3.
|
|
188
|
+
[@yozora/core-parser]: https://github.com/yozorajs/yozora/tree/v2.3.13/packages/core-parser#readme
|
|
194
189
|
[@yozora/core-tokenizer]:
|
|
195
|
-
https://github.com/yozorajs/yozora/tree/v2.3.
|
|
196
|
-
[@yozora/invariant]: https://github.com/yozorajs/yozora/tree/v2.3.
|
|
190
|
+
https://github.com/yozorajs/yozora/tree/v2.3.13/packages/core-tokenizer#readme
|
|
191
|
+
[@yozora/invariant]: https://github.com/yozorajs/yozora/tree/v2.3.13/packages/invariant#readme
|
|
197
192
|
[@yozora/jest-for-tokenizer]:
|
|
198
193
|
https://github.com/yozorajs/yozora/tree/release-2.x.x/packages/jest-for-tokenizer#readme
|
|
199
|
-
[@yozora/parser]: https://github.com/yozorajs/yozora/tree/v2.3.
|
|
200
|
-
[@yozora/parser-gfm]: https://github.com/yozorajs/yozora/tree/v2.3.
|
|
194
|
+
[@yozora/parser]: https://github.com/yozorajs/yozora/tree/v2.3.13/packages/parser#readme
|
|
195
|
+
[@yozora/parser-gfm]: https://github.com/yozorajs/yozora/tree/v2.3.13/packages/parser-gfm#readme
|
|
201
196
|
[@yozora/parser-gfm-ex]:
|
|
202
|
-
https://github.com/yozorajs/yozora/tree/v2.3.
|
|
197
|
+
https://github.com/yozorajs/yozora/tree/v2.3.13/packages/parser-gfm-ex#readme
|
|
203
198
|
[@yozora/template-tokenizer]:
|
|
204
199
|
https://github.com/yozorajs/yozora/tree/release-2.x.x/packages/template-tokenizer#readme
|
|
205
200
|
[@yozora/tokenizer-admonition]:
|
|
206
|
-
https://github.com/yozorajs/yozora/tree/v2.3.
|
|
201
|
+
https://github.com/yozorajs/yozora/tree/v2.3.13/tokenizers/admonition#readme
|
|
207
202
|
[@yozora/tokenizer-autolink]:
|
|
208
|
-
https://github.com/yozorajs/yozora/tree/v2.3.
|
|
203
|
+
https://github.com/yozorajs/yozora/tree/v2.3.13/tokenizers/autolink#readme
|
|
209
204
|
[@yozora/tokenizer-autolink-extension]:
|
|
210
|
-
https://github.com/yozorajs/yozora/tree/v2.3.
|
|
205
|
+
https://github.com/yozorajs/yozora/tree/v2.3.13/tokenizers/autolink-extension#readme
|
|
211
206
|
[@yozora/tokenizer-blockquote]:
|
|
212
|
-
https://github.com/yozorajs/yozora/tree/v2.3.
|
|
213
|
-
[@yozora/tokenizer-break]: https://github.com/yozorajs/yozora/tree/v2.3.
|
|
207
|
+
https://github.com/yozorajs/yozora/tree/v2.3.13/tokenizers/blockquote#readme
|
|
208
|
+
[@yozora/tokenizer-break]: https://github.com/yozorajs/yozora/tree/v2.3.13/tokenizers/break#readme
|
|
214
209
|
[@yozora/tokenizer-definition]:
|
|
215
|
-
https://github.com/yozorajs/yozora/tree/v2.3.
|
|
216
|
-
[@yozora/tokenizer-delete]: https://github.com/yozorajs/yozora/tree/v2.3.
|
|
210
|
+
https://github.com/yozorajs/yozora/tree/v2.3.13/tokenizers/definition#readme
|
|
211
|
+
[@yozora/tokenizer-delete]: https://github.com/yozorajs/yozora/tree/v2.3.13/tokenizers/delete#readme
|
|
217
212
|
[@yozora/tokenizer-ecma-import]:
|
|
218
|
-
https://github.com/yozorajs/yozora/tree/v2.3.
|
|
213
|
+
https://github.com/yozorajs/yozora/tree/v2.3.13/tokenizers/ecma-import#readme
|
|
219
214
|
[@yozora/tokenizer-emphasis]:
|
|
220
|
-
https://github.com/yozorajs/yozora/tree/v2.3.
|
|
215
|
+
https://github.com/yozorajs/yozora/tree/v2.3.13/tokenizers/emphasis#readme
|
|
221
216
|
[@yozora/tokenizer-fenced-block]:
|
|
222
|
-
https://github.com/yozorajs/yozora/tree/v2.3.
|
|
217
|
+
https://github.com/yozorajs/yozora/tree/v2.3.13/tokenizers/fenced-block#readme
|
|
223
218
|
[@yozora/tokenizer-fenced-code]:
|
|
224
|
-
https://github.com/yozorajs/yozora/tree/v2.3.
|
|
219
|
+
https://github.com/yozorajs/yozora/tree/v2.3.13/tokenizers/fenced-code#readme
|
|
225
220
|
[@yozora/tokenizer-footnote]:
|
|
226
|
-
https://github.com/yozorajs/yozora/tree/v2.3.
|
|
221
|
+
https://github.com/yozorajs/yozora/tree/v2.3.13/tokenizers/footnote#readme
|
|
227
222
|
[@yozora/tokenizer-footnote-definition]:
|
|
228
|
-
https://github.com/yozorajs/yozora/tree/v2.3.
|
|
223
|
+
https://github.com/yozorajs/yozora/tree/v2.3.13/tokenizers/footnote-definition#readme
|
|
229
224
|
[@yozora/tokenizer-footnote-reference]:
|
|
230
|
-
https://github.com/yozorajs/yozora/tree/v2.3.
|
|
225
|
+
https://github.com/yozorajs/yozora/tree/v2.3.13/tokenizers/footnote-reference#readme
|
|
231
226
|
[@yozora/tokenizer-heading]:
|
|
232
|
-
https://github.com/yozorajs/yozora/tree/v2.3.
|
|
227
|
+
https://github.com/yozorajs/yozora/tree/v2.3.13/tokenizers/heading#readme
|
|
233
228
|
[@yozora/tokenizer-html-block]:
|
|
234
|
-
https://github.com/yozorajs/yozora/tree/v2.3.
|
|
229
|
+
https://github.com/yozorajs/yozora/tree/v2.3.13/tokenizers/html-block#readme
|
|
235
230
|
[@yozora/tokenizer-html-inline]:
|
|
236
|
-
https://github.com/yozorajs/yozora/tree/v2.3.
|
|
237
|
-
[@yozora/tokenizer-image]: https://github.com/yozorajs/yozora/tree/v2.3.
|
|
231
|
+
https://github.com/yozorajs/yozora/tree/v2.3.13/tokenizers/html-inline#readme
|
|
232
|
+
[@yozora/tokenizer-image]: https://github.com/yozorajs/yozora/tree/v2.3.13/tokenizers/image#readme
|
|
238
233
|
[@yozora/tokenizer-image-reference]:
|
|
239
|
-
https://github.com/yozorajs/yozora/tree/v2.3.
|
|
234
|
+
https://github.com/yozorajs/yozora/tree/v2.3.13/tokenizers/image-reference#readme
|
|
240
235
|
[@yozora/tokenizer-indented-code]:
|
|
241
|
-
https://github.com/yozorajs/yozora/tree/v2.3.
|
|
236
|
+
https://github.com/yozorajs/yozora/tree/v2.3.13/tokenizers/indented-code#readme
|
|
242
237
|
[@yozora/tokenizer-inline-code]:
|
|
243
|
-
https://github.com/yozorajs/yozora/tree/v2.3.
|
|
238
|
+
https://github.com/yozorajs/yozora/tree/v2.3.13/tokenizers/inline-code#readme
|
|
244
239
|
[@yozora/tokenizer-inline-math]:
|
|
245
|
-
https://github.com/yozorajs/yozora/tree/v2.3.
|
|
246
|
-
[@yozora/tokenizer-link]: https://github.com/yozorajs/yozora/tree/v2.3.
|
|
240
|
+
https://github.com/yozorajs/yozora/tree/v2.3.13/tokenizers/inline-math#readme
|
|
241
|
+
[@yozora/tokenizer-link]: https://github.com/yozorajs/yozora/tree/v2.3.13/tokenizers/link#readme
|
|
247
242
|
[@yozora/tokenizer-link-reference]:
|
|
248
|
-
https://github.com/yozorajs/yozora/tree/v2.3.
|
|
249
|
-
[@yozora/tokenizer-list]: https://github.com/yozorajs/yozora/tree/v2.3.
|
|
250
|
-
[@yozora/tokenizer-math]: https://github.com/yozorajs/yozora/tree/v2.3.
|
|
243
|
+
https://github.com/yozorajs/yozora/tree/v2.3.13/tokenizers/link-reference#readme
|
|
244
|
+
[@yozora/tokenizer-list]: https://github.com/yozorajs/yozora/tree/v2.3.13/tokenizers/list#readme
|
|
245
|
+
[@yozora/tokenizer-math]: https://github.com/yozorajs/yozora/tree/v2.3.13/tokenizers/math#readme
|
|
251
246
|
[@yozora/tokenizer-paragraph]:
|
|
252
|
-
https://github.com/yozorajs/yozora/tree/v2.3.
|
|
247
|
+
https://github.com/yozorajs/yozora/tree/v2.3.13/tokenizers/paragraph#readme
|
|
253
248
|
[@yozora/tokenizer-setext-heading]:
|
|
254
|
-
https://github.com/yozorajs/yozora/tree/v2.3.
|
|
255
|
-
[@yozora/tokenizer-table]: https://github.com/yozorajs/yozora/tree/v2.3.
|
|
256
|
-
[@yozora/tokenizer-text]: https://github.com/yozorajs/yozora/tree/v2.3.
|
|
249
|
+
https://github.com/yozorajs/yozora/tree/v2.3.13/tokenizers/setext-heading#readme
|
|
250
|
+
[@yozora/tokenizer-table]: https://github.com/yozorajs/yozora/tree/v2.3.13/tokenizers/table#readme
|
|
251
|
+
[@yozora/tokenizer-text]: https://github.com/yozorajs/yozora/tree/v2.3.13/tokenizers/text#readme
|
|
257
252
|
[@yozora/tokenizer-thematic-break]:
|
|
258
|
-
https://github.com/yozorajs/yozora/tree/v2.3.
|
|
253
|
+
https://github.com/yozorajs/yozora/tree/v2.3.13/tokenizers/thematic-break#readme
|
|
259
254
|
[@yozora/react-admonition]:
|
|
260
255
|
https://github.com/yozorajs/yozora-react/tree/main/packages/admonition#readme
|
|
261
256
|
[@yozora/react-blockquote]:
|
package/lib/types/index.d.ts
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { ITokenizer, IPartialBlockToken, IBaseBlockTokenizerProps, IMatchBlockHookCreator, IParseBlockHookCreator, BaseBlockTokenizer, IBlockTokenizer } from '@yozora/core-tokenizer';
|
|
2
2
|
import { ThematicBreakType, ThematicBreak } from '@yozora/ast';
|
|
3
3
|
|
|
4
4
|
type T = ThematicBreakType;
|
|
@@ -38,4 +38,5 @@ declare class ThematicBreakTokenizer extends BaseBlockTokenizer<T, IToken, INode
|
|
|
38
38
|
readonly parse: IParseBlockHookCreator<T, IToken, INode, IThis>;
|
|
39
39
|
}
|
|
40
40
|
|
|
41
|
-
export {
|
|
41
|
+
export { ThematicBreakTokenizer, uniqueName as ThematicBreakTokenizerName, ThematicBreakTokenizer as default, match as thematicBreakMatch, parse as thematicBreakParse };
|
|
42
|
+
export type { IThis as IThematicBreakHookContext, IToken as IThematicBreakToken, ITokenizerProps as IThematicBreakTokenizerProps };
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@yozora/tokenizer-thematic-break",
|
|
3
|
-
"version": "2.3.
|
|
3
|
+
"version": "2.3.14",
|
|
4
4
|
"author": {
|
|
5
5
|
"name": "guanghechen",
|
|
6
6
|
"url": "https://github.com/guanghechen/"
|
|
@@ -10,7 +10,7 @@
|
|
|
10
10
|
"url": "https://github.com/yozorajs/yozora.git",
|
|
11
11
|
"directory": "tokenizers/thematic-break"
|
|
12
12
|
},
|
|
13
|
-
"homepage": "https://github.com/yozorajs/yozora/tree/v2.3.
|
|
13
|
+
"homepage": "https://github.com/yozorajs/yozora/tree/v2.3.13/tokenizers/thematic-break#readme",
|
|
14
14
|
"type": "module",
|
|
15
15
|
"exports": {
|
|
16
16
|
"types": "./lib/types/index.d.ts",
|
|
@@ -22,9 +22,6 @@
|
|
|
22
22
|
"main": "./lib/cjs/index.cjs",
|
|
23
23
|
"module": "./lib/esm/index.mjs",
|
|
24
24
|
"license": "MIT",
|
|
25
|
-
"engines": {
|
|
26
|
-
"node": ">= 16.0.0"
|
|
27
|
-
},
|
|
28
25
|
"files": [
|
|
29
26
|
"lib/",
|
|
30
27
|
"!lib/**/*.map",
|
|
@@ -34,9 +31,15 @@
|
|
|
34
31
|
"README.md"
|
|
35
32
|
],
|
|
36
33
|
"dependencies": {
|
|
37
|
-
"@yozora/ast": "^2.3.
|
|
38
|
-
"@yozora/character": "^2.3.
|
|
39
|
-
"@yozora/core-tokenizer": "^2.3.
|
|
34
|
+
"@yozora/ast": "^2.3.14",
|
|
35
|
+
"@yozora/character": "^2.3.14",
|
|
36
|
+
"@yozora/core-tokenizer": "^2.3.14"
|
|
40
37
|
},
|
|
41
|
-
"
|
|
42
|
-
|
|
38
|
+
"scripts": {
|
|
39
|
+
"build": "rollup -c ../../rollup.config.mjs",
|
|
40
|
+
"clean": "rimraf lib",
|
|
41
|
+
"test": "vitest run --config ../../vitest.config.ts",
|
|
42
|
+
"test:coverage": "vitest run --config ../../vitest.config.ts --coverage",
|
|
43
|
+
"test:update": "vitest run --config ../../vitest.config.ts -u"
|
|
44
|
+
}
|
|
45
|
+
}
|