@yozora/tokenizer-ecma-import 2.2.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 +128 -146
- 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,314 +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.2.0](https://github.com/yozorajs/yozora/compare/v2.1.5...v2.2.0) (2023-08-21)
|
|
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
|
-
|
|
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))
|
|
12
13
|
|
|
14
|
+
# Change Log
|
|
13
15
|
|
|
16
|
+
All notable changes to this project will be documented in this file. See
|
|
17
|
+
[Conventional Commits](https://conventionalcommits.org) for commit guidelines.
|
|
14
18
|
|
|
19
|
+
# [2.3.0](https://github.com/yozorajs/yozora/compare/v2.2.0...v2.3.0) (2023-09-18)
|
|
15
20
|
|
|
21
|
+
### Performance Improvements
|
|
16
22
|
|
|
17
|
-
|
|
23
|
+
- :fire: remove 'tsconfig.json's in sub packages
|
|
24
|
+
([1e6a8b3](https://github.com/yozorajs/yozora/commit/1e6a8b39b1f4f4b84f01829b8956b1ef664e8743))
|
|
18
25
|
|
|
26
|
+
# [2.2.0](https://github.com/yozorajs/yozora/compare/v2.1.5...v2.2.0) (2023-08-21)
|
|
19
27
|
|
|
20
28
|
### Performance Improvements
|
|
21
29
|
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
30
|
+
- ⬆️ upgrade devDependencies
|
|
31
|
+
([bc46ce2](https://github.com/yozorajs/yozora/commit/bc46ce20cacb2eb46147d6129e42fe1390ee19fb))
|
|
25
32
|
|
|
33
|
+
## [2.1.5](https://github.com/yozorajs/yozora/compare/v2.1.4...v2.1.5) (2023-05-13)
|
|
26
34
|
|
|
35
|
+
### Performance Improvements
|
|
27
36
|
|
|
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))
|
|
28
41
|
|
|
29
42
|
## 2.1.4 (2023-04-02)
|
|
30
43
|
|
|
31
|
-
|
|
32
44
|
### Performance Improvements
|
|
33
45
|
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
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))
|
|
38
50
|
|
|
39
51
|
## 2.1.3 (2023-03-23)
|
|
40
52
|
|
|
41
|
-
|
|
42
53
|
### Performance Improvements
|
|
43
54
|
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
|
|
55
|
+
- 🔖 publish v2.1.3
|
|
56
|
+
([9abaaff](https://github.com/yozorajs/yozora/commit/9abaaff74a12d0bae0f645813241ff947a0d828c))
|
|
47
57
|
|
|
48
58
|
## 2.1.2 (2023-03-11)
|
|
49
59
|
|
|
50
|
-
|
|
51
60
|
### Performance Improvements
|
|
52
61
|
|
|
53
|
-
|
|
54
|
-
|
|
55
|
-
|
|
62
|
+
- 🔖 publish v2.1.2
|
|
63
|
+
([992baca](https://github.com/yozorajs/yozora/commit/992bacafd173e7788e99fed34ce8b45f6ed24cfe))
|
|
56
64
|
|
|
57
65
|
## 2.1.1 (2023-03-10)
|
|
58
66
|
|
|
59
|
-
|
|
60
67
|
### Performance Improvements
|
|
61
68
|
|
|
62
|
-
|
|
63
|
-
|
|
64
|
-
|
|
65
|
-
|
|
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))
|
|
66
73
|
|
|
67
74
|
## 2.0.6 (2023-03-05)
|
|
68
75
|
|
|
69
|
-
|
|
70
76
|
### Performance Improvements
|
|
71
77
|
|
|
72
|
-
|
|
73
|
-
|
|
74
|
-
|
|
78
|
+
- 🔖 publish v2.0.6
|
|
79
|
+
([a263c53](https://github.com/yozorajs/yozora/commit/a263c5338103824347bac74d437051e9fbb6d791))
|
|
75
80
|
|
|
76
81
|
## 2.0.5 (2023-01-09)
|
|
77
82
|
|
|
78
|
-
|
|
79
83
|
### Performance Improvements
|
|
80
84
|
|
|
81
|
-
|
|
82
|
-
|
|
83
|
-
|
|
85
|
+
- 🔖 publish v2.0.5
|
|
86
|
+
([7ba3bab](https://github.com/yozorajs/yozora/commit/7ba3bab49fe65cf2f57082c0503af73da9356cf0))
|
|
84
87
|
|
|
85
88
|
## 2.0.5-alpha.0 (2023-01-05)
|
|
86
89
|
|
|
87
|
-
|
|
88
90
|
### Performance Improvements
|
|
89
91
|
|
|
90
|
-
|
|
91
|
-
|
|
92
|
-
|
|
93
|
-
|
|
94
|
-
|
|
95
|
-
|
|
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))
|
|
96
100
|
|
|
97
101
|
## 2.0.4 (2022-11-02)
|
|
98
102
|
|
|
99
|
-
|
|
100
103
|
### Performance Improvements
|
|
101
104
|
|
|
102
|
-
|
|
103
|
-
|
|
104
|
-
|
|
105
|
+
- 🔖 publish v2.0.4
|
|
106
|
+
([c980b95](https://github.com/yozorajs/yozora/commit/c980b95254394dcacba0cbb4bea251350b09397c))
|
|
105
107
|
|
|
106
108
|
## 2.0.3 (2022-10-11)
|
|
107
109
|
|
|
108
|
-
|
|
109
110
|
### Performance Improvements
|
|
110
111
|
|
|
111
|
-
|
|
112
|
-
|
|
113
|
-
|
|
114
|
-
|
|
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))
|
|
115
116
|
|
|
116
117
|
## 2.0.2 (2022-09-24)
|
|
117
118
|
|
|
118
|
-
|
|
119
119
|
### Performance Improvements
|
|
120
120
|
|
|
121
|
-
|
|
122
|
-
|
|
123
|
-
|
|
124
|
-
|
|
125
|
-
|
|
126
|
-
|
|
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))
|
|
127
129
|
|
|
128
130
|
## 2.0.2-alpha.0 (2022-05-22)
|
|
129
131
|
|
|
130
|
-
|
|
131
132
|
### Performance Improvements
|
|
132
133
|
|
|
133
|
-
|
|
134
|
-
|
|
135
|
-
|
|
134
|
+
- 🔖 publish v2.0.2-alpha.0
|
|
135
|
+
([430eaab](https://github.com/yozorajs/yozora/commit/430eaabd83f4a1ee29398ee1798aa4511976c38f))
|
|
136
136
|
|
|
137
137
|
## 2.0.1 (2022-05-21)
|
|
138
138
|
|
|
139
|
-
|
|
140
139
|
### Bug Fixes
|
|
141
140
|
|
|
142
|
-
|
|
143
|
-
|
|
141
|
+
- 🐛 fix the trailing semicolon cannot be recognized
|
|
142
|
+
([e0184e4](https://github.com/yozorajs/yozora/commit/e0184e45d9c78bd4236218a2588c9373c85ef45d))
|
|
144
143
|
|
|
145
144
|
### Performance Improvements
|
|
146
145
|
|
|
147
|
-
|
|
148
|
-
|
|
149
|
-
|
|
150
|
-
|
|
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))
|
|
151
150
|
|
|
152
151
|
# 2.0.0 (2022-01-15)
|
|
153
152
|
|
|
154
|
-
|
|
155
153
|
### Performance Improvements
|
|
156
154
|
|
|
157
|
-
|
|
158
|
-
|
|
159
|
-
|
|
160
|
-
|
|
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))
|
|
161
159
|
|
|
162
160
|
# 2.0.0-alpha.3 (2022-01-12)
|
|
163
161
|
|
|
164
|
-
|
|
165
162
|
### Features
|
|
166
163
|
|
|
167
|
-
|
|
168
|
-
|
|
169
|
-
|
|
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))
|
|
170
168
|
|
|
171
169
|
### Performance Improvements
|
|
172
170
|
|
|
173
|
-
|
|
174
|
-
|
|
175
|
-
|
|
171
|
+
- 🔖 publish v2.0.0-alpha.3
|
|
172
|
+
([9f274fc](https://github.com/yozorajs/yozora/commit/9f274fc7487a8c1dd213405d92508f9a7621f730))
|
|
176
173
|
|
|
177
174
|
# 2.0.0-alpha.2 (2022-01-09)
|
|
178
175
|
|
|
179
|
-
|
|
180
176
|
### Performance Improvements
|
|
181
177
|
|
|
182
|
-
|
|
183
|
-
|
|
184
|
-
|
|
185
|
-
|
|
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))
|
|
186
182
|
|
|
187
183
|
# 2.0.0-alpha.1 (2022-01-08)
|
|
188
184
|
|
|
189
|
-
|
|
190
185
|
### Features
|
|
191
186
|
|
|
192
|
-
|
|
193
|
-
|
|
187
|
+
- :breaking: refactor parse-block hooks
|
|
188
|
+
([117104d](https://github.com/yozorajs/yozora/commit/117104de9668a0d160e9e008ee6305811e83aec6))
|
|
194
189
|
|
|
195
190
|
### Performance Improvements
|
|
196
191
|
|
|
197
|
-
|
|
198
|
-
|
|
199
|
-
|
|
200
|
-
|
|
201
|
-
|
|
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))
|
|
202
198
|
|
|
203
199
|
# 2.0.0-alpha.0 (2022-01-03)
|
|
204
200
|
|
|
205
|
-
|
|
206
201
|
### Features
|
|
207
202
|
|
|
208
|
-
|
|
209
|
-
|
|
203
|
+
- 💥 [breaking] rename types with 'I' prefix
|
|
204
|
+
([d37d862](https://github.com/yozorajs/yozora/commit/d37d862212831dbe75ac92a6dbdadf2fa81cce8c))
|
|
210
205
|
|
|
211
206
|
### Performance Improvements
|
|
212
207
|
|
|
213
|
-
|
|
214
|
-
|
|
215
|
-
|
|
216
|
-
|
|
217
|
-
|
|
218
|
-
|
|
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))
|
|
219
216
|
|
|
220
217
|
# 1.3.0 (2021-10-09)
|
|
221
218
|
|
|
222
|
-
|
|
223
219
|
### Performance Improvements
|
|
224
220
|
|
|
225
|
-
|
|
226
|
-
|
|
227
|
-
|
|
221
|
+
- 🔖 publish v1.3.0
|
|
222
|
+
([18c9b16](https://github.com/yozorajs/yozora/commit/18c9b167004ad97718b2f94f25139f80598cbf7a))
|
|
228
223
|
|
|
229
224
|
## 1.2.2 (2021-09-06)
|
|
230
225
|
|
|
231
|
-
|
|
232
226
|
### Performance Improvements
|
|
233
227
|
|
|
234
|
-
|
|
235
|
-
|
|
236
|
-
|
|
228
|
+
- 🔖 publish v1.2.2
|
|
229
|
+
([fb4b804](https://github.com/yozorajs/yozora/commit/fb4b804548592c09259aabcf9cc4dd96176bd024))
|
|
237
230
|
|
|
238
231
|
## 1.2.1 (2021-09-04)
|
|
239
232
|
|
|
240
|
-
|
|
241
233
|
### Performance Improvements
|
|
242
234
|
|
|
243
|
-
|
|
244
|
-
|
|
245
|
-
|
|
235
|
+
- 🔖 publish v1.2.1
|
|
236
|
+
([d98d07d](https://github.com/yozorajs/yozora/commit/d98d07d7c56dd9f6bb60149b2b0a4be2787e1046))
|
|
246
237
|
|
|
247
238
|
# 1.2.0 (2021-08-22)
|
|
248
239
|
|
|
249
|
-
|
|
250
240
|
### Performance Improvements
|
|
251
241
|
|
|
252
|
-
|
|
253
|
-
|
|
254
|
-
|
|
242
|
+
- 🔖 publish v1.2.0
|
|
243
|
+
([86da40e](https://github.com/yozorajs/yozora/commit/86da40e50d2fe9acace68695288e15e012e6cd0d))
|
|
255
244
|
|
|
256
245
|
# 1.2.0-alpha.1 (2021-08-16)
|
|
257
246
|
|
|
258
|
-
|
|
259
247
|
### Performance Improvements
|
|
260
248
|
|
|
261
|
-
|
|
262
|
-
|
|
263
|
-
|
|
249
|
+
- 🔖 publish v1.2.0-alpha.1
|
|
250
|
+
([ce3c173](https://github.com/yozorajs/yozora/commit/ce3c17330085f22404668a388f2bee6f57e6e958))
|
|
264
251
|
|
|
265
252
|
# 1.2.0-alpha.0 (2021-08-15)
|
|
266
253
|
|
|
267
|
-
|
|
268
254
|
### Performance Improvements
|
|
269
255
|
|
|
270
|
-
|
|
271
|
-
|
|
272
|
-
|
|
256
|
+
- 🔖 publish v1.2.0-alpha.0
|
|
257
|
+
([bd8ef45](https://github.com/yozorajs/yozora/commit/bd8ef455a22963834a70339f42178138aab28df6))
|
|
273
258
|
|
|
274
259
|
# 1.1.0 (2021-08-12)
|
|
275
260
|
|
|
276
|
-
|
|
277
261
|
### Performance Improvements
|
|
278
262
|
|
|
279
|
-
|
|
280
|
-
|
|
281
|
-
|
|
282
|
-
|
|
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))
|
|
283
267
|
|
|
284
268
|
# 1.1.0-alpha.2 (2021-08-07)
|
|
285
269
|
|
|
286
|
-
|
|
287
270
|
### Performance Improvements
|
|
288
271
|
|
|
289
|
-
|
|
290
|
-
|
|
291
|
-
|
|
272
|
+
- 🔖 publish v1.1.0-alpha.2
|
|
273
|
+
([d88b8ec](https://github.com/yozorajs/yozora/commit/d88b8eca03118b9f2a8b00ac4106ea82e779bc94))
|
|
292
274
|
|
|
293
275
|
# 1.1.0-alpha.1 (2021-08-01)
|
|
294
276
|
|
|
295
|
-
|
|
296
277
|
### Performance Improvements
|
|
297
278
|
|
|
298
|
-
|
|
299
|
-
|
|
300
|
-
|
|
301
|
-
|
|
302
|
-
|
|
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))
|
|
303
285
|
|
|
304
286
|
# 1.1.0-alpha.0 (2021-07-31)
|
|
305
287
|
|
|
306
|
-
|
|
307
288
|
### Features
|
|
308
289
|
|
|
309
|
-
|
|
310
|
-
|
|
290
|
+
- ✨ implement new tokenizer '@yozora/tokenizer-ecma-import'
|
|
291
|
+
([7e4a1b1](https://github.com/yozorajs/yozora/commit/7e4a1b1b1a27fbaba1040ebd4643e5da08ec766b))
|
|
311
292
|
|
|
312
293
|
### Performance Improvements
|
|
313
294
|
|
|
314
|
-
|
|
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.
|
|
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.
|
|
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
|
+
"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.
|
|
43
|
-
"@yozora/character": "^2.
|
|
44
|
-
"@yozora/core-tokenizer": "^2.
|
|
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
|
}
|