@yozora/tokenizer-list 2.3.9 → 2.3.11
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 +21 -0
- package/README.md +42 -42
- package/lib/cjs/index.cjs +2 -2
- package/lib/esm/index.mjs +2 -2
- package/package.json +6 -6
package/CHANGELOG.md
CHANGED
|
@@ -1,3 +1,24 @@
|
|
|
1
|
+
# Change Log
|
|
2
|
+
|
|
3
|
+
All notable changes to this project will be documented in this file.
|
|
4
|
+
See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.
|
|
5
|
+
|
|
6
|
+
## <small>2.3.11 (2025-01-13)</small>
|
|
7
|
+
|
|
8
|
+
* fix(math): should handle the eatAndInterruptPreviousSibling manually ([ef96d32](https://github.com/yozorajs/yozora/commit/ef96d32))
|
|
9
|
+
|
|
10
|
+
|
|
11
|
+
|
|
12
|
+
|
|
13
|
+
|
|
14
|
+
## <small>2.3.10 (2025-01-09)</small>
|
|
15
|
+
|
|
16
|
+
* chore: fix nx dependencies ([d11d405](https://github.com/yozorajs/yozora/commit/d11d405))
|
|
17
|
+
|
|
18
|
+
|
|
19
|
+
|
|
20
|
+
|
|
21
|
+
|
|
1
22
|
# Change Log
|
|
2
23
|
|
|
3
24
|
All notable changes to this project will be documented in this file. See
|
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.11/tokenizers/list#readme">@yozora/tokenizer-list</a>
|
|
6
6
|
</h1>
|
|
7
7
|
<div align="center">
|
|
8
8
|
<a href="https://www.npmjs.com/package/@yozora/tokenizer-list">
|
|
@@ -258,81 +258,81 @@ a. This is an another type of ordered list item
|
|
|
258
258
|
|
|
259
259
|
[live-examples]: https://yozora.guanghechen.com/docs/package/tokenizer-list#live-examples
|
|
260
260
|
[docpage]: https://yozora.guanghechen.com/docs/package/tokenizer-list
|
|
261
|
-
[homepage]: https://github.com/yozorajs/yozora/tree/v2.3.
|
|
261
|
+
[homepage]: https://github.com/yozorajs/yozora/tree/v2.3.11/tokenizers/list#readme
|
|
262
262
|
[gfm-spec]: https://github.github.com/gfm
|
|
263
263
|
[mdast-homepage]: https://github.com/syntax-tree/mdast#list
|
|
264
264
|
[mdast-homepage:list-item]: https://github.com/syntax-tree/mdast#listitem
|
|
265
|
-
[@yozora/ast]: https://github.com/yozorajs/yozora/tree/v2.3.
|
|
266
|
-
[@yozora/ast-util]: https://github.com/yozorajs/yozora/tree/v2.3.
|
|
267
|
-
[@yozora/character]: https://github.com/yozorajs/yozora/tree/v2.3.
|
|
265
|
+
[@yozora/ast]: https://github.com/yozorajs/yozora/tree/v2.3.11/packages/ast#readme
|
|
266
|
+
[@yozora/ast-util]: https://github.com/yozorajs/yozora/tree/v2.3.11/packages/ast-util#readme
|
|
267
|
+
[@yozora/character]: https://github.com/yozorajs/yozora/tree/v2.3.11/packages/character#readme
|
|
268
268
|
[@yozora/eslint-config]:
|
|
269
269
|
https://github.com/yozorajs/yozora/tree/release-2.x.x/packages/eslint-config#readme
|
|
270
|
-
[@yozora/core-parser]: https://github.com/yozorajs/yozora/tree/v2.3.
|
|
270
|
+
[@yozora/core-parser]: https://github.com/yozorajs/yozora/tree/v2.3.11/packages/core-parser#readme
|
|
271
271
|
[@yozora/core-tokenizer]:
|
|
272
|
-
https://github.com/yozorajs/yozora/tree/v2.3.
|
|
273
|
-
[@yozora/invariant]: https://github.com/yozorajs/yozora/tree/v2.3.
|
|
272
|
+
https://github.com/yozorajs/yozora/tree/v2.3.11/packages/core-tokenizer#readme
|
|
273
|
+
[@yozora/invariant]: https://github.com/yozorajs/yozora/tree/v2.3.11/packages/invariant#readme
|
|
274
274
|
[@yozora/jest-for-tokenizer]:
|
|
275
275
|
https://github.com/yozorajs/yozora/tree/release-2.x.x/packages/jest-for-tokenizer#readme
|
|
276
|
-
[@yozora/parser]: https://github.com/yozorajs/yozora/tree/v2.3.
|
|
277
|
-
[@yozora/parser-gfm]: https://github.com/yozorajs/yozora/tree/v2.3.
|
|
276
|
+
[@yozora/parser]: https://github.com/yozorajs/yozora/tree/v2.3.11/packages/parser#readme
|
|
277
|
+
[@yozora/parser-gfm]: https://github.com/yozorajs/yozora/tree/v2.3.11/packages/parser-gfm#readme
|
|
278
278
|
[@yozora/parser-gfm-ex]:
|
|
279
|
-
https://github.com/yozorajs/yozora/tree/v2.3.
|
|
279
|
+
https://github.com/yozorajs/yozora/tree/v2.3.11/packages/parser-gfm-ex#readme
|
|
280
280
|
[@yozora/template-tokenizer]:
|
|
281
281
|
https://github.com/yozorajs/yozora/tree/release-2.x.x/packages/template-tokenizer#readme
|
|
282
282
|
[@yozora/tokenizer-admonition]:
|
|
283
|
-
https://github.com/yozorajs/yozora/tree/v2.3.
|
|
283
|
+
https://github.com/yozorajs/yozora/tree/v2.3.11/tokenizers/admonition#readme
|
|
284
284
|
[@yozora/tokenizer-autolink]:
|
|
285
|
-
https://github.com/yozorajs/yozora/tree/v2.3.
|
|
285
|
+
https://github.com/yozorajs/yozora/tree/v2.3.11/tokenizers/autolink#readme
|
|
286
286
|
[@yozora/tokenizer-autolink-extension]:
|
|
287
|
-
https://github.com/yozorajs/yozora/tree/v2.3.
|
|
287
|
+
https://github.com/yozorajs/yozora/tree/v2.3.11/tokenizers/autolink-extension#readme
|
|
288
288
|
[@yozora/tokenizer-blockquote]:
|
|
289
|
-
https://github.com/yozorajs/yozora/tree/v2.3.
|
|
290
|
-
[@yozora/tokenizer-break]: https://github.com/yozorajs/yozora/tree/v2.3.
|
|
289
|
+
https://github.com/yozorajs/yozora/tree/v2.3.11/tokenizers/blockquote#readme
|
|
290
|
+
[@yozora/tokenizer-break]: https://github.com/yozorajs/yozora/tree/v2.3.11/tokenizers/break#readme
|
|
291
291
|
[@yozora/tokenizer-definition]:
|
|
292
|
-
https://github.com/yozorajs/yozora/tree/v2.3.
|
|
293
|
-
[@yozora/tokenizer-delete]: https://github.com/yozorajs/yozora/tree/v2.3.
|
|
292
|
+
https://github.com/yozorajs/yozora/tree/v2.3.11/tokenizers/definition#readme
|
|
293
|
+
[@yozora/tokenizer-delete]: https://github.com/yozorajs/yozora/tree/v2.3.11/tokenizers/delete#readme
|
|
294
294
|
[@yozora/tokenizer-ecma-import]:
|
|
295
|
-
https://github.com/yozorajs/yozora/tree/v2.3.
|
|
295
|
+
https://github.com/yozorajs/yozora/tree/v2.3.11/tokenizers/ecma-import#readme
|
|
296
296
|
[@yozora/tokenizer-emphasis]:
|
|
297
|
-
https://github.com/yozorajs/yozora/tree/v2.3.
|
|
297
|
+
https://github.com/yozorajs/yozora/tree/v2.3.11/tokenizers/emphasis#readme
|
|
298
298
|
[@yozora/tokenizer-fenced-block]:
|
|
299
|
-
https://github.com/yozorajs/yozora/tree/v2.3.
|
|
299
|
+
https://github.com/yozorajs/yozora/tree/v2.3.11/tokenizers/fenced-block#readme
|
|
300
300
|
[@yozora/tokenizer-fenced-code]:
|
|
301
|
-
https://github.com/yozorajs/yozora/tree/v2.3.
|
|
301
|
+
https://github.com/yozorajs/yozora/tree/v2.3.11/tokenizers/fenced-code#readme
|
|
302
302
|
[@yozora/tokenizer-footnote]:
|
|
303
|
-
https://github.com/yozorajs/yozora/tree/v2.3.
|
|
303
|
+
https://github.com/yozorajs/yozora/tree/v2.3.11/tokenizers/footnote#readme
|
|
304
304
|
[@yozora/tokenizer-footnote-definition]:
|
|
305
|
-
https://github.com/yozorajs/yozora/tree/v2.3.
|
|
305
|
+
https://github.com/yozorajs/yozora/tree/v2.3.11/tokenizers/footnote-definition#readme
|
|
306
306
|
[@yozora/tokenizer-footnote-reference]:
|
|
307
|
-
https://github.com/yozorajs/yozora/tree/v2.3.
|
|
307
|
+
https://github.com/yozorajs/yozora/tree/v2.3.11/tokenizers/footnote-reference#readme
|
|
308
308
|
[@yozora/tokenizer-heading]:
|
|
309
|
-
https://github.com/yozorajs/yozora/tree/v2.3.
|
|
309
|
+
https://github.com/yozorajs/yozora/tree/v2.3.11/tokenizers/heading#readme
|
|
310
310
|
[@yozora/tokenizer-html-block]:
|
|
311
|
-
https://github.com/yozorajs/yozora/tree/v2.3.
|
|
311
|
+
https://github.com/yozorajs/yozora/tree/v2.3.11/tokenizers/html-block#readme
|
|
312
312
|
[@yozora/tokenizer-html-inline]:
|
|
313
|
-
https://github.com/yozorajs/yozora/tree/v2.3.
|
|
314
|
-
[@yozora/tokenizer-image]: https://github.com/yozorajs/yozora/tree/v2.3.
|
|
313
|
+
https://github.com/yozorajs/yozora/tree/v2.3.11/tokenizers/html-inline#readme
|
|
314
|
+
[@yozora/tokenizer-image]: https://github.com/yozorajs/yozora/tree/v2.3.11/tokenizers/image#readme
|
|
315
315
|
[@yozora/tokenizer-image-reference]:
|
|
316
|
-
https://github.com/yozorajs/yozora/tree/v2.3.
|
|
316
|
+
https://github.com/yozorajs/yozora/tree/v2.3.11/tokenizers/image-reference#readme
|
|
317
317
|
[@yozora/tokenizer-indented-code]:
|
|
318
|
-
https://github.com/yozorajs/yozora/tree/v2.3.
|
|
318
|
+
https://github.com/yozorajs/yozora/tree/v2.3.11/tokenizers/indented-code#readme
|
|
319
319
|
[@yozora/tokenizer-inline-code]:
|
|
320
|
-
https://github.com/yozorajs/yozora/tree/v2.3.
|
|
320
|
+
https://github.com/yozorajs/yozora/tree/v2.3.11/tokenizers/inline-code#readme
|
|
321
321
|
[@yozora/tokenizer-inline-math]:
|
|
322
|
-
https://github.com/yozorajs/yozora/tree/v2.3.
|
|
323
|
-
[@yozora/tokenizer-link]: https://github.com/yozorajs/yozora/tree/v2.3.
|
|
322
|
+
https://github.com/yozorajs/yozora/tree/v2.3.11/tokenizers/inline-math#readme
|
|
323
|
+
[@yozora/tokenizer-link]: https://github.com/yozorajs/yozora/tree/v2.3.11/tokenizers/link#readme
|
|
324
324
|
[@yozora/tokenizer-link-reference]:
|
|
325
|
-
https://github.com/yozorajs/yozora/tree/v2.3.
|
|
326
|
-
[@yozora/tokenizer-list]: https://github.com/yozorajs/yozora/tree/v2.3.
|
|
327
|
-
[@yozora/tokenizer-math]: https://github.com/yozorajs/yozora/tree/v2.3.
|
|
325
|
+
https://github.com/yozorajs/yozora/tree/v2.3.11/tokenizers/link-reference#readme
|
|
326
|
+
[@yozora/tokenizer-list]: https://github.com/yozorajs/yozora/tree/v2.3.11/tokenizers/list#readme
|
|
327
|
+
[@yozora/tokenizer-math]: https://github.com/yozorajs/yozora/tree/v2.3.11/tokenizers/math#readme
|
|
328
328
|
[@yozora/tokenizer-paragraph]:
|
|
329
|
-
https://github.com/yozorajs/yozora/tree/v2.3.
|
|
329
|
+
https://github.com/yozorajs/yozora/tree/v2.3.11/tokenizers/paragraph#readme
|
|
330
330
|
[@yozora/tokenizer-setext-heading]:
|
|
331
|
-
https://github.com/yozorajs/yozora/tree/v2.3.
|
|
332
|
-
[@yozora/tokenizer-table]: https://github.com/yozorajs/yozora/tree/v2.3.
|
|
333
|
-
[@yozora/tokenizer-text]: https://github.com/yozorajs/yozora/tree/v2.3.
|
|
331
|
+
https://github.com/yozorajs/yozora/tree/v2.3.11/tokenizers/setext-heading#readme
|
|
332
|
+
[@yozora/tokenizer-table]: https://github.com/yozorajs/yozora/tree/v2.3.11/tokenizers/table#readme
|
|
333
|
+
[@yozora/tokenizer-text]: https://github.com/yozorajs/yozora/tree/v2.3.11/tokenizers/text#readme
|
|
334
334
|
[@yozora/tokenizer-thematic-break]:
|
|
335
|
-
https://github.com/yozorajs/yozora/tree/v2.3.
|
|
335
|
+
https://github.com/yozorajs/yozora/tree/v2.3.11/tokenizers/thematic-break#readme
|
|
336
336
|
[@yozora/react-admonition]:
|
|
337
337
|
https://github.com/yozorajs/yozora-react/tree/main/packages/admonition#readme
|
|
338
338
|
[@yozora/react-blockquote]:
|
package/lib/cjs/index.cjs
CHANGED
|
@@ -120,7 +120,7 @@ const match = function () {
|
|
|
120
120
|
const result = eatOpener(line);
|
|
121
121
|
if (result == null)
|
|
122
122
|
return null;
|
|
123
|
-
const { token, nextIndex } = result;
|
|
123
|
+
const { token, nextIndex, saturated } = result;
|
|
124
124
|
if (emptyItemCouldNotInterruptedTypes.includes(prevSiblingToken.nodeType)) {
|
|
125
125
|
if (token.indent === line.endIndex - line.startIndex) {
|
|
126
126
|
return null;
|
|
@@ -128,7 +128,7 @@ const match = function () {
|
|
|
128
128
|
if (token.ordered && token.order !== 1)
|
|
129
129
|
return null;
|
|
130
130
|
}
|
|
131
|
-
return { token, nextIndex, remainingSibling: prevSiblingToken };
|
|
131
|
+
return { token, nextIndex, remainingSibling: prevSiblingToken, saturated };
|
|
132
132
|
}
|
|
133
133
|
function eatContinuationText(line, token) {
|
|
134
134
|
const { startIndex, endIndex, firstNonWhitespaceIndex, countOfPrecedeSpaces: indent } = line;
|
package/lib/esm/index.mjs
CHANGED
|
@@ -116,7 +116,7 @@ const match = function () {
|
|
|
116
116
|
const result = eatOpener(line);
|
|
117
117
|
if (result == null)
|
|
118
118
|
return null;
|
|
119
|
-
const { token, nextIndex } = result;
|
|
119
|
+
const { token, nextIndex, saturated } = result;
|
|
120
120
|
if (emptyItemCouldNotInterruptedTypes.includes(prevSiblingToken.nodeType)) {
|
|
121
121
|
if (token.indent === line.endIndex - line.startIndex) {
|
|
122
122
|
return null;
|
|
@@ -124,7 +124,7 @@ const match = function () {
|
|
|
124
124
|
if (token.ordered && token.order !== 1)
|
|
125
125
|
return null;
|
|
126
126
|
}
|
|
127
|
-
return { token, nextIndex, remainingSibling: prevSiblingToken };
|
|
127
|
+
return { token, nextIndex, remainingSibling: prevSiblingToken, saturated };
|
|
128
128
|
}
|
|
129
129
|
function eatContinuationText(line, token) {
|
|
130
130
|
const { startIndex, endIndex, firstNonWhitespaceIndex, countOfPrecedeSpaces: indent } = line;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@yozora/tokenizer-list",
|
|
3
|
-
"version": "2.3.
|
|
3
|
+
"version": "2.3.11",
|
|
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/list"
|
|
12
12
|
},
|
|
13
|
-
"homepage": "https://github.com/yozorajs/yozora/tree/v2.3.
|
|
13
|
+
"homepage": "https://github.com/yozorajs/yozora/tree/v2.3.10/tokenizers/list",
|
|
14
14
|
"type": "module",
|
|
15
15
|
"exports": {
|
|
16
16
|
"types": "./lib/types/index.d.ts",
|
|
@@ -34,9 +34,9 @@
|
|
|
34
34
|
"README.md"
|
|
35
35
|
],
|
|
36
36
|
"dependencies": {
|
|
37
|
-
"@yozora/ast": "^2.3.
|
|
38
|
-
"@yozora/character": "^2.3.
|
|
39
|
-
"@yozora/core-tokenizer": "^2.3.
|
|
37
|
+
"@yozora/ast": "^2.3.11",
|
|
38
|
+
"@yozora/character": "^2.3.11",
|
|
39
|
+
"@yozora/core-tokenizer": "^2.3.11"
|
|
40
40
|
},
|
|
41
|
-
"gitHead": "
|
|
41
|
+
"gitHead": "dcc0a95d27fcdac98153e0facd658dcce104a455"
|
|
42
42
|
}
|