@yozora/tokenizer-list 2.3.13 → 2.3.15

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 CHANGED
@@ -1,44 +1,55 @@
1
1
  # Change Log
2
2
 
3
- All notable changes to this project will be documented in this file.
4
- See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.
3
+ ## 2.3.15
5
4
 
6
- ## <small>2.3.13 (2025-11-30)</small>
7
-
8
- * :bug: fix(tokenizer-list): prevent bullet markers from being detected in middle of text ([18eb505](https://github.com/yozorajs/yozora/commit/18eb505))
5
+ ### Patch Changes
9
6
 
7
+ - Patch release for packages with unreleased commits. Scope: all, patch.
8
+ - :wrench: chore(tooling): migrate eslint and rollup configs and align formatting
9
+ - :white_check_mark: test(ast-util): remove obsolete snapshots
10
+ - Updated dependencies:
11
+ - @yozora/ast@2.3.15
12
+ - @yozora/character@2.3.15
13
+ - @yozora/core-tokenizer@2.3.15
10
14
 
15
+ ## 2.3.14
11
16
 
17
+ ### Patch Changes
12
18
 
19
+ - Patch release for all public packages: align monorepo tooling with pnpm + changesets, update
20
+ package metadata and docs, and include test and configuration improvements for release
21
+ consistency.
22
+ - Updated dependencies:
23
+ - @yozora/ast@2.3.14
24
+ - @yozora/character@2.3.14
25
+ - @yozora/core-tokenizer@2.3.14
13
26
 
14
- ## <small>2.3.12 (2025-02-26)</small>
15
-
16
- * :bookmark: release: publish v2.3.10 ([a36b4dd](https://github.com/yozorajs/yozora/commit/a36b4dd))
17
- * :bookmark: release: publish v2.3.11 ([dcc0a95](https://github.com/yozorajs/yozora/commit/dcc0a95))
18
- * :bookmark: release: publish v2.3.8 ([c4ddb8b](https://github.com/yozorajs/yozora/commit/c4ddb8b))
19
- * :bookmark: release: publish v2.3.9 ([d125df1](https://github.com/yozorajs/yozora/commit/d125df1))
20
- * fix(math): should handle the eatAndInterruptPreviousSibling manually ([ef96d32](https://github.com/yozorajs/yozora/commit/ef96d32))
21
- * chore: fix nx dependencies ([d11d405](https://github.com/yozorajs/yozora/commit/d11d405))
27
+ All notable changes to this project will be documented in this file. See
28
+ [Conventional Commits](https://conventionalcommits.org) for commit guidelines.
22
29
 
30
+ ## <small>2.3.13 (2025-11-30)</small>
23
31
 
32
+ - :bug: fix(tokenizer-list): prevent bullet markers from being detected in middle of text
33
+ ([18eb505](https://github.com/yozorajs/yozora/commit/18eb505))
24
34
 
35
+ ## <small>2.3.12 (2025-02-26)</small>
25
36
 
37
+ - :bookmark: release: publish v2.3.10 ([a36b4dd](https://github.com/yozorajs/yozora/commit/a36b4dd))
38
+ - :bookmark: release: publish v2.3.11 ([dcc0a95](https://github.com/yozorajs/yozora/commit/dcc0a95))
39
+ - :bookmark: release: publish v2.3.8 ([c4ddb8b](https://github.com/yozorajs/yozora/commit/c4ddb8b))
40
+ - :bookmark: release: publish v2.3.9 ([d125df1](https://github.com/yozorajs/yozora/commit/d125df1))
41
+ - fix(math): should handle the eatAndInterruptPreviousSibling manually
42
+ ([ef96d32](https://github.com/yozorajs/yozora/commit/ef96d32))
43
+ - chore: fix nx dependencies ([d11d405](https://github.com/yozorajs/yozora/commit/d11d405))
26
44
 
27
45
  ## <small>2.3.11 (2025-01-13)</small>
28
46
 
29
- * fix(math): should handle the eatAndInterruptPreviousSibling manually ([ef96d32](https://github.com/yozorajs/yozora/commit/ef96d32))
30
-
31
-
32
-
33
-
47
+ - fix(math): should handle the eatAndInterruptPreviousSibling manually
48
+ ([ef96d32](https://github.com/yozorajs/yozora/commit/ef96d32))
34
49
 
35
50
  ## <small>2.3.10 (2025-01-09)</small>
36
51
 
37
- * chore: fix nx dependencies ([d11d405](https://github.com/yozorajs/yozora/commit/d11d405))
38
-
39
-
40
-
41
-
52
+ - chore: fix nx dependencies ([d11d405](https://github.com/yozorajs/yozora/commit/d11d405))
42
53
 
43
54
  # Change Log
44
55
 
package/README.md CHANGED
@@ -66,11 +66,6 @@ children) type nodes. See [documentation][docpage] for details.
66
66
  npm install --save @yozora/tokenizer-list
67
67
  ```
68
68
 
69
- - yarn
70
-
71
- ```bash
72
- yarn add @yozora/tokenizer-list
73
- ```
74
69
 
75
70
  ## Usage
76
71
 
@@ -1,5 +1,5 @@
1
- import { ListType, TaskStatus, List, NodeType } from '@yozora/ast';
2
- import { IPartialBlockToken, IBlockToken, ITokenizer, IBaseBlockTokenizerProps, BaseBlockTokenizer, IBlockTokenizer, IMatchBlockHookCreator, IParseBlockHookCreator } from '@yozora/core-tokenizer';
1
+ import { ListType, TaskStatus, NodeType, List } from '@yozora/ast';
2
+ import { IPartialBlockToken, IBlockToken, IBaseBlockTokenizerProps, ITokenizer, BaseBlockTokenizer, IBlockTokenizer, IMatchBlockHookCreator, IParseBlockHookCreator } from '@yozora/core-tokenizer';
3
3
 
4
4
  type T = ListType;
5
5
  type INode = List;
@@ -46,7 +46,7 @@ interface IThis extends ITokenizer {
46
46
  * by this ITokenizer if the current list-item is empty.
47
47
  * @see https://github.github.com/gfm/#example-263
48
48
  */
49
- readonly emptyItemCouldNotInterruptedTypes: ReadonlyArray<NodeType>;
49
+ readonly emptyItemCouldNotInterruptedTypes: readonly NodeType[];
50
50
  /**
51
51
  * Should enable task list item (extension).
52
52
  */
@@ -77,7 +77,7 @@ interface ITokenizerProps extends Partial<IBaseBlockTokenizerProps> {
77
77
  declare class ListTokenizer extends BaseBlockTokenizer<T, IToken, INode, IThis> implements IBlockTokenizer<T, IToken, INode, IThis> {
78
78
  constructor(props?: ITokenizerProps);
79
79
  readonly enableTaskListItem: boolean;
80
- readonly emptyItemCouldNotInterruptedTypes: ReadonlyArray<NodeType>;
80
+ readonly emptyItemCouldNotInterruptedTypes: readonly NodeType[];
81
81
  readonly match: IMatchBlockHookCreator<T, IToken, IThis>;
82
82
  readonly parse: IParseBlockHookCreator<T, IToken, INode, IThis>;
83
83
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@yozora/tokenizer-list",
3
- "version": "2.3.13",
3
+ "version": "2.3.15",
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.12/tokenizers/list",
13
+ "homepage": "https://github.com/yozorajs/yozora/tree/v2.3.13/tokenizers/list#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.13",
38
- "@yozora/character": "^2.3.13",
39
- "@yozora/core-tokenizer": "^2.3.13"
34
+ "@yozora/ast": "^2.3.15",
35
+ "@yozora/character": "^2.3.15",
36
+ "@yozora/core-tokenizer": "^2.3.15"
40
37
  },
41
- "gitHead": "583531be6f7f5ec72ffdd01eab436de8e1ed4f17"
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
+ }