@yozora/tokenizer-definition 2.1.4 → 2.2.0
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 +609 -0
- package/README.md +42 -42
- package/lib/cjs/index.cjs +1 -1
- package/lib/esm/index.mjs +1 -1
- package/lib/types/index.d.ts +1 -1
- package/package.json +8 -8
package/CHANGELOG.md
ADDED
|
@@ -0,0 +1,609 @@
|
|
|
1
|
+
# Change Log
|
|
2
|
+
|
|
3
|
+
All notable changes to this project will be documented in this file.
|
|
4
|
+
See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.
|
|
5
|
+
|
|
6
|
+
# [2.2.0](https://github.com/yozorajs/yozora/compare/v2.1.5...v2.2.0) (2023-08-21)
|
|
7
|
+
|
|
8
|
+
|
|
9
|
+
### Performance Improvements
|
|
10
|
+
|
|
11
|
+
* ⬆️ upgrade devDependencies ([bc46ce2](https://github.com/yozorajs/yozora/commit/bc46ce20cacb2eb46147d6129e42fe1390ee19fb))
|
|
12
|
+
|
|
13
|
+
|
|
14
|
+
|
|
15
|
+
|
|
16
|
+
|
|
17
|
+
## [2.1.5](https://github.com/yozorajs/yozora/compare/v2.1.4...v2.1.5) (2023-05-13)
|
|
18
|
+
|
|
19
|
+
|
|
20
|
+
### Performance Improvements
|
|
21
|
+
|
|
22
|
+
* 🔧 don't sourcemaps into tarball ([fc37aa8](https://github.com/yozorajs/yozora/commit/fc37aa8847ac4ad78ecb31f198e1cd6a85e91bcf))
|
|
23
|
+
* 📝 update CHANGELOGs ([c51b283](https://github.com/yozorajs/yozora/commit/c51b283874f8a562b6ed9fad46a0b7d578f6eb42))
|
|
24
|
+
|
|
25
|
+
|
|
26
|
+
|
|
27
|
+
|
|
28
|
+
|
|
29
|
+
## 2.1.4 (2023-04-02)
|
|
30
|
+
|
|
31
|
+
|
|
32
|
+
### Performance Improvements
|
|
33
|
+
|
|
34
|
+
* 🔧 don't pack src/ folder into tarball ([c9fac38](https://github.com/yozorajs/yozora/commit/c9fac382e9a7a8d6454452b0c4d5b57dac16455f))
|
|
35
|
+
* 🔖 publish v2.1.4 ([aa464ed](https://github.com/yozorajs/yozora/commit/aa464ed1e3cd84892773a833910cfc53a556bf5f))
|
|
36
|
+
|
|
37
|
+
|
|
38
|
+
|
|
39
|
+
## 2.1.3 (2023-03-23)
|
|
40
|
+
|
|
41
|
+
|
|
42
|
+
### Performance Improvements
|
|
43
|
+
|
|
44
|
+
* 🔖 publish v2.1.3 ([9abaaff](https://github.com/yozorajs/yozora/commit/9abaaff74a12d0bae0f645813241ff947a0d828c))
|
|
45
|
+
|
|
46
|
+
|
|
47
|
+
|
|
48
|
+
## 2.1.2 (2023-03-11)
|
|
49
|
+
|
|
50
|
+
|
|
51
|
+
### Performance Improvements
|
|
52
|
+
|
|
53
|
+
* 🔖 publish v2.1.2 ([992baca](https://github.com/yozorajs/yozora/commit/992bacafd173e7788e99fed34ce8b45f6ed24cfe))
|
|
54
|
+
|
|
55
|
+
|
|
56
|
+
|
|
57
|
+
## 2.1.1 (2023-03-10)
|
|
58
|
+
|
|
59
|
+
|
|
60
|
+
### Performance Improvements
|
|
61
|
+
|
|
62
|
+
* 💥 prefer shorter types ([b93307f](https://github.com/yozorajs/yozora/commit/b93307f3c2372598dd8ca4fcbf04e80ce58d903d))
|
|
63
|
+
* 🔖 publish v2.1.1 ([257a36d](https://github.com/yozorajs/yozora/commit/257a36d8dc079d4ac226405c155b238e7099bcea))
|
|
64
|
+
|
|
65
|
+
|
|
66
|
+
|
|
67
|
+
## 2.0.6 (2023-03-05)
|
|
68
|
+
|
|
69
|
+
|
|
70
|
+
### Performance Improvements
|
|
71
|
+
|
|
72
|
+
* 🔖 publish v2.0.6 ([a263c53](https://github.com/yozorajs/yozora/commit/a263c5338103824347bac74d437051e9fbb6d791))
|
|
73
|
+
|
|
74
|
+
|
|
75
|
+
|
|
76
|
+
## 2.0.5 (2023-01-09)
|
|
77
|
+
|
|
78
|
+
|
|
79
|
+
### Performance Improvements
|
|
80
|
+
|
|
81
|
+
* 🔖 publish v2.0.5 ([7ba3bab](https://github.com/yozorajs/yozora/commit/7ba3bab49fe65cf2f57082c0503af73da9356cf0))
|
|
82
|
+
|
|
83
|
+
|
|
84
|
+
|
|
85
|
+
## 2.0.5-alpha.0 (2023-01-05)
|
|
86
|
+
|
|
87
|
+
|
|
88
|
+
### Performance Improvements
|
|
89
|
+
|
|
90
|
+
* 🔧 fix test configuration ([f50b2d7](https://github.com/yozorajs/yozora/commit/f50b2d7600139e0ea54e042b025365d81f4518b5))
|
|
91
|
+
* 🔖 publish v2.0.5-alpha.0 ([8bf941f](https://github.com/yozorajs/yozora/commit/8bf941fe4ef82947165b0f3cc123cd493665e13b))
|
|
92
|
+
* 🔧 update package entries ([2c94f27](https://github.com/yozorajs/yozora/commit/2c94f27ffb645119a863f2ceee68a6b1b7285a67))
|
|
93
|
+
* ⬆️ upgrade devDependencies ([13059a9](https://github.com/yozorajs/yozora/commit/13059a924f3ae3b7fd69080ec9e82cde34a0f097))
|
|
94
|
+
|
|
95
|
+
|
|
96
|
+
|
|
97
|
+
## 2.0.4 (2022-11-02)
|
|
98
|
+
|
|
99
|
+
|
|
100
|
+
### Performance Improvements
|
|
101
|
+
|
|
102
|
+
* 🔖 publish v2.0.4 ([c980b95](https://github.com/yozorajs/yozora/commit/c980b95254394dcacba0cbb4bea251350b09397c))
|
|
103
|
+
|
|
104
|
+
|
|
105
|
+
|
|
106
|
+
## 2.0.3 (2022-10-11)
|
|
107
|
+
|
|
108
|
+
|
|
109
|
+
### Performance Improvements
|
|
110
|
+
|
|
111
|
+
* 🔖 publish v2.0.3 ([8cc8f95](https://github.com/yozorajs/yozora/commit/8cc8f95cfebc8d752bc3272cdd24965f540c130b))
|
|
112
|
+
* 🔧 update build script ([d934cad](https://github.com/yozorajs/yozora/commit/d934cad21a4ab763621ca6a72379cd4294caa605))
|
|
113
|
+
|
|
114
|
+
|
|
115
|
+
|
|
116
|
+
## 2.0.2 (2022-09-24)
|
|
117
|
+
|
|
118
|
+
|
|
119
|
+
### Performance Improvements
|
|
120
|
+
|
|
121
|
+
* 📝 fix invalid links ([eb304c9](https://github.com/yozorajs/yozora/commit/eb304c931b2e682cf156bbceae0a20655777381e))
|
|
122
|
+
* 🔖 publish v2.0.2 ([6911295](https://github.com/yozorajs/yozora/commit/6911295e9eacfa29563fe93494704190e50625fd))
|
|
123
|
+
* 🔧 support node@16.x.x ([eda301f](https://github.com/yozorajs/yozora/commit/eda301fe1047e380de5be915ae730206a026f07b))
|
|
124
|
+
* 📝 update links ([4467fe6](https://github.com/yozorajs/yozora/commit/4467fe646e0a95fcc7206658189884f68872bc4e))
|
|
125
|
+
|
|
126
|
+
|
|
127
|
+
|
|
128
|
+
## 2.0.2-alpha.0 (2022-05-22)
|
|
129
|
+
|
|
130
|
+
|
|
131
|
+
### Performance Improvements
|
|
132
|
+
|
|
133
|
+
* 🔖 publish v2.0.2-alpha.0 ([430eaab](https://github.com/yozorajs/yozora/commit/430eaabd83f4a1ee29398ee1798aa4511976c38f))
|
|
134
|
+
|
|
135
|
+
|
|
136
|
+
|
|
137
|
+
## 2.0.1 (2022-05-21)
|
|
138
|
+
|
|
139
|
+
|
|
140
|
+
### Performance Improvements
|
|
141
|
+
|
|
142
|
+
* ✅ refactor test utils & rename createTester to createTokenizerTester ([7f2ce75](https://github.com/yozorajs/yozora/commit/7f2ce7571a336370d419aa01073bf8054783cfd9))
|
|
143
|
+
* 🔖 publish v2.0.1 ([3aea330](https://github.com/yozorajs/yozora/commit/3aea33091e402bd6c7754d91d549e8d648475073))
|
|
144
|
+
|
|
145
|
+
|
|
146
|
+
|
|
147
|
+
# 2.0.0 (2022-01-15)
|
|
148
|
+
|
|
149
|
+
|
|
150
|
+
### Performance Improvements
|
|
151
|
+
|
|
152
|
+
* 💥 [breaking] rename 'NodePoint' and 'NodePosition' ([76692a2](https://github.com/yozorajs/yozora/commit/76692a211a82260bb81acffa5e9e9d41b569f673))
|
|
153
|
+
* 🔖 publish v2.0.0 ([65e99d1](https://github.com/yozorajs/yozora/commit/65e99d1709fdd1c918465dce6b1e91de96bdab5e))
|
|
154
|
+
* 🎨 update types ([29b6ba8](https://github.com/yozorajs/yozora/commit/29b6ba8bd48b3b36619b7b176548a11a4b7dc508))
|
|
155
|
+
|
|
156
|
+
|
|
157
|
+
|
|
158
|
+
# 2.0.0-alpha.3 (2022-01-12)
|
|
159
|
+
|
|
160
|
+
|
|
161
|
+
### Features
|
|
162
|
+
|
|
163
|
+
* 💥 [breaking] remove 'I' prefix for AST node types ([cad4b0b](https://github.com/yozorajs/yozora/commit/cad4b0b5b8061ea495f6455ef1554bb3c8f223a0))
|
|
164
|
+
|
|
165
|
+
|
|
166
|
+
### Performance Improvements
|
|
167
|
+
|
|
168
|
+
* 🔖 publish v2.0.0-alpha.3 ([9f274fc](https://github.com/yozorajs/yozora/commit/9f274fc7487a8c1dd213405d92508f9a7621f730))
|
|
169
|
+
|
|
170
|
+
|
|
171
|
+
|
|
172
|
+
# 2.0.0-alpha.2 (2022-01-09)
|
|
173
|
+
|
|
174
|
+
|
|
175
|
+
### Performance Improvements
|
|
176
|
+
|
|
177
|
+
* 🎨 refactor removePosition ([87a974f](https://github.com/yozorajs/yozora/commit/87a974fd744ae937d5778d3cdba4b345141bcaf6))
|
|
178
|
+
* 🔖 publish v2.0.0-alpha.2 ([da59d85](https://github.com/yozorajs/yozora/commit/da59d85520455c59a117a35032ef1a035c10ea21))
|
|
179
|
+
|
|
180
|
+
|
|
181
|
+
|
|
182
|
+
# 2.0.0-alpha.1 (2022-01-08)
|
|
183
|
+
|
|
184
|
+
|
|
185
|
+
### Features
|
|
186
|
+
|
|
187
|
+
* :breaking: refactor parse-block hooks ([117104d](https://github.com/yozorajs/yozora/commit/117104de9668a0d160e9e008ee6305811e83aec6))
|
|
188
|
+
|
|
189
|
+
|
|
190
|
+
### Performance Improvements
|
|
191
|
+
|
|
192
|
+
* 🔖 publish v2.0.0-alpha.1 ([86202e1](https://github.com/yozorajs/yozora/commit/86202e1d2b03ccfc2ab030517d9d314f7aee7666))
|
|
193
|
+
* 🎨 rename IHookContext to IThis ([04d5470](https://github.com/yozorajs/yozora/commit/04d5470c9949c4acfe6239289d34a8b5c6191e71))
|
|
194
|
+
* 📝 update READMEs ([320afeb](https://github.com/yozorajs/yozora/commit/320afebd6c500cbbce5fd65c1cd184bbd2224f25))
|
|
195
|
+
|
|
196
|
+
|
|
197
|
+
|
|
198
|
+
# 2.0.0-alpha.0 (2022-01-03)
|
|
199
|
+
|
|
200
|
+
|
|
201
|
+
### Features
|
|
202
|
+
|
|
203
|
+
* 💥 [breaking] rename types with 'I' prefix ([d37d862](https://github.com/yozorajs/yozora/commit/d37d862212831dbe75ac92a6dbdadf2fa81cce8c))
|
|
204
|
+
|
|
205
|
+
|
|
206
|
+
### Performance Improvements
|
|
207
|
+
|
|
208
|
+
* 💥 refactor block tokenizers ([50ea4da](https://github.com/yozorajs/yozora/commit/50ea4dac5be8d7dd3d6eccf7e0ce1cfe05fe704a))
|
|
209
|
+
* 🔖 publish v2.0.0-alpha.0 ([0171501](https://github.com/yozorajs/yozora/commit/0171501339c49ffd02ed16a63447fa20a47a29a7))
|
|
210
|
+
* 🎨 rename parser hooks ([ef6cbc5](https://github.com/yozorajs/yozora/commit/ef6cbc51323e6ef9d4cd78f1c7194ae1f7819245))
|
|
211
|
+
* 🎨 set print width to 100 ([657a621](https://github.com/yozorajs/yozora/commit/657a6211cad52d5f1b183e7bcd7ea227b2aa7724))
|
|
212
|
+
|
|
213
|
+
|
|
214
|
+
|
|
215
|
+
# 1.3.0 (2021-10-09)
|
|
216
|
+
|
|
217
|
+
|
|
218
|
+
### Performance Improvements
|
|
219
|
+
|
|
220
|
+
* 🔖 publish v1.3.0 ([18c9b16](https://github.com/yozorajs/yozora/commit/18c9b167004ad97718b2f94f25139f80598cbf7a))
|
|
221
|
+
* 🎨 simplify codes ([79a1593](https://github.com/yozorajs/yozora/commit/79a1593ec88e5b815ba98b6067be7a2df3669ac6))
|
|
222
|
+
|
|
223
|
+
|
|
224
|
+
|
|
225
|
+
## 1.2.2 (2021-09-06)
|
|
226
|
+
|
|
227
|
+
|
|
228
|
+
### Performance Improvements
|
|
229
|
+
|
|
230
|
+
* 🔖 publish v1.2.2 ([fb4b804](https://github.com/yozorajs/yozora/commit/fb4b804548592c09259aabcf9cc4dd96176bd024))
|
|
231
|
+
|
|
232
|
+
|
|
233
|
+
|
|
234
|
+
## 1.2.1 (2021-09-04)
|
|
235
|
+
|
|
236
|
+
|
|
237
|
+
### Performance Improvements
|
|
238
|
+
|
|
239
|
+
* 🔖 publish v1.2.1 ([d98d07d](https://github.com/yozorajs/yozora/commit/d98d07d7c56dd9f6bb60149b2b0a4be2787e1046))
|
|
240
|
+
|
|
241
|
+
|
|
242
|
+
|
|
243
|
+
# 1.2.0 (2021-08-22)
|
|
244
|
+
|
|
245
|
+
|
|
246
|
+
### Performance Improvements
|
|
247
|
+
|
|
248
|
+
* 🔖 publish v1.2.0 ([86da40e](https://github.com/yozorajs/yozora/commit/86da40e50d2fe9acace68695288e15e012e6cd0d))
|
|
249
|
+
|
|
250
|
+
|
|
251
|
+
|
|
252
|
+
# 1.2.0-alpha.1 (2021-08-16)
|
|
253
|
+
|
|
254
|
+
|
|
255
|
+
### Performance Improvements
|
|
256
|
+
|
|
257
|
+
* 🔖 publish v1.2.0-alpha.1 ([ce3c173](https://github.com/yozorajs/yozora/commit/ce3c17330085f22404668a388f2bee6f57e6e958))
|
|
258
|
+
|
|
259
|
+
|
|
260
|
+
|
|
261
|
+
# 1.2.0-alpha.0 (2021-08-15)
|
|
262
|
+
|
|
263
|
+
|
|
264
|
+
### Performance Improvements
|
|
265
|
+
|
|
266
|
+
* 🔖 publish v1.2.0-alpha.0 ([bd8ef45](https://github.com/yozorajs/yozora/commit/bd8ef455a22963834a70339f42178138aab28df6))
|
|
267
|
+
|
|
268
|
+
|
|
269
|
+
|
|
270
|
+
# 1.1.0 (2021-08-12)
|
|
271
|
+
|
|
272
|
+
|
|
273
|
+
### Performance Improvements
|
|
274
|
+
|
|
275
|
+
* 🔖 publish v1.1.0 ([a8c7cff](https://github.com/yozorajs/yozora/commit/a8c7cffcbdc36930ab3c744450c8feb4395a9fac))
|
|
276
|
+
* 📝 update related references ([e2c8c7e](https://github.com/yozorajs/yozora/commit/e2c8c7e6ff8c5c1da27ca224d5c5d0eb4e5fbca7))
|
|
277
|
+
|
|
278
|
+
|
|
279
|
+
|
|
280
|
+
# 1.1.0-alpha.2 (2021-08-07)
|
|
281
|
+
|
|
282
|
+
|
|
283
|
+
### Performance Improvements
|
|
284
|
+
|
|
285
|
+
* 🔖 publish v1.1.0-alpha.2 ([d88b8ec](https://github.com/yozorajs/yozora/commit/d88b8eca03118b9f2a8b00ac4106ea82e779bc94))
|
|
286
|
+
* 👽️ update due to the previous changes & add tests ([f6b076b](https://github.com/yozorajs/yozora/commit/f6b076ba2e62bc97a42100b7ed241154f9fb0b37))
|
|
287
|
+
|
|
288
|
+
|
|
289
|
+
|
|
290
|
+
# 1.1.0-alpha.1 (2021-08-01)
|
|
291
|
+
|
|
292
|
+
|
|
293
|
+
### Performance Improvements
|
|
294
|
+
|
|
295
|
+
* 🔖 publish v1.1.0-alpha.1 ([0d6aa91](https://github.com/yozorajs/yozora/commit/0d6aa91fb5a15b962b016496453dbfa7f1197126))
|
|
296
|
+
* 📝 update READMEs ([738d626](https://github.com/yozorajs/yozora/commit/738d626d76c535ea017812f674b43842ee073227))
|
|
297
|
+
|
|
298
|
+
|
|
299
|
+
|
|
300
|
+
# 1.1.0-alpha.0 (2021-07-31)
|
|
301
|
+
|
|
302
|
+
|
|
303
|
+
### Performance Improvements
|
|
304
|
+
|
|
305
|
+
* 🔖 publish v1.1.0-alpha.0 ([082653e](https://github.com/yozorajs/yozora/commit/082653e421889513588492774503d8ddcc24b8f9))
|
|
306
|
+
* 📝 update READMEs ([9905f04](https://github.com/yozorajs/yozora/commit/9905f0408b15d4478d021ef5c75497817f2db9a3))
|
|
307
|
+
* 📝 update READMEs ([03fe64c](https://github.com/yozorajs/yozora/commit/03fe64c6a9eab9bf810d4648261e7a808a13d1e1))
|
|
308
|
+
|
|
309
|
+
|
|
310
|
+
|
|
311
|
+
# 1.0.0 (2021-07-20)
|
|
312
|
+
|
|
313
|
+
|
|
314
|
+
### Performance Improvements
|
|
315
|
+
|
|
316
|
+
* 🔖 publish v1.0.0 ([ad754e3](https://github.com/yozorajs/yozora/commit/ad754e3a5945cd2ce19d9e6bfa59cb82caf0c7ac))
|
|
317
|
+
|
|
318
|
+
|
|
319
|
+
|
|
320
|
+
# 1.0.0-beta.0 (2021-07-08)
|
|
321
|
+
|
|
322
|
+
|
|
323
|
+
### Performance Improvements
|
|
324
|
+
|
|
325
|
+
* 🔖 publish v1.0.0-beta.0 ([bb66320](https://github.com/yozorajs/yozora/commit/bb6632098367cd8cf391eb1380d4542c15383bac))
|
|
326
|
+
|
|
327
|
+
|
|
328
|
+
|
|
329
|
+
# 1.0.0-1.0.0-beta.0.0 (2021-07-08)
|
|
330
|
+
|
|
331
|
+
|
|
332
|
+
### Performance Improvements
|
|
333
|
+
|
|
334
|
+
* 🔖 publish v1.0.0-1.0.0-beta.0.0 ([4051dd2](https://github.com/yozorajs/yozora/commit/4051dd2bcdea0d051141abaa85635e52d84c04f2))
|
|
335
|
+
* ⚡️ remove unnecessary array expand operations ([dfd2ca0](https://github.com/yozorajs/yozora/commit/dfd2ca027faedf341047c0431a18e97b1e13fcad))
|
|
336
|
+
* ⚡️ remove unnecessary codes ([cebe92a](https://github.com/yozorajs/yozora/commit/cebe92a3375d1d49054d332764f2490d4bb92c53))
|
|
337
|
+
* 📝 update READMEs ([9d9f940](https://github.com/yozorajs/yozora/commit/9d9f940a81188502db6045134054b18b747819bf))
|
|
338
|
+
|
|
339
|
+
|
|
340
|
+
|
|
341
|
+
# 1.0.0-alpha.29 (2021-07-08)
|
|
342
|
+
|
|
343
|
+
|
|
344
|
+
### Performance Improvements
|
|
345
|
+
|
|
346
|
+
* expose new utility func 'createTester' and 'createTesters' ([a4e9613](https://github.com/yozorajs/yozora/commit/a4e9613063e3e5840cf066e6e7343dbd5ffd4884))
|
|
347
|
+
* 📝 fix invalid link references ([f7b97b3](https://github.com/yozorajs/yozora/commit/f7b97b3dc74f065aa8f00ecd846ee4fa7f704453))
|
|
348
|
+
* 🔖 publish v1.0.0-alpha.29 ([f2291db](https://github.com/yozorajs/yozora/commit/f2291db2812043dd6586eaabd14e427abb11663a))
|
|
349
|
+
* 🎨 use path alias in tests ([29cca94](https://github.com/yozorajs/yozora/commit/29cca943d4fbc6d26af4507d3fa75ac08dcf388a))
|
|
350
|
+
|
|
351
|
+
|
|
352
|
+
|
|
353
|
+
# 1.0.0-alpha.28 (2021-06-30)
|
|
354
|
+
|
|
355
|
+
|
|
356
|
+
### Performance Improvements
|
|
357
|
+
|
|
358
|
+
* 🔖 publish v1.0.0-alpha.28 ([f18d90a](https://github.com/yozorajs/yozora/commit/f18d90a116db508bf49c9a3338a262cb85faf792))
|
|
359
|
+
|
|
360
|
+
|
|
361
|
+
|
|
362
|
+
# 1.0.0-alpha.27 (2021-06-28)
|
|
363
|
+
|
|
364
|
+
|
|
365
|
+
### Performance Improvements
|
|
366
|
+
|
|
367
|
+
* 🎨 update base abstract tokenizer ([cca9dd6](https://github.com/yozorajs/yozora/commit/cca9dd6fc3d4a22e1352378f59c7d2dccecfc5a2))
|
|
368
|
+
* 🔖 publish v1.0.0-alpha.27 ([8efea07](https://github.com/yozorajs/yozora/commit/8efea07b2314c241c91fc113abdc8852f216c9d7))
|
|
369
|
+
* ⬆️ upgrade dev dependencies ([d126ff4](https://github.com/yozorajs/yozora/commit/d126ff4c81ec09b366a0c60ba2a83e7f45fbe317))
|
|
370
|
+
|
|
371
|
+
|
|
372
|
+
|
|
373
|
+
# 1.0.0-alpha.26 (2021-06-25)
|
|
374
|
+
|
|
375
|
+
|
|
376
|
+
### Performance Improvements
|
|
377
|
+
|
|
378
|
+
* 🔖 publish v1.0.0-alpha.26 ([cbde29c](https://github.com/yozorajs/yozora/commit/cbde29c6188c9183f0b39ccfac0ad310803b09fe))
|
|
379
|
+
* 📝 update READMEs ([11e4f61](https://github.com/yozorajs/yozora/commit/11e4f6107c3862bf8c81dae882e93cab3f56f40f))
|
|
380
|
+
|
|
381
|
+
|
|
382
|
+
|
|
383
|
+
# 1.0.0-alpha.25 (2021-06-17)
|
|
384
|
+
|
|
385
|
+
|
|
386
|
+
### Performance Improvements
|
|
387
|
+
|
|
388
|
+
* 🔖 publish v1.0.0-alpha.25 ([5e17f71](https://github.com/yozorajs/yozora/commit/5e17f7155391c21eb1c99e5024e48d5e208e80db))
|
|
389
|
+
|
|
390
|
+
|
|
391
|
+
|
|
392
|
+
# 1.0.0-alpha.24 (2021-06-10)
|
|
393
|
+
|
|
394
|
+
|
|
395
|
+
### Performance Improvements
|
|
396
|
+
|
|
397
|
+
* 🔖 publish v1.0.0-alpha.24 ([6169f8e](https://github.com/yozorajs/yozora/commit/6169f8ecda42e04203e4533f820e82ea3e93b7dd))
|
|
398
|
+
|
|
399
|
+
|
|
400
|
+
|
|
401
|
+
# 1.0.0-alpha.23 (2021-06-08)
|
|
402
|
+
|
|
403
|
+
|
|
404
|
+
### Performance Improvements
|
|
405
|
+
|
|
406
|
+
* Move repository from github.com/guanghechen to github.com/yozorajs ([c1fd32c](https://github.com/yozorajs/yozora/commit/c1fd32ce818b44aa0d993ec8f74ef514bdf2d834))
|
|
407
|
+
* 🔖 publish v1.0.0-alpha.23 ([131a216](https://github.com/yozorajs/yozora/commit/131a2162b64eb23f98e93286974f4a3e4a91b77a))
|
|
408
|
+
* 📝 update READMEs ([6420941](https://github.com/yozorajs/yozora/commit/64209414cacdaf0e04329e2c86e6ff41f885f55f))
|
|
409
|
+
|
|
410
|
+
|
|
411
|
+
|
|
412
|
+
# 1.0.0-alpha.22 (2021-05-20)
|
|
413
|
+
|
|
414
|
+
|
|
415
|
+
### Performance Improvements
|
|
416
|
+
|
|
417
|
+
* 🎨 lint codes ([0d2d798](https://github.com/yozorajs/yozora/commit/0d2d7988d1d46f873e2a9f5d37de9c5daa39a109))
|
|
418
|
+
* 🔖 publish v1.0.0-alpha.22 ([a07a41d](https://github.com/yozorajs/yozora/commit/a07a41de8dda2ff579b0e5b469db75d6c629c38b))
|
|
419
|
+
* 🔧 rename the main branch to 'main' instead of 'master' ([c915653](https://github.com/yozorajs/yozora/commit/c9156537fba68ce073e139eb487afb973b7d90ba))
|
|
420
|
+
|
|
421
|
+
|
|
422
|
+
|
|
423
|
+
# 1.0.0-alpha.21 (2021-05-12)
|
|
424
|
+
|
|
425
|
+
|
|
426
|
+
### Performance Improvements
|
|
427
|
+
|
|
428
|
+
* 🔖 publish v1.0.0-alpha.21 ([e6655a2](https://github.com/yozorajs/yozora/commit/e6655a252c0b799d0990f06bc7cfdadc6824b63c))
|
|
429
|
+
|
|
430
|
+
|
|
431
|
+
|
|
432
|
+
# 1.0.0-alpha.20 (2021-04-20)
|
|
433
|
+
|
|
434
|
+
|
|
435
|
+
### Performance Improvements
|
|
436
|
+
|
|
437
|
+
* 🔖 publish v1.0.0-alpha.20 ([3f3831f](https://github.com/yozorajs/yozora/commit/3f3831fb6fdb72319e7d24a1ba4b51b44bdb4c8d))
|
|
438
|
+
|
|
439
|
+
|
|
440
|
+
|
|
441
|
+
# 1.0.0-alpha.19 (2021-04-19)
|
|
442
|
+
|
|
443
|
+
|
|
444
|
+
### Performance Improvements
|
|
445
|
+
|
|
446
|
+
* 🔖 publish v1.0.0-alpha.19 ([50b55f9](https://github.com/yozorajs/yozora/commit/50b55f9e5fd1d00c03d271a488d2a648ccd0a1d1))
|
|
447
|
+
* 📝 update READMEs ([907af97](https://github.com/yozorajs/yozora/commit/907af97f8c0bca5b045ccae188c6b759e88ec38c))
|
|
448
|
+
|
|
449
|
+
|
|
450
|
+
|
|
451
|
+
# 1.0.0-alpha.18 (2021-04-18)
|
|
452
|
+
|
|
453
|
+
|
|
454
|
+
### Performance Improvements
|
|
455
|
+
|
|
456
|
+
* 🎨 move resolveLabelToIdentifier from @yozora/tokenizer-definition to @yozora/core-tokenizer ([a957a31](https://github.com/yozorajs/yozora/commit/a957a31cc6faed786f453968e9a364577b5617ad))
|
|
457
|
+
* 🎨 move resolveLinkLabelAndIdentifier from @yozora/tokenizer-definition to @yozora/core-tokenizer ([ff7aac1](https://github.com/yozorajs/yozora/commit/ff7aac1376cabed0de785cd0379ba5fabfaf4a1f))
|
|
458
|
+
* 🔖 publish v1.0.0-alpha.18 ([219b28b](https://github.com/yozorajs/yozora/commit/219b28b38975d6d41f6c285a512a5c0dccceb6fa))
|
|
459
|
+
|
|
460
|
+
|
|
461
|
+
|
|
462
|
+
# 1.0.0-alpha.17 (2021-04-15)
|
|
463
|
+
|
|
464
|
+
|
|
465
|
+
### Performance Improvements
|
|
466
|
+
|
|
467
|
+
* 🔖 publish v1.0.0-alpha.17 ([0e7facd](https://github.com/yozorajs/yozora/commit/0e7facdde8692e538e5777d70b873cf6282f7de8))
|
|
468
|
+
* 📝 update docs ([acffd75](https://github.com/yozorajs/yozora/commit/acffd757123705c4d0f6a3948f62f3c460cefde3))
|
|
469
|
+
|
|
470
|
+
|
|
471
|
+
|
|
472
|
+
# 1.0.0-alpha.16 (2021-04-12)
|
|
473
|
+
|
|
474
|
+
|
|
475
|
+
### Performance Improvements
|
|
476
|
+
|
|
477
|
+
* ✅ collect all test cases in the scaffolds/jest-for-tokenizer/fixtures/ directory ([a328ffd](https://github.com/yozorajs/yozora/commit/a328ffd8c11d8e49ec6cc378057b01448ed09300))
|
|
478
|
+
* 🔖 publish v1.0.0-alpha.16 ([9da34dd](https://github.com/yozorajs/yozora/commit/9da34dd46333b72f908c77d15f11326f3724060c))
|
|
479
|
+
* ✅ simplify test codes ([60d072c](https://github.com/yozorajs/yozora/commit/60d072c6bf4a414e45b3d98713223a23be5d0bb8))
|
|
480
|
+
|
|
481
|
+
|
|
482
|
+
|
|
483
|
+
# 1.0.0-alpha.15 (2021-04-11)
|
|
484
|
+
|
|
485
|
+
|
|
486
|
+
### Performance Improvements
|
|
487
|
+
|
|
488
|
+
* 🔖 publish v1.0.0-alpha.15 ([988d25f](https://github.com/yozorajs/yozora/commit/988d25f7958825ccbaaa99051ad7b823c625d4cf))
|
|
489
|
+
|
|
490
|
+
|
|
491
|
+
|
|
492
|
+
# 1.0.0-alpha.14 (2021-04-11)
|
|
493
|
+
|
|
494
|
+
|
|
495
|
+
### Performance Improvements
|
|
496
|
+
|
|
497
|
+
* 🔖 publish v1.0.0-alpha.14 ([3fcfffa](https://github.com/yozorajs/yozora/commit/3fcfffa0da0413449acf0d91d85400d0b31fa9a2))
|
|
498
|
+
* 🎨 rename isContainerBlock to isContainingBlock & use enum TokenizerPriority instead of magic numbers to present tokenizer proirity ([940c50b](https://github.com/yozorajs/yozora/commit/940c50bb58b76a888a512539f3a4db6e8396d45b))
|
|
499
|
+
* ✅ update tests ([3c9f64f](https://github.com/yozorajs/yozora/commit/3c9f64f331d2b2c3484cc580dc8ef13e21ee42b8))
|
|
500
|
+
* ✅ update tests ([a24d148](https://github.com/yozorajs/yozora/commit/a24d1485b59caaeff4510b1150d8810236a9906a))
|
|
501
|
+
|
|
502
|
+
|
|
503
|
+
|
|
504
|
+
# 1.0.0-alpha.13 (2021-04-10)
|
|
505
|
+
|
|
506
|
+
|
|
507
|
+
### Performance Improvements
|
|
508
|
+
|
|
509
|
+
* 🔖 publish v1.0.0-alpha.13 ([949455c](https://github.com/yozorajs/yozora/commit/949455c25f4fb60a88c3484829a610da7c998969))
|
|
510
|
+
* 💥 remove parse-meta phase (calc meta such as definitions after parse-block). ([463e751](https://github.com/yozorajs/yozora/commit/463e75126448b672dc15019e8dd93d9d64bc9b5e))
|
|
511
|
+
|
|
512
|
+
|
|
513
|
+
|
|
514
|
+
# 1.0.0-alpha.12 (2021-03-27)
|
|
515
|
+
|
|
516
|
+
|
|
517
|
+
### Features
|
|
518
|
+
|
|
519
|
+
* 💥 redesign interfaces & refactor tokenizer codes with types from @yozora/ast ([af3603d](https://github.com/yozorajs/yozora/commit/af3603d771bde94ec0c78fb53aa6d64a14933f9d))
|
|
520
|
+
|
|
521
|
+
|
|
522
|
+
### Performance Improvements
|
|
523
|
+
|
|
524
|
+
* 🎨 make '_tokenizer' optional in the result of tokenizers on match phase ([b1ea8de](https://github.com/yozorajs/yozora/commit/b1ea8de5a439615d09e9cc3585b1a3cbdb663d31))
|
|
525
|
+
* 🔧 update script fields ([48a57ec](https://github.com/yozorajs/yozora/commit/48a57ec8f92b5cffb02e24b0b2ee94364033226f))
|
|
526
|
+
* 🔖 publish v1.0.0-alpha.12 ([897f131](https://github.com/yozorajs/yozora/commit/897f1317408ab43406788d5b796d245fd4eeac13))
|
|
527
|
+
* ✅ update tests (RootMeta changed) ([75e7693](https://github.com/yozorajs/yozora/commit/75e769306d9ebdde0e878cfda571aec856cf4d30))
|
|
528
|
+
* ✅ update tests due to the previous changes ([24bb714](https://github.com/yozorajs/yozora/commit/24bb714196ed762db2a08ca893ef13d06b331284))
|
|
529
|
+
* 🎨 use AST types from @yozora/ast instead of @yozora/core-tokenizer ([fc55ceb](https://github.com/yozorajs/yozora/commit/fc55cebca8162a111fca1c0cdfbf0982831db66a))
|
|
530
|
+
* 🎨 use types defined in @yozora/ast & use tokenizerName as unique id of token ([d51f022](https://github.com/yozorajs/yozora/commit/d51f0222a829ef0caea5f1ec058ca3f3553c156d))
|
|
531
|
+
|
|
532
|
+
|
|
533
|
+
|
|
534
|
+
# 1.0.0-alpha.11 (2021-03-20)
|
|
535
|
+
|
|
536
|
+
|
|
537
|
+
### Performance Improvements
|
|
538
|
+
|
|
539
|
+
* 🔖 publish v1.0.0-alpha.11 ([df10f73](https://github.com/yozorajs/yozora/commit/df10f73cbcc698d44cd7f7efbab2f7cac66f8675))
|
|
540
|
+
|
|
541
|
+
|
|
542
|
+
|
|
543
|
+
# 1.0.0-alpha.10 (2021-03-20)
|
|
544
|
+
|
|
545
|
+
|
|
546
|
+
### Bug Fixes
|
|
547
|
+
|
|
548
|
+
* 🐛 add missed `url` of Definition Meta & update tests ([886ca13](https://github.com/yozorajs/yozora/commit/886ca133c5ef0f119a3d50819519a2e2dffae78f))
|
|
549
|
+
|
|
550
|
+
|
|
551
|
+
### Performance Improvements
|
|
552
|
+
|
|
553
|
+
* 🔖 publish v1.0.0-alpha.10 ([dbd0114](https://github.com/yozorajs/yozora/commit/dbd0114cd72fa029e743db5d38e10bc1af23ca33))
|
|
554
|
+
|
|
555
|
+
|
|
556
|
+
|
|
557
|
+
# 1.0.0-alpha.9 (2021-03-20)
|
|
558
|
+
|
|
559
|
+
|
|
560
|
+
### Features
|
|
561
|
+
|
|
562
|
+
* 💥 update types of Definition to make it consistent with the Definition in Mdast ([1309771](https://github.com/yozorajs/yozora/commit/1309771175f24c39525f83cc5a0d08f6960ff7c1))
|
|
563
|
+
|
|
564
|
+
|
|
565
|
+
### Performance Improvements
|
|
566
|
+
|
|
567
|
+
* 📝 fix invalid badge urls ([4d78b23](https://github.com/yozorajs/yozora/commit/4d78b23b2aa8ae65adb9e86ccd51e372a916f20b))
|
|
568
|
+
* 🔖 publish v1.0.0-alpha.9 ([1b41b56](https://github.com/yozorajs/yozora/commit/1b41b56362c328af28fde43a0b95fa02aff0dfbe))
|
|
569
|
+
* ✅ update tests due to the change of Definition ([a9bf647](https://github.com/yozorajs/yozora/commit/a9bf647f937e752151a271b7eb832b229e969cee))
|
|
570
|
+
|
|
571
|
+
|
|
572
|
+
|
|
573
|
+
# 1.0.0-alpha.8 (2021-03-13)
|
|
574
|
+
|
|
575
|
+
|
|
576
|
+
### Performance Improvements
|
|
577
|
+
|
|
578
|
+
* 🔖 publish v1.0.0-alpha.8 ([3cb3080](https://github.com/yozorajs/yozora/commit/3cb3080312048001d73911a892c4a7c69459c260))
|
|
579
|
+
* 📝 update badges ([418e221](https://github.com/yozorajs/yozora/commit/418e2216ed80c71445f9e0efd9ea054208b18c78))
|
|
580
|
+
* 🔧 update configs & lint codes ([3e9ded3](https://github.com/yozorajs/yozora/commit/3e9ded3f7ebe8dcb68a976675ffd34bdfd59ace9))
|
|
581
|
+
* 🔧 update package.json ([cba99c5](https://github.com/yozorajs/yozora/commit/cba99c5aa58de54672cc292e587914f56d702f7a))
|
|
582
|
+
* 📝 update READMEs ([188b30b](https://github.com/yozorajs/yozora/commit/188b30ba3f10096722e999452f84752ec3dd459a))
|
|
583
|
+
|
|
584
|
+
|
|
585
|
+
|
|
586
|
+
# 1.0.0-alpha.7 (2021-03-06)
|
|
587
|
+
|
|
588
|
+
|
|
589
|
+
### Performance Improvements
|
|
590
|
+
|
|
591
|
+
* 🎨 format codes ([1fbd596](https://github.com/yozorajs/yozora/commit/1fbd59671965b747a990d2bff77de0872f18836d))
|
|
592
|
+
* 🔧 add directory in repository field ([8daefc9](https://github.com/yozorajs/yozora/commit/8daefc94f4999aa471e2edc82728120ae9c0f079))
|
|
593
|
+
* 📝 update badges ([967819b](https://github.com/yozorajs/yozora/commit/967819be94f17a635169fabd48468747e53f2b84))
|
|
594
|
+
* 🔖 publish v1.0.0-alpha.7 ([115ce36](https://github.com/yozorajs/yozora/commit/115ce36207dc675c7a13275c6bf2fccafdb47ffc))
|
|
595
|
+
* 🔧 update scripts field ([72841c5](https://github.com/yozorajs/yozora/commit/72841c571882cb600706aaab1a335fa68013167c))
|
|
596
|
+
* 🔧 use @guanghechen/rollup-config instead of @barusu/rollup-config ([6228c33](https://github.com/yozorajs/yozora/commit/6228c330ed6dc3113c671f56feaa91d47bff6d64))
|
|
597
|
+
* 🔨 use top level rollup.config.js ([818c59b](https://github.com/yozorajs/yozora/commit/818c59b6f5ef3c29f718428c620ebce08f24b9d6))
|
|
598
|
+
|
|
599
|
+
|
|
600
|
+
|
|
601
|
+
# 1.0.0-alpha.6 (2021-02-25)
|
|
602
|
+
|
|
603
|
+
|
|
604
|
+
### Performance Improvements
|
|
605
|
+
|
|
606
|
+
* 🔖 publish v1.0.0-alpha.6 ([e4f20f7](https://github.com/yozorajs/yozora/commit/e4f20f785dc3928c0c928d0d38665bf3609481a6))
|
|
607
|
+
* 🚚 rename @yozora/parser-core to @yozora/core-parser ([e94956f](https://github.com/yozorajs/yozora/commit/e94956f58ccf64f37c476c953679578b3b4b7c24))
|
|
608
|
+
* 🚚 rename @yozora/tokenizer-definition to @yozora/tokenizer-definition ([8e65d3c](https://github.com/yozorajs/yozora/commit/8e65d3c7859771a388d129127a1ac9594ecafdd5))
|
|
609
|
+
* ⬆️ upgrade @barusu/* to v0.0.47 & upgrade rollup to v2.39.1 ([173b431](https://github.com/yozorajs/yozora/commit/173b431d4522a90b964b11d015ce24eba4028deb))
|
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/
|
|
5
|
+
<a href="https://github.com/yozorajs/yozora/tree/v2.2.0/tokenizers/definition#readme">@yozora/tokenizer-definition</a>
|
|
6
6
|
</h1>
|
|
7
7
|
<div align="center">
|
|
8
8
|
<a href="https://www.npmjs.com/package/@yozora/tokenizer-definition">
|
|
@@ -201,53 +201,53 @@ Name | Type | Required | Default
|
|
|
201
201
|
|
|
202
202
|
[live-examples]: https://yozora.guanghechen.com/docs/package/tokenizer-definition#live-examples
|
|
203
203
|
[docpage]: https://yozora.guanghechen.com/docs/package/tokenizer-definition
|
|
204
|
-
[homepage]: https://github.com/yozorajs/yozora/tree/
|
|
204
|
+
[homepage]: https://github.com/yozorajs/yozora/tree/v2.2.0/tokenizers/definition#readme
|
|
205
205
|
[gfm-spec]: https://github.github.com/gfm
|
|
206
206
|
[mdast-homepage]: https://github.com/syntax-tree/mdast
|
|
207
207
|
|
|
208
|
-
[@yozora/ast]: https://github.com/yozorajs/yozora/tree/
|
|
209
|
-
[@yozora/ast-util]: https://github.com/yozorajs/yozora/tree/
|
|
210
|
-
[@yozora/character]: https://github.com/yozorajs/yozora/tree/
|
|
208
|
+
[@yozora/ast]: https://github.com/yozorajs/yozora/tree/v2.2.0/packages/ast#readme
|
|
209
|
+
[@yozora/ast-util]: https://github.com/yozorajs/yozora/tree/v2.2.0/packages/ast-util#readme
|
|
210
|
+
[@yozora/character]: https://github.com/yozorajs/yozora/tree/v2.2.0/packages/character#readme
|
|
211
211
|
[@yozora/eslint-config]: https://github.com/yozorajs/yozora/tree/release-2.x.x/packages/eslint-config#readme
|
|
212
|
-
[@yozora/core-parser]: https://github.com/yozorajs/yozora/tree/
|
|
213
|
-
[@yozora/core-tokenizer]: https://github.com/yozorajs/yozora/tree/
|
|
214
|
-
[@yozora/invariant]: https://github.com/yozorajs/yozora/tree/
|
|
212
|
+
[@yozora/core-parser]: https://github.com/yozorajs/yozora/tree/v2.2.0/packages/core-parser#readme
|
|
213
|
+
[@yozora/core-tokenizer]: https://github.com/yozorajs/yozora/tree/v2.2.0/packages/core-tokenizer#readme
|
|
214
|
+
[@yozora/invariant]: https://github.com/yozorajs/yozora/tree/v2.2.0/packages/invariant#readme
|
|
215
215
|
[@yozora/jest-for-tokenizer]: https://github.com/yozorajs/yozora/tree/release-2.x.x/packages/jest-for-tokenizer#readme
|
|
216
|
-
[@yozora/parser]: https://github.com/yozorajs/yozora/tree/
|
|
217
|
-
[@yozora/parser-gfm]: https://github.com/yozorajs/yozora/tree/
|
|
218
|
-
[@yozora/parser-gfm-ex]: https://github.com/yozorajs/yozora/tree/
|
|
216
|
+
[@yozora/parser]: https://github.com/yozorajs/yozora/tree/v2.2.0/packages/parser#readme
|
|
217
|
+
[@yozora/parser-gfm]: https://github.com/yozorajs/yozora/tree/v2.2.0/packages/parser-gfm#readme
|
|
218
|
+
[@yozora/parser-gfm-ex]: https://github.com/yozorajs/yozora/tree/v2.2.0/packages/parser-gfm-ex#readme
|
|
219
219
|
[@yozora/template-tokenizer]: https://github.com/yozorajs/yozora/tree/release-2.x.x/packages/template-tokenizer#readme
|
|
220
|
-
[@yozora/tokenizer-admonition]: https://github.com/yozorajs/yozora/tree/
|
|
221
|
-
[@yozora/tokenizer-autolink]: https://github.com/yozorajs/yozora/tree/
|
|
222
|
-
[@yozora/tokenizer-autolink-extension]: https://github.com/yozorajs/yozora/tree/
|
|
223
|
-
[@yozora/tokenizer-blockquote]: https://github.com/yozorajs/yozora/tree/
|
|
224
|
-
[@yozora/tokenizer-break]: https://github.com/yozorajs/yozora/tree/
|
|
225
|
-
[@yozora/tokenizer-definition]: https://github.com/yozorajs/yozora/tree/
|
|
226
|
-
[@yozora/tokenizer-delete]: https://github.com/yozorajs/yozora/tree/
|
|
227
|
-
[@yozora/tokenizer-ecma-import]: https://github.com/yozorajs/yozora/tree/
|
|
228
|
-
[@yozora/tokenizer-emphasis]: https://github.com/yozorajs/yozora/tree/
|
|
229
|
-
[@yozora/tokenizer-fenced-block]: https://github.com/yozorajs/yozora/tree/
|
|
230
|
-
[@yozora/tokenizer-fenced-code]: https://github.com/yozorajs/yozora/tree/
|
|
231
|
-
[@yozora/tokenizer-footnote]: https://github.com/yozorajs/yozora/tree/
|
|
232
|
-
[@yozora/tokenizer-footnote-definition]: https://github.com/yozorajs/yozora/tree/
|
|
233
|
-
[@yozora/tokenizer-footnote-reference]: https://github.com/yozorajs/yozora/tree/
|
|
234
|
-
[@yozora/tokenizer-heading]: https://github.com/yozorajs/yozora/tree/
|
|
235
|
-
[@yozora/tokenizer-html-block]: https://github.com/yozorajs/yozora/tree/
|
|
236
|
-
[@yozora/tokenizer-html-inline]: https://github.com/yozorajs/yozora/tree/
|
|
237
|
-
[@yozora/tokenizer-image]: https://github.com/yozorajs/yozora/tree/
|
|
238
|
-
[@yozora/tokenizer-image-reference]: https://github.com/yozorajs/yozora/tree/
|
|
239
|
-
[@yozora/tokenizer-indented-code]: https://github.com/yozorajs/yozora/tree/
|
|
240
|
-
[@yozora/tokenizer-inline-code]: https://github.com/yozorajs/yozora/tree/
|
|
241
|
-
[@yozora/tokenizer-inline-math]: https://github.com/yozorajs/yozora/tree/
|
|
242
|
-
[@yozora/tokenizer-link]: https://github.com/yozorajs/yozora/tree/
|
|
243
|
-
[@yozora/tokenizer-link-reference]: https://github.com/yozorajs/yozora/tree/
|
|
244
|
-
[@yozora/tokenizer-list]: https://github.com/yozorajs/yozora/tree/
|
|
245
|
-
[@yozora/tokenizer-math]: https://github.com/yozorajs/yozora/tree/
|
|
246
|
-
[@yozora/tokenizer-paragraph]: https://github.com/yozorajs/yozora/tree/
|
|
247
|
-
[@yozora/tokenizer-setext-heading]: https://github.com/yozorajs/yozora/tree/
|
|
248
|
-
[@yozora/tokenizer-table]: https://github.com/yozorajs/yozora/tree/
|
|
249
|
-
[@yozora/tokenizer-text]: https://github.com/yozorajs/yozora/tree/
|
|
250
|
-
[@yozora/tokenizer-thematic-break]: https://github.com/yozorajs/yozora/tree/
|
|
220
|
+
[@yozora/tokenizer-admonition]: https://github.com/yozorajs/yozora/tree/v2.2.0/tokenizers/admonition#readme
|
|
221
|
+
[@yozora/tokenizer-autolink]: https://github.com/yozorajs/yozora/tree/v2.2.0/tokenizers/autolink#readme
|
|
222
|
+
[@yozora/tokenizer-autolink-extension]: https://github.com/yozorajs/yozora/tree/v2.2.0/tokenizers/autolink-extension#readme
|
|
223
|
+
[@yozora/tokenizer-blockquote]: https://github.com/yozorajs/yozora/tree/v2.2.0/tokenizers/blockquote#readme
|
|
224
|
+
[@yozora/tokenizer-break]: https://github.com/yozorajs/yozora/tree/v2.2.0/tokenizers/break#readme
|
|
225
|
+
[@yozora/tokenizer-definition]: https://github.com/yozorajs/yozora/tree/v2.2.0/tokenizers/definition#readme
|
|
226
|
+
[@yozora/tokenizer-delete]: https://github.com/yozorajs/yozora/tree/v2.2.0/tokenizers/delete#readme
|
|
227
|
+
[@yozora/tokenizer-ecma-import]: https://github.com/yozorajs/yozora/tree/v2.2.0/tokenizers/ecma-import#readme
|
|
228
|
+
[@yozora/tokenizer-emphasis]: https://github.com/yozorajs/yozora/tree/v2.2.0/tokenizers/emphasis#readme
|
|
229
|
+
[@yozora/tokenizer-fenced-block]: https://github.com/yozorajs/yozora/tree/v2.2.0/tokenizers/fenced-block#readme
|
|
230
|
+
[@yozora/tokenizer-fenced-code]: https://github.com/yozorajs/yozora/tree/v2.2.0/tokenizers/fenced-code#readme
|
|
231
|
+
[@yozora/tokenizer-footnote]: https://github.com/yozorajs/yozora/tree/v2.2.0/tokenizers/footnote#readme
|
|
232
|
+
[@yozora/tokenizer-footnote-definition]: https://github.com/yozorajs/yozora/tree/v2.2.0/tokenizers/footnote-definition#readme
|
|
233
|
+
[@yozora/tokenizer-footnote-reference]: https://github.com/yozorajs/yozora/tree/v2.2.0/tokenizers/footnote-reference#readme
|
|
234
|
+
[@yozora/tokenizer-heading]: https://github.com/yozorajs/yozora/tree/v2.2.0/tokenizers/heading#readme
|
|
235
|
+
[@yozora/tokenizer-html-block]: https://github.com/yozorajs/yozora/tree/v2.2.0/tokenizers/html-block#readme
|
|
236
|
+
[@yozora/tokenizer-html-inline]: https://github.com/yozorajs/yozora/tree/v2.2.0/tokenizers/html-inline#readme
|
|
237
|
+
[@yozora/tokenizer-image]: https://github.com/yozorajs/yozora/tree/v2.2.0/tokenizers/image#readme
|
|
238
|
+
[@yozora/tokenizer-image-reference]: https://github.com/yozorajs/yozora/tree/v2.2.0/tokenizers/image-reference#readme
|
|
239
|
+
[@yozora/tokenizer-indented-code]: https://github.com/yozorajs/yozora/tree/v2.2.0/tokenizers/indented-code#readme
|
|
240
|
+
[@yozora/tokenizer-inline-code]: https://github.com/yozorajs/yozora/tree/v2.2.0/tokenizers/inline-code#readme
|
|
241
|
+
[@yozora/tokenizer-inline-math]: https://github.com/yozorajs/yozora/tree/v2.2.0/tokenizers/inline-math#readme
|
|
242
|
+
[@yozora/tokenizer-link]: https://github.com/yozorajs/yozora/tree/v2.2.0/tokenizers/link#readme
|
|
243
|
+
[@yozora/tokenizer-link-reference]: https://github.com/yozorajs/yozora/tree/v2.2.0/tokenizers/link-reference#readme
|
|
244
|
+
[@yozora/tokenizer-list]: https://github.com/yozorajs/yozora/tree/v2.2.0/tokenizers/list#readme
|
|
245
|
+
[@yozora/tokenizer-math]: https://github.com/yozorajs/yozora/tree/v2.2.0/tokenizers/math#readme
|
|
246
|
+
[@yozora/tokenizer-paragraph]: https://github.com/yozorajs/yozora/tree/v2.2.0/tokenizers/paragraph#readme
|
|
247
|
+
[@yozora/tokenizer-setext-heading]: https://github.com/yozorajs/yozora/tree/v2.2.0/tokenizers/setext-heading#readme
|
|
248
|
+
[@yozora/tokenizer-table]: https://github.com/yozorajs/yozora/tree/v2.2.0/tokenizers/table#readme
|
|
249
|
+
[@yozora/tokenizer-text]: https://github.com/yozorajs/yozora/tree/v2.2.0/tokenizers/text#readme
|
|
250
|
+
[@yozora/tokenizer-thematic-break]: https://github.com/yozorajs/yozora/tree/v2.2.0/tokenizers/thematic-break#readme
|
|
251
251
|
|
|
252
252
|
[@yozora/react-admonition]: https://github.com/yozorajs/yozora-react/tree/main/packages/admonition#readme
|
|
253
253
|
[@yozora/react-blockquote]: https://github.com/yozorajs/yozora-react/tree/main/packages/blockquote#readme
|
package/lib/cjs/index.cjs
CHANGED
|
@@ -360,7 +360,7 @@ const match = function (api) {
|
|
|
360
360
|
return { status: saturated ? 'closing' : 'opening', nextIndex: endIndex };
|
|
361
361
|
}
|
|
362
362
|
function onClose(token) {
|
|
363
|
-
let result;
|
|
363
|
+
let result = undefined;
|
|
364
364
|
if (token.title == null || !token.title.saturated) {
|
|
365
365
|
if (!token.label.saturated) {
|
|
366
366
|
return { status: 'failedAndRollback', lines: token.lines };
|
package/lib/esm/index.mjs
CHANGED
|
@@ -356,7 +356,7 @@ const match = function (api) {
|
|
|
356
356
|
return { status: saturated ? 'closing' : 'opening', nextIndex: endIndex };
|
|
357
357
|
}
|
|
358
358
|
function onClose(token) {
|
|
359
|
-
let result;
|
|
359
|
+
let result = undefined;
|
|
360
360
|
if (token.title == null || !token.title.saturated) {
|
|
361
361
|
if (!token.label.saturated) {
|
|
362
362
|
return { status: 'failedAndRollback', lines: token.lines };
|
package/lib/types/index.d.ts
CHANGED
|
@@ -190,4 +190,4 @@ declare class DefinitionTokenizer extends BaseBlockTokenizer<T, IToken, INode, I
|
|
|
190
190
|
readonly parse: IParseBlockHookCreator<T, IToken, INode, IThis>;
|
|
191
191
|
}
|
|
192
192
|
|
|
193
|
-
export { DefinitionTokenizer, uniqueName as DefinitionTokenizerName, IThis as IDefinitionHookContext, IToken as IDefinitionToken, ITokenizerProps as IDefinitionTokenizerProps, ILinkDestinationCollectingState, ILinkLabelCollectingState, ILinkTitleCollectingState, DefinitionTokenizer as default, match as definitionMatch, parse as definitionParse, eatAndCollectLinkDestination, eatAndCollectLinkLabel, eatAndCollectLinkTitle };
|
|
193
|
+
export { DefinitionTokenizer, uniqueName as DefinitionTokenizerName, type IThis as IDefinitionHookContext, type IToken as IDefinitionToken, type ITokenizerProps as IDefinitionTokenizerProps, type ILinkDestinationCollectingState, type ILinkLabelCollectingState, type ILinkTitleCollectingState, DefinitionTokenizer as default, match as definitionMatch, parse as definitionParse, eatAndCollectLinkDestination, eatAndCollectLinkLabel, eatAndCollectLinkTitle };
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@yozora/tokenizer-definition",
|
|
3
|
-
"version": "2.
|
|
3
|
+
"version": "2.2.0",
|
|
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/definition"
|
|
12
12
|
},
|
|
13
|
-
"homepage": "https://github.com/yozorajs/yozora/tree/
|
|
13
|
+
"homepage": "https://github.com/yozorajs/yozora/tree/v2.1.5/tokenizers/definition",
|
|
14
14
|
"type": "module",
|
|
15
15
|
"exports": {
|
|
16
16
|
"types": "./lib/types/index.d.ts",
|
|
@@ -27,7 +27,7 @@
|
|
|
27
27
|
},
|
|
28
28
|
"files": [
|
|
29
29
|
"lib/",
|
|
30
|
-
"lib/**/*.map",
|
|
30
|
+
"!lib/**/*.map",
|
|
31
31
|
"package.json",
|
|
32
32
|
"CHANGELOG.md",
|
|
33
33
|
"LICENSE",
|
|
@@ -36,12 +36,12 @@
|
|
|
36
36
|
"scripts": {
|
|
37
37
|
"build": "rimraf lib/ && cross-env NODE_ENV=production rollup -c ../../rollup.config.mjs",
|
|
38
38
|
"prepublishOnly": "cross-env ROLLUP_SHOULD_SOURCEMAP=false yarn build",
|
|
39
|
-
"test": "
|
|
39
|
+
"test": "node --experimental-vm-modules ../../node_modules/.bin/jest --config ../../jest.config.mjs --rootDir ."
|
|
40
40
|
},
|
|
41
41
|
"dependencies": {
|
|
42
|
-
"@yozora/ast": "^2.
|
|
43
|
-
"@yozora/character": "^2.
|
|
44
|
-
"@yozora/core-tokenizer": "^2.
|
|
42
|
+
"@yozora/ast": "^2.2.0",
|
|
43
|
+
"@yozora/character": "^2.2.0",
|
|
44
|
+
"@yozora/core-tokenizer": "^2.2.0"
|
|
45
45
|
},
|
|
46
|
-
"gitHead": "
|
|
46
|
+
"gitHead": "3454cd9f3b0f7ca5d105978ba042070501512dae"
|
|
47
47
|
}
|