@yozora/tokenizer-ecma-import 2.3.0 → 2.3.2
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 +132 -152
- 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,305 @@
|
|
|
1
1
|
# Change Log
|
|
2
2
|
|
|
3
|
-
All notable changes to this project will be documented in this file.
|
|
4
|
-
|
|
3
|
+
All notable changes to this project will be documented in this file. See
|
|
4
|
+
[Conventional Commits](https://conventionalcommits.org) for commit guidelines.
|
|
5
5
|
|
|
6
|
-
|
|
6
|
+
## [2.3.2](https://github.com/yozorajs/yozora/compare/v2.3.1...v2.3.2) (2024-06-17)
|
|
7
7
|
|
|
8
|
+
**Note:** Version bump only for package @yozora/tokenizer-ecma-import
|
|
8
9
|
|
|
9
|
-
|
|
10
|
+
# Change Log
|
|
10
11
|
|
|
11
|
-
|
|
12
|
+
All notable changes to this project will be documented in this file. See
|
|
13
|
+
[Conventional Commits](https://conventionalcommits.org) for commit guidelines.
|
|
12
14
|
|
|
15
|
+
## [2.3.1](https://github.com/yozorajs/yozora/compare/v2.3.0...v2.3.1) (2024-01-30)
|
|
13
16
|
|
|
17
|
+
### Performance Improvements
|
|
14
18
|
|
|
19
|
+
- 🔧 use nx to simplify running commands on the monorepo
|
|
20
|
+
([#25](https://github.com/yozorajs/yozora/issues/25))
|
|
21
|
+
([377a126](https://github.com/yozorajs/yozora/commit/377a126f740e51cfd34bd8acc121e3e0424fc2aa))
|
|
15
22
|
|
|
23
|
+
# Change Log
|
|
16
24
|
|
|
17
|
-
|
|
25
|
+
All notable changes to this project will be documented in this file. See
|
|
26
|
+
[Conventional Commits](https://conventionalcommits.org) for commit guidelines.
|
|
18
27
|
|
|
28
|
+
# [2.3.0](https://github.com/yozorajs/yozora/compare/v2.2.0...v2.3.0) (2023-09-18)
|
|
19
29
|
|
|
20
30
|
### Performance Improvements
|
|
21
31
|
|
|
22
|
-
|
|
23
|
-
|
|
32
|
+
- :fire: remove 'tsconfig.json's in sub packages
|
|
33
|
+
([1e6a8b3](https://github.com/yozorajs/yozora/commit/1e6a8b39b1f4f4b84f01829b8956b1ef664e8743))
|
|
24
34
|
|
|
35
|
+
# [2.2.0](https://github.com/yozorajs/yozora/compare/v2.1.5...v2.2.0) (2023-08-21)
|
|
25
36
|
|
|
37
|
+
### Performance Improvements
|
|
26
38
|
|
|
39
|
+
- ⬆️ upgrade devDependencies
|
|
40
|
+
([bc46ce2](https://github.com/yozorajs/yozora/commit/bc46ce20cacb2eb46147d6129e42fe1390ee19fb))
|
|
27
41
|
|
|
28
42
|
## [2.1.5](https://github.com/yozorajs/yozora/compare/v2.1.4...v2.1.5) (2023-05-13)
|
|
29
43
|
|
|
30
|
-
|
|
31
44
|
### Performance Improvements
|
|
32
45
|
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
46
|
+
- 🔧 don't sourcemaps into tarball
|
|
47
|
+
([fc37aa8](https://github.com/yozorajs/yozora/commit/fc37aa8847ac4ad78ecb31f198e1cd6a85e91bcf))
|
|
48
|
+
- 📝 update CHANGELOGs
|
|
49
|
+
([c51b283](https://github.com/yozorajs/yozora/commit/c51b283874f8a562b6ed9fad46a0b7d578f6eb42))
|
|
39
50
|
|
|
40
51
|
## 2.1.4 (2023-04-02)
|
|
41
52
|
|
|
42
|
-
|
|
43
53
|
### Performance Improvements
|
|
44
54
|
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
|
|
55
|
+
- 🔧 don't pack src/ folder into tarball
|
|
56
|
+
([c9fac38](https://github.com/yozorajs/yozora/commit/c9fac382e9a7a8d6454452b0c4d5b57dac16455f))
|
|
57
|
+
- 🔖 publish v2.1.4
|
|
58
|
+
([aa464ed](https://github.com/yozorajs/yozora/commit/aa464ed1e3cd84892773a833910cfc53a556bf5f))
|
|
49
59
|
|
|
50
60
|
## 2.1.3 (2023-03-23)
|
|
51
61
|
|
|
52
|
-
|
|
53
62
|
### Performance Improvements
|
|
54
63
|
|
|
55
|
-
|
|
56
|
-
|
|
57
|
-
|
|
64
|
+
- 🔖 publish v2.1.3
|
|
65
|
+
([9abaaff](https://github.com/yozorajs/yozora/commit/9abaaff74a12d0bae0f645813241ff947a0d828c))
|
|
58
66
|
|
|
59
67
|
## 2.1.2 (2023-03-11)
|
|
60
68
|
|
|
61
|
-
|
|
62
69
|
### Performance Improvements
|
|
63
70
|
|
|
64
|
-
|
|
65
|
-
|
|
66
|
-
|
|
71
|
+
- 🔖 publish v2.1.2
|
|
72
|
+
([992baca](https://github.com/yozorajs/yozora/commit/992bacafd173e7788e99fed34ce8b45f6ed24cfe))
|
|
67
73
|
|
|
68
74
|
## 2.1.1 (2023-03-10)
|
|
69
75
|
|
|
70
|
-
|
|
71
76
|
### Performance Improvements
|
|
72
77
|
|
|
73
|
-
|
|
74
|
-
|
|
75
|
-
|
|
76
|
-
|
|
78
|
+
- 💥 prefer shorter types
|
|
79
|
+
([b93307f](https://github.com/yozorajs/yozora/commit/b93307f3c2372598dd8ca4fcbf04e80ce58d903d))
|
|
80
|
+
- 🔖 publish v2.1.1
|
|
81
|
+
([257a36d](https://github.com/yozorajs/yozora/commit/257a36d8dc079d4ac226405c155b238e7099bcea))
|
|
77
82
|
|
|
78
83
|
## 2.0.6 (2023-03-05)
|
|
79
84
|
|
|
80
|
-
|
|
81
85
|
### Performance Improvements
|
|
82
86
|
|
|
83
|
-
|
|
84
|
-
|
|
85
|
-
|
|
87
|
+
- 🔖 publish v2.0.6
|
|
88
|
+
([a263c53](https://github.com/yozorajs/yozora/commit/a263c5338103824347bac74d437051e9fbb6d791))
|
|
86
89
|
|
|
87
90
|
## 2.0.5 (2023-01-09)
|
|
88
91
|
|
|
89
|
-
|
|
90
92
|
### Performance Improvements
|
|
91
93
|
|
|
92
|
-
|
|
93
|
-
|
|
94
|
-
|
|
94
|
+
- 🔖 publish v2.0.5
|
|
95
|
+
([7ba3bab](https://github.com/yozorajs/yozora/commit/7ba3bab49fe65cf2f57082c0503af73da9356cf0))
|
|
95
96
|
|
|
96
97
|
## 2.0.5-alpha.0 (2023-01-05)
|
|
97
98
|
|
|
98
|
-
|
|
99
99
|
### Performance Improvements
|
|
100
100
|
|
|
101
|
-
|
|
102
|
-
|
|
103
|
-
|
|
104
|
-
|
|
105
|
-
|
|
106
|
-
|
|
101
|
+
- 🔧 fix test configuration
|
|
102
|
+
([f50b2d7](https://github.com/yozorajs/yozora/commit/f50b2d7600139e0ea54e042b025365d81f4518b5))
|
|
103
|
+
- 🔖 publish v2.0.5-alpha.0
|
|
104
|
+
([8bf941f](https://github.com/yozorajs/yozora/commit/8bf941fe4ef82947165b0f3cc123cd493665e13b))
|
|
105
|
+
- 🔧 update package entries
|
|
106
|
+
([2c94f27](https://github.com/yozorajs/yozora/commit/2c94f27ffb645119a863f2ceee68a6b1b7285a67))
|
|
107
|
+
- ⬆️ upgrade devDependencies
|
|
108
|
+
([13059a9](https://github.com/yozorajs/yozora/commit/13059a924f3ae3b7fd69080ec9e82cde34a0f097))
|
|
107
109
|
|
|
108
110
|
## 2.0.4 (2022-11-02)
|
|
109
111
|
|
|
110
|
-
|
|
111
112
|
### Performance Improvements
|
|
112
113
|
|
|
113
|
-
|
|
114
|
-
|
|
115
|
-
|
|
114
|
+
- 🔖 publish v2.0.4
|
|
115
|
+
([c980b95](https://github.com/yozorajs/yozora/commit/c980b95254394dcacba0cbb4bea251350b09397c))
|
|
116
116
|
|
|
117
117
|
## 2.0.3 (2022-10-11)
|
|
118
118
|
|
|
119
|
-
|
|
120
119
|
### Performance Improvements
|
|
121
120
|
|
|
122
|
-
|
|
123
|
-
|
|
124
|
-
|
|
125
|
-
|
|
121
|
+
- 🔖 publish v2.0.3
|
|
122
|
+
([8cc8f95](https://github.com/yozorajs/yozora/commit/8cc8f95cfebc8d752bc3272cdd24965f540c130b))
|
|
123
|
+
- 🔧 update build script
|
|
124
|
+
([d934cad](https://github.com/yozorajs/yozora/commit/d934cad21a4ab763621ca6a72379cd4294caa605))
|
|
126
125
|
|
|
127
126
|
## 2.0.2 (2022-09-24)
|
|
128
127
|
|
|
129
|
-
|
|
130
128
|
### Performance Improvements
|
|
131
129
|
|
|
132
|
-
|
|
133
|
-
|
|
134
|
-
|
|
135
|
-
|
|
136
|
-
|
|
137
|
-
|
|
130
|
+
- 📝 fix invalid links
|
|
131
|
+
([eb304c9](https://github.com/yozorajs/yozora/commit/eb304c931b2e682cf156bbceae0a20655777381e))
|
|
132
|
+
- 🔖 publish v2.0.2
|
|
133
|
+
([6911295](https://github.com/yozorajs/yozora/commit/6911295e9eacfa29563fe93494704190e50625fd))
|
|
134
|
+
- 🔧 support node@16.x.x
|
|
135
|
+
([eda301f](https://github.com/yozorajs/yozora/commit/eda301fe1047e380de5be915ae730206a026f07b))
|
|
136
|
+
- 📝 update links
|
|
137
|
+
([4467fe6](https://github.com/yozorajs/yozora/commit/4467fe646e0a95fcc7206658189884f68872bc4e))
|
|
138
138
|
|
|
139
139
|
## 2.0.2-alpha.0 (2022-05-22)
|
|
140
140
|
|
|
141
|
-
|
|
142
141
|
### Performance Improvements
|
|
143
142
|
|
|
144
|
-
|
|
145
|
-
|
|
146
|
-
|
|
143
|
+
- 🔖 publish v2.0.2-alpha.0
|
|
144
|
+
([430eaab](https://github.com/yozorajs/yozora/commit/430eaabd83f4a1ee29398ee1798aa4511976c38f))
|
|
147
145
|
|
|
148
146
|
## 2.0.1 (2022-05-21)
|
|
149
147
|
|
|
150
|
-
|
|
151
148
|
### Bug Fixes
|
|
152
149
|
|
|
153
|
-
|
|
154
|
-
|
|
150
|
+
- 🐛 fix the trailing semicolon cannot be recognized
|
|
151
|
+
([e0184e4](https://github.com/yozorajs/yozora/commit/e0184e45d9c78bd4236218a2588c9373c85ef45d))
|
|
155
152
|
|
|
156
153
|
### Performance Improvements
|
|
157
154
|
|
|
158
|
-
|
|
159
|
-
|
|
160
|
-
|
|
161
|
-
|
|
155
|
+
- ✅ refactor test utils & rename createTester to createTokenizerTester
|
|
156
|
+
([7f2ce75](https://github.com/yozorajs/yozora/commit/7f2ce7571a336370d419aa01073bf8054783cfd9))
|
|
157
|
+
- 🔖 publish v2.0.1
|
|
158
|
+
([3aea330](https://github.com/yozorajs/yozora/commit/3aea33091e402bd6c7754d91d549e8d648475073))
|
|
162
159
|
|
|
163
160
|
# 2.0.0 (2022-01-15)
|
|
164
161
|
|
|
165
|
-
|
|
166
162
|
### Performance Improvements
|
|
167
163
|
|
|
168
|
-
|
|
169
|
-
|
|
170
|
-
|
|
171
|
-
|
|
164
|
+
- 💥 [breaking] rename 'NodePoint' and 'NodePosition'
|
|
165
|
+
([76692a2](https://github.com/yozorajs/yozora/commit/76692a211a82260bb81acffa5e9e9d41b569f673))
|
|
166
|
+
- 🔖 publish v2.0.0
|
|
167
|
+
([65e99d1](https://github.com/yozorajs/yozora/commit/65e99d1709fdd1c918465dce6b1e91de96bdab5e))
|
|
172
168
|
|
|
173
169
|
# 2.0.0-alpha.3 (2022-01-12)
|
|
174
170
|
|
|
175
|
-
|
|
176
171
|
### Features
|
|
177
172
|
|
|
178
|
-
|
|
179
|
-
|
|
180
|
-
|
|
173
|
+
- 💥 [breaking] remove 'I' prefix for AST node types
|
|
174
|
+
([cad4b0b](https://github.com/yozorajs/yozora/commit/cad4b0b5b8061ea495f6455ef1554bb3c8f223a0))
|
|
175
|
+
- 💥 [breaking] remove 'IYastNode' prefix for AST types
|
|
176
|
+
([35c8fd2](https://github.com/yozorajs/yozora/commit/35c8fd2a6c27fb0bdb4020ccda5974ad05748c46))
|
|
181
177
|
|
|
182
178
|
### Performance Improvements
|
|
183
179
|
|
|
184
|
-
|
|
185
|
-
|
|
186
|
-
|
|
180
|
+
- 🔖 publish v2.0.0-alpha.3
|
|
181
|
+
([9f274fc](https://github.com/yozorajs/yozora/commit/9f274fc7487a8c1dd213405d92508f9a7621f730))
|
|
187
182
|
|
|
188
183
|
# 2.0.0-alpha.2 (2022-01-09)
|
|
189
184
|
|
|
190
|
-
|
|
191
185
|
### Performance Improvements
|
|
192
186
|
|
|
193
|
-
|
|
194
|
-
|
|
195
|
-
|
|
196
|
-
|
|
187
|
+
- 🎨 refactor removePosition
|
|
188
|
+
([87a974f](https://github.com/yozorajs/yozora/commit/87a974fd744ae937d5778d3cdba4b345141bcaf6))
|
|
189
|
+
- 🔖 publish v2.0.0-alpha.2
|
|
190
|
+
([da59d85](https://github.com/yozorajs/yozora/commit/da59d85520455c59a117a35032ef1a035c10ea21))
|
|
197
191
|
|
|
198
192
|
# 2.0.0-alpha.1 (2022-01-08)
|
|
199
193
|
|
|
200
|
-
|
|
201
194
|
### Features
|
|
202
195
|
|
|
203
|
-
|
|
204
|
-
|
|
196
|
+
- :breaking: refactor parse-block hooks
|
|
197
|
+
([117104d](https://github.com/yozorajs/yozora/commit/117104de9668a0d160e9e008ee6305811e83aec6))
|
|
205
198
|
|
|
206
199
|
### Performance Improvements
|
|
207
200
|
|
|
208
|
-
|
|
209
|
-
|
|
210
|
-
|
|
211
|
-
|
|
212
|
-
|
|
201
|
+
- 🔖 publish v2.0.0-alpha.1
|
|
202
|
+
([86202e1](https://github.com/yozorajs/yozora/commit/86202e1d2b03ccfc2ab030517d9d314f7aee7666))
|
|
203
|
+
- 🎨 rename IHookContext to IThis
|
|
204
|
+
([04d5470](https://github.com/yozorajs/yozora/commit/04d5470c9949c4acfe6239289d34a8b5c6191e71))
|
|
205
|
+
- 📝 update READMEs
|
|
206
|
+
([320afeb](https://github.com/yozorajs/yozora/commit/320afebd6c500cbbce5fd65c1cd184bbd2224f25))
|
|
213
207
|
|
|
214
208
|
# 2.0.0-alpha.0 (2022-01-03)
|
|
215
209
|
|
|
216
|
-
|
|
217
210
|
### Features
|
|
218
211
|
|
|
219
|
-
|
|
220
|
-
|
|
212
|
+
- 💥 [breaking] rename types with 'I' prefix
|
|
213
|
+
([d37d862](https://github.com/yozorajs/yozora/commit/d37d862212831dbe75ac92a6dbdadf2fa81cce8c))
|
|
221
214
|
|
|
222
215
|
### Performance Improvements
|
|
223
216
|
|
|
224
|
-
|
|
225
|
-
|
|
226
|
-
|
|
227
|
-
|
|
228
|
-
|
|
229
|
-
|
|
217
|
+
- 💥 refactor block tokenizers
|
|
218
|
+
([50ea4da](https://github.com/yozorajs/yozora/commit/50ea4dac5be8d7dd3d6eccf7e0ce1cfe05fe704a))
|
|
219
|
+
- 🔖 publish v2.0.0-alpha.0
|
|
220
|
+
([0171501](https://github.com/yozorajs/yozora/commit/0171501339c49ffd02ed16a63447fa20a47a29a7))
|
|
221
|
+
- 🎨 rename parser hooks
|
|
222
|
+
([ef6cbc5](https://github.com/yozorajs/yozora/commit/ef6cbc51323e6ef9d4cd78f1c7194ae1f7819245))
|
|
223
|
+
- 🎨 set print width to 100
|
|
224
|
+
([657a621](https://github.com/yozorajs/yozora/commit/657a6211cad52d5f1b183e7bcd7ea227b2aa7724))
|
|
230
225
|
|
|
231
226
|
# 1.3.0 (2021-10-09)
|
|
232
227
|
|
|
233
|
-
|
|
234
228
|
### Performance Improvements
|
|
235
229
|
|
|
236
|
-
|
|
237
|
-
|
|
238
|
-
|
|
230
|
+
- 🔖 publish v1.3.0
|
|
231
|
+
([18c9b16](https://github.com/yozorajs/yozora/commit/18c9b167004ad97718b2f94f25139f80598cbf7a))
|
|
239
232
|
|
|
240
233
|
## 1.2.2 (2021-09-06)
|
|
241
234
|
|
|
242
|
-
|
|
243
235
|
### Performance Improvements
|
|
244
236
|
|
|
245
|
-
|
|
246
|
-
|
|
247
|
-
|
|
237
|
+
- 🔖 publish v1.2.2
|
|
238
|
+
([fb4b804](https://github.com/yozorajs/yozora/commit/fb4b804548592c09259aabcf9cc4dd96176bd024))
|
|
248
239
|
|
|
249
240
|
## 1.2.1 (2021-09-04)
|
|
250
241
|
|
|
251
|
-
|
|
252
242
|
### Performance Improvements
|
|
253
243
|
|
|
254
|
-
|
|
255
|
-
|
|
256
|
-
|
|
244
|
+
- 🔖 publish v1.2.1
|
|
245
|
+
([d98d07d](https://github.com/yozorajs/yozora/commit/d98d07d7c56dd9f6bb60149b2b0a4be2787e1046))
|
|
257
246
|
|
|
258
247
|
# 1.2.0 (2021-08-22)
|
|
259
248
|
|
|
260
|
-
|
|
261
249
|
### Performance Improvements
|
|
262
250
|
|
|
263
|
-
|
|
264
|
-
|
|
265
|
-
|
|
251
|
+
- 🔖 publish v1.2.0
|
|
252
|
+
([86da40e](https://github.com/yozorajs/yozora/commit/86da40e50d2fe9acace68695288e15e012e6cd0d))
|
|
266
253
|
|
|
267
254
|
# 1.2.0-alpha.1 (2021-08-16)
|
|
268
255
|
|
|
269
|
-
|
|
270
256
|
### Performance Improvements
|
|
271
257
|
|
|
272
|
-
|
|
273
|
-
|
|
274
|
-
|
|
258
|
+
- 🔖 publish v1.2.0-alpha.1
|
|
259
|
+
([ce3c173](https://github.com/yozorajs/yozora/commit/ce3c17330085f22404668a388f2bee6f57e6e958))
|
|
275
260
|
|
|
276
261
|
# 1.2.0-alpha.0 (2021-08-15)
|
|
277
262
|
|
|
278
|
-
|
|
279
263
|
### Performance Improvements
|
|
280
264
|
|
|
281
|
-
|
|
282
|
-
|
|
283
|
-
|
|
265
|
+
- 🔖 publish v1.2.0-alpha.0
|
|
266
|
+
([bd8ef45](https://github.com/yozorajs/yozora/commit/bd8ef455a22963834a70339f42178138aab28df6))
|
|
284
267
|
|
|
285
268
|
# 1.1.0 (2021-08-12)
|
|
286
269
|
|
|
287
|
-
|
|
288
270
|
### Performance Improvements
|
|
289
271
|
|
|
290
|
-
|
|
291
|
-
|
|
292
|
-
|
|
293
|
-
|
|
272
|
+
- 🔖 publish v1.1.0
|
|
273
|
+
([a8c7cff](https://github.com/yozorajs/yozora/commit/a8c7cffcbdc36930ab3c744450c8feb4395a9fac))
|
|
274
|
+
- 📝 update related references
|
|
275
|
+
([e2c8c7e](https://github.com/yozorajs/yozora/commit/e2c8c7e6ff8c5c1da27ca224d5c5d0eb4e5fbca7))
|
|
294
276
|
|
|
295
277
|
# 1.1.0-alpha.2 (2021-08-07)
|
|
296
278
|
|
|
297
|
-
|
|
298
279
|
### Performance Improvements
|
|
299
280
|
|
|
300
|
-
|
|
301
|
-
|
|
302
|
-
|
|
281
|
+
- 🔖 publish v1.1.0-alpha.2
|
|
282
|
+
([d88b8ec](https://github.com/yozorajs/yozora/commit/d88b8eca03118b9f2a8b00ac4106ea82e779bc94))
|
|
303
283
|
|
|
304
284
|
# 1.1.0-alpha.1 (2021-08-01)
|
|
305
285
|
|
|
306
|
-
|
|
307
286
|
### Performance Improvements
|
|
308
287
|
|
|
309
|
-
|
|
310
|
-
|
|
311
|
-
|
|
312
|
-
|
|
313
|
-
|
|
288
|
+
- 🚚 move EcmaImport types from @yozora/tokenizer-ecma-import to @yozora/ast
|
|
289
|
+
([cf14076](https://github.com/yozorajs/yozora/commit/cf140769fb45f479e2440a17d688bf86a5dc8903))
|
|
290
|
+
- 🔖 publish v1.1.0-alpha.1
|
|
291
|
+
([0d6aa91](https://github.com/yozorajs/yozora/commit/0d6aa91fb5a15b962b016496453dbfa7f1197126))
|
|
292
|
+
- 📝 update READMEs
|
|
293
|
+
([738d626](https://github.com/yozorajs/yozora/commit/738d626d76c535ea017812f674b43842ee073227))
|
|
314
294
|
|
|
315
295
|
# 1.1.0-alpha.0 (2021-07-31)
|
|
316
296
|
|
|
317
|
-
|
|
318
297
|
### Features
|
|
319
298
|
|
|
320
|
-
|
|
321
|
-
|
|
299
|
+
- ✨ implement new tokenizer '@yozora/tokenizer-ecma-import'
|
|
300
|
+
([7e4a1b1](https://github.com/yozorajs/yozora/commit/7e4a1b1b1a27fbaba1040ebd4643e5da08ec766b))
|
|
322
301
|
|
|
323
302
|
### Performance Improvements
|
|
324
303
|
|
|
325
|
-
|
|
304
|
+
- 🔖 publish v1.1.0-alpha.0
|
|
305
|
+
([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.2/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.2/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.2/packages/ast#readme
|
|
210
|
+
[@yozora/ast-util]: https://github.com/yozorajs/yozora/tree/v2.3.2/packages/ast-util#readme
|
|
211
|
+
[@yozora/character]: https://github.com/yozorajs/yozora/tree/v2.3.2/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.2/packages/core-parser#readme
|
|
215
|
+
[@yozora/core-tokenizer]:
|
|
216
|
+
https://github.com/yozorajs/yozora/tree/v2.3.2/packages/core-tokenizer#readme
|
|
217
|
+
[@yozora/invariant]: https://github.com/yozorajs/yozora/tree/v2.3.2/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.2/packages/parser#readme
|
|
221
|
+
[@yozora/parser-gfm]: https://github.com/yozorajs/yozora/tree/v2.3.2/packages/parser-gfm#readme
|
|
222
|
+
[@yozora/parser-gfm-ex]:
|
|
223
|
+
https://github.com/yozorajs/yozora/tree/v2.3.2/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.2/tokenizers/admonition#readme
|
|
228
|
+
[@yozora/tokenizer-autolink]:
|
|
229
|
+
https://github.com/yozorajs/yozora/tree/v2.3.2/tokenizers/autolink#readme
|
|
230
|
+
[@yozora/tokenizer-autolink-extension]:
|
|
231
|
+
https://github.com/yozorajs/yozora/tree/v2.3.2/tokenizers/autolink-extension#readme
|
|
232
|
+
[@yozora/tokenizer-blockquote]:
|
|
233
|
+
https://github.com/yozorajs/yozora/tree/v2.3.2/tokenizers/blockquote#readme
|
|
234
|
+
[@yozora/tokenizer-break]: https://github.com/yozorajs/yozora/tree/v2.3.2/tokenizers/break#readme
|
|
235
|
+
[@yozora/tokenizer-definition]:
|
|
236
|
+
https://github.com/yozorajs/yozora/tree/v2.3.2/tokenizers/definition#readme
|
|
237
|
+
[@yozora/tokenizer-delete]: https://github.com/yozorajs/yozora/tree/v2.3.2/tokenizers/delete#readme
|
|
238
|
+
[@yozora/tokenizer-ecma-import]:
|
|
239
|
+
https://github.com/yozorajs/yozora/tree/v2.3.2/tokenizers/ecma-import#readme
|
|
240
|
+
[@yozora/tokenizer-emphasis]:
|
|
241
|
+
https://github.com/yozorajs/yozora/tree/v2.3.2/tokenizers/emphasis#readme
|
|
242
|
+
[@yozora/tokenizer-fenced-block]:
|
|
243
|
+
https://github.com/yozorajs/yozora/tree/v2.3.2/tokenizers/fenced-block#readme
|
|
244
|
+
[@yozora/tokenizer-fenced-code]:
|
|
245
|
+
https://github.com/yozorajs/yozora/tree/v2.3.2/tokenizers/fenced-code#readme
|
|
246
|
+
[@yozora/tokenizer-footnote]:
|
|
247
|
+
https://github.com/yozorajs/yozora/tree/v2.3.2/tokenizers/footnote#readme
|
|
248
|
+
[@yozora/tokenizer-footnote-definition]:
|
|
249
|
+
https://github.com/yozorajs/yozora/tree/v2.3.2/tokenizers/footnote-definition#readme
|
|
250
|
+
[@yozora/tokenizer-footnote-reference]:
|
|
251
|
+
https://github.com/yozorajs/yozora/tree/v2.3.2/tokenizers/footnote-reference#readme
|
|
252
|
+
[@yozora/tokenizer-heading]:
|
|
253
|
+
https://github.com/yozorajs/yozora/tree/v2.3.2/tokenizers/heading#readme
|
|
254
|
+
[@yozora/tokenizer-html-block]:
|
|
255
|
+
https://github.com/yozorajs/yozora/tree/v2.3.2/tokenizers/html-block#readme
|
|
256
|
+
[@yozora/tokenizer-html-inline]:
|
|
257
|
+
https://github.com/yozorajs/yozora/tree/v2.3.2/tokenizers/html-inline#readme
|
|
258
|
+
[@yozora/tokenizer-image]: https://github.com/yozorajs/yozora/tree/v2.3.2/tokenizers/image#readme
|
|
259
|
+
[@yozora/tokenizer-image-reference]:
|
|
260
|
+
https://github.com/yozorajs/yozora/tree/v2.3.2/tokenizers/image-reference#readme
|
|
261
|
+
[@yozora/tokenizer-indented-code]:
|
|
262
|
+
https://github.com/yozorajs/yozora/tree/v2.3.2/tokenizers/indented-code#readme
|
|
263
|
+
[@yozora/tokenizer-inline-code]:
|
|
264
|
+
https://github.com/yozorajs/yozora/tree/v2.3.2/tokenizers/inline-code#readme
|
|
265
|
+
[@yozora/tokenizer-inline-math]:
|
|
266
|
+
https://github.com/yozorajs/yozora/tree/v2.3.2/tokenizers/inline-math#readme
|
|
267
|
+
[@yozora/tokenizer-link]: https://github.com/yozorajs/yozora/tree/v2.3.2/tokenizers/link#readme
|
|
268
|
+
[@yozora/tokenizer-link-reference]:
|
|
269
|
+
https://github.com/yozorajs/yozora/tree/v2.3.2/tokenizers/link-reference#readme
|
|
270
|
+
[@yozora/tokenizer-list]: https://github.com/yozorajs/yozora/tree/v2.3.2/tokenizers/list#readme
|
|
271
|
+
[@yozora/tokenizer-math]: https://github.com/yozorajs/yozora/tree/v2.3.2/tokenizers/math#readme
|
|
272
|
+
[@yozora/tokenizer-paragraph]:
|
|
273
|
+
https://github.com/yozorajs/yozora/tree/v2.3.2/tokenizers/paragraph#readme
|
|
274
|
+
[@yozora/tokenizer-setext-heading]:
|
|
275
|
+
https://github.com/yozorajs/yozora/tree/v2.3.2/tokenizers/setext-heading#readme
|
|
276
|
+
[@yozora/tokenizer-table]: https://github.com/yozorajs/yozora/tree/v2.3.2/tokenizers/table#readme
|
|
277
|
+
[@yozora/tokenizer-text]: https://github.com/yozorajs/yozora/tree/v2.3.2/tokenizers/text#readme
|
|
278
|
+
[@yozora/tokenizer-thematic-break]:
|
|
279
|
+
https://github.com/yozorajs/yozora/tree/v2.3.2/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.2",
|
|
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.1/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.2",
|
|
38
|
+
"@yozora/character": "^2.3.2",
|
|
39
|
+
"@yozora/core-tokenizer": "^2.3.2"
|
|
45
40
|
},
|
|
46
|
-
"gitHead": "
|
|
41
|
+
"gitHead": "73fe7a7906f5958fa1b73b9dbfd04cf2f15c50ce"
|
|
47
42
|
}
|