@swc/core 1.2.196 → 1.2.203
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 +259 -7
- package/package.json +19 -19
package/CHANGELOG.md
CHANGED
|
@@ -5,30 +5,264 @@
|
|
|
5
5
|
|
|
6
6
|
|
|
7
7
|
|
|
8
|
-
- **(es/
|
|
8
|
+
- **(es/parser)** Don't assume the length of char (#4967) ([3e03ebf](https://github.com/swc-project/swc/commit/3e03ebf8bb527d3237b309c3df3a24bc9ebf7314))
|
|
9
9
|
|
|
10
|
+
### Features
|
|
10
11
|
|
|
11
|
-
- **(es/minifier)** Make `if_return` to not drop required returns (#4847) ([8365c3d](https://github.com/swc-project/swc/commit/8365c3d0dff96c195fccebd4269ac279c068a624))
|
|
12
12
|
|
|
13
13
|
|
|
14
|
-
- **(html
|
|
14
|
+
- **(html)** Support self-closing flag (#4950) ([5c2a918](https://github.com/swc-project/swc/commit/5c2a918946105d26d107b8bd869ee5dc76c9c04d))
|
|
15
15
|
|
|
16
|
+
### Miscellaneous Tasks
|
|
16
17
|
|
|
17
|
-
|
|
18
|
+
|
|
19
|
+
|
|
20
|
+
- **(ci)** Use macos for release builds (#4968) ([1bf2b80](https://github.com/swc-project/swc/commit/1bf2b80f97c736cc7aae1a9c04325044839d0a3b))
|
|
21
|
+
|
|
22
|
+
|
|
23
|
+
- **(ci)** Fix publish build on Windows (#4970) ([db9f7a5](https://github.com/swc-project/swc/commit/db9f7a5ad4d830b1b1e42e7aa09a2edc935a8ad1))
|
|
24
|
+
|
|
25
|
+
## [1.2.202] - 2022-06-14
|
|
26
|
+
|
|
27
|
+
### Bug Fixes
|
|
28
|
+
|
|
29
|
+
|
|
30
|
+
|
|
31
|
+
- **(ci)** Revert malloc changes ([709ad3e](https://github.com/swc-project/swc/commit/709ad3e087e833c5bc69c887ca963e4b7a9a81f7))
|
|
32
|
+
|
|
33
|
+
|
|
34
|
+
- **(common)** Don't use `get_unchecked` after setting the length to 0 (#4943) ([f479951](https://github.com/swc-project/swc/commit/f479951ef2f1c9eff8e020c9fc46e78e16855a24))
|
|
35
|
+
|
|
36
|
+
|
|
37
|
+
- **(css/parser)** Fix input buffer and improve error recovery (#4948) ([bf74d05](https://github.com/swc-project/swc/commit/bf74d05f3fb6ddb2f29a4808b64860021cbd4f5b))
|
|
38
|
+
|
|
39
|
+
|
|
40
|
+
- **(es/helpers)** Allow using external helpers with `type: module` (#4962) ([4a27e6f](https://github.com/swc-project/swc/commit/4a27e6f84a9a4e99d161664fa1441b1278756023))
|
|
18
41
|
|
|
19
42
|
### Features
|
|
20
43
|
|
|
21
44
|
|
|
22
45
|
|
|
23
|
-
- **(
|
|
46
|
+
- **(es/lints)** Add `constructor-super` rule (#4912) ([6daeeb0](https://github.com/swc-project/swc/commit/6daeeb0652513af7435c2197d74734c89965d66e))
|
|
47
|
+
|
|
48
|
+
|
|
49
|
+
- **(es/minifier)** Turn `Array`/`Object` calls into literals (#4947) ([47bdc6a](https://github.com/swc-project/swc/commit/47bdc6a6b13c5a4d6b85d4e3a0e729126c7b5f9d))
|
|
50
|
+
|
|
51
|
+
|
|
52
|
+
- **(html/minifier)** Compress whitespaces (#4916) ([f2690cc](https://github.com/swc-project/swc/commit/f2690cce08bf2e922b7eb9146288ca78ad0eeed4))
|
|
53
|
+
|
|
54
|
+
|
|
55
|
+
- **(html/minifier)** Add `remove_empty_attributes` option (#4958) ([63d630d](https://github.com/swc-project/swc/commit/63d630d47761f1ab9c60a40c5bedf8542366f975))
|
|
56
|
+
|
|
57
|
+
|
|
58
|
+
- **(html/minifier)** Add `collapse_boolean_attributes` option (#4960) ([3957bc6](https://github.com/swc-project/swc/commit/3957bc64b7d278cdf737e9da514fa94780044be2))
|
|
24
59
|
|
|
25
60
|
### Miscellaneous Tasks
|
|
26
61
|
|
|
27
62
|
|
|
28
63
|
|
|
29
|
-
- **(ci)**
|
|
64
|
+
- **(ci)** Test `concurrent` (#4955) ([1a9f935](https://github.com/swc-project/swc/commit/1a9f93546bf1c9192baa562a419648cfe5d199fc))
|
|
65
|
+
|
|
66
|
+
### Performance
|
|
67
|
+
|
|
68
|
+
|
|
69
|
+
|
|
70
|
+
- **(common)** Add `Atom` type (#4945) ([4ada9c7](https://github.com/swc-project/swc/commit/4ada9c7e05d1d61e061bf6af5830d10580d671eb))
|
|
71
|
+
|
|
72
|
+
|
|
73
|
+
- **(css/parser)** Improve performance of lexer (#4921) ([327969d](https://github.com/swc-project/swc/commit/327969d0d96159ed45a45a92e943d9d426de303c))
|
|
74
|
+
|
|
75
|
+
|
|
76
|
+
- **(es/minifier)** Make more things parallel and reduce call stacks (#4915) ([3580638](https://github.com/swc-project/swc/commit/35806385eab405a3a03d88172c94dfefb2599240))
|
|
77
|
+
|
|
78
|
+
|
|
79
|
+
- **(es/transforms)** Make rename operator parallel (#4951) ([445d585](https://github.com/swc-project/swc/commit/445d58518dc1ea5ab670f4e3d9e8b833108e1cf7))
|
|
80
|
+
|
|
81
|
+
### Refactor
|
|
82
|
+
|
|
83
|
+
|
|
84
|
+
|
|
85
|
+
- **(es/resolver)** Prepare parallel `resolver` (#4957) ([ea92a6a](https://github.com/swc-project/swc/commit/ea92a6ab8a17a03d6f8d301fe3373d8282d09218))
|
|
86
|
+
|
|
87
|
+
|
|
88
|
+
- **(html/parser)** Remove unused code (#4949) ([42a1d7c](https://github.com/swc-project/swc/commit/42a1d7c7a11120b8be8dbd7a29a6401d60062d70))
|
|
89
|
+
|
|
90
|
+
### Testing
|
|
91
|
+
|
|
92
|
+
|
|
93
|
+
|
|
94
|
+
- **(css/parser)** Improve tests (#4963) ([1b7b4f0](https://github.com/swc-project/swc/commit/1b7b4f0cb4b331d5ad861e3721c2fcd14322b2e4))
|
|
95
|
+
|
|
96
|
+
## [1.2.199] - 2022-06-11
|
|
97
|
+
|
|
98
|
+
### Bug Fixes
|
|
99
|
+
|
|
100
|
+
|
|
101
|
+
|
|
102
|
+
- **(ci)** Fix android build issue caused by NDK 21 -> 23 (#4942) ([52e2347](https://github.com/swc-project/swc/commit/52e23470e71e769e980f1e0d291ebf4a984bbfb8))
|
|
103
|
+
|
|
104
|
+
|
|
105
|
+
- **(es/decorators)** Fix syntax context of decorated classes (#4905) ([814f72f](https://github.com/swc-project/swc/commit/814f72f22454861db2c84aebd40fb6fba6906ac2))
|
|
106
|
+
|
|
107
|
+
|
|
108
|
+
- **(es/fixer)** Preserve parens in optional calls (#4923) ([5bb417e](https://github.com/swc-project/swc/commit/5bb417ef88b545505d24ccf5dad8b72b13a58fcd))
|
|
109
|
+
|
|
110
|
+
|
|
111
|
+
- **(es/helpers)** Fix syntax context of helpers (#4900) ([4e3a878](https://github.com/swc-project/swc/commit/4e3a878b48745d90715e8b9f83aa0d7501150e29))
|
|
112
|
+
|
|
113
|
+
|
|
114
|
+
- **(es/minifier)** Reserve more symbols on `eval` (#4925) ([be87494](https://github.com/swc-project/swc/commit/be87494495a7708769430362f1852f52f77eb47f))
|
|
115
|
+
|
|
116
|
+
|
|
117
|
+
- **(es/modules/amd)** Support `export * as foo from 'foo'` (#4904) ([10f6849](https://github.com/swc-project/swc/commit/10f6849f7aa7a694c582f7150e721ef3b698f0dd))
|
|
118
|
+
|
|
119
|
+
|
|
120
|
+
- **(es/parser)** Allow negative bigint literal in types (#4938) ([11db191](https://github.com/swc-project/swc/commit/11db191af5fe41b5b752b8bc77cc61a05372e0bd))
|
|
121
|
+
|
|
122
|
+
|
|
123
|
+
- **(es/parser)** Check for line break after async (#4940) ([381d273](https://github.com/swc-project/swc/commit/381d273f11584f25343a54b37a0ff9357192f488))
|
|
124
|
+
|
|
125
|
+
|
|
126
|
+
- **(es/resolver)** Hoist namespaces (#4902) ([a9f91dc](https://github.com/swc-project/swc/commit/a9f91dc797cc5d1e96010aa541ba5aa5221b5779))
|
|
127
|
+
|
|
128
|
+
|
|
129
|
+
- **(es/transforms)** Fix threshold ([a70c737](https://github.com/swc-project/swc/commit/a70c7375062f828fd47dd2bc0562b18a3c9cdd6f))
|
|
130
|
+
|
|
131
|
+
|
|
132
|
+
- **(html/codegen)** Fix quotes in attributes (#4918) ([064e504](https://github.com/swc-project/swc/commit/064e50448fb3a916ce52c537f73cedec2253ed50))
|
|
133
|
+
|
|
134
|
+
|
|
135
|
+
- **(html/codegen)** Emit newline in `textarea`/`pre` (#4919) ([4f1e046](https://github.com/swc-project/swc/commit/4f1e04671dcf33fe30dcc0915ea5aa5b0bc19973))
|
|
136
|
+
|
|
137
|
+
|
|
138
|
+
- **(html/parser)** Fix spans (#4877) ([70760d2](https://github.com/swc-project/swc/commit/70760d222281774fab655def4703a663fae962ad))
|
|
139
|
+
|
|
140
|
+
### Features
|
|
141
|
+
|
|
142
|
+
|
|
143
|
+
|
|
144
|
+
- **(es/lints)** Add `default-case-last` rule (#4913) ([4fb932d](https://github.com/swc-project/swc/commit/4fb932dd0818c76feac01df7ea0c371626b62143))
|
|
145
|
+
|
|
146
|
+
|
|
147
|
+
- **(es/lints)** Add `no-await-in-loop` rule (#4936) ([b041f29](https://github.com/swc-project/swc/commit/b041f2911f65b964f0cf1056afcb78e68ace55d9))
|
|
148
|
+
|
|
149
|
+
|
|
150
|
+
- **(es/minifier)** Drop `new` token if possible (#4932) ([5940894](https://github.com/swc-project/swc/commit/594089488b8b3498d59fb8e07c518ef2071d83bb))
|
|
151
|
+
|
|
152
|
+
|
|
153
|
+
- **(es/modules/amd)** Convert ts import equals to normal AMD import (#4906) ([36a82cc](https://github.com/swc-project/swc/commit/36a82ccfc95ca3b67741c20565f4e7c886711e68))
|
|
154
|
+
|
|
30
155
|
|
|
31
|
-
|
|
156
|
+
- **(html/codegen)** Support context element (#4887) ([ae1ff1e](https://github.com/swc-project/swc/commit/ae1ff1e55b4be7d9f611ebbbc0fdaac1d5591ac5))
|
|
157
|
+
|
|
158
|
+
|
|
159
|
+
- **(html/codegen)** Improve entity compression (#4889) ([da09c1c](https://github.com/swc-project/swc/commit/da09c1ca5bc79e63aaf2b4d03b03b216b88ce049))
|
|
160
|
+
|
|
161
|
+
|
|
162
|
+
- **(html/codegen)** Minify svg attributes (#4917) ([f157aae](https://github.com/swc-project/swc/commit/f157aae40cb11d3ecb18f03f5a32cb4423cfab8b))
|
|
163
|
+
|
|
164
|
+
|
|
165
|
+
- **(plugin)** Upgrade `wasmer` (#4929) ([b30032d](https://github.com/swc-project/swc/commit/b30032dd46124b476c3e0ebd94a1845120161ff1))
|
|
166
|
+
|
|
167
|
+
|
|
168
|
+
- **(preset-env)** Upgrade `browserslist-rs` (#4903) ([f7c89c5](https://github.com/swc-project/swc/commit/f7c89c5b601e2fa71eb2f2c0ce56a717fb469c0b))
|
|
169
|
+
|
|
170
|
+
### Miscellaneous Tasks
|
|
171
|
+
|
|
172
|
+
|
|
173
|
+
|
|
174
|
+
- **(html/parser)** Remove unused dependencies (#4922) ([299da10](https://github.com/swc-project/swc/commit/299da10ff947eddc4a44d24f8e43a435b89e7b89))
|
|
175
|
+
|
|
176
|
+
### Performance
|
|
177
|
+
|
|
178
|
+
|
|
179
|
+
|
|
180
|
+
- **(es/minifier)** Change default pass limit to 2 (#4924) ([fc0d8e3](https://github.com/swc-project/swc/commit/fc0d8e3f74d61ccbf37d5bb2e2ba6bf85561db97))
|
|
181
|
+
|
|
182
|
+
|
|
183
|
+
- **(es/transforms)** Make transforms parallel (#4939) ([35c93be](https://github.com/swc-project/swc/commit/35c93be60f645fb71bc67f8c7e4fbe6ad5120615))
|
|
184
|
+
|
|
185
|
+
|
|
186
|
+
- **(html/parser)** Improve performance (#4881) ([5abe847](https://github.com/swc-project/swc/commit/5abe847c2358ee9876140772f16d303c388cbbb5))
|
|
187
|
+
|
|
188
|
+
|
|
189
|
+
- **(html/parser)** Improve memory allocation (#4884) ([ce4d577](https://github.com/swc-project/swc/commit/ce4d57735e6cfe240967c8d4c6655bfaca107eea))
|
|
190
|
+
|
|
191
|
+
|
|
192
|
+
- **(html/parser)** Reduce cloning (#4901) ([e365766](https://github.com/swc-project/swc/commit/e3657660701366ca5c5e03876fe032d5a011b92a))
|
|
193
|
+
|
|
194
|
+
|
|
195
|
+
- **(html/parser)** Add a benchmark for document fragment (#4920) ([d669454](https://github.com/swc-project/swc/commit/d669454157da62f9bec4b078230e4e372efd91e3))
|
|
196
|
+
|
|
197
|
+
|
|
198
|
+
- **(html/parser)** Improve performance (#4934) ([f993a52](https://github.com/swc-project/swc/commit/f993a526797ec3e2119828b129bf9aad3b1c28d8))
|
|
199
|
+
|
|
200
|
+
### Refactor
|
|
201
|
+
|
|
202
|
+
|
|
203
|
+
|
|
204
|
+
- **(es/lints)** Simplify `no-empty-pattern` rule (#4928) ([286f265](https://github.com/swc-project/swc/commit/286f265632b1af6a2b6ebdd495a0c9a5e7af6260))
|
|
205
|
+
|
|
206
|
+
|
|
207
|
+
- **(html/ast)** Avoid `TokenAndSpan` (#4885) ([b14719c](https://github.com/swc-project/swc/commit/b14719c046584878424f794a86c7a0793f7033be))
|
|
208
|
+
|
|
209
|
+
## [1.2.197] - 2022-06-05
|
|
210
|
+
|
|
211
|
+
### Bug Fixes
|
|
212
|
+
|
|
213
|
+
|
|
214
|
+
|
|
215
|
+
- **(css/parser)** Fix parsing of constant function (#4856) ([e083d0e](https://github.com/swc-project/swc/commit/e083d0eb5a0fe0589876722ce4bdecfe9c006120))
|
|
216
|
+
|
|
217
|
+
|
|
218
|
+
- **(es/helpers)** Update `@swc/core` of `@swc/helpers` (#4861) ([a4bffcf](https://github.com/swc-project/swc/commit/a4bffcf186f4ce265483ddf3497f7bfd283b1f1b))
|
|
219
|
+
|
|
220
|
+
|
|
221
|
+
- **(es/minifier)** Don't drop `typeof` (#4883) ([06420d9](https://github.com/swc-project/swc/commit/06420d99bb9e63ed6bb39a8f4f006a66665570d3))
|
|
222
|
+
|
|
223
|
+
|
|
224
|
+
- **(html/parser)** Fix span of lexer errors (#4846) ([f830726](https://github.com/swc-project/swc/commit/f83072602725e0357a54bd6a5a0655c9430c7f95))
|
|
225
|
+
|
|
226
|
+
|
|
227
|
+
- **(html/parser)** Fix end span of closed tags (#4860) ([67b5e3d](https://github.com/swc-project/swc/commit/67b5e3d5b3cb6591efd42ae3a06c9528e2f6954a))
|
|
228
|
+
|
|
229
|
+
|
|
230
|
+
- **(html/parser)** Fix span (#4868) ([0d5d7c4](https://github.com/swc-project/swc/commit/0d5d7c4d5e21d5faee64847ed027a791ed3db89d))
|
|
231
|
+
|
|
232
|
+
### Features
|
|
233
|
+
|
|
234
|
+
|
|
235
|
+
|
|
236
|
+
- **(es/codegen)** Support other source map implementations (#4879) ([6bc33cb](https://github.com/swc-project/swc/commit/6bc33cb042ee3b95010735f34ec3d30d52fb7f40))
|
|
237
|
+
|
|
238
|
+
|
|
239
|
+
- **(es/minifier)** Remove extra parens in `BinExpr` (#4878) ([83ae6a1](https://github.com/swc-project/swc/commit/83ae6a1f1f8a293d88557767790ed5d662e84bc3))
|
|
240
|
+
|
|
241
|
+
|
|
242
|
+
- **(html/minifier)** Improve compression of attributes (#4849) ([c5df1a3](https://github.com/swc-project/swc/commit/c5df1a3a54e1445163efb38b4da339ccaed699d0))
|
|
243
|
+
|
|
244
|
+
|
|
245
|
+
- **(html/minifier)** Remove spaces between nodes (#4880) ([6e0f5f1](https://github.com/swc-project/swc/commit/6e0f5f1c4814b49f208a0170797bc8804df10f18))
|
|
246
|
+
|
|
247
|
+
|
|
248
|
+
- **(wasm)** Add json error (#4853) ([fd3501b](https://github.com/swc-project/swc/commit/fd3501bf87f4e711e72e9e8fd12f64f4cfa08157))
|
|
249
|
+
|
|
250
|
+
### Performance
|
|
251
|
+
|
|
252
|
+
|
|
253
|
+
|
|
254
|
+
- **(html/parser)** Improve lexer performance (#4869) ([8b67bb9](https://github.com/swc-project/swc/commit/8b67bb99fa98f2ad7299d309e30e3d6c1208232f))
|
|
255
|
+
|
|
256
|
+
### Testing
|
|
257
|
+
|
|
258
|
+
|
|
259
|
+
|
|
260
|
+
- **(html/parser)** Refactor tests (#4865) ([762c72d](https://github.com/swc-project/swc/commit/762c72d1c92e7c6786f69769aac5c1093da6b575))
|
|
261
|
+
|
|
262
|
+
|
|
263
|
+
- **(html/parser)** Test html5lib spans (#4875) ([ad9508a](https://github.com/swc-project/swc/commit/ad9508a79641c72a15ae58a0f66dd6684348644f))
|
|
264
|
+
|
|
265
|
+
## [1.2.196] - 2022-05-31
|
|
32
266
|
|
|
33
267
|
### Bug Fixes
|
|
34
268
|
|
|
@@ -46,6 +280,12 @@
|
|
|
46
280
|
- **(es/minifier)** Don't create names which is same as an unresolved var (#4806) ([073b146](https://github.com/swc-project/swc/commit/073b1469e6c81a9342bd09394832ee96339f07b4))
|
|
47
281
|
|
|
48
282
|
|
|
283
|
+
- **(es/minifier)** Apply name mangler for more cases (#4840) ([0567f67](https://github.com/swc-project/swc/commit/0567f67664cc2407d45bf8b17821edc4b828198c))
|
|
284
|
+
|
|
285
|
+
|
|
286
|
+
- **(es/minifier)** Make `if_return` to not drop required returns (#4847) ([8365c3d](https://github.com/swc-project/swc/commit/8365c3d0dff96c195fccebd4269ac279c068a624))
|
|
287
|
+
|
|
288
|
+
|
|
49
289
|
- **(es/modules)** Fix local scoped amd require (#4800) ([2b03047](https://github.com/swc-project/swc/commit/2b03047cb088b96e5c054055780b54e4f48ae486))
|
|
50
290
|
|
|
51
291
|
|
|
@@ -61,9 +301,15 @@
|
|
|
61
301
|
- **(html/codegen)** Omit on more cases (#4825) ([2b7f4b2](https://github.com/swc-project/swc/commit/2b7f4b2f563a0c55482c0bc052dfd02df42b9eca))
|
|
62
302
|
|
|
63
303
|
|
|
304
|
+
- **(html/codegen)** Prevent omitting body for title (#4814) ([7407f21](https://github.com/swc-project/swc/commit/7407f218f8b294d3d7998334bdd908abc519ecb0))
|
|
305
|
+
|
|
306
|
+
|
|
64
307
|
- **(html/minifier)** Avoid removing id with spaces (#4786) ([c35cb59](https://github.com/swc-project/swc/commit/c35cb598f7a95795ea9d11ab7510f540a17d0639))
|
|
65
308
|
|
|
66
309
|
|
|
310
|
+
- **(html/parser)** Handle BOM (#4843) ([20fee8a](https://github.com/swc-project/swc/commit/20fee8abeee9f8e54082b02b2e83cff7ce72cc8f))
|
|
311
|
+
|
|
312
|
+
|
|
67
313
|
- **(node)** Fix logging (#4833) ([c462d4d](https://github.com/swc-project/swc/commit/c462d4d7c6488a01416fcd7ea8759461e2c3a97a))
|
|
68
314
|
|
|
69
315
|
|
|
@@ -88,12 +334,18 @@
|
|
|
88
334
|
- **(html/minifier)** Compress more json types (#4813) ([731c59e](https://github.com/swc-project/swc/commit/731c59e9b7df7edd300871db8657e0d49b6b9a80))
|
|
89
335
|
|
|
90
336
|
|
|
337
|
+
- **(html/minifier)** Compress viewport meta (#4844) ([e6ae299](https://github.com/swc-project/swc/commit/e6ae299776d0ad285f2a93ed7371ff8592999ac6))
|
|
338
|
+
|
|
339
|
+
|
|
91
340
|
- **(node)** Split css binding (#4831) ([2e9ab05](https://github.com/swc-project/swc/commit/2e9ab0518a33f3b97541864cb7051a45606904ca))
|
|
92
341
|
|
|
93
342
|
### Miscellaneous Tasks
|
|
94
343
|
|
|
95
344
|
|
|
96
345
|
|
|
346
|
+
- **(ci)** Fix CI (#4852) ([142387b](https://github.com/swc-project/swc/commit/142387b2a307d062ce6c21d4cd3aac05dae8756f))
|
|
347
|
+
|
|
348
|
+
|
|
97
349
|
- **(common)** Update rustc (#4828) ([f847709](https://github.com/swc-project/swc/commit/f84770978719cda6eea689b9dd90259e9c2f05c9))
|
|
98
350
|
|
|
99
351
|
### Performance
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@swc/core",
|
|
3
|
-
"version": "1.2.
|
|
3
|
+
"version": "1.2.203",
|
|
4
4
|
"description": "Super-fast alternative for babel",
|
|
5
5
|
"homepage": "https://swc.rs",
|
|
6
6
|
"main": "./index.js",
|
|
@@ -71,16 +71,16 @@
|
|
|
71
71
|
"*.rs": [
|
|
72
72
|
"rustfmt --"
|
|
73
73
|
],
|
|
74
|
-
"*.js": [
|
|
74
|
+
"!(**/tests/**/*)*.js": [
|
|
75
75
|
"prettier --write"
|
|
76
76
|
],
|
|
77
|
-
"*.ts": [
|
|
77
|
+
"!(**/tests/**/*)*.ts": [
|
|
78
78
|
"prettier --write"
|
|
79
79
|
],
|
|
80
|
-
"*.jsx": [
|
|
80
|
+
"!(**/tests/**/*)*.jsx": [
|
|
81
81
|
"prettier --write"
|
|
82
82
|
],
|
|
83
|
-
"*.tsx": [
|
|
83
|
+
"!(**/tests/**/*)*.tsx": [
|
|
84
84
|
"prettier --write"
|
|
85
85
|
]
|
|
86
86
|
},
|
|
@@ -94,7 +94,7 @@
|
|
|
94
94
|
"@babel/preset-react": "^7.13.13",
|
|
95
95
|
"@babel/preset-typescript": "^7.13.0",
|
|
96
96
|
"@babel/types": "^7.14.0",
|
|
97
|
-
"@napi-rs/cli": "^2.
|
|
97
|
+
"@napi-rs/cli": "^2.10.0",
|
|
98
98
|
"@swc/helpers": "^0.3.8",
|
|
99
99
|
"@taplo/cli": "^0.3.2",
|
|
100
100
|
"@types/jest": "^26.0.23",
|
|
@@ -135,18 +135,18 @@
|
|
|
135
135
|
"url": "https://opencollective.com/swc"
|
|
136
136
|
},
|
|
137
137
|
"optionalDependencies": {
|
|
138
|
-
"@swc/core-win32-x64-msvc": "1.2.
|
|
139
|
-
"@swc/core-darwin-x64": "1.2.
|
|
140
|
-
"@swc/core-linux-x64-gnu": "1.2.
|
|
141
|
-
"@swc/core-linux-x64-musl": "1.2.
|
|
142
|
-
"@swc/core-freebsd-x64": "1.2.
|
|
143
|
-
"@swc/core-win32-ia32-msvc": "1.2.
|
|
144
|
-
"@swc/core-linux-arm64-gnu": "1.2.
|
|
145
|
-
"@swc/core-linux-arm-gnueabihf": "1.2.
|
|
146
|
-
"@swc/core-darwin-arm64": "1.2.
|
|
147
|
-
"@swc/core-android-arm64": "1.2.
|
|
148
|
-
"@swc/core-linux-arm64-musl": "1.2.
|
|
149
|
-
"@swc/core-win32-arm64-msvc": "1.2.
|
|
150
|
-
"@swc/core-android-arm-eabi": "1.2.
|
|
138
|
+
"@swc/core-win32-x64-msvc": "1.2.203",
|
|
139
|
+
"@swc/core-darwin-x64": "1.2.203",
|
|
140
|
+
"@swc/core-linux-x64-gnu": "1.2.203",
|
|
141
|
+
"@swc/core-linux-x64-musl": "1.2.203",
|
|
142
|
+
"@swc/core-freebsd-x64": "1.2.203",
|
|
143
|
+
"@swc/core-win32-ia32-msvc": "1.2.203",
|
|
144
|
+
"@swc/core-linux-arm64-gnu": "1.2.203",
|
|
145
|
+
"@swc/core-linux-arm-gnueabihf": "1.2.203",
|
|
146
|
+
"@swc/core-darwin-arm64": "1.2.203",
|
|
147
|
+
"@swc/core-android-arm64": "1.2.203",
|
|
148
|
+
"@swc/core-linux-arm64-musl": "1.2.203",
|
|
149
|
+
"@swc/core-win32-arm64-msvc": "1.2.203",
|
|
150
|
+
"@swc/core-android-arm-eabi": "1.2.203"
|
|
151
151
|
}
|
|
152
152
|
}
|