@yozora/tokenizer-ecma-import 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 +21 -17
- package/README.md +42 -47
- package/lib/types/index.d.ts +2 -1
- package/package.json +13 -10
package/CHANGELOG.md
CHANGED
|
@@ -1,35 +1,39 @@
|
|
|
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
|
|
16
14
|
|
|
15
|
+
All notable changes to this project will be documented in this file. See
|
|
16
|
+
[Conventional Commits](https://conventionalcommits.org) for commit guidelines.
|
|
17
17
|
|
|
18
|
-
## <small>2.3.
|
|
18
|
+
## <small>2.3.13 (2025-11-30)</small>
|
|
19
19
|
|
|
20
20
|
**Note:** Version bump only for package @yozora/tokenizer-ecma-import
|
|
21
21
|
|
|
22
|
+
## <small>2.3.12 (2025-02-26)</small>
|
|
22
23
|
|
|
24
|
+
- :bookmark: release: publish v2.3.10 ([a36b4dd](https://github.com/yozorajs/yozora/commit/a36b4dd))
|
|
25
|
+
- :bookmark: release: publish v2.3.11 ([dcc0a95](https://github.com/yozorajs/yozora/commit/dcc0a95))
|
|
26
|
+
- :bookmark: release: publish v2.3.8 ([c4ddb8b](https://github.com/yozorajs/yozora/commit/c4ddb8b))
|
|
27
|
+
- :bookmark: release: publish v2.3.9 ([d125df1](https://github.com/yozorajs/yozora/commit/d125df1))
|
|
28
|
+
- chore: fix nx dependencies ([d11d405](https://github.com/yozorajs/yozora/commit/d11d405))
|
|
23
29
|
|
|
30
|
+
## <small>2.3.11 (2025-01-13)</small>
|
|
24
31
|
|
|
32
|
+
**Note:** Version bump only for package @yozora/tokenizer-ecma-import
|
|
25
33
|
|
|
26
34
|
## <small>2.3.10 (2025-01-09)</small>
|
|
27
35
|
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
36
|
+
- chore: fix nx dependencies ([d11d405](https://github.com/yozorajs/yozora/commit/d11d405))
|
|
33
37
|
|
|
34
38
|
# Change Log
|
|
35
39
|
|
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/ecma-import#readme">@yozora/tokenizer-ecma-import</a>
|
|
6
6
|
</h1>
|
|
7
7
|
<div align="center">
|
|
8
8
|
<a href="https://www.npmjs.com/package/@yozora/tokenizer-ecma-import">
|
|
@@ -86,11 +86,6 @@ See [documentation][docpage] for details.
|
|
|
86
86
|
npm install --save @yozora/tokenizer-ecma-import
|
|
87
87
|
```
|
|
88
88
|
|
|
89
|
-
- yarn
|
|
90
|
-
|
|
91
|
-
```bash
|
|
92
|
-
yarn add @yozora/tokenizer-ecma-import
|
|
93
|
-
```
|
|
94
89
|
|
|
95
90
|
## Usage
|
|
96
91
|
|
|
@@ -203,80 +198,80 @@ import Markdown from '@yozora/react-markdown'
|
|
|
203
198
|
|
|
204
199
|
[live-examples]: https://yozora.guanghechen.com/docs/package/tokenizer-ecma-import#live-examples
|
|
205
200
|
[docpage]: https://yozora.guanghechen.com/docs/package/tokenizer-ecma-import
|
|
206
|
-
[homepage]: https://github.com/yozorajs/yozora/tree/v2.3.
|
|
201
|
+
[homepage]: https://github.com/yozorajs/yozora/tree/v2.3.13/tokenizers/ecma-import#readme
|
|
207
202
|
[gfm-spec]: https://github.github.com/gfm
|
|
208
203
|
[mdast-homepage]: https://github.com/syntax-tree/mdast
|
|
209
|
-
[@yozora/ast]: https://github.com/yozorajs/yozora/tree/v2.3.
|
|
210
|
-
[@yozora/ast-util]: https://github.com/yozorajs/yozora/tree/v2.3.
|
|
211
|
-
[@yozora/character]: https://github.com/yozorajs/yozora/tree/v2.3.
|
|
204
|
+
[@yozora/ast]: https://github.com/yozorajs/yozora/tree/v2.3.13/packages/ast#readme
|
|
205
|
+
[@yozora/ast-util]: https://github.com/yozorajs/yozora/tree/v2.3.13/packages/ast-util#readme
|
|
206
|
+
[@yozora/character]: https://github.com/yozorajs/yozora/tree/v2.3.13/packages/character#readme
|
|
212
207
|
[@yozora/eslint-config]:
|
|
213
208
|
https://github.com/yozorajs/yozora/tree/release-2.x.x/packages/eslint-config#readme
|
|
214
|
-
[@yozora/core-parser]: https://github.com/yozorajs/yozora/tree/v2.3.
|
|
209
|
+
[@yozora/core-parser]: https://github.com/yozorajs/yozora/tree/v2.3.13/packages/core-parser#readme
|
|
215
210
|
[@yozora/core-tokenizer]:
|
|
216
|
-
https://github.com/yozorajs/yozora/tree/v2.3.
|
|
217
|
-
[@yozora/invariant]: https://github.com/yozorajs/yozora/tree/v2.3.
|
|
211
|
+
https://github.com/yozorajs/yozora/tree/v2.3.13/packages/core-tokenizer#readme
|
|
212
|
+
[@yozora/invariant]: https://github.com/yozorajs/yozora/tree/v2.3.13/packages/invariant#readme
|
|
218
213
|
[@yozora/jest-for-tokenizer]:
|
|
219
214
|
https://github.com/yozorajs/yozora/tree/release-2.x.x/packages/jest-for-tokenizer#readme
|
|
220
|
-
[@yozora/parser]: https://github.com/yozorajs/yozora/tree/v2.3.
|
|
221
|
-
[@yozora/parser-gfm]: https://github.com/yozorajs/yozora/tree/v2.3.
|
|
215
|
+
[@yozora/parser]: https://github.com/yozorajs/yozora/tree/v2.3.13/packages/parser#readme
|
|
216
|
+
[@yozora/parser-gfm]: https://github.com/yozorajs/yozora/tree/v2.3.13/packages/parser-gfm#readme
|
|
222
217
|
[@yozora/parser-gfm-ex]:
|
|
223
|
-
https://github.com/yozorajs/yozora/tree/v2.3.
|
|
218
|
+
https://github.com/yozorajs/yozora/tree/v2.3.13/packages/parser-gfm-ex#readme
|
|
224
219
|
[@yozora/template-tokenizer]:
|
|
225
220
|
https://github.com/yozorajs/yozora/tree/release-2.x.x/packages/template-tokenizer#readme
|
|
226
221
|
[@yozora/tokenizer-admonition]:
|
|
227
|
-
https://github.com/yozorajs/yozora/tree/v2.3.
|
|
222
|
+
https://github.com/yozorajs/yozora/tree/v2.3.13/tokenizers/admonition#readme
|
|
228
223
|
[@yozora/tokenizer-autolink]:
|
|
229
|
-
https://github.com/yozorajs/yozora/tree/v2.3.
|
|
224
|
+
https://github.com/yozorajs/yozora/tree/v2.3.13/tokenizers/autolink#readme
|
|
230
225
|
[@yozora/tokenizer-autolink-extension]:
|
|
231
|
-
https://github.com/yozorajs/yozora/tree/v2.3.
|
|
226
|
+
https://github.com/yozorajs/yozora/tree/v2.3.13/tokenizers/autolink-extension#readme
|
|
232
227
|
[@yozora/tokenizer-blockquote]:
|
|
233
|
-
https://github.com/yozorajs/yozora/tree/v2.3.
|
|
234
|
-
[@yozora/tokenizer-break]: https://github.com/yozorajs/yozora/tree/v2.3.
|
|
228
|
+
https://github.com/yozorajs/yozora/tree/v2.3.13/tokenizers/blockquote#readme
|
|
229
|
+
[@yozora/tokenizer-break]: https://github.com/yozorajs/yozora/tree/v2.3.13/tokenizers/break#readme
|
|
235
230
|
[@yozora/tokenizer-definition]:
|
|
236
|
-
https://github.com/yozorajs/yozora/tree/v2.3.
|
|
237
|
-
[@yozora/tokenizer-delete]: https://github.com/yozorajs/yozora/tree/v2.3.
|
|
231
|
+
https://github.com/yozorajs/yozora/tree/v2.3.13/tokenizers/definition#readme
|
|
232
|
+
[@yozora/tokenizer-delete]: https://github.com/yozorajs/yozora/tree/v2.3.13/tokenizers/delete#readme
|
|
238
233
|
[@yozora/tokenizer-ecma-import]:
|
|
239
|
-
https://github.com/yozorajs/yozora/tree/v2.3.
|
|
234
|
+
https://github.com/yozorajs/yozora/tree/v2.3.13/tokenizers/ecma-import#readme
|
|
240
235
|
[@yozora/tokenizer-emphasis]:
|
|
241
|
-
https://github.com/yozorajs/yozora/tree/v2.3.
|
|
236
|
+
https://github.com/yozorajs/yozora/tree/v2.3.13/tokenizers/emphasis#readme
|
|
242
237
|
[@yozora/tokenizer-fenced-block]:
|
|
243
|
-
https://github.com/yozorajs/yozora/tree/v2.3.
|
|
238
|
+
https://github.com/yozorajs/yozora/tree/v2.3.13/tokenizers/fenced-block#readme
|
|
244
239
|
[@yozora/tokenizer-fenced-code]:
|
|
245
|
-
https://github.com/yozorajs/yozora/tree/v2.3.
|
|
240
|
+
https://github.com/yozorajs/yozora/tree/v2.3.13/tokenizers/fenced-code#readme
|
|
246
241
|
[@yozora/tokenizer-footnote]:
|
|
247
|
-
https://github.com/yozorajs/yozora/tree/v2.3.
|
|
242
|
+
https://github.com/yozorajs/yozora/tree/v2.3.13/tokenizers/footnote#readme
|
|
248
243
|
[@yozora/tokenizer-footnote-definition]:
|
|
249
|
-
https://github.com/yozorajs/yozora/tree/v2.3.
|
|
244
|
+
https://github.com/yozorajs/yozora/tree/v2.3.13/tokenizers/footnote-definition#readme
|
|
250
245
|
[@yozora/tokenizer-footnote-reference]:
|
|
251
|
-
https://github.com/yozorajs/yozora/tree/v2.3.
|
|
246
|
+
https://github.com/yozorajs/yozora/tree/v2.3.13/tokenizers/footnote-reference#readme
|
|
252
247
|
[@yozora/tokenizer-heading]:
|
|
253
|
-
https://github.com/yozorajs/yozora/tree/v2.3.
|
|
248
|
+
https://github.com/yozorajs/yozora/tree/v2.3.13/tokenizers/heading#readme
|
|
254
249
|
[@yozora/tokenizer-html-block]:
|
|
255
|
-
https://github.com/yozorajs/yozora/tree/v2.3.
|
|
250
|
+
https://github.com/yozorajs/yozora/tree/v2.3.13/tokenizers/html-block#readme
|
|
256
251
|
[@yozora/tokenizer-html-inline]:
|
|
257
|
-
https://github.com/yozorajs/yozora/tree/v2.3.
|
|
258
|
-
[@yozora/tokenizer-image]: https://github.com/yozorajs/yozora/tree/v2.3.
|
|
252
|
+
https://github.com/yozorajs/yozora/tree/v2.3.13/tokenizers/html-inline#readme
|
|
253
|
+
[@yozora/tokenizer-image]: https://github.com/yozorajs/yozora/tree/v2.3.13/tokenizers/image#readme
|
|
259
254
|
[@yozora/tokenizer-image-reference]:
|
|
260
|
-
https://github.com/yozorajs/yozora/tree/v2.3.
|
|
255
|
+
https://github.com/yozorajs/yozora/tree/v2.3.13/tokenizers/image-reference#readme
|
|
261
256
|
[@yozora/tokenizer-indented-code]:
|
|
262
|
-
https://github.com/yozorajs/yozora/tree/v2.3.
|
|
257
|
+
https://github.com/yozorajs/yozora/tree/v2.3.13/tokenizers/indented-code#readme
|
|
263
258
|
[@yozora/tokenizer-inline-code]:
|
|
264
|
-
https://github.com/yozorajs/yozora/tree/v2.3.
|
|
259
|
+
https://github.com/yozorajs/yozora/tree/v2.3.13/tokenizers/inline-code#readme
|
|
265
260
|
[@yozora/tokenizer-inline-math]:
|
|
266
|
-
https://github.com/yozorajs/yozora/tree/v2.3.
|
|
267
|
-
[@yozora/tokenizer-link]: https://github.com/yozorajs/yozora/tree/v2.3.
|
|
261
|
+
https://github.com/yozorajs/yozora/tree/v2.3.13/tokenizers/inline-math#readme
|
|
262
|
+
[@yozora/tokenizer-link]: https://github.com/yozorajs/yozora/tree/v2.3.13/tokenizers/link#readme
|
|
268
263
|
[@yozora/tokenizer-link-reference]:
|
|
269
|
-
https://github.com/yozorajs/yozora/tree/v2.3.
|
|
270
|
-
[@yozora/tokenizer-list]: https://github.com/yozorajs/yozora/tree/v2.3.
|
|
271
|
-
[@yozora/tokenizer-math]: https://github.com/yozorajs/yozora/tree/v2.3.
|
|
264
|
+
https://github.com/yozorajs/yozora/tree/v2.3.13/tokenizers/link-reference#readme
|
|
265
|
+
[@yozora/tokenizer-list]: https://github.com/yozorajs/yozora/tree/v2.3.13/tokenizers/list#readme
|
|
266
|
+
[@yozora/tokenizer-math]: https://github.com/yozorajs/yozora/tree/v2.3.13/tokenizers/math#readme
|
|
272
267
|
[@yozora/tokenizer-paragraph]:
|
|
273
|
-
https://github.com/yozorajs/yozora/tree/v2.3.
|
|
268
|
+
https://github.com/yozorajs/yozora/tree/v2.3.13/tokenizers/paragraph#readme
|
|
274
269
|
[@yozora/tokenizer-setext-heading]:
|
|
275
|
-
https://github.com/yozorajs/yozora/tree/v2.3.
|
|
276
|
-
[@yozora/tokenizer-table]: https://github.com/yozorajs/yozora/tree/v2.3.
|
|
277
|
-
[@yozora/tokenizer-text]: https://github.com/yozorajs/yozora/tree/v2.3.
|
|
270
|
+
https://github.com/yozorajs/yozora/tree/v2.3.13/tokenizers/setext-heading#readme
|
|
271
|
+
[@yozora/tokenizer-table]: https://github.com/yozorajs/yozora/tree/v2.3.13/tokenizers/table#readme
|
|
272
|
+
[@yozora/tokenizer-text]: https://github.com/yozorajs/yozora/tree/v2.3.13/tokenizers/text#readme
|
|
278
273
|
[@yozora/tokenizer-thematic-break]:
|
|
279
|
-
https://github.com/yozorajs/yozora/tree/v2.3.
|
|
274
|
+
https://github.com/yozorajs/yozora/tree/v2.3.13/tokenizers/thematic-break#readme
|
|
280
275
|
[@yozora/react-admonition]:
|
|
281
276
|
https://github.com/yozorajs/yozora-react/tree/main/packages/admonition#readme
|
|
282
277
|
[@yozora/react-blockquote]:
|
package/lib/types/index.d.ts
CHANGED
|
@@ -35,4 +35,5 @@ declare class EcmaImportTokenizer extends BaseBlockTokenizer<T, IToken, INode, I
|
|
|
35
35
|
readonly parse: IParseBlockHookCreator<T, IToken, INode, IThis>;
|
|
36
36
|
}
|
|
37
37
|
|
|
38
|
-
export { EcmaImportTokenizer, uniqueName as EcmaImportTokenizerName,
|
|
38
|
+
export { EcmaImportTokenizer, uniqueName as EcmaImportTokenizerName, EcmaImportTokenizer as default, match as ecmaImportMatch, parse as ecmaImportParse };
|
|
39
|
+
export type { ITokenizerProps as IEcmaImportProps, IToken as IEcmaImportToken, IThis as ecmaImportHookContext };
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@yozora/tokenizer-ecma-import",
|
|
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/ecma-import"
|
|
12
12
|
},
|
|
13
|
-
"homepage": "https://github.com/yozorajs/yozora/tree/v2.3.
|
|
13
|
+
"homepage": "https://github.com/yozorajs/yozora/tree/v2.3.13/tokenizers/ecma-import#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.
|
|
38
|
-
"@yozora/character": "^2.3.
|
|
39
|
-
"@yozora/core-tokenizer": "^2.3.
|
|
34
|
+
"@yozora/ast": "^2.3.14",
|
|
35
|
+
"@yozora/character": "^2.3.14",
|
|
36
|
+
"@yozora/core-tokenizer": "^2.3.14"
|
|
40
37
|
},
|
|
41
|
-
"
|
|
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
|
+
}
|