@yozora/tokenizer-html-inline 2.3.12 → 2.3.14
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 +22 -17
- package/README.md +42 -47
- package/lib/types/index.d.ts +2 -1
- package/package.json +14 -11
package/CHANGELOG.md
CHANGED
|
@@ -1,35 +1,40 @@
|
|
|
1
1
|
# Change Log
|
|
2
2
|
|
|
3
|
-
|
|
4
|
-
See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.
|
|
5
|
-
|
|
6
|
-
## <small>2.3.12 (2025-02-26)</small>
|
|
7
|
-
|
|
8
|
-
* :bookmark: release: publish v2.3.10 ([a36b4dd](https://github.com/yozorajs/yozora/commit/a36b4dd))
|
|
9
|
-
* :bookmark: release: publish v2.3.11 ([dcc0a95](https://github.com/yozorajs/yozora/commit/dcc0a95))
|
|
10
|
-
* :bookmark: release: publish v2.3.8 ([c4ddb8b](https://github.com/yozorajs/yozora/commit/c4ddb8b))
|
|
11
|
-
* :bookmark: release: publish v2.3.9 ([d125df1](https://github.com/yozorajs/yozora/commit/d125df1))
|
|
12
|
-
* chore: fix nx dependencies ([d11d405](https://github.com/yozorajs/yozora/commit/d11d405))
|
|
13
|
-
|
|
3
|
+
## 2.3.14
|
|
14
4
|
|
|
5
|
+
### Patch Changes
|
|
15
6
|
|
|
7
|
+
- Patch release for all public packages: align monorepo tooling with pnpm + changesets, update
|
|
8
|
+
package metadata and docs, and include test and configuration improvements for release
|
|
9
|
+
consistency.
|
|
10
|
+
- Updated dependencies:
|
|
11
|
+
- @yozora/ast@2.3.14
|
|
12
|
+
- @yozora/character@2.3.14
|
|
13
|
+
- @yozora/core-tokenizer@2.3.14
|
|
14
|
+
- @yozora/tokenizer-html-block@2.3.14
|
|
16
15
|
|
|
16
|
+
All notable changes to this project will be documented in this file. See
|
|
17
|
+
[Conventional Commits](https://conventionalcommits.org) for commit guidelines.
|
|
17
18
|
|
|
18
|
-
## <small>2.3.
|
|
19
|
+
## <small>2.3.13 (2025-11-30)</small>
|
|
19
20
|
|
|
20
21
|
**Note:** Version bump only for package @yozora/tokenizer-html-inline
|
|
21
22
|
|
|
23
|
+
## <small>2.3.12 (2025-02-26)</small>
|
|
22
24
|
|
|
25
|
+
- :bookmark: release: publish v2.3.10 ([a36b4dd](https://github.com/yozorajs/yozora/commit/a36b4dd))
|
|
26
|
+
- :bookmark: release: publish v2.3.11 ([dcc0a95](https://github.com/yozorajs/yozora/commit/dcc0a95))
|
|
27
|
+
- :bookmark: release: publish v2.3.8 ([c4ddb8b](https://github.com/yozorajs/yozora/commit/c4ddb8b))
|
|
28
|
+
- :bookmark: release: publish v2.3.9 ([d125df1](https://github.com/yozorajs/yozora/commit/d125df1))
|
|
29
|
+
- chore: fix nx dependencies ([d11d405](https://github.com/yozorajs/yozora/commit/d11d405))
|
|
23
30
|
|
|
31
|
+
## <small>2.3.11 (2025-01-13)</small>
|
|
24
32
|
|
|
33
|
+
**Note:** Version bump only for package @yozora/tokenizer-html-inline
|
|
25
34
|
|
|
26
35
|
## <small>2.3.10 (2025-01-09)</small>
|
|
27
36
|
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
37
|
+
- chore: fix nx dependencies ([d11d405](https://github.com/yozorajs/yozora/commit/d11d405))
|
|
33
38
|
|
|
34
39
|
# Change Log
|
|
35
40
|
|
package/README.md
CHANGED
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
|
|
3
3
|
<header>
|
|
4
4
|
<h1 align="center">
|
|
5
|
-
<a href="https://github.com/yozorajs/yozora/tree/v2.3.
|
|
5
|
+
<a href="https://github.com/yozorajs/yozora/tree/v2.3.13/tokenizers/html-inline#readme">@yozora/tokenizer-html-inline</a>
|
|
6
6
|
</h1>
|
|
7
7
|
<div align="center">
|
|
8
8
|
<a href="https://www.npmjs.com/package/@yozora/tokenizer-html-inline">
|
|
@@ -66,11 +66,6 @@ for details.
|
|
|
66
66
|
npm install --save @yozora/tokenizer-html-inline
|
|
67
67
|
```
|
|
68
68
|
|
|
69
|
-
- yarn
|
|
70
|
-
|
|
71
|
-
```bash
|
|
72
|
-
yarn add @yozora/tokenizer-html-inline
|
|
73
|
-
```
|
|
74
69
|
|
|
75
70
|
## Usage
|
|
76
71
|
|
|
@@ -183,80 +178,80 @@ foo <?php echo $a; ?>
|
|
|
183
178
|
|
|
184
179
|
[live-examples]: https://yozora.guanghechen.com/docs/package/tokenizer-html-inline#live-examples
|
|
185
180
|
[docpage]: https://yozora.guanghechen.com/docs/package/tokenizer-html-inline
|
|
186
|
-
[homepage]: https://github.com/yozorajs/yozora/tree/v2.3.
|
|
181
|
+
[homepage]: https://github.com/yozorajs/yozora/tree/v2.3.13/tokenizers/html-inline#readme
|
|
187
182
|
[gfm-spec]: https://github.github.com/gfm
|
|
188
183
|
[mdast-homepage]: https://github.com/syntax-tree/mdast
|
|
189
|
-
[@yozora/ast]: https://github.com/yozorajs/yozora/tree/v2.3.
|
|
190
|
-
[@yozora/ast-util]: https://github.com/yozorajs/yozora/tree/v2.3.
|
|
191
|
-
[@yozora/character]: https://github.com/yozorajs/yozora/tree/v2.3.
|
|
184
|
+
[@yozora/ast]: https://github.com/yozorajs/yozora/tree/v2.3.13/packages/ast#readme
|
|
185
|
+
[@yozora/ast-util]: https://github.com/yozorajs/yozora/tree/v2.3.13/packages/ast-util#readme
|
|
186
|
+
[@yozora/character]: https://github.com/yozorajs/yozora/tree/v2.3.13/packages/character#readme
|
|
192
187
|
[@yozora/eslint-config]:
|
|
193
188
|
https://github.com/yozorajs/yozora/tree/release-2.x.x/packages/eslint-config#readme
|
|
194
|
-
[@yozora/core-parser]: https://github.com/yozorajs/yozora/tree/v2.3.
|
|
189
|
+
[@yozora/core-parser]: https://github.com/yozorajs/yozora/tree/v2.3.13/packages/core-parser#readme
|
|
195
190
|
[@yozora/core-tokenizer]:
|
|
196
|
-
https://github.com/yozorajs/yozora/tree/v2.3.
|
|
197
|
-
[@yozora/invariant]: https://github.com/yozorajs/yozora/tree/v2.3.
|
|
191
|
+
https://github.com/yozorajs/yozora/tree/v2.3.13/packages/core-tokenizer#readme
|
|
192
|
+
[@yozora/invariant]: https://github.com/yozorajs/yozora/tree/v2.3.13/packages/invariant#readme
|
|
198
193
|
[@yozora/jest-for-tokenizer]:
|
|
199
194
|
https://github.com/yozorajs/yozora/tree/release-2.x.x/packages/jest-for-tokenizer#readme
|
|
200
|
-
[@yozora/parser]: https://github.com/yozorajs/yozora/tree/v2.3.
|
|
201
|
-
[@yozora/parser-gfm]: https://github.com/yozorajs/yozora/tree/v2.3.
|
|
195
|
+
[@yozora/parser]: https://github.com/yozorajs/yozora/tree/v2.3.13/packages/parser#readme
|
|
196
|
+
[@yozora/parser-gfm]: https://github.com/yozorajs/yozora/tree/v2.3.13/packages/parser-gfm#readme
|
|
202
197
|
[@yozora/parser-gfm-ex]:
|
|
203
|
-
https://github.com/yozorajs/yozora/tree/v2.3.
|
|
198
|
+
https://github.com/yozorajs/yozora/tree/v2.3.13/packages/parser-gfm-ex#readme
|
|
204
199
|
[@yozora/template-tokenizer]:
|
|
205
200
|
https://github.com/yozorajs/yozora/tree/release-2.x.x/packages/template-tokenizer#readme
|
|
206
201
|
[@yozora/tokenizer-admonition]:
|
|
207
|
-
https://github.com/yozorajs/yozora/tree/v2.3.
|
|
202
|
+
https://github.com/yozorajs/yozora/tree/v2.3.13/tokenizers/admonition#readme
|
|
208
203
|
[@yozora/tokenizer-autolink]:
|
|
209
|
-
https://github.com/yozorajs/yozora/tree/v2.3.
|
|
204
|
+
https://github.com/yozorajs/yozora/tree/v2.3.13/tokenizers/autolink#readme
|
|
210
205
|
[@yozora/tokenizer-autolink-extension]:
|
|
211
|
-
https://github.com/yozorajs/yozora/tree/v2.3.
|
|
206
|
+
https://github.com/yozorajs/yozora/tree/v2.3.13/tokenizers/autolink-extension#readme
|
|
212
207
|
[@yozora/tokenizer-blockquote]:
|
|
213
|
-
https://github.com/yozorajs/yozora/tree/v2.3.
|
|
214
|
-
[@yozora/tokenizer-break]: https://github.com/yozorajs/yozora/tree/v2.3.
|
|
208
|
+
https://github.com/yozorajs/yozora/tree/v2.3.13/tokenizers/blockquote#readme
|
|
209
|
+
[@yozora/tokenizer-break]: https://github.com/yozorajs/yozora/tree/v2.3.13/tokenizers/break#readme
|
|
215
210
|
[@yozora/tokenizer-definition]:
|
|
216
|
-
https://github.com/yozorajs/yozora/tree/v2.3.
|
|
217
|
-
[@yozora/tokenizer-delete]: https://github.com/yozorajs/yozora/tree/v2.3.
|
|
211
|
+
https://github.com/yozorajs/yozora/tree/v2.3.13/tokenizers/definition#readme
|
|
212
|
+
[@yozora/tokenizer-delete]: https://github.com/yozorajs/yozora/tree/v2.3.13/tokenizers/delete#readme
|
|
218
213
|
[@yozora/tokenizer-ecma-import]:
|
|
219
|
-
https://github.com/yozorajs/yozora/tree/v2.3.
|
|
214
|
+
https://github.com/yozorajs/yozora/tree/v2.3.13/tokenizers/ecma-import#readme
|
|
220
215
|
[@yozora/tokenizer-emphasis]:
|
|
221
|
-
https://github.com/yozorajs/yozora/tree/v2.3.
|
|
216
|
+
https://github.com/yozorajs/yozora/tree/v2.3.13/tokenizers/emphasis#readme
|
|
222
217
|
[@yozora/tokenizer-fenced-block]:
|
|
223
|
-
https://github.com/yozorajs/yozora/tree/v2.3.
|
|
218
|
+
https://github.com/yozorajs/yozora/tree/v2.3.13/tokenizers/fenced-block#readme
|
|
224
219
|
[@yozora/tokenizer-fenced-code]:
|
|
225
|
-
https://github.com/yozorajs/yozora/tree/v2.3.
|
|
220
|
+
https://github.com/yozorajs/yozora/tree/v2.3.13/tokenizers/fenced-code#readme
|
|
226
221
|
[@yozora/tokenizer-footnote]:
|
|
227
|
-
https://github.com/yozorajs/yozora/tree/v2.3.
|
|
222
|
+
https://github.com/yozorajs/yozora/tree/v2.3.13/tokenizers/footnote#readme
|
|
228
223
|
[@yozora/tokenizer-footnote-definition]:
|
|
229
|
-
https://github.com/yozorajs/yozora/tree/v2.3.
|
|
224
|
+
https://github.com/yozorajs/yozora/tree/v2.3.13/tokenizers/footnote-definition#readme
|
|
230
225
|
[@yozora/tokenizer-footnote-reference]:
|
|
231
|
-
https://github.com/yozorajs/yozora/tree/v2.3.
|
|
226
|
+
https://github.com/yozorajs/yozora/tree/v2.3.13/tokenizers/footnote-reference#readme
|
|
232
227
|
[@yozora/tokenizer-heading]:
|
|
233
|
-
https://github.com/yozorajs/yozora/tree/v2.3.
|
|
228
|
+
https://github.com/yozorajs/yozora/tree/v2.3.13/tokenizers/heading#readme
|
|
234
229
|
[@yozora/tokenizer-html-block]:
|
|
235
|
-
https://github.com/yozorajs/yozora/tree/v2.3.
|
|
230
|
+
https://github.com/yozorajs/yozora/tree/v2.3.13/tokenizers/html-block#readme
|
|
236
231
|
[@yozora/tokenizer-html-inline]:
|
|
237
|
-
https://github.com/yozorajs/yozora/tree/v2.3.
|
|
238
|
-
[@yozora/tokenizer-image]: https://github.com/yozorajs/yozora/tree/v2.3.
|
|
232
|
+
https://github.com/yozorajs/yozora/tree/v2.3.13/tokenizers/html-inline#readme
|
|
233
|
+
[@yozora/tokenizer-image]: https://github.com/yozorajs/yozora/tree/v2.3.13/tokenizers/image#readme
|
|
239
234
|
[@yozora/tokenizer-image-reference]:
|
|
240
|
-
https://github.com/yozorajs/yozora/tree/v2.3.
|
|
235
|
+
https://github.com/yozorajs/yozora/tree/v2.3.13/tokenizers/image-reference#readme
|
|
241
236
|
[@yozora/tokenizer-indented-code]:
|
|
242
|
-
https://github.com/yozorajs/yozora/tree/v2.3.
|
|
237
|
+
https://github.com/yozorajs/yozora/tree/v2.3.13/tokenizers/indented-code#readme
|
|
243
238
|
[@yozora/tokenizer-inline-code]:
|
|
244
|
-
https://github.com/yozorajs/yozora/tree/v2.3.
|
|
239
|
+
https://github.com/yozorajs/yozora/tree/v2.3.13/tokenizers/inline-code#readme
|
|
245
240
|
[@yozora/tokenizer-inline-math]:
|
|
246
|
-
https://github.com/yozorajs/yozora/tree/v2.3.
|
|
247
|
-
[@yozora/tokenizer-link]: https://github.com/yozorajs/yozora/tree/v2.3.
|
|
241
|
+
https://github.com/yozorajs/yozora/tree/v2.3.13/tokenizers/inline-math#readme
|
|
242
|
+
[@yozora/tokenizer-link]: https://github.com/yozorajs/yozora/tree/v2.3.13/tokenizers/link#readme
|
|
248
243
|
[@yozora/tokenizer-link-reference]:
|
|
249
|
-
https://github.com/yozorajs/yozora/tree/v2.3.
|
|
250
|
-
[@yozora/tokenizer-list]: https://github.com/yozorajs/yozora/tree/v2.3.
|
|
251
|
-
[@yozora/tokenizer-math]: https://github.com/yozorajs/yozora/tree/v2.3.
|
|
244
|
+
https://github.com/yozorajs/yozora/tree/v2.3.13/tokenizers/link-reference#readme
|
|
245
|
+
[@yozora/tokenizer-list]: https://github.com/yozorajs/yozora/tree/v2.3.13/tokenizers/list#readme
|
|
246
|
+
[@yozora/tokenizer-math]: https://github.com/yozorajs/yozora/tree/v2.3.13/tokenizers/math#readme
|
|
252
247
|
[@yozora/tokenizer-paragraph]:
|
|
253
|
-
https://github.com/yozorajs/yozora/tree/v2.3.
|
|
248
|
+
https://github.com/yozorajs/yozora/tree/v2.3.13/tokenizers/paragraph#readme
|
|
254
249
|
[@yozora/tokenizer-setext-heading]:
|
|
255
|
-
https://github.com/yozorajs/yozora/tree/v2.3.
|
|
256
|
-
[@yozora/tokenizer-table]: https://github.com/yozorajs/yozora/tree/v2.3.
|
|
257
|
-
[@yozora/tokenizer-text]: https://github.com/yozorajs/yozora/tree/v2.3.
|
|
250
|
+
https://github.com/yozorajs/yozora/tree/v2.3.13/tokenizers/setext-heading#readme
|
|
251
|
+
[@yozora/tokenizer-table]: https://github.com/yozorajs/yozora/tree/v2.3.13/tokenizers/table#readme
|
|
252
|
+
[@yozora/tokenizer-text]: https://github.com/yozorajs/yozora/tree/v2.3.13/tokenizers/text#readme
|
|
258
253
|
[@yozora/tokenizer-thematic-break]:
|
|
259
|
-
https://github.com/yozorajs/yozora/tree/v2.3.
|
|
254
|
+
https://github.com/yozorajs/yozora/tree/v2.3.13/tokenizers/thematic-break#readme
|
|
260
255
|
[@yozora/react-admonition]:
|
|
261
256
|
https://github.com/yozorajs/yozora-react/tree/main/packages/admonition#readme
|
|
262
257
|
[@yozora/react-blockquote]:
|
package/lib/types/index.d.ts
CHANGED
|
@@ -193,4 +193,5 @@ declare class HtmlInlineTokenizer extends BaseInlineTokenizer<T, IDelimiter, ITo
|
|
|
193
193
|
readonly parse: IParseInlineHookCreator<T, IToken, INode, IThis>;
|
|
194
194
|
}
|
|
195
195
|
|
|
196
|
-
export { HtmlInlineTokenizer, uniqueName as HtmlInlineTokenizerName,
|
|
196
|
+
export { HtmlInlineTokenizer, uniqueName as HtmlInlineTokenizerName, HtmlInlineTokenizer as default, eatHtmlInlineCDataDelimiter, eatHtmlInlineClosingDelimiter, eatHtmlInlineCommentDelimiter, eatHtmlInlineDeclarationDelimiter, eatHtmlInlineInstructionDelimiter, eatHtmlInlineTokenOpenDelimiter, match as htmlInlineMatch, parse as htmlInlineParse };
|
|
197
|
+
export type { IHtmlInlineCDataData, IHtmlInlineCDataDelimiter, IHtmlInlineCDataTokenData, IHtmlInlineClosingDelimiter, IHtmlInlineClosingTagData, IHtmlInlineClosingTokenData, IHtmlInlineCommentData, IHtmlInlineCommentDelimiter, IHtmlInlineCommentTokenData, IHtmlInlineDeclarationData, IHtmlInlineDeclarationDelimiter, IHtmlInlineDeclarationTokenData, IThis as IHtmlInlineHookContext, IHtmlInlineInstructionData, IHtmlInlineInstructionDelimiter, IHtmlInlineInstructionTokenData, IHtmlInlineOpenDelimiter, IHtmlInlineOpenTagData, IHtmlInlineOpenTokenData, IToken as IHtmlInlineToken, ITokenizerProps as IHtmlInlineTokenizerProps };
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@yozora/tokenizer-html-inline",
|
|
3
|
-
"version": "2.3.
|
|
3
|
+
"version": "2.3.14",
|
|
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-inline"
|
|
12
12
|
},
|
|
13
|
-
"homepage": "https://github.com/yozorajs/yozora/tree/v2.3.
|
|
13
|
+
"homepage": "https://github.com/yozorajs/yozora/tree/v2.3.13/tokenizers/html-inline#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.
|
|
38
|
-
"@yozora/character": "^2.3.
|
|
39
|
-
"@yozora/core-tokenizer": "^2.3.
|
|
40
|
-
"@yozora/tokenizer-html-block": "^2.3.
|
|
34
|
+
"@yozora/ast": "^2.3.14",
|
|
35
|
+
"@yozora/character": "^2.3.14",
|
|
36
|
+
"@yozora/core-tokenizer": "^2.3.14",
|
|
37
|
+
"@yozora/tokenizer-html-block": "^2.3.14"
|
|
41
38
|
},
|
|
42
|
-
"
|
|
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
|
+
}
|