@yozora/tokenizer-image 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,53 @@
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-image
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
14
+ - @yozora/tokenizer-link@2.3.15
10
15
 
16
+ ## 2.3.14
11
17
 
18
+ ### Patch Changes
12
19
 
20
+ - Patch release for all public packages: align monorepo tooling with pnpm + changesets, update
21
+ package metadata and docs, and include test and configuration improvements for release
22
+ consistency.
23
+ - Updated dependencies:
24
+ - @yozora/ast@2.3.14
25
+ - @yozora/character@2.3.14
26
+ - @yozora/core-tokenizer@2.3.14
27
+ - @yozora/tokenizer-link@2.3.14
13
28
 
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))
29
+ All notable changes to this project will be documented in this file. See
30
+ [Conventional Commits](https://conventionalcommits.org) for commit guidelines.
21
31
 
32
+ ## <small>2.3.13 (2025-11-30)</small>
22
33
 
34
+ **Note:** Version bump only for package @yozora/tokenizer-image
23
35
 
36
+ ## <small>2.3.12 (2025-02-26)</small>
24
37
 
38
+ - :bookmark: release: publish v2.3.10 ([a36b4dd](https://github.com/yozorajs/yozora/commit/a36b4dd))
39
+ - :bookmark: release: publish v2.3.11 ([dcc0a95](https://github.com/yozorajs/yozora/commit/dcc0a95))
40
+ - :bookmark: release: publish v2.3.8 ([c4ddb8b](https://github.com/yozorajs/yozora/commit/c4ddb8b))
41
+ - :bookmark: release: publish v2.3.9 ([d125df1](https://github.com/yozorajs/yozora/commit/d125df1))
42
+ - chore: fix nx dependencies ([d11d405](https://github.com/yozorajs/yozora/commit/d11d405))
25
43
 
26
44
  ## <small>2.3.11 (2025-01-13)</small>
27
45
 
28
46
  **Note:** Version bump only for package @yozora/tokenizer-image
29
47
 
30
-
31
-
32
-
33
-
34
48
  ## <small>2.3.10 (2025-01-09)</small>
35
49
 
36
- * chore: fix nx dependencies ([d11d405](https://github.com/yozorajs/yozora/commit/d11d405))
37
-
38
-
39
-
40
-
50
+ - chore: fix nx dependencies ([d11d405](https://github.com/yozorajs/yozora/commit/d11d405))
41
51
 
42
52
  # Change Log
43
53
 
package/README.md CHANGED
@@ -66,11 +66,6 @@ details.
66
66
  npm install --save @yozora/tokenizer-image
67
67
  ```
68
68
 
69
- - yarn
70
-
71
- ```bash
72
- yarn add @yozora/tokenizer-image
73
- ```
74
69
 
75
70
  ## Usage
76
71
 
@@ -1,5 +1,5 @@
1
1
  import { Node, ImageType, Image } from '@yozora/ast';
2
- import { ITokenDelimiter, IPartialInlineToken, ITokenizer, IBaseInlineTokenizerProps, IMatchInlineHookCreator, IParseInlineHookCreator, BaseInlineTokenizer, IInlineTokenizer } from '@yozora/core-tokenizer';
2
+ import { ITokenizer, IPartialInlineToken, IBaseInlineTokenizerProps, ITokenDelimiter, IMatchInlineHookCreator, IParseInlineHookCreator, BaseInlineTokenizer, IInlineTokenizer } from '@yozora/core-tokenizer';
3
3
  import { INodeInterval } from '@yozora/character';
4
4
 
5
5
  /**
@@ -8,7 +8,7 @@ import { INodeInterval } from '@yozora/character';
8
8
  * is rendered to HTML, this is standardly used as the image’s alt attribute
9
9
  * @see https://github.github.com/gfm/#example-582
10
10
  */
11
- declare function calcImageAlt(nodes: ReadonlyArray<Node>): string;
11
+ declare function calcImageAlt(nodes: readonly Node[]): string;
12
12
 
13
13
  type T = ImageType;
14
14
  type INode = Image;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@yozora/tokenizer-image",
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/image"
12
12
  },
13
- "homepage": "https://github.com/yozorajs/yozora/tree/v2.3.12/tokenizers/image",
13
+ "homepage": "https://github.com/yozorajs/yozora/tree/v2.3.13/tokenizers/image#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,10 +31,16 @@
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",
40
- "@yozora/tokenizer-link": "^2.3.13"
34
+ "@yozora/ast": "^2.3.15",
35
+ "@yozora/tokenizer-link": "^2.3.15",
36
+ "@yozora/character": "^2.3.15",
37
+ "@yozora/core-tokenizer": "^2.3.15"
41
38
  },
42
- "gitHead": "583531be6f7f5ec72ffdd01eab436de8e1ed4f17"
43
- }
39
+ "scripts": {
40
+ "build": "rollup -c ../../rollup.config.mjs",
41
+ "clean": "rimraf lib",
42
+ "test": "vitest run --config ../../vitest.config.ts",
43
+ "test:coverage": "vitest run --config ../../vitest.config.ts --coverage",
44
+ "test:update": "vitest run --config ../../vitest.config.ts -u"
45
+ }
46
+ }