@yozora/tokenizer-html-block 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,54 @@
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-html-block
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
+ **Note:** Version bump only for package @yozora/tokenizer-html-block
24
33
 
34
+ ## <small>2.3.12 (2025-02-26)</small>
25
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
+ - fix(math): should handle the eatAndInterruptPreviousSibling manually
41
+ ([ef96d32](https://github.com/yozorajs/yozora/commit/ef96d32))
42
+ - chore: fix nx dependencies ([d11d405](https://github.com/yozorajs/yozora/commit/d11d405))
26
43
 
27
44
  ## <small>2.3.11 (2025-01-13)</small>
28
45
 
29
- * fix(math): should handle the eatAndInterruptPreviousSibling manually ([ef96d32](https://github.com/yozorajs/yozora/commit/ef96d32))
30
-
31
-
32
-
33
-
46
+ - fix(math): should handle the eatAndInterruptPreviousSibling manually
47
+ ([ef96d32](https://github.com/yozorajs/yozora/commit/ef96d32))
34
48
 
35
49
  ## <small>2.3.10 (2025-01-09)</small>
36
50
 
37
- * chore: fix nx dependencies ([d11d405](https://github.com/yozorajs/yozora/commit/d11d405))
38
-
39
-
40
-
41
-
51
+ - chore: fix nx dependencies ([d11d405](https://github.com/yozorajs/yozora/commit/d11d405))
42
52
 
43
53
  # Change Log
44
54
 
package/README.md CHANGED
@@ -66,11 +66,6 @@ for details.
66
66
  npm install --save @yozora/tokenizer-html-block
67
67
  ```
68
68
 
69
- - yarn
70
-
71
- ```bash
72
- yarn add @yozora/tokenizer-html-block
73
- ```
74
69
 
75
70
  ## Usage
76
71
 
@@ -21,7 +21,7 @@ interface RawHTMLAttribute {
21
21
  * @param endIndex
22
22
  * @see https://github.github.com/gfm/#attribute
23
23
  */
24
- declare function eatHTMLAttribute(nodePoints: ReadonlyArray<INodePoint>, startIndex: number, endIndex: number): {
24
+ declare function eatHTMLAttribute(nodePoints: readonly INodePoint[], startIndex: number, endIndex: number): {
25
25
  attribute: RawHTMLAttribute;
26
26
  nextIndex: number;
27
27
  } | null;
@@ -35,7 +35,7 @@ declare function eatHTMLAttribute(nodePoints: ReadonlyArray<INodePoint>, startIn
35
35
  * @param endIndex
36
36
  * @see https://github.github.com/gfm/#tag-name
37
37
  */
38
- declare function eatHTMLTagName(nodePoints: ReadonlyArray<INodePoint>, startIndex: number, endIndex: number): number | null;
38
+ declare function eatHTMLTagName(nodePoints: readonly INodePoint[], startIndex: number, endIndex: number): number | null;
39
39
 
40
40
  type T = HtmlType;
41
41
  type INode = Html;
@@ -95,7 +95,7 @@ interface IToken extends IPartialBlockToken<T> {
95
95
  /**
96
96
  * Contents
97
97
  */
98
- lines: Array<Readonly<IPhrasingContentLine>>;
98
+ lines: Readonly<IPhrasingContentLine>[];
99
99
  }
100
100
  type IThis = ITokenizer;
101
101
  type ITokenizerProps = Partial<IBaseBlockTokenizerProps>;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@yozora/tokenizer-html-block",
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/html-block"
12
12
  },
13
- "homepage": "https://github.com/yozorajs/yozora/tree/v2.3.12/tokenizers/html-block",
13
+ "homepage": "https://github.com/yozorajs/yozora/tree/v2.3.13/tokenizers/html-block#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
+ }