@yozora/tokenizer-definition 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,43 +1,51 @@
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
- **Note:** Version bump only for package @yozora/tokenizer-definition
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
- * 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.
21
29
 
30
+ ## <small>2.3.13 (2025-11-30)</small>
22
31
 
32
+ **Note:** Version bump only for package @yozora/tokenizer-definition
23
33
 
34
+ ## <small>2.3.12 (2025-02-26)</small>
24
35
 
36
+ - :bookmark: release: publish v2.3.10 ([a36b4dd](https://github.com/yozorajs/yozora/commit/a36b4dd))
37
+ - :bookmark: release: publish v2.3.11 ([dcc0a95](https://github.com/yozorajs/yozora/commit/dcc0a95))
38
+ - :bookmark: release: publish v2.3.8 ([c4ddb8b](https://github.com/yozorajs/yozora/commit/c4ddb8b))
39
+ - :bookmark: release: publish v2.3.9 ([d125df1](https://github.com/yozorajs/yozora/commit/d125df1))
40
+ - chore: fix nx dependencies ([d11d405](https://github.com/yozorajs/yozora/commit/d11d405))
25
41
 
26
42
  ## <small>2.3.11 (2025-01-13)</small>
27
43
 
28
44
  **Note:** Version bump only for package @yozora/tokenizer-definition
29
45
 
30
-
31
-
32
-
33
-
34
46
  ## <small>2.3.10 (2025-01-09)</small>
35
47
 
36
- * chore: fix nx dependencies ([d11d405](https://github.com/yozorajs/yozora/commit/d11d405))
37
-
38
-
39
-
40
-
48
+ - chore: fix nx dependencies ([d11d405](https://github.com/yozorajs/yozora/commit/d11d405))
41
49
 
42
50
  # Change Log
43
51
 
package/README.md CHANGED
@@ -66,11 +66,6 @@
66
66
  npm install --save @yozora/tokenizer-definition
67
67
  ```
68
68
 
69
- - yarn
70
-
71
- ```bash
72
- yarn add @yozora/tokenizer-definition
73
- ```
74
69
 
75
70
  ## Usage
76
71
 
@@ -34,7 +34,7 @@ interface ILinkDestinationCollectingState {
34
34
  * @param state
35
35
  * @see https://github.github.com/gfm/#link-destination
36
36
  */
37
- declare function eatAndCollectLinkDestination(nodePoints: ReadonlyArray<INodePoint>, startIndex: number, endIndex: number, state: ILinkDestinationCollectingState | null): {
37
+ declare function eatAndCollectLinkDestination(nodePoints: readonly INodePoint[], startIndex: number, endIndex: number, state: ILinkDestinationCollectingState | null): {
38
38
  nextIndex: number;
39
39
  state: ILinkDestinationCollectingState;
40
40
  };
@@ -78,7 +78,7 @@ interface ILinkLabelCollectingState {
78
78
  * @param state
79
79
  * @see https://github.github.com/gfm/#link-label
80
80
  */
81
- declare function eatAndCollectLinkLabel(nodePoints: ReadonlyArray<INodePoint>, startIndex: number, endIndex: number, state: ILinkLabelCollectingState | null): {
81
+ declare function eatAndCollectLinkLabel(nodePoints: readonly INodePoint[], startIndex: number, endIndex: number, state: ILinkLabelCollectingState | null): {
82
82
  nextIndex: number;
83
83
  state: ILinkLabelCollectingState;
84
84
  };
@@ -111,7 +111,7 @@ interface ILinkTitleCollectingState {
111
111
  * @param state
112
112
  * @see https://github.github.com/gfm/#link-title
113
113
  */
114
- declare function eatAndCollectLinkTitle(nodePoints: ReadonlyArray<INodePoint>, startIndex: number, endIndex: number, state: ILinkTitleCollectingState | null): {
114
+ declare function eatAndCollectLinkTitle(nodePoints: readonly INodePoint[], startIndex: number, endIndex: number, state: ILinkTitleCollectingState | null): {
115
115
  nextIndex: number;
116
116
  state: ILinkTitleCollectingState;
117
117
  };
@@ -123,7 +123,7 @@ interface IToken extends IPartialBlockToken<T> {
123
123
  /**
124
124
  *
125
125
  */
126
- lines: Array<Readonly<IPhrasingContentLine>>;
126
+ lines: Readonly<IPhrasingContentLine>[];
127
127
  /**
128
128
  * Link label
129
129
  * Trimmed, Case-Insensitive
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@yozora/tokenizer-definition",
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/definition"
12
12
  },
13
- "homepage": "https://github.com/yozorajs/yozora/tree/v2.3.12/tokenizers/definition",
13
+ "homepage": "https://github.com/yozorajs/yozora/tree/v2.3.13/tokenizers/definition#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/core-tokenizer": "^2.3.15",
36
+ "@yozora/character": "^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
+ }