@yozora/tokenizer-link 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-link
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-link
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-link
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 @@ details.
66
66
  npm install --save @yozora/tokenizer-link
67
67
  ```
68
68
 
69
- - yarn
70
-
71
- ```bash
72
- yarn add @yozora/tokenizer-link
73
- ```
74
69
 
75
70
  ## Usage
76
71
 
@@ -1,5 +1,5 @@
1
1
  import { INodePoint, INodeInterval } from '@yozora/character';
2
- import { IInlineToken, ITokenDelimiter, IPartialInlineToken, ITokenizer, IBaseInlineTokenizerProps, BaseInlineTokenizer, IInlineTokenizer, IMatchInlineHookCreator, IParseInlineHookCreator } from '@yozora/core-tokenizer';
2
+ import { IInlineToken, ITokenizer, IPartialInlineToken, IBaseInlineTokenizerProps, ITokenDelimiter, BaseInlineTokenizer, IInlineTokenizer, IMatchInlineHookCreator, IParseInlineHookCreator } from '@yozora/core-tokenizer';
3
3
  import { LinkType, Link } from '@yozora/ast';
4
4
 
5
5
  /**
@@ -11,7 +11,7 @@ import { LinkType, Link } from '@yozora/ast';
11
11
  * @see https://github.github.com/gfm/#example-522
12
12
  * @see https://github.github.com/gfm/#example-523
13
13
  */
14
- declare const checkBalancedBracketsStatus: (startIndex: number, endIndex: number, internalTokens: ReadonlyArray<IInlineToken>, nodePoints: ReadonlyArray<INodePoint>) => -1 | 0 | 1;
14
+ declare const checkBalancedBracketsStatus: (startIndex: number, endIndex: number, internalTokens: readonly IInlineToken[], nodePoints: readonly INodePoint[]) => -1 | 0 | 1;
15
15
 
16
16
  /**
17
17
  * A link destination consists of either
@@ -26,7 +26,7 @@ declare const checkBalancedBracketsStatus: (startIndex: number, endIndex: number
26
26
  * @see https://github.github.com/gfm/#link-destination
27
27
  * @return position at next iteration
28
28
  */
29
- declare function eatLinkDestination(nodePoints: ReadonlyArray<INodePoint>, startIndex: number, endIndex: number): number;
29
+ declare function eatLinkDestination(nodePoints: readonly INodePoint[], startIndex: number, endIndex: number): number;
30
30
 
31
31
  /**
32
32
  * A link title consists of either
@@ -40,7 +40,7 @@ declare function eatLinkDestination(nodePoints: ReadonlyArray<INodePoint>, start
40
40
  * - a sequence of zero or more characters between matching parentheses '(...)',
41
41
  * including a '(' or ')' character only if it is backslash-escaped.
42
42
  */
43
- declare function eatLinkTitle(nodePoints: ReadonlyArray<INodePoint>, startIndex: number, endIndex: number): number;
43
+ declare function eatLinkTitle(nodePoints: readonly INodePoint[], startIndex: number, endIndex: number): number;
44
44
 
45
45
  type T = LinkType;
46
46
  type INode = Link;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@yozora/tokenizer-link",
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/link"
12
12
  },
13
- "homepage": "https://github.com/yozorajs/yozora/tree/v2.3.12/tokenizers/link",
13
+ "homepage": "https://github.com/yozorajs/yozora/tree/v2.3.13/tokenizers/link#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
+ }