@yozora/tokenizer-ecma-import 2.3.0 → 2.3.1
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 +126 -155
- package/README.md +209 -167
- package/lib/cjs/index.cjs +1 -0
- package/lib/esm/index.mjs +1 -0
- package/package.json +6 -11
package/CHANGELOG.md
CHANGED
|
@@ -1,325 +1,296 @@
|
|
|
1
1
|
# Change Log
|
|
2
2
|
|
|
3
|
-
All notable changes to this project will be documented in this file.
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
# [2.3.0](https://github.com/yozorajs/yozora/compare/v2.2.0...v2.3.0) (2023-09-18)
|
|
3
|
+
All notable changes to this project will be documented in this file. See
|
|
4
|
+
[Conventional Commits](https://conventionalcommits.org) for commit guidelines.
|
|
7
5
|
|
|
6
|
+
## [2.3.1](https://github.com/yozorajs/yozora/compare/v2.3.0...v2.3.1) (2024-01-30)
|
|
8
7
|
|
|
9
8
|
### Performance Improvements
|
|
10
9
|
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
10
|
+
- 🔧 use nx to simplify running commands on the monorepo
|
|
11
|
+
([#25](https://github.com/yozorajs/yozora/issues/25))
|
|
12
|
+
([377a126](https://github.com/yozorajs/yozora/commit/377a126f740e51cfd34bd8acc121e3e0424fc2aa))
|
|
15
13
|
|
|
14
|
+
# Change Log
|
|
16
15
|
|
|
17
|
-
|
|
16
|
+
All notable changes to this project will be documented in this file. See
|
|
17
|
+
[Conventional Commits](https://conventionalcommits.org) for commit guidelines.
|
|
18
18
|
|
|
19
|
+
# [2.3.0](https://github.com/yozorajs/yozora/compare/v2.2.0...v2.3.0) (2023-09-18)
|
|
19
20
|
|
|
20
21
|
### Performance Improvements
|
|
21
22
|
|
|
22
|
-
|
|
23
|
-
|
|
23
|
+
- :fire: remove 'tsconfig.json's in sub packages
|
|
24
|
+
([1e6a8b3](https://github.com/yozorajs/yozora/commit/1e6a8b39b1f4f4b84f01829b8956b1ef664e8743))
|
|
24
25
|
|
|
26
|
+
# [2.2.0](https://github.com/yozorajs/yozora/compare/v2.1.5...v2.2.0) (2023-08-21)
|
|
25
27
|
|
|
28
|
+
### Performance Improvements
|
|
26
29
|
|
|
30
|
+
- ⬆️ upgrade devDependencies
|
|
31
|
+
([bc46ce2](https://github.com/yozorajs/yozora/commit/bc46ce20cacb2eb46147d6129e42fe1390ee19fb))
|
|
27
32
|
|
|
28
33
|
## [2.1.5](https://github.com/yozorajs/yozora/compare/v2.1.4...v2.1.5) (2023-05-13)
|
|
29
34
|
|
|
30
|
-
|
|
31
35
|
### Performance Improvements
|
|
32
36
|
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
37
|
+
- 🔧 don't sourcemaps into tarball
|
|
38
|
+
([fc37aa8](https://github.com/yozorajs/yozora/commit/fc37aa8847ac4ad78ecb31f198e1cd6a85e91bcf))
|
|
39
|
+
- 📝 update CHANGELOGs
|
|
40
|
+
([c51b283](https://github.com/yozorajs/yozora/commit/c51b283874f8a562b6ed9fad46a0b7d578f6eb42))
|
|
39
41
|
|
|
40
42
|
## 2.1.4 (2023-04-02)
|
|
41
43
|
|
|
42
|
-
|
|
43
44
|
### Performance Improvements
|
|
44
45
|
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
|
|
46
|
+
- 🔧 don't pack src/ folder into tarball
|
|
47
|
+
([c9fac38](https://github.com/yozorajs/yozora/commit/c9fac382e9a7a8d6454452b0c4d5b57dac16455f))
|
|
48
|
+
- 🔖 publish v2.1.4
|
|
49
|
+
([aa464ed](https://github.com/yozorajs/yozora/commit/aa464ed1e3cd84892773a833910cfc53a556bf5f))
|
|
49
50
|
|
|
50
51
|
## 2.1.3 (2023-03-23)
|
|
51
52
|
|
|
52
|
-
|
|
53
53
|
### Performance Improvements
|
|
54
54
|
|
|
55
|
-
|
|
56
|
-
|
|
57
|
-
|
|
55
|
+
- 🔖 publish v2.1.3
|
|
56
|
+
([9abaaff](https://github.com/yozorajs/yozora/commit/9abaaff74a12d0bae0f645813241ff947a0d828c))
|
|
58
57
|
|
|
59
58
|
## 2.1.2 (2023-03-11)
|
|
60
59
|
|
|
61
|
-
|
|
62
60
|
### Performance Improvements
|
|
63
61
|
|
|
64
|
-
|
|
65
|
-
|
|
66
|
-
|
|
62
|
+
- 🔖 publish v2.1.2
|
|
63
|
+
([992baca](https://github.com/yozorajs/yozora/commit/992bacafd173e7788e99fed34ce8b45f6ed24cfe))
|
|
67
64
|
|
|
68
65
|
## 2.1.1 (2023-03-10)
|
|
69
66
|
|
|
70
|
-
|
|
71
67
|
### Performance Improvements
|
|
72
68
|
|
|
73
|
-
|
|
74
|
-
|
|
75
|
-
|
|
76
|
-
|
|
69
|
+
- 💥 prefer shorter types
|
|
70
|
+
([b93307f](https://github.com/yozorajs/yozora/commit/b93307f3c2372598dd8ca4fcbf04e80ce58d903d))
|
|
71
|
+
- 🔖 publish v2.1.1
|
|
72
|
+
([257a36d](https://github.com/yozorajs/yozora/commit/257a36d8dc079d4ac226405c155b238e7099bcea))
|
|
77
73
|
|
|
78
74
|
## 2.0.6 (2023-03-05)
|
|
79
75
|
|
|
80
|
-
|
|
81
76
|
### Performance Improvements
|
|
82
77
|
|
|
83
|
-
|
|
84
|
-
|
|
85
|
-
|
|
78
|
+
- 🔖 publish v2.0.6
|
|
79
|
+
([a263c53](https://github.com/yozorajs/yozora/commit/a263c5338103824347bac74d437051e9fbb6d791))
|
|
86
80
|
|
|
87
81
|
## 2.0.5 (2023-01-09)
|
|
88
82
|
|
|
89
|
-
|
|
90
83
|
### Performance Improvements
|
|
91
84
|
|
|
92
|
-
|
|
93
|
-
|
|
94
|
-
|
|
85
|
+
- 🔖 publish v2.0.5
|
|
86
|
+
([7ba3bab](https://github.com/yozorajs/yozora/commit/7ba3bab49fe65cf2f57082c0503af73da9356cf0))
|
|
95
87
|
|
|
96
88
|
## 2.0.5-alpha.0 (2023-01-05)
|
|
97
89
|
|
|
98
|
-
|
|
99
90
|
### Performance Improvements
|
|
100
91
|
|
|
101
|
-
|
|
102
|
-
|
|
103
|
-
|
|
104
|
-
|
|
105
|
-
|
|
106
|
-
|
|
92
|
+
- 🔧 fix test configuration
|
|
93
|
+
([f50b2d7](https://github.com/yozorajs/yozora/commit/f50b2d7600139e0ea54e042b025365d81f4518b5))
|
|
94
|
+
- 🔖 publish v2.0.5-alpha.0
|
|
95
|
+
([8bf941f](https://github.com/yozorajs/yozora/commit/8bf941fe4ef82947165b0f3cc123cd493665e13b))
|
|
96
|
+
- 🔧 update package entries
|
|
97
|
+
([2c94f27](https://github.com/yozorajs/yozora/commit/2c94f27ffb645119a863f2ceee68a6b1b7285a67))
|
|
98
|
+
- ⬆️ upgrade devDependencies
|
|
99
|
+
([13059a9](https://github.com/yozorajs/yozora/commit/13059a924f3ae3b7fd69080ec9e82cde34a0f097))
|
|
107
100
|
|
|
108
101
|
## 2.0.4 (2022-11-02)
|
|
109
102
|
|
|
110
|
-
|
|
111
103
|
### Performance Improvements
|
|
112
104
|
|
|
113
|
-
|
|
114
|
-
|
|
115
|
-
|
|
105
|
+
- 🔖 publish v2.0.4
|
|
106
|
+
([c980b95](https://github.com/yozorajs/yozora/commit/c980b95254394dcacba0cbb4bea251350b09397c))
|
|
116
107
|
|
|
117
108
|
## 2.0.3 (2022-10-11)
|
|
118
109
|
|
|
119
|
-
|
|
120
110
|
### Performance Improvements
|
|
121
111
|
|
|
122
|
-
|
|
123
|
-
|
|
124
|
-
|
|
125
|
-
|
|
112
|
+
- 🔖 publish v2.0.3
|
|
113
|
+
([8cc8f95](https://github.com/yozorajs/yozora/commit/8cc8f95cfebc8d752bc3272cdd24965f540c130b))
|
|
114
|
+
- 🔧 update build script
|
|
115
|
+
([d934cad](https://github.com/yozorajs/yozora/commit/d934cad21a4ab763621ca6a72379cd4294caa605))
|
|
126
116
|
|
|
127
117
|
## 2.0.2 (2022-09-24)
|
|
128
118
|
|
|
129
|
-
|
|
130
119
|
### Performance Improvements
|
|
131
120
|
|
|
132
|
-
|
|
133
|
-
|
|
134
|
-
|
|
135
|
-
|
|
136
|
-
|
|
137
|
-
|
|
121
|
+
- 📝 fix invalid links
|
|
122
|
+
([eb304c9](https://github.com/yozorajs/yozora/commit/eb304c931b2e682cf156bbceae0a20655777381e))
|
|
123
|
+
- 🔖 publish v2.0.2
|
|
124
|
+
([6911295](https://github.com/yozorajs/yozora/commit/6911295e9eacfa29563fe93494704190e50625fd))
|
|
125
|
+
- 🔧 support node@16.x.x
|
|
126
|
+
([eda301f](https://github.com/yozorajs/yozora/commit/eda301fe1047e380de5be915ae730206a026f07b))
|
|
127
|
+
- 📝 update links
|
|
128
|
+
([4467fe6](https://github.com/yozorajs/yozora/commit/4467fe646e0a95fcc7206658189884f68872bc4e))
|
|
138
129
|
|
|
139
130
|
## 2.0.2-alpha.0 (2022-05-22)
|
|
140
131
|
|
|
141
|
-
|
|
142
132
|
### Performance Improvements
|
|
143
133
|
|
|
144
|
-
|
|
145
|
-
|
|
146
|
-
|
|
134
|
+
- 🔖 publish v2.0.2-alpha.0
|
|
135
|
+
([430eaab](https://github.com/yozorajs/yozora/commit/430eaabd83f4a1ee29398ee1798aa4511976c38f))
|
|
147
136
|
|
|
148
137
|
## 2.0.1 (2022-05-21)
|
|
149
138
|
|
|
150
|
-
|
|
151
139
|
### Bug Fixes
|
|
152
140
|
|
|
153
|
-
|
|
154
|
-
|
|
141
|
+
- 🐛 fix the trailing semicolon cannot be recognized
|
|
142
|
+
([e0184e4](https://github.com/yozorajs/yozora/commit/e0184e45d9c78bd4236218a2588c9373c85ef45d))
|
|
155
143
|
|
|
156
144
|
### Performance Improvements
|
|
157
145
|
|
|
158
|
-
|
|
159
|
-
|
|
160
|
-
|
|
161
|
-
|
|
146
|
+
- ✅ refactor test utils & rename createTester to createTokenizerTester
|
|
147
|
+
([7f2ce75](https://github.com/yozorajs/yozora/commit/7f2ce7571a336370d419aa01073bf8054783cfd9))
|
|
148
|
+
- 🔖 publish v2.0.1
|
|
149
|
+
([3aea330](https://github.com/yozorajs/yozora/commit/3aea33091e402bd6c7754d91d549e8d648475073))
|
|
162
150
|
|
|
163
151
|
# 2.0.0 (2022-01-15)
|
|
164
152
|
|
|
165
|
-
|
|
166
153
|
### Performance Improvements
|
|
167
154
|
|
|
168
|
-
|
|
169
|
-
|
|
170
|
-
|
|
171
|
-
|
|
155
|
+
- 💥 [breaking] rename 'NodePoint' and 'NodePosition'
|
|
156
|
+
([76692a2](https://github.com/yozorajs/yozora/commit/76692a211a82260bb81acffa5e9e9d41b569f673))
|
|
157
|
+
- 🔖 publish v2.0.0
|
|
158
|
+
([65e99d1](https://github.com/yozorajs/yozora/commit/65e99d1709fdd1c918465dce6b1e91de96bdab5e))
|
|
172
159
|
|
|
173
160
|
# 2.0.0-alpha.3 (2022-01-12)
|
|
174
161
|
|
|
175
|
-
|
|
176
162
|
### Features
|
|
177
163
|
|
|
178
|
-
|
|
179
|
-
|
|
180
|
-
|
|
164
|
+
- 💥 [breaking] remove 'I' prefix for AST node types
|
|
165
|
+
([cad4b0b](https://github.com/yozorajs/yozora/commit/cad4b0b5b8061ea495f6455ef1554bb3c8f223a0))
|
|
166
|
+
- 💥 [breaking] remove 'IYastNode' prefix for AST types
|
|
167
|
+
([35c8fd2](https://github.com/yozorajs/yozora/commit/35c8fd2a6c27fb0bdb4020ccda5974ad05748c46))
|
|
181
168
|
|
|
182
169
|
### Performance Improvements
|
|
183
170
|
|
|
184
|
-
|
|
185
|
-
|
|
186
|
-
|
|
171
|
+
- 🔖 publish v2.0.0-alpha.3
|
|
172
|
+
([9f274fc](https://github.com/yozorajs/yozora/commit/9f274fc7487a8c1dd213405d92508f9a7621f730))
|
|
187
173
|
|
|
188
174
|
# 2.0.0-alpha.2 (2022-01-09)
|
|
189
175
|
|
|
190
|
-
|
|
191
176
|
### Performance Improvements
|
|
192
177
|
|
|
193
|
-
|
|
194
|
-
|
|
195
|
-
|
|
196
|
-
|
|
178
|
+
- 🎨 refactor removePosition
|
|
179
|
+
([87a974f](https://github.com/yozorajs/yozora/commit/87a974fd744ae937d5778d3cdba4b345141bcaf6))
|
|
180
|
+
- 🔖 publish v2.0.0-alpha.2
|
|
181
|
+
([da59d85](https://github.com/yozorajs/yozora/commit/da59d85520455c59a117a35032ef1a035c10ea21))
|
|
197
182
|
|
|
198
183
|
# 2.0.0-alpha.1 (2022-01-08)
|
|
199
184
|
|
|
200
|
-
|
|
201
185
|
### Features
|
|
202
186
|
|
|
203
|
-
|
|
204
|
-
|
|
187
|
+
- :breaking: refactor parse-block hooks
|
|
188
|
+
([117104d](https://github.com/yozorajs/yozora/commit/117104de9668a0d160e9e008ee6305811e83aec6))
|
|
205
189
|
|
|
206
190
|
### Performance Improvements
|
|
207
191
|
|
|
208
|
-
|
|
209
|
-
|
|
210
|
-
|
|
211
|
-
|
|
212
|
-
|
|
192
|
+
- 🔖 publish v2.0.0-alpha.1
|
|
193
|
+
([86202e1](https://github.com/yozorajs/yozora/commit/86202e1d2b03ccfc2ab030517d9d314f7aee7666))
|
|
194
|
+
- 🎨 rename IHookContext to IThis
|
|
195
|
+
([04d5470](https://github.com/yozorajs/yozora/commit/04d5470c9949c4acfe6239289d34a8b5c6191e71))
|
|
196
|
+
- 📝 update READMEs
|
|
197
|
+
([320afeb](https://github.com/yozorajs/yozora/commit/320afebd6c500cbbce5fd65c1cd184bbd2224f25))
|
|
213
198
|
|
|
214
199
|
# 2.0.0-alpha.0 (2022-01-03)
|
|
215
200
|
|
|
216
|
-
|
|
217
201
|
### Features
|
|
218
202
|
|
|
219
|
-
|
|
220
|
-
|
|
203
|
+
- 💥 [breaking] rename types with 'I' prefix
|
|
204
|
+
([d37d862](https://github.com/yozorajs/yozora/commit/d37d862212831dbe75ac92a6dbdadf2fa81cce8c))
|
|
221
205
|
|
|
222
206
|
### Performance Improvements
|
|
223
207
|
|
|
224
|
-
|
|
225
|
-
|
|
226
|
-
|
|
227
|
-
|
|
228
|
-
|
|
229
|
-
|
|
208
|
+
- 💥 refactor block tokenizers
|
|
209
|
+
([50ea4da](https://github.com/yozorajs/yozora/commit/50ea4dac5be8d7dd3d6eccf7e0ce1cfe05fe704a))
|
|
210
|
+
- 🔖 publish v2.0.0-alpha.0
|
|
211
|
+
([0171501](https://github.com/yozorajs/yozora/commit/0171501339c49ffd02ed16a63447fa20a47a29a7))
|
|
212
|
+
- 🎨 rename parser hooks
|
|
213
|
+
([ef6cbc5](https://github.com/yozorajs/yozora/commit/ef6cbc51323e6ef9d4cd78f1c7194ae1f7819245))
|
|
214
|
+
- 🎨 set print width to 100
|
|
215
|
+
([657a621](https://github.com/yozorajs/yozora/commit/657a6211cad52d5f1b183e7bcd7ea227b2aa7724))
|
|
230
216
|
|
|
231
217
|
# 1.3.0 (2021-10-09)
|
|
232
218
|
|
|
233
|
-
|
|
234
219
|
### Performance Improvements
|
|
235
220
|
|
|
236
|
-
|
|
237
|
-
|
|
238
|
-
|
|
221
|
+
- 🔖 publish v1.3.0
|
|
222
|
+
([18c9b16](https://github.com/yozorajs/yozora/commit/18c9b167004ad97718b2f94f25139f80598cbf7a))
|
|
239
223
|
|
|
240
224
|
## 1.2.2 (2021-09-06)
|
|
241
225
|
|
|
242
|
-
|
|
243
226
|
### Performance Improvements
|
|
244
227
|
|
|
245
|
-
|
|
246
|
-
|
|
247
|
-
|
|
228
|
+
- 🔖 publish v1.2.2
|
|
229
|
+
([fb4b804](https://github.com/yozorajs/yozora/commit/fb4b804548592c09259aabcf9cc4dd96176bd024))
|
|
248
230
|
|
|
249
231
|
## 1.2.1 (2021-09-04)
|
|
250
232
|
|
|
251
|
-
|
|
252
233
|
### Performance Improvements
|
|
253
234
|
|
|
254
|
-
|
|
255
|
-
|
|
256
|
-
|
|
235
|
+
- 🔖 publish v1.2.1
|
|
236
|
+
([d98d07d](https://github.com/yozorajs/yozora/commit/d98d07d7c56dd9f6bb60149b2b0a4be2787e1046))
|
|
257
237
|
|
|
258
238
|
# 1.2.0 (2021-08-22)
|
|
259
239
|
|
|
260
|
-
|
|
261
240
|
### Performance Improvements
|
|
262
241
|
|
|
263
|
-
|
|
264
|
-
|
|
265
|
-
|
|
242
|
+
- 🔖 publish v1.2.0
|
|
243
|
+
([86da40e](https://github.com/yozorajs/yozora/commit/86da40e50d2fe9acace68695288e15e012e6cd0d))
|
|
266
244
|
|
|
267
245
|
# 1.2.0-alpha.1 (2021-08-16)
|
|
268
246
|
|
|
269
|
-
|
|
270
247
|
### Performance Improvements
|
|
271
248
|
|
|
272
|
-
|
|
273
|
-
|
|
274
|
-
|
|
249
|
+
- 🔖 publish v1.2.0-alpha.1
|
|
250
|
+
([ce3c173](https://github.com/yozorajs/yozora/commit/ce3c17330085f22404668a388f2bee6f57e6e958))
|
|
275
251
|
|
|
276
252
|
# 1.2.0-alpha.0 (2021-08-15)
|
|
277
253
|
|
|
278
|
-
|
|
279
254
|
### Performance Improvements
|
|
280
255
|
|
|
281
|
-
|
|
282
|
-
|
|
283
|
-
|
|
256
|
+
- 🔖 publish v1.2.0-alpha.0
|
|
257
|
+
([bd8ef45](https://github.com/yozorajs/yozora/commit/bd8ef455a22963834a70339f42178138aab28df6))
|
|
284
258
|
|
|
285
259
|
# 1.1.0 (2021-08-12)
|
|
286
260
|
|
|
287
|
-
|
|
288
261
|
### Performance Improvements
|
|
289
262
|
|
|
290
|
-
|
|
291
|
-
|
|
292
|
-
|
|
293
|
-
|
|
263
|
+
- 🔖 publish v1.1.0
|
|
264
|
+
([a8c7cff](https://github.com/yozorajs/yozora/commit/a8c7cffcbdc36930ab3c744450c8feb4395a9fac))
|
|
265
|
+
- 📝 update related references
|
|
266
|
+
([e2c8c7e](https://github.com/yozorajs/yozora/commit/e2c8c7e6ff8c5c1da27ca224d5c5d0eb4e5fbca7))
|
|
294
267
|
|
|
295
268
|
# 1.1.0-alpha.2 (2021-08-07)
|
|
296
269
|
|
|
297
|
-
|
|
298
270
|
### Performance Improvements
|
|
299
271
|
|
|
300
|
-
|
|
301
|
-
|
|
302
|
-
|
|
272
|
+
- 🔖 publish v1.1.0-alpha.2
|
|
273
|
+
([d88b8ec](https://github.com/yozorajs/yozora/commit/d88b8eca03118b9f2a8b00ac4106ea82e779bc94))
|
|
303
274
|
|
|
304
275
|
# 1.1.0-alpha.1 (2021-08-01)
|
|
305
276
|
|
|
306
|
-
|
|
307
277
|
### Performance Improvements
|
|
308
278
|
|
|
309
|
-
|
|
310
|
-
|
|
311
|
-
|
|
312
|
-
|
|
313
|
-
|
|
279
|
+
- 🚚 move EcmaImport types from @yozora/tokenizer-ecma-import to @yozora/ast
|
|
280
|
+
([cf14076](https://github.com/yozorajs/yozora/commit/cf140769fb45f479e2440a17d688bf86a5dc8903))
|
|
281
|
+
- 🔖 publish v1.1.0-alpha.1
|
|
282
|
+
([0d6aa91](https://github.com/yozorajs/yozora/commit/0d6aa91fb5a15b962b016496453dbfa7f1197126))
|
|
283
|
+
- 📝 update READMEs
|
|
284
|
+
([738d626](https://github.com/yozorajs/yozora/commit/738d626d76c535ea017812f674b43842ee073227))
|
|
314
285
|
|
|
315
286
|
# 1.1.0-alpha.0 (2021-07-31)
|
|
316
287
|
|
|
317
|
-
|
|
318
288
|
### Features
|
|
319
289
|
|
|
320
|
-
|
|
321
|
-
|
|
290
|
+
- ✨ implement new tokenizer '@yozora/tokenizer-ecma-import'
|
|
291
|
+
([7e4a1b1](https://github.com/yozorajs/yozora/commit/7e4a1b1b1a27fbaba1040ebd4643e5da08ec766b))
|
|
322
292
|
|
|
323
293
|
### Performance Improvements
|
|
324
294
|
|
|
325
|
-
|
|
295
|
+
- 🔖 publish v1.1.0-alpha.0
|
|
296
|
+
([082653e](https://github.com/yozorajs/yozora/commit/082653e421889513588492774503d8ddcc24b8f9))
|
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.1/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">
|
|
@@ -53,10 +53,9 @@
|
|
|
53
53
|
|
|
54
54
|
<!-- :end -->
|
|
55
55
|
|
|
56
|
-
[@yozora/tokenizer-ecma-import] parse ECMAScript `import` statement. It should
|
|
57
|
-
|
|
58
|
-
|
|
59
|
-
statements are supported:
|
|
56
|
+
[@yozora/tokenizer-ecma-import] parse ECMAScript `import` statement. It should be noted that only
|
|
57
|
+
single-line `import` statements are supported. in addition `* as` and type import are not support.
|
|
58
|
+
For example, the following `import` statements are supported:
|
|
60
59
|
|
|
61
60
|
```typescript
|
|
62
61
|
import '@yozora/parser'
|
|
@@ -81,28 +80,27 @@ See [documentation][docpage] for details.
|
|
|
81
80
|
|
|
82
81
|
## Install
|
|
83
82
|
|
|
84
|
-
|
|
83
|
+
- npm
|
|
85
84
|
|
|
86
85
|
```bash
|
|
87
86
|
npm install --save @yozora/tokenizer-ecma-import
|
|
88
87
|
```
|
|
89
88
|
|
|
90
|
-
|
|
89
|
+
- yarn
|
|
91
90
|
|
|
92
91
|
```bash
|
|
93
92
|
yarn add @yozora/tokenizer-ecma-import
|
|
94
93
|
```
|
|
95
94
|
|
|
96
|
-
|
|
97
95
|
## Usage
|
|
98
96
|
|
|
99
|
-
[@yozora/tokenizer-ecma-import][] has been integrated into [@yozora/parser][],
|
|
100
|
-
|
|
97
|
+
[@yozora/tokenizer-ecma-import][] has been integrated into [@yozora/parser][], so you can use
|
|
98
|
+
`YozoraParser` directly.
|
|
101
99
|
|
|
102
100
|
### Basic Usage
|
|
103
101
|
|
|
104
|
-
[@yozora/tokenizer-ecma-import][] cannot be used alone, it needs to be
|
|
105
|
-
|
|
102
|
+
[@yozora/tokenizer-ecma-import][] cannot be used alone, it needs to be registered in _YastParser_ as
|
|
103
|
+
a plugin-in before it can be used.
|
|
106
104
|
|
|
107
105
|
```typescript {4,9}
|
|
108
106
|
import { DefaultParser } from '@yozora/core-parser'
|
|
@@ -174,32 +172,30 @@ import Markdown from '@yozora/react-markdown'
|
|
|
174
172
|
|
|
175
173
|
### Options
|
|
176
174
|
|
|
177
|
-
Name
|
|
178
|
-
|
|
179
|
-
`name`
|
|
180
|
-
`priority`
|
|
175
|
+
| Name | Type | Required | Default |
|
|
176
|
+
| :--------: | :------: | :------: | :-------------------------------: |
|
|
177
|
+
| `name` | `string` | `false` | `"@yozora/tokenizer-ecma-import"` |
|
|
178
|
+
| `priority` | `number` | `false` | `TokenizerPriority.ATOMIC` |
|
|
181
179
|
|
|
182
|
-
|
|
183
|
-
|
|
184
|
-
|
|
180
|
+
- `name`: The unique name of the tokenizer, used to bind the token it generates, to determine the
|
|
181
|
+
tokenizer that should be called in each life cycle of the token in the entire _matching / parsing_
|
|
182
|
+
phase.
|
|
185
183
|
|
|
186
|
-
|
|
187
|
-
|
|
188
|
-
|
|
189
|
-
low-priority tokenizer.
|
|
184
|
+
- `priority`: Priority of the tokenizer, determine the order of processing, high priority priority
|
|
185
|
+
execution. interruptable. In addition, in the `match-block` stage, a high-priority tokenizer can
|
|
186
|
+
interrupt the matching process of a low-priority tokenizer.
|
|
190
187
|
|
|
191
188
|
<!-- :end -->
|
|
192
189
|
|
|
193
190
|
## Related
|
|
194
191
|
|
|
195
|
-
|
|
196
|
-
|
|
197
|
-
|
|
198
|
-
|
|
199
|
-
|
|
200
|
-
|
|
201
|
-
|
|
202
|
-
* [Documentation][docpage]
|
|
192
|
+
- [@yozora/ast][]
|
|
193
|
+
- [@yozora/parser][]
|
|
194
|
+
- [@yozora/parser-gfm][]
|
|
195
|
+
- [@yozora/parser-gfm-ex][]
|
|
196
|
+
- [Live Examples][live-examples]
|
|
197
|
+
- [EcmaImport| Yozora AST][node-type]
|
|
198
|
+
- [Documentation][docpage]
|
|
203
199
|
|
|
204
200
|
[node-type]: http://yozora.guanghechen.com/docs/package/ast#ecmaimport
|
|
205
201
|
|
|
@@ -207,143 +203,189 @@ Name | Type | Required | Default
|
|
|
207
203
|
|
|
208
204
|
[live-examples]: https://yozora.guanghechen.com/docs/package/tokenizer-ecma-import#live-examples
|
|
209
205
|
[docpage]: https://yozora.guanghechen.com/docs/package/tokenizer-ecma-import
|
|
210
|
-
[homepage]: https://github.com/yozorajs/yozora/tree/v2.3.
|
|
206
|
+
[homepage]: https://github.com/yozorajs/yozora/tree/v2.3.1/tokenizers/ecma-import#readme
|
|
211
207
|
[gfm-spec]: https://github.github.com/gfm
|
|
212
208
|
[mdast-homepage]: https://github.com/syntax-tree/mdast
|
|
213
|
-
|
|
214
|
-
[@yozora/ast]:
|
|
215
|
-
[@yozora/
|
|
216
|
-
[@yozora/
|
|
217
|
-
|
|
218
|
-
[@yozora/core-parser]:
|
|
219
|
-
[@yozora/core-tokenizer]:
|
|
220
|
-
|
|
221
|
-
[@yozora/
|
|
222
|
-
[@yozora/
|
|
223
|
-
|
|
224
|
-
[@yozora/parser
|
|
225
|
-
[@yozora/
|
|
226
|
-
[@yozora/
|
|
227
|
-
|
|
228
|
-
[@yozora/tokenizer
|
|
229
|
-
|
|
230
|
-
[@yozora/tokenizer-
|
|
231
|
-
|
|
232
|
-
[@yozora/tokenizer-
|
|
233
|
-
|
|
234
|
-
[@yozora/tokenizer-
|
|
235
|
-
|
|
236
|
-
[@yozora/tokenizer-
|
|
237
|
-
|
|
238
|
-
[@yozora/tokenizer-
|
|
239
|
-
[@yozora/tokenizer-
|
|
240
|
-
|
|
241
|
-
[@yozora/tokenizer-
|
|
242
|
-
[@yozora/tokenizer-
|
|
243
|
-
|
|
244
|
-
[@yozora/tokenizer-
|
|
245
|
-
|
|
246
|
-
[@yozora/tokenizer-
|
|
247
|
-
|
|
248
|
-
[@yozora/tokenizer-
|
|
249
|
-
|
|
250
|
-
[@yozora/tokenizer-
|
|
251
|
-
|
|
252
|
-
[@yozora/tokenizer-
|
|
253
|
-
|
|
254
|
-
[@yozora/tokenizer-
|
|
255
|
-
|
|
256
|
-
[@yozora/tokenizer-
|
|
257
|
-
|
|
258
|
-
[@yozora/
|
|
259
|
-
|
|
260
|
-
[@yozora/
|
|
261
|
-
|
|
262
|
-
[@yozora/
|
|
263
|
-
[@yozora/
|
|
264
|
-
|
|
265
|
-
[@yozora/
|
|
266
|
-
|
|
267
|
-
[@yozora/
|
|
268
|
-
|
|
269
|
-
[@yozora/
|
|
270
|
-
|
|
271
|
-
[@yozora/
|
|
272
|
-
[@yozora/
|
|
273
|
-
|
|
274
|
-
[@yozora/
|
|
275
|
-
[@yozora/
|
|
276
|
-
[@yozora/
|
|
277
|
-
|
|
278
|
-
[@yozora/
|
|
279
|
-
|
|
280
|
-
[@yozora/
|
|
281
|
-
|
|
282
|
-
[
|
|
283
|
-
|
|
284
|
-
[
|
|
285
|
-
|
|
286
|
-
[
|
|
287
|
-
|
|
288
|
-
[
|
|
289
|
-
[
|
|
290
|
-
[
|
|
291
|
-
|
|
292
|
-
[
|
|
293
|
-
[
|
|
294
|
-
|
|
295
|
-
[
|
|
296
|
-
|
|
297
|
-
[
|
|
298
|
-
|
|
299
|
-
[
|
|
300
|
-
[
|
|
301
|
-
[
|
|
302
|
-
|
|
303
|
-
[
|
|
304
|
-
|
|
305
|
-
[
|
|
306
|
-
[
|
|
307
|
-
[
|
|
308
|
-
|
|
309
|
-
[
|
|
310
|
-
|
|
311
|
-
[
|
|
312
|
-
[
|
|
313
|
-
|
|
314
|
-
[
|
|
315
|
-
[
|
|
316
|
-
[
|
|
317
|
-
[
|
|
318
|
-
|
|
319
|
-
[
|
|
320
|
-
[
|
|
321
|
-
[
|
|
322
|
-
[
|
|
323
|
-
[
|
|
324
|
-
[
|
|
325
|
-
[gfm
|
|
326
|
-
[gfm-
|
|
327
|
-
[
|
|
328
|
-
[
|
|
329
|
-
[
|
|
330
|
-
|
|
331
|
-
[
|
|
332
|
-
[
|
|
333
|
-
[
|
|
334
|
-
[
|
|
335
|
-
[
|
|
336
|
-
|
|
337
|
-
[
|
|
338
|
-
[
|
|
339
|
-
[
|
|
340
|
-
|
|
341
|
-
[
|
|
342
|
-
[
|
|
343
|
-
|
|
344
|
-
[
|
|
345
|
-
|
|
346
|
-
[
|
|
347
|
-
|
|
209
|
+
[@yozora/ast]: https://github.com/yozorajs/yozora/tree/v2.3.1/packages/ast#readme
|
|
210
|
+
[@yozora/ast-util]: https://github.com/yozorajs/yozora/tree/v2.3.1/packages/ast-util#readme
|
|
211
|
+
[@yozora/character]: https://github.com/yozorajs/yozora/tree/v2.3.1/packages/character#readme
|
|
212
|
+
[@yozora/eslint-config]:
|
|
213
|
+
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.1/packages/core-parser#readme
|
|
215
|
+
[@yozora/core-tokenizer]:
|
|
216
|
+
https://github.com/yozorajs/yozora/tree/v2.3.1/packages/core-tokenizer#readme
|
|
217
|
+
[@yozora/invariant]: https://github.com/yozorajs/yozora/tree/v2.3.1/packages/invariant#readme
|
|
218
|
+
[@yozora/jest-for-tokenizer]:
|
|
219
|
+
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.1/packages/parser#readme
|
|
221
|
+
[@yozora/parser-gfm]: https://github.com/yozorajs/yozora/tree/v2.3.1/packages/parser-gfm#readme
|
|
222
|
+
[@yozora/parser-gfm-ex]:
|
|
223
|
+
https://github.com/yozorajs/yozora/tree/v2.3.1/packages/parser-gfm-ex#readme
|
|
224
|
+
[@yozora/template-tokenizer]:
|
|
225
|
+
https://github.com/yozorajs/yozora/tree/release-2.x.x/packages/template-tokenizer#readme
|
|
226
|
+
[@yozora/tokenizer-admonition]:
|
|
227
|
+
https://github.com/yozorajs/yozora/tree/v2.3.1/tokenizers/admonition#readme
|
|
228
|
+
[@yozora/tokenizer-autolink]:
|
|
229
|
+
https://github.com/yozorajs/yozora/tree/v2.3.1/tokenizers/autolink#readme
|
|
230
|
+
[@yozora/tokenizer-autolink-extension]:
|
|
231
|
+
https://github.com/yozorajs/yozora/tree/v2.3.1/tokenizers/autolink-extension#readme
|
|
232
|
+
[@yozora/tokenizer-blockquote]:
|
|
233
|
+
https://github.com/yozorajs/yozora/tree/v2.3.1/tokenizers/blockquote#readme
|
|
234
|
+
[@yozora/tokenizer-break]: https://github.com/yozorajs/yozora/tree/v2.3.1/tokenizers/break#readme
|
|
235
|
+
[@yozora/tokenizer-definition]:
|
|
236
|
+
https://github.com/yozorajs/yozora/tree/v2.3.1/tokenizers/definition#readme
|
|
237
|
+
[@yozora/tokenizer-delete]: https://github.com/yozorajs/yozora/tree/v2.3.1/tokenizers/delete#readme
|
|
238
|
+
[@yozora/tokenizer-ecma-import]:
|
|
239
|
+
https://github.com/yozorajs/yozora/tree/v2.3.1/tokenizers/ecma-import#readme
|
|
240
|
+
[@yozora/tokenizer-emphasis]:
|
|
241
|
+
https://github.com/yozorajs/yozora/tree/v2.3.1/tokenizers/emphasis#readme
|
|
242
|
+
[@yozora/tokenizer-fenced-block]:
|
|
243
|
+
https://github.com/yozorajs/yozora/tree/v2.3.1/tokenizers/fenced-block#readme
|
|
244
|
+
[@yozora/tokenizer-fenced-code]:
|
|
245
|
+
https://github.com/yozorajs/yozora/tree/v2.3.1/tokenizers/fenced-code#readme
|
|
246
|
+
[@yozora/tokenizer-footnote]:
|
|
247
|
+
https://github.com/yozorajs/yozora/tree/v2.3.1/tokenizers/footnote#readme
|
|
248
|
+
[@yozora/tokenizer-footnote-definition]:
|
|
249
|
+
https://github.com/yozorajs/yozora/tree/v2.3.1/tokenizers/footnote-definition#readme
|
|
250
|
+
[@yozora/tokenizer-footnote-reference]:
|
|
251
|
+
https://github.com/yozorajs/yozora/tree/v2.3.1/tokenizers/footnote-reference#readme
|
|
252
|
+
[@yozora/tokenizer-heading]:
|
|
253
|
+
https://github.com/yozorajs/yozora/tree/v2.3.1/tokenizers/heading#readme
|
|
254
|
+
[@yozora/tokenizer-html-block]:
|
|
255
|
+
https://github.com/yozorajs/yozora/tree/v2.3.1/tokenizers/html-block#readme
|
|
256
|
+
[@yozora/tokenizer-html-inline]:
|
|
257
|
+
https://github.com/yozorajs/yozora/tree/v2.3.1/tokenizers/html-inline#readme
|
|
258
|
+
[@yozora/tokenizer-image]: https://github.com/yozorajs/yozora/tree/v2.3.1/tokenizers/image#readme
|
|
259
|
+
[@yozora/tokenizer-image-reference]:
|
|
260
|
+
https://github.com/yozorajs/yozora/tree/v2.3.1/tokenizers/image-reference#readme
|
|
261
|
+
[@yozora/tokenizer-indented-code]:
|
|
262
|
+
https://github.com/yozorajs/yozora/tree/v2.3.1/tokenizers/indented-code#readme
|
|
263
|
+
[@yozora/tokenizer-inline-code]:
|
|
264
|
+
https://github.com/yozorajs/yozora/tree/v2.3.1/tokenizers/inline-code#readme
|
|
265
|
+
[@yozora/tokenizer-inline-math]:
|
|
266
|
+
https://github.com/yozorajs/yozora/tree/v2.3.1/tokenizers/inline-math#readme
|
|
267
|
+
[@yozora/tokenizer-link]: https://github.com/yozorajs/yozora/tree/v2.3.1/tokenizers/link#readme
|
|
268
|
+
[@yozora/tokenizer-link-reference]:
|
|
269
|
+
https://github.com/yozorajs/yozora/tree/v2.3.1/tokenizers/link-reference#readme
|
|
270
|
+
[@yozora/tokenizer-list]: https://github.com/yozorajs/yozora/tree/v2.3.1/tokenizers/list#readme
|
|
271
|
+
[@yozora/tokenizer-math]: https://github.com/yozorajs/yozora/tree/v2.3.1/tokenizers/math#readme
|
|
272
|
+
[@yozora/tokenizer-paragraph]:
|
|
273
|
+
https://github.com/yozorajs/yozora/tree/v2.3.1/tokenizers/paragraph#readme
|
|
274
|
+
[@yozora/tokenizer-setext-heading]:
|
|
275
|
+
https://github.com/yozorajs/yozora/tree/v2.3.1/tokenizers/setext-heading#readme
|
|
276
|
+
[@yozora/tokenizer-table]: https://github.com/yozorajs/yozora/tree/v2.3.1/tokenizers/table#readme
|
|
277
|
+
[@yozora/tokenizer-text]: https://github.com/yozorajs/yozora/tree/v2.3.1/tokenizers/text#readme
|
|
278
|
+
[@yozora/tokenizer-thematic-break]:
|
|
279
|
+
https://github.com/yozorajs/yozora/tree/v2.3.1/tokenizers/thematic-break#readme
|
|
280
|
+
[@yozora/react-admonition]:
|
|
281
|
+
https://github.com/yozorajs/yozora-react/tree/main/packages/admonition#readme
|
|
282
|
+
[@yozora/react-blockquote]:
|
|
283
|
+
https://github.com/yozorajs/yozora-react/tree/main/packages/blockquote#readme
|
|
284
|
+
[@yozora/react-break]: https://github.com/yozorajs/yozora-react/tree/main/packages/break#readme
|
|
285
|
+
[@yozora/react-delete]: https://github.com/yozorajs/yozora-react/tree/main/packages/delete#readme
|
|
286
|
+
[@yozora/react-emphasis]:
|
|
287
|
+
https://github.com/yozorajs/yozora-react/tree/main/packages/emphasis#readme
|
|
288
|
+
[@yozora/react-code]: https://github.com/yozorajs/yozora-react/tree/main/packages/code#readme
|
|
289
|
+
[@yozora/react-code-live]:
|
|
290
|
+
https://github.com/yozorajs/yozora-react/tree/main/packages/code-live#readme
|
|
291
|
+
[@yozora/react-footnote-definitions]:
|
|
292
|
+
https://github.com/yozorajs/yozora-react/tree/main/packages/footnote-definitions#readme
|
|
293
|
+
[@yozora/react-footnote-reference]:
|
|
294
|
+
https://github.com/yozorajs/yozora-react/tree/main/packages/footnote-reference#readme
|
|
295
|
+
[@yozora/react-heading]: https://github.com/yozorajs/yozora-react/tree/main/packages/heading#readme
|
|
296
|
+
[@yozora/react-image]: https://github.com/yozorajs/yozora-react/tree/main/packages/image#readme
|
|
297
|
+
[@yozora/react-inline-code]:
|
|
298
|
+
https://github.com/yozorajs/yozora-react/tree/main/packages/inline-code#readme
|
|
299
|
+
[@yozora/react-inline-math]:
|
|
300
|
+
https://github.com/yozorajs/yozora-react/tree/main/packages/inline-math#readme
|
|
301
|
+
[@yozora/react-link]: https://github.com/yozorajs/yozora-react/tree/main/packages/link#readme
|
|
302
|
+
[@yozora/react-list]: https://github.com/yozorajs/yozora-react/tree/main/packages/list#readme
|
|
303
|
+
[@yozora/react-list-item]:
|
|
304
|
+
https://github.com/yozorajs/yozora-react/tree/main/packages/list-item#readme
|
|
305
|
+
[@yozora/react-markdown]:
|
|
306
|
+
https://github.com/yozorajs/yozora-react/tree/main/packages/markdown#readme
|
|
307
|
+
[@yozora/react-math]: https://github.com/yozorajs/yozora-react/tree/main/packages/math#readme
|
|
308
|
+
[@yozora/react-paragraph]:
|
|
309
|
+
https://github.com/yozorajs/yozora-react/tree/main/packages/paragraph#readme
|
|
310
|
+
[@yozora/react-strong]: https://github.com/yozorajs/yozora-react/tree/main/packages/strong#readme
|
|
311
|
+
[@yozora/react-table]: https://github.com/yozorajs/yozora-react/tree/main/packages/table#readme
|
|
312
|
+
[@yozora/react-text]: https://github.com/yozorajs/yozora-react/tree/main/packages/text#readme
|
|
313
|
+
[@yozora/react-thematic-break]:
|
|
314
|
+
https://github.com/yozorajs/yozora-react/tree/main/packages/thematic-break#readme
|
|
315
|
+
[doc-live-examples/gfm]: https://yozora.guanghechen.com/docs/example/gfm
|
|
316
|
+
[doc-@yozora/ast]: https://yozora.guanghechen.com/docs/package/ast
|
|
317
|
+
[doc-@yozora/ast-util]: https://yozora.guanghechen.com/docs/package/ast-util
|
|
318
|
+
[doc-@yozora/core-parser]: https://yozora.guanghechen.com/docs/package/core-parser
|
|
319
|
+
[doc-@yozora/core-tokenizer]: https://yozora.guanghechen.com/docs/package/core-tokenizer
|
|
320
|
+
[doc-@yozora/parser]: https://yozora.guanghechen.com/docs/package/parser
|
|
321
|
+
[doc-@yozora/parser-gfm]: https://yozora.guanghechen.com/docs/package/parser-gfm
|
|
322
|
+
[doc-@yozora/parser-gfm-ex]: https://yozora.guanghechen.com/docs/package/parser-gfm-ex
|
|
323
|
+
[doc-@yozora/tokenizer-admonition]: https://yozora.guanghechen.com/docs/package/tokenizer-admonition
|
|
324
|
+
[doc-@yozora/tokenizer-autolink]: https://yozora.guanghechen.com/docs/package/tokenizer-autolink
|
|
325
|
+
[doc-@yozora/tokenizer-autolink-extension]:
|
|
326
|
+
https://yozora.guanghechen.com/docs/package/tokenizer-autolink-extension
|
|
327
|
+
[doc-@yozora/tokenizer-blockquote]: https://yozora.guanghechen.com/docs/package/tokenizer-blockquote
|
|
328
|
+
[doc-@yozora/tokenizer-break]: https://yozora.guanghechen.com/docs/package/tokenizer-break
|
|
329
|
+
[doc-@yozora/tokenizer-delete]: https://yozora.guanghechen.com/docs/package/tokenizer-delete
|
|
330
|
+
[doc-@yozora/tokenizer-emphasis]: https://yozora.guanghechen.com/docs/package/tokenizer-emphasis
|
|
331
|
+
[doc-@yozora/tokenizer-fenced-code]:
|
|
332
|
+
https://yozora.guanghechen.com/docs/package/tokenizer-fenced-code
|
|
333
|
+
[doc-@yozora/tokenizer-heading]: https://yozora.guanghechen.com/docs/package/tokenizer-heading
|
|
334
|
+
[doc-@yozora/tokenizer-html-block]: https://yozora.guanghechen.com/docs/package/tokenizer-html-block
|
|
335
|
+
[doc-@yozora/tokenizer-html-inline]:
|
|
336
|
+
https://yozora.guanghechen.com/docs/package/tokenizer-html-inline
|
|
337
|
+
[doc-@yozora/tokenizer-image]: https://yozora.guanghechen.com/docs/package/tokenizer-image
|
|
338
|
+
[doc-@yozora/tokenizer-image-reference]:
|
|
339
|
+
https://yozora.guanghechen.com/docs/package/tokenizer-image-reference
|
|
340
|
+
[doc-@yozora/tokenizer-indented-code]:
|
|
341
|
+
https://yozora.guanghechen.com/docs/package/tokenizer-indented-code
|
|
342
|
+
[doc-@yozora/tokenizer-inline-code]:
|
|
343
|
+
https://yozora.guanghechen.com/docs/package/tokenizer-inline-code
|
|
344
|
+
[doc-@yozora/tokenizer-inline-math]:
|
|
345
|
+
https://yozora.guanghechen.com/docs/package/tokenizer-inline-math
|
|
346
|
+
[doc-@yozora/tokenizer-link]: https://yozora.guanghechen.com/docs/package/tokenizer-link
|
|
347
|
+
[doc-@yozora/tokenizer-definition]: https://yozora.guanghechen.com/docs/package/tokenizer-definition
|
|
348
|
+
[doc-@yozora/tokenizer-link-reference]:
|
|
349
|
+
https://yozora.guanghechen.com/docs/package/tokenizer-link-reference
|
|
350
|
+
[doc-@yozora/tokenizer-list]: https://yozora.guanghechen.com/docs/package/tokenizer-list
|
|
351
|
+
[doc-@yozora/tokenizer-math]: https://yozora.guanghechen.com/docs/package/tokenizer-math
|
|
352
|
+
[doc-@yozora/tokenizer-paragraph]: https://yozora.guanghechen.com/docs/package/tokenizer-paragraph
|
|
353
|
+
[doc-@yozora/tokenizer-setext-heading]:
|
|
354
|
+
https://yozora.guanghechen.com/docs/package/tokenizer-setext-heading
|
|
355
|
+
[doc-@yozora/tokenizer-table]: https://yozora.guanghechen.com/docs/package/tokenizer-table
|
|
356
|
+
[doc-@yozora/tokenizer-text]: https://yozora.guanghechen.com/docs/package/tokenizer-text
|
|
357
|
+
[doc-@yozora/tokenizer-thematic-break]:
|
|
358
|
+
https://yozora.guanghechen.com/docs/package/tokenizer-thematic-break
|
|
359
|
+
[doc-@yozora/jest-for-tokenizer]: https://yozora.guanghechen.com/docs/package/jest-for-tokenizer
|
|
360
|
+
[doc-@yozora/parser-gfm]: https://yozora.guanghechen.com/docs/package/parser-gfm
|
|
361
|
+
[gfm-atx-heading]: https://github.github.com/gfm/#atx-heading
|
|
362
|
+
[gfm-autolink]: https://github.github.com/gfm/#autolinks
|
|
363
|
+
[gfm-autolink-extension]: https://github.github.com/gfm/#autolinks-extension-
|
|
364
|
+
[gfm-blockquote]: https://github.github.com/gfm/#block-quotes
|
|
365
|
+
[gfm-bullet-list]: https://github.github.com/gfm/#bullet-list
|
|
366
|
+
[gfm-delete]: https://github.github.com/gfm/#strikethrough-extension-
|
|
367
|
+
[gfm-emphasis]: https://github.github.com/gfm/#can-open-emphasis
|
|
368
|
+
[gfm-fenced-code]: https://github.github.com/gfm/#fenced-code-block
|
|
369
|
+
[gfm-hard-line-break]: https://github.github.com/gfm/#hard-line-break
|
|
370
|
+
[gfm-html-block]: https://github.github.com/gfm/#html-block
|
|
371
|
+
[gfm-html-inline]: https://github.github.com/gfm/#raw-html
|
|
372
|
+
[gfm-image]: https://github.github.com/gfm/#images
|
|
373
|
+
[gfm-image-reference]: https://github.github.com/gfm/#example-590
|
|
374
|
+
[gfm-indented-code]: https://github.github.com/gfm/#indented-code-block
|
|
375
|
+
[gfm-inline-code]: https://github.github.com/gfm/#code-span
|
|
376
|
+
[gfm-link]: https://github.github.com/gfm/#inline-link
|
|
377
|
+
[gfm-definition]: https://github.github.com/gfm/#link-reference-definition
|
|
378
|
+
[gfm-link-reference]: https://github.github.com/gfm/#reference-link
|
|
379
|
+
[gfm-list]: https://github.github.com/gfm/#lists
|
|
380
|
+
[gfm-list-item]: https://github.github.com/gfm/#list-items
|
|
381
|
+
[gfm-list-task-item]: https://github.github.com/gfm/#task-list-items-extension-
|
|
382
|
+
[gfm-paragraph]: https://github.github.com/gfm/#paragraph
|
|
383
|
+
[gfm-setext-heading]: https://github.github.com/gfm/#setext-heading
|
|
384
|
+
[gfm-soft-line-break]: https://github.github.com/gfm/#soft-line-breaks
|
|
385
|
+
[gfm-strong]: https://github.github.com/gfm/#can-open-strong-emphasis
|
|
386
|
+
[gfm-tab]: https://github.github.com/gfm/#tabs
|
|
387
|
+
[gfm-table]: https://github.github.com/gfm/#table
|
|
388
|
+
[gfm-text]: https://github.github.com/gfm/#soft-line-breaks
|
|
389
|
+
[gfm-thematic-break]: https://github.github.com/gfm/#thematic-break
|
|
348
390
|
|
|
349
391
|
<!-- :end -->
|
package/lib/cjs/index.cjs
CHANGED
package/lib/esm/index.mjs
CHANGED
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.1",
|
|
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.
|
|
13
|
+
"homepage": "https://github.com/yozorajs/yozora/tree/v2.3.0/tokenizers/ecma-import",
|
|
14
14
|
"type": "module",
|
|
15
15
|
"exports": {
|
|
16
16
|
"types": "./lib/types/index.d.ts",
|
|
@@ -33,15 +33,10 @@
|
|
|
33
33
|
"LICENSE",
|
|
34
34
|
"README.md"
|
|
35
35
|
],
|
|
36
|
-
"scripts": {
|
|
37
|
-
"build": "rimraf lib/ && cross-env NODE_ENV=production rollup -c ../../rollup.config.mjs",
|
|
38
|
-
"prepublishOnly": "cross-env ROLLUP_SHOULD_SOURCEMAP=false yarn build",
|
|
39
|
-
"test": "node --experimental-vm-modules ../../node_modules/.bin/jest --config ../../jest.config.mjs --rootDir ."
|
|
40
|
-
},
|
|
41
36
|
"dependencies": {
|
|
42
|
-
"@yozora/ast": "^2.3.
|
|
43
|
-
"@yozora/character": "^2.3.
|
|
44
|
-
"@yozora/core-tokenizer": "^2.3.
|
|
37
|
+
"@yozora/ast": "^2.3.1",
|
|
38
|
+
"@yozora/character": "^2.3.1",
|
|
39
|
+
"@yozora/core-tokenizer": "^2.3.1"
|
|
45
40
|
},
|
|
46
|
-
"gitHead": "
|
|
41
|
+
"gitHead": "eaea7c3649e7e7886a1c3a85125b8c6268fdab20"
|
|
47
42
|
}
|