SWC Bot
36a1ea8e46
chore: Publish crates
2022-02-17 13:20:13 +00:00
SWC Bot
a91361eef0
chore: Publish crates
2022-02-17 12:53:25 +00:00
SWC Bot
d38e6ba48e
chore: Publish crates
2022-02-17 11:08:30 +00:00
OJ Kwon
5ed3f3a503
feat(cli): Initialize compile command ( #3602 )
2022-02-17 11:02:54 +00:00
SWC Bot
205fea6cce
chore: Publish crates
2022-02-17 08:21:05 +00:00
Donny/강동윤
798ef13706
feat(api/rust): Improve error messages for wrong usages of scoped thread-local variables ( #3606 )
2022-02-17 08:11:46 +00:00
SWC Bot
03367f09c2
chore: Publish crates
2022-02-17 06:42:52 +00:00
SWC Bot
aa10900235
chore: Publish crates
2022-02-17 06:13:48 +00:00
SWC Bot
4fb551144e
chore: Publish crates
2022-02-17 05:44:05 +00:00
SWC Bot
eb59f2a51d
chore: Publish crates
2022-02-17 05:18:22 +00:00
OJ Kwon
5061101999
build(swc): Bump the version of parking_lot
( #3604 )
2022-02-17 05:16:14 +00:00
SWC Bot
9e9d807722
chore: Publish crates
2022-02-17 04:38:52 +00:00
SWC Bot
c6757dafec
chore: Publish crates
2022-02-16 15:32:46 +00:00
SWC Bot
0d6e46167f
chore: Publish crates
2022-02-16 13:51:10 +00:00
SWC Bot
d4cac369b0
chore: Publish crates
2022-02-16 11:10:00 +00:00
SWC Bot
d77c090b27
chore: Publish crates
2022-02-16 10:12:20 +00:00
SWC Bot
2ab99c7404
chore: Publish crates
2022-02-16 09:44:50 +00:00
Donny/강동윤
258b5849e2
chore: Publish v1.2.141
2022-02-16 16:31:46 +09:00
SWC Bot
895f39f1ae
chore: Publish crates
2022-02-16 06:00:55 +00:00
SWC Bot
dfb4da259f
chore: Publish crates
2022-02-16 14:48:59 +09:00
OJ Kwon
88e07b21d1
refactor(plugin): Remove direct dependency to once_cell
( #3582 )
2022-02-16 14:43:25 +09:00
SWC Bot
7a173af447
chore: Publish crates
2022-02-16 14:19:25 +09:00
SWC Bot
60ffd039d9
chore: Publish crates
2022-02-16 12:40:38 +09:00
SWC Bot
ab86b8f2e9
chore: Publish crates
2022-02-15 21:39:36 +09:00
Donny/강동윤
a582f1f954
chore: Publish v1.2.140
2022-02-15 20:23:44 +09:00
SWC Bot
a5ae6806c3
chore: Publish crates
2022-02-15 17:05:01 +09:00
SWC Bot
a5b3dd815b
chore: Publish crates
2022-02-15 16:30:56 +09:00
SWC Bot
a53420bda8
chore: Publish crates
2022-02-15 15:44:02 +09:00
SWC Bot
7351ec2477
chore: Publish crates
2022-02-15 13:22:16 +09:00
SWC Bot
3b7e594bc7
chore: Publish crates
2022-02-15 12:40:39 +09:00
SWC Bot
c624fed604
chore: Publish crates
2022-02-15 12:05:43 +09:00
OJ Kwon
d6477a76cf
feat(plugin/runner): Improve resolver support for npm ( #3566 )
2022-02-15 12:05:09 +09:00
SWC Bot
49a87471fd
chore: Publish crates
2022-02-15 04:57:59 +09:00
SWC Bot
63ccf04edf
chore: Publish crates
2022-02-15 01:40:18 +09:00
SWC Bot
85d7e92640
chore: Publish crates
2022-02-14 22:48:04 +09:00
SWC Bot
d7c5ff48f4
chore: Publish crates
2022-02-14 18:16:06 +09:00
SWC Bot
2830438663
chore: Publish crates
2022-02-14 17:38:14 +09:00
SWC Bot
de26b88ff6
chore: Publish crates
2022-02-14 16:52:51 +09:00
SWC Bot
23544925e5
chore: Publish crates
2022-02-14 15:47:54 +09:00
SWC Bot
ac9c86f8b9
chore: Publish crates
2022-02-14 15:45:04 +09:00
SWC Bot
c79f19855a
chore: Publish crates
2022-02-14 15:19:53 +09:00
SWC Bot
0570913ec8
chore: Publish crates
2022-02-14 14:42:19 +09:00
SWC Bot
6a74aeecc1
chore: Publish crates
2022-02-14 01:32:16 +09:00
SWC Bot
2a6b7fd4c5
chore: Publish crates
2022-02-14 01:01:02 +09:00
SWC Bot
b30586ba7a
chore: Publish crates
2022-02-13 15:01:25 +09:00
SWC Bot
da77104db2
chore: Publish crates
2022-02-13 13:58:05 +09:00
SWC Bot
83274c8159
chore: Publish crates
2022-02-13 04:34:36 +09:00
SWC Bot
b5a5f2b624
chore: Publish crates
2022-02-12 21:46:16 +09:00
SWC Bot
b3a55dbb4e
chore: Publish crates
2022-02-12 21:45:18 +09:00
SWC Bot
c8b026fe0c
chore: Publish crates
2022-02-12 19:57:21 +09:00
Donny/강동윤
068a4087ca
chore(ci): Remove cargo-uttil
from dependency ( #3543 )
2022-02-12 18:18:24 +09:00
Donny/강동윤
3997e2f2c5
chore: Publish v1.2.139
2022-02-12 17:04:39 +09:00
SWC Bot
1f677fdfee
chore: Publish crates
2022-02-12 15:58:06 +09:00
SWC Bot
5d1e2964fc
chore: Publish crates
2022-02-12 15:55:13 +09:00
SWC Bot
ccf9591dad
chore: Publish crates
2022-02-12 14:28:18 +09:00
SWC Bot
0633b34397
chore: Publish crates
2022-02-12 14:27:18 +09:00
SWC Bot
65efef2e74
chore: Publish crates
2022-02-12 14:25:32 +09:00
OJ Kwon
a4d914dab5
chore(build): Remove version pinning of parking_lot_core
( #3537 )
2022-02-12 14:24:49 +09:00
SWC Bot
6637543789
chore: Publish crates
2022-02-12 13:49:09 +09:00
OJ Kwon
6ed089e1cf
feat(cli): Add a command for scaffolding a new plugin ( #3536 )
2022-02-12 13:48:40 +09:00
SWC Bot
90d080c16b
chore: Publish crates
2022-02-12 01:37:50 +09:00
SWC Bot
9efe3c8489
chore: Publish crates
2022-02-11 22:32:15 +09:00
SWC Bot
0780d892b3
chore: Publish crates
2022-02-11 17:46:34 +09:00
SWC Bot
61ab85dde4
chore: Publish crates
2022-02-11 12:33:41 +09:00
SWC Bot
d065cb15bf
chore: Publish crates
2022-02-10 21:27:43 +09:00
SWC Bot
67c508429a
chore: Publish crates
2022-02-10 20:27:33 +09:00
SWC Bot
2a609d2951
chore: Publish crates
2022-02-10 17:35:42 +09:00
SWC Bot
eb3401c3b2
chore: Publish crates
2022-02-10 16:05:48 +09:00
SWC Bot
69181e822c
chore: Publish crates
2022-02-10 13:55:12 +09:00
SWC Bot
cc3b1dfd69
chore: Publish crates
2022-02-10 13:52:54 +09:00
SWC Bot
df37b4472d
chore: Publish crates
2022-02-09 22:00:13 +09:00
SWC Bot
6c5ebbbbf8
chore: Publish crates
2022-02-09 20:37:38 +09:00
SWC Bot
d72c0beccf
chore: Publish crates
2022-02-09 20:32:33 +09:00
Donny/강동윤
8fbdbcd42f
chore: Publish crates
2022-02-09 20:28:02 +09:00
Artur
5bb6bd71b6
feat(es/lints): Implement dot-notation
rule ( #3481 )
2022-02-09 11:24:58 +00:00
Donny/강동윤
8dbc949cfe
chore: Publish crates
2022-02-09 19:43:50 +09:00
Donny/강동윤
5e82640b42
chore: Publish crates
2022-02-09 13:57:21 +09:00
Donny/강동윤
e8c15356e3
chore: Publish crates
2022-02-09 12:59:55 +09:00
Donny/강동윤
e9ceb57584
chore: Publish crates
2022-02-09 12:01:52 +09:00
Donny/강동윤
12e52e171d
chore: Publish v1.2.138
2022-02-09 02:10:54 +09:00
Donny/강동윤
c2a3b0d66c
chore: Publish crates
2022-02-09 00:47:41 +09:00
Donny/강동윤
cd81a6ba89
chore: Publish crates
2022-02-08 21:05:12 +09:00
Donny/강동윤
f8c62b6cac
chore: Publish crates
2022-02-08 20:29:10 +09:00
Donny/강동윤
180bb86e8c
chore: Publish crates
2022-02-08 19:10:54 +09:00
Donny/강동윤
484cd92959
chore: Publish crates
2022-02-08 14:06:31 +09:00
OJ Kwon
d473a65976
feat(plugin): Support global HANDLER
in the plugin context ( #3478 )
2022-02-08 14:06:10 +09:00
Donny/강동윤
214dc4736b
chore: Publish crates
2022-02-08 13:52:33 +09:00
Donny/강동윤
e988d1f5f5
chore: Publish crates
2022-02-08 13:41:34 +09:00
Donny/강동윤
c006972501
chore: Publish v1.2.137
2022-02-08 01:27:59 +09:00
Donny/강동윤
42918397cb
chore: Publish crates
2022-02-08 01:20:34 +09:00
Donny/강동윤
ec120199eb
chore: Publish crates
2022-02-08 00:42:17 +09:00
Donny/강동윤
0903899977
chore: Publish crates
2022-02-07 23:58:29 +09:00
Donny/강동윤
42143f243e
chore: Publish crates
2022-02-07 23:33:05 +09:00
Donny/강동윤
1234fac4d5
chore: Publish crates
2022-02-07 23:04:39 +09:00
Donny/강동윤
7b9379e1d1
chore: Publish crates
2022-02-07 21:35:06 +09:00
Donny/강동윤
02c401830d
chore: Publish crates
2022-02-07 17:12:43 +09:00
Donny/강동윤
0ff58d83c6
chore: Publish crates
2022-02-07 13:43:30 +09:00
Donny/강동윤
f1f9c1ce4d
chore: Publish crates
2022-02-07 11:12:21 +09:00
Donny/강동윤
5276054df3
chore: Publish crates
2022-02-07 06:43:46 +09:00
Donny/강동윤
92116f6133
chore: Publish crates
2022-02-07 04:46:44 +09:00
Donny/강동윤
bd34a84d56
chore: Publish crates
2022-02-06 13:44:50 +09:00
Donny/강동윤
be7d5cc4d5
chore: Publish crates
2022-02-05 23:23:09 +09:00
Donny/강동윤
bfada04b33
chore: Publish crates
2022-02-05 17:39:30 +09:00
Donny/강동윤
38e2ffb929
chore: Publish crates
2022-02-05 14:49:39 +09:00
Donny/강동윤
dc5fe85f7d
chore: Publish crates
2022-02-05 14:48:36 +09:00
Donny/강동윤
454d07d973
chore: Publish crates
2022-02-04 20:21:02 +09:00
Donny/강동윤
e5b22cc3d8
chore: Publish crates
2022-02-04 17:54:47 +09:00
Donny/강동윤
802842561e
chore: Publish crates
2022-02-04 16:47:02 +09:00
Donny/강동윤
d7c2d0561b
chore: Publish crates
2022-02-04 14:14:08 +09:00
Donny/강동윤
811ac08d32
chore: Publish crates
2022-02-04 14:12:11 +09:00
Donny/강동윤
19e7c70bd7
chore: Publish crates
2022-02-04 13:21:41 +09:00
Donny/강동윤
dc92beb038
chore: Publish crates
2022-02-04 13:06:57 +09:00
Donny/강동윤
51f2202e9e
chore: Publish crates
2022-02-04 12:34:05 +09:00
Donny/강동윤
e732ac9621
chore: Publish crates
2022-02-04 12:30:40 +09:00
Donny/강동윤
283486dcd7
chore: Publish crates
2022-02-03 17:56:51 +09:00
Donny/강동윤
2ea81db19f
chore: Publish crates
2022-02-03 15:36:30 +09:00
Donny/강동윤
d659c7f73c
chore: Publish v1.2.136
2022-02-03 15:21:13 +09:00
Donny/강동윤
b64fcaa69d
chore: Publish crates
2022-02-03 15:19:43 +09:00
Donny/강동윤
6c9b311881
chore: Publish crates
2022-02-03 13:14:20 +09:00
Donny/강동윤
de4ae1b4e9
chore: Publish crates
2022-02-02 23:46:36 +09:00
Donny
b509341fea
chore: Publish crates
2022-02-02 13:00:00 +09:00
Donny
b104fd3db0
chore: Publish crates
2022-02-01 22:45:54 +09:00
Donny
2504f041f7
chore: Publish crates
2022-02-01 22:37:11 +09:00
Donny
7af45d89b1
chore: Publish crates
2022-02-01 04:21:53 +09:00
Donny
bf7f4a4b37
chore: Publish crates
2022-01-31 14:59:57 +09:00
Donny
43ca078eda
chore: Publish crates
2022-01-31 13:20:27 +09:00
Donny
6ec667463f
chore: Publish crates
2022-01-30 22:49:41 +09:00
Donny
a143e96931
chore: Publish crates
2022-01-30 21:31:21 +09:00
Donny
db674354d3
chore: Publish crates
2022-01-30 14:04:12 +09:00
Donny
b28b636986
chore: Publish crates
2022-01-30 13:14:38 +09:00
Donny
a94f1ddb6f
chore: Publish crates
2022-01-30 12:36:38 +09:00
Donny
7de339530c
chore: Publish crates
2022-01-30 11:59:53 +09:00
Donny
930a1c2405
chore: Publish crates
2022-01-29 13:37:17 +09:00
Donny
c49ffc2c8b
chore: Publish crates
2022-01-29 12:10:57 +09:00
Donny/강동윤
74b433080b
refactor(es/minifier): Remove unused crates ( #3395 )
2022-01-28 20:17:08 +09:00
Donny
0e7d525352
chore: Publish crates
2022-01-28 16:09:16 +09:00
Donny
e215e077ef
chore: Publish crates
2022-01-28 15:37:22 +09:00
Donny
6690354f79
chore: Publish crates
2022-01-28 13:43:58 +09:00
Donny
3eaebdf479
chore: Publish crates
2022-01-28 01:14:47 +09:00
Donny
2cdd4300cf
chore: Publish crates
2022-01-28 01:13:16 +09:00
Donny
33d906caf3
chore: Publish crates
2022-01-27 21:45:13 +09:00
Donny
3c50e82193
chore: Publish crates
2022-01-27 19:00:30 +09:00
Donny
3bda85e303
chore: Publish v1.2.135
2022-01-27 17:42:57 +09:00
Donny
3a238df25a
chore: Publish crates
2022-01-27 16:29:12 +09:00
Pig Fang
d3d754bd17
feat(es/preset-env): Upgrade browserslist-rs
( #3375 )
2022-01-27 07:00:35 +00:00
Donny
6b2f3bb8a0
chore: Publish crates
2022-01-27 15:36:55 +09:00
Donny
bcc3ae86ae
chore: Publish crates
2022-01-26 20:39:45 +09:00
Donny
8a0ebebb08
chore: Publish crates
2022-01-26 20:37:51 +09:00
Donny
316d4762c3
chore: Publish crates
2022-01-26 20:36:44 +09:00
Donny
fb299a3bb1
chore: Publish crates
2022-01-26 13:47:13 +09:00
Donny
ac2bb9b7bd
chore: Publish crates
2022-01-26 13:12:02 +09:00
Donny
14e87d3a95
chore: Publish crates
2022-01-26 01:31:13 +09:00
Donny
a5ba590450
chore: Publish crates
2022-01-25 22:51:07 +09:00
Donny
74b0624c0c
chore: Publish v1.2.134
2022-01-25 17:28:37 +09:00
Donny
4a4cb731be
chore: Publish crates
2022-01-25 17:24:18 +09:00
Donny
27a8bf5104
chore: Publish crates
2022-01-25 14:48:41 +09:00
Donny
ad860c9a1c
chore: Publish crates
2022-01-25 06:22:21 +09:00
Donny
29f3446df1
chore: Publish crates
2022-01-25 05:57:14 +09:00
Donny
df2ca10cb6
chore: Publish crates
2022-01-25 05:22:20 +09:00
Donny/강동윤
a635e9f35b
chore(ci): Update thread_local
( #3357 )
2022-01-25 05:21:27 +09:00
Donny
79ab4d6138
chore: Publish crates
2022-01-24 22:07:14 +09:00
Donny
b7c2e13237
chore: Publish crates
2022-01-24 21:11:03 +09:00
Donny
2d26041d1d
chore: Publish crates
2022-01-24 15:11:53 +09:00
Donny
efdbda5808
chore: Publish crates
2022-01-24 00:19:56 +09:00
Donny
ffe793660d
chore: Publish crates
2022-01-23 21:22:03 +09:00
Donny
c977ce3ed1
chore: Publish crates
2022-01-22 17:11:56 +09:00
Donny
919c49b78b
chore: Publish crates
2022-01-21 22:33:10 +09:00
Donny
4ee4672e4d
chore: Publish crates
2022-01-21 14:01:51 +09:00
Donny
29985df91d
chore: Publish crates
2022-01-21 11:46:07 +09:00
Donny
846a91e14c
chore: Publish crates
2022-01-21 10:25:41 +09:00
Donny
57e79b6fce
chore: Publish crates
2022-01-21 10:03:21 +09:00
Donny
af53b9487f
chore: Publish crates
2022-01-20 23:57:38 +09:00
Donny
2cc852a0b5
chore: Publish crates
2022-01-20 23:19:23 +09:00
Donny
faacce3246
chore: Publish crates
2022-01-20 18:34:36 +09:00
Donny
848e9c8b8a
chore: Publish v1.2.133
2022-01-20 17:13:10 +09:00
Donny
e2424af430
chore: Publish crates
2022-01-20 16:10:32 +09:00
Donny
f62e6312d5
chore: Publish crates
2022-01-20 16:07:42 +09:00
Donny
e0c362b978
chore: Publish v1.2.132
2022-01-20 12:04:05 +09:00
Donny
cb50328d85
chore: Publish crates
2022-01-20 11:58:57 +09:00
Donny
1bd01b4829
chore: Publish crates
2022-01-20 10:34:54 +09:00
Donny
ca2598391c
chore: Publish v1.2.131
2022-01-19 23:33:01 +09:00
Donny
11aac9b89f
chore: Publish crates
2022-01-19 23:17:46 +09:00
Donny
70ce6a0e32
chore: Publish crates
2022-01-19 23:12:32 +09:00
Donny
b4f268fa23
chore: Publish crates
2022-01-19 17:39:58 +09:00
Donny
4966af8273
chore: Publish crates
2022-01-19 16:38:33 +09:00
Donny
173a3a2ac9
chore: Publish crates
2022-01-19 13:25:21 +09:00
Donny
dca1c919c2
chore: Publish crates
2022-01-18 20:52:56 +09:00
Donny
1e4bf76c2b
chore: Publish crates
2022-01-18 16:46:13 +09:00
Donny
cea7d21ca4
chore: Publish crates
2022-01-18 12:52:37 +09:00
Donny
3d7d96588e
chore: Publish crates
2022-01-18 12:26:37 +09:00
Donny
5a08327784
chore: Publish crates
2022-01-18 11:30:19 +09:00
asquared31415
641265b147
fix(common): Use siphasher
directly and upgrade transitive dependencies to avoid UB ( #3299 )
2022-01-18 11:29:53 +09:00
Donny
d7964dd547
chore: Publish crates
2022-01-17 22:42:52 +09:00
Donny
ba4083959f
chore: Publish crates
2022-01-17 22:41:25 +09:00
Donny
be33d20baf
chore: Publish crates
2022-01-17 16:18:53 +09:00
Donny
d696c324fb
chore: Publish crates
2022-01-17 16:05:12 +09:00
Donny
a424ac30ed
chore: Publish crates
2022-01-17 15:17:30 +09:00
Donny
023fc956ae
chore: Publish crates
2022-01-17 14:30:25 +09:00
Donny
a282146f7f
chore: Publish v1.2.130
2022-01-17 13:38:10 +09:00
Donny
681de03e4b
chore: Publish crates
2022-01-17 13:36:00 +09:00
Austaras
90a62bb215
refactor(es/utils): Merge the super field visitor with FnEnvHoister
( #3279 )
2022-01-17 13:35:32 +09:00
Donny
7ff5f0f9f2
chore: Publish crates
2022-01-17 00:22:39 +09:00
Donny
0955c3646b
chore: Publish crates
2022-01-16 23:32:02 +09:00
Donny
7ec6e94cb0
chore: Publish crates
2022-01-16 16:58:21 +09:00
Donny
2ec540da35
chore: Publish crates
2022-01-16 04:22:00 +09:00
Donny
d396c32fe5
chore: Publish crates
2022-01-15 21:56:36 +09:00
Donny
a4e93eb2df
chore: Publish crates
2022-01-15 17:20:51 +09:00
Donny
9b98ada0d2
chore: Publish crates
2022-01-15 14:11:49 +09:00
OJ Kwon
a4c497464d
feat(plugin/runnner): Support wasm32-wasi
targets ( #3271 )
2022-01-15 04:40:00 +00:00
Donny
6ad418339e
chore: Publish crates
2022-01-14 23:14:37 +09:00
Donny
8753f8cfc7
chore: Publish crates
2022-01-14 20:24:12 +09:00
Donny
235a849485
chore: Publish crates
2022-01-14 16:38:01 +09:00
Donny
d03824b13d
chore: Publish crates
2022-01-14 12:45:45 +09:00
Donny
1f49793ac9
chore: Publish crates
2022-01-14 10:41:07 +09:00
Donny
c114e1b6a9
chore: Publish crates
2022-01-14 08:34:08 +09:00
Donny
dc111bbcac
chore: Publish crates
2022-01-13 18:42:02 +09:00
Donny
59651a1ff1
chore: Publish v1.2.129
2022-01-13 13:46:11 +09:00
Donny
311758572d
chore: Publish crates
2022-01-13 13:42:06 +09:00
Donny
c13bba8401
chore: Publish crates
2022-01-12 18:39:56 +09:00
OJ Kwon
432d5d3fb7
feat(plugin/macro): Add safe API for plugins based on a proc-macro ( #3240 )
2022-01-12 09:32:52 +00:00
Donny
db952ecf01
chore: Publish crates
2022-01-12 16:58:23 +09:00
Donny
dc99778808
chore: Publish crates
2022-01-12 08:28:25 +09:00
Donny
a2445e743b
chore: Publish crates
2022-01-12 04:46:21 +09:00
Donny
acfce35d77
chore: Publish crates
2022-01-11 19:37:43 +09:00
Donny
c5f2feaf58
chore: Publish crates
2022-01-11 19:35:28 +09:00
OJ Kwon
a2f2b5ac89
feat(plugin): Don't serialize/deserialize needlessly ( #3227 )
...
swc_common:
- Add `Serialized`.
swc_plugin_runner:
- Accept `Serialized` instead of `Program`.
- Pass `Serialized` from previous plugin instead of deserializing it.
2022-01-11 10:11:04 +00:00
Donny
540bc09888
chore: Publish v1.2.128
2022-01-11 16:53:04 +09:00
Donny
9a62ef21b7
chore: Publish crates
2022-01-11 16:48:26 +09:00
Donny
7fbe8f644e
chore: Publish crates
2022-01-11 16:15:11 +09:00
Donny
d51904b93e
chore: Publish crates
2022-01-11 14:42:17 +09:00
Donny/강동윤
1edbf1a37a
feat(es/ast): Update is-macro
( #3226 )
...
swc_ecma_ast:
- Add `as_*` for ast enums.
2022-01-11 14:41:34 +09:00
Donny
54a0f51876
chore: Publish crates
2022-01-10 23:48:35 +09:00
Donny
852ec783f3
chore: Publish crates
2022-01-10 22:57:17 +09:00
OJ Kwon
7e7421ea52
feat(plugin): Perform actual transforms in plugins ( #3220 )
2022-01-10 21:34:16 +09:00
Donny
db71f7a42d
chore: Publish crates
2022-01-10 15:16:55 +09:00
Donny
0d4b671052
chore: Publish crates
2022-01-10 15:05:26 +09:00
Donny
5cd352e5dd
chore: Publish crates
2022-01-09 15:42:56 +09:00
Donny
9e0f6958a3
chore: Publish crates
2022-01-09 01:05:51 +09:00
Donny
1ca49a56b3
chore: Publish crates
2022-01-08 23:29:33 +09:00
Donny/강동윤
42f726873e
feat(es/transforms): Add Assumptions
( #3215 )
...
swc_ecma_transforms_base:
- Add `Assumptions`. (Closes #2057 )
swc_ecma_transforms:
- Reexport `Assumptions`.
swc:
- Add `jsc.assumptions`.
2022-01-08 23:26:09 +09:00
Donny/강동윤
70c2f3b3a5
security(repo): Fix crev integration ( #3210 )
2022-01-07 20:03:03 +09:00
Donny
56d1f03556
chore: Publish crates
2022-01-07 15:18:26 +09:00
OJ Kwon
92de2c7884
feat(plugin): Pass serialized ast to a wasm file ( #3199 )
...
swc_common:
- Use correct cargo feature for plugin apis.
swc_plugin:
- Add hidden functions required for memory operations from host.
swc_plugin_runner:
- Pass serialized AST to a wasm file.
2022-01-07 15:13:46 +09:00
Donny
fa212be6ae
chore: Publish crates
2022-01-07 14:49:46 +09:00
Donny
80bf7f25ff
chore: Publish crates
2022-01-06 21:25:35 +09:00
Donny
7c59765b2f
chore: Publish crates
2022-01-06 20:51:06 +09:00
Donny
6892f27ad7
chore: Publish crates
2022-01-06 20:19:36 +09:00
Donny
24fbc475a3
chore: Publish crates
2022-01-06 19:50:54 +09:00
Donny/강동윤
c34f1a977f
chore(ci): Fix publish script ( #3197 )
...
swc_plugin_runner:
- Use patched version of `cranelift-codegen`.
2022-01-06 17:03:28 +09:00
Donny
28ff0592a4
refactor(plugin/runner): Reuse wasmer
2022-01-05 14:01:57 +09:00
OJ Kwon
c3895ca9aa
refactor(plugin/runner): Replace wasm runtime ( #3196 )
2022-01-05 04:44:41 +00:00
Donny
27a5284539
chore: Publish v1.2.127
2022-01-05 12:01:49 +09:00
Donny
e679c04873
chore: Publish crates
2022-01-05 11:59:44 +09:00
Donny/강동윤
913c82a2ab
fix(es/lints): Fix incorrect duplicate binding error ( #3194 )
...
swc_ecma_transforms_base:
- `resolver`: Fix resolving of `const` and `let`.
swc_ecma_lints:
- `duplicate_bindings`: Don't mark ambient function declararions as a binding. (Closes #3193 )
2022-01-05 11:59:10 +09:00
Donny
e2b5a31882
chore: Publish crates
2022-01-05 08:48:03 +09:00
Donny
1b8b062621
chore: Publish crates
2022-01-05 05:13:24 +09:00
Donny
781aa79b82
chore: Publish crates
2022-01-04 19:29:50 +09:00
OJ Kwon
32d3342283
refactor(plugin): Remove codes related to the plugin system based on abi_stable
( #3188 )
2022-01-04 10:26:17 +00:00
Donny/강동윤
c758997180
refactor(dbg-swc): Rename esdiff
to dbg-swc
( #3189 )
2022-01-04 18:39:43 +09:00
Donny
8b633a93ff
chore: Publish crates
2022-01-04 17:41:12 +09:00
Donny/강동윤
51c792eb30
feat(esdiff): Create a command to determine problematic file ( #3181 )
...
swc_ecma_diff:
- Fix diff logic of `Vec`.
esdiff:
- `diff-min`: Normalize `Str.has_escape`.
- `diff-min`: Normalize empty var declaration.
- Add `redue-min`.
2022-01-04 17:40:40 +09:00
Donny
9cc72fe8e9
chore: Publish crates
2022-01-04 16:16:35 +09:00
Donny
a66eec2d16
chore: Publish crates
2022-01-04 15:16:19 +09:00
David Sherret
e5e6e84300
feat(es/dep-graph): Improve DependencyDescriptor to combine import_assertions
with dynamic_import_assertions
( #3183 )
2022-01-04 05:54:45 +00:00
Donny
ab10f77af9
chore: Publish crates
2022-01-04 14:19:00 +09:00
Donny
d77bb8aff0
chore: Publish crates
2022-01-04 14:18:19 +09:00
OJ Kwon
fc4c6708f2
refactor(plugin): Add a loader for wasm-based plugin system ( #3179 )
2022-01-03 19:03:01 +00:00
Donny
aa1a243f56
chore: Publish crates
2022-01-03 22:00:34 +09:00
Donny
fece2aae55
chore: Publish v1.2.126
2022-01-03 20:36:16 +09:00
Donny
1ef435e1ce
chore: Publish crates
2022-01-03 20:35:10 +09:00
Donny
1e5bc88cd3
chore: Publish crates
2022-01-03 17:45:09 +09:00
Donny
08399d2e95
chore: Publish v1.2.125
2022-01-03 05:57:48 +09:00
Donny
cb13512e84
chore: Publish crates
2022-01-03 05:55:39 +09:00
Donny
e14aa9dab4
chore: Publish crates
2022-01-03 00:08:39 +09:00
Donny
ad3dca82b9
chore: Publish crates
2022-01-03 00:06:38 +09:00
Donny/강동윤
1aa55e616a
feat(es/diff): Add a internal CLI program for debugging minifier ( #3168 )
2022-01-02 19:55:12 +09:00
Donny
a883e604f2
chore: Publish crates
2022-01-02 16:24:06 +09:00
Donny/강동윤
bf751cb690
feat(es/ast): Add rkyv
support ( #3166 )
...
ast_node:
- `#[ast_node]`: Add support for `rkyv`.
swc_common:
- Add a feature flag for `rkyv`.
swc_ecma_ast:
- Add a feature flag for `rkyv`.
2022-01-02 16:23:37 +09:00
Donny
b1a72315db
chore: Publish crates
2022-01-02 12:50:50 +09:00
Donny/강동윤
7a83c0cb57
perf(es/ast/serde): Make deserialization faster ( #3160 )
...
ast_node:
- Improve deserialization of enums.
swc_css_ast:
- Fix a compilation issue.
swc_ecma_ast:
- Update `serde`.
swc_ecma_parser:
- Fix a compilation issue.
swc_estree_ast:
- Fix serialization.
2022-01-02 12:49:09 +09:00
Donny
29f05b55fc
chore: Publish crates
2022-01-02 05:02:48 +09:00
Donny
b52240d8e5
chore: Publish crates
2021-12-31 04:02:07 +09:00
Donny
097e1e310c
chore: Publish crates
2021-12-30 19:48:39 +09:00
Donny/강동윤
194b3e9b67
refactor(*): Use 2021 edition ( #3151 )
2021-12-30 18:59:18 +09:00
Donny
b9c3fba904
chore: Publish crates
2021-12-30 17:22:27 +09:00
Donny
0cf8265f02
chore: Publish crates
2021-12-29 21:04:30 +09:00
Donny
bf820b7937
chore: Publish crates
2021-12-29 16:01:48 +09:00
OJ Kwon
72c963662d
refactor(*): Drop unused dependencies ( #3138 )
2021-12-29 15:27:51 +09:00
Donny
737b6108d4
chore: Publish crates
2021-12-29 13:46:45 +09:00
Donny/강동윤
43c8cda31a
fix(es/renamer): Fix renamer ( #3139 )
...
swc_ecma_transforms_base:
- `resolver`: Ignore named export with source.
- `hygiene`: Ignore named export with source. (Closes #2924 , Closes #3114 )
swc_ecma_minifier:
- Handle `export default` declarations as declaration instead of expressions. (Closes #2717 )
- Don't override already-processed identifiers. (Closes #2988 )
swc_bundler:
- Adjust the syntax context for named re-exports.
2021-12-29 13:44:48 +09:00
Donny
fc9622f779
chore: Publish crates
2021-12-28 23:33:53 +09:00
Donny
0fc5c37154
chore: Publish crates
2021-12-28 22:27:29 +09:00
Donny
2ab65c2cea
chore: Publish crates
2021-12-28 22:25:47 +09:00
Donny
b824baefe7
chore: Publish crates
2021-12-28 21:38:03 +09:00
Donny
ba187c3c6a
chore: Publish crates
2021-12-28 20:23:21 +09:00
Donny/강동윤
cec325be63
security(repo): Configure cargo-crev
( #3124 )
2021-12-28 18:49:33 +09:00
Donny
a0d31f5ce4
chore: Publish crates
2021-12-28 17:12:28 +09:00
Donny
0951599a7b
chore: Publish crates
2021-12-27 17:31:24 +09:00
Pig Fang
83f71c2c0b
feat(es/preset-env): Upgrade browserslist-rs
( #3122 )
2021-12-27 17:30:05 +09:00
Donny
4ab82fb4a7
chore: Publish crates
2021-12-27 04:38:36 +09:00
Donny
836cbd63a8
chore: Publish crates
2021-12-26 23:38:59 +09:00
Donny
4ddc01e219
chore: Publish crates
2021-12-26 00:35:28 +09:00
Donny
3b1a815db7
chore: Publish crates
2021-12-25 20:55:16 +09:00
Donny
ab2960b2c7
chore: Publish crates
2021-12-25 20:54:30 +09:00
Donny
3f8b393465
chore: Publish v1.2.123
2021-12-25 20:54:05 +09:00
Donny
cb603cc1ff
chore: Publish crates
2021-12-24 13:40:54 +09:00
Donny
5e6f6e5122
chore: Publish crates
2021-12-24 12:23:46 +09:00
Donny
8aff5ae0aa
chore: Publish crates
2021-12-24 11:31:22 +09:00
LongYinan
206da128a1
feat(node): Upgrade napi
to v2 ( #2958 )
2021-12-24 02:21:24 +00:00
Donny
4bb264d480
chore: Publish crates
2021-12-24 10:47:59 +09:00
Donny/강동윤
d923f89db1
fix(es/compat): Fix classes
pass ( #3107 )
...
swc_ecma_ast:
- Add `Ident::verify_symbol`.
swc_ecma_transforms_compat:
- Don't generate invalid identifiers. (Closes #3106 )
2021-12-24 10:46:55 +09:00
Donny
d7a489a709
chore: Publish crates
2021-12-23 22:03:30 +09:00
Donny/강동윤
ff0b55b778
feat(es/diff): Initialize a diff tool for ecmascript ( #3101 )
...
swc_ecma_diff:
- Initialize the project.
2021-12-23 22:01:56 +09:00
Donny
7cbd2bc790
chore: Publish crates
2021-12-23 19:04:24 +09:00
Donny
25d26485fc
chore: Publish crates
2021-12-23 02:53:32 +09:00
Donny
f4cc323e08
chore(node): Publish v1.2.122
2021-12-22 17:09:25 +09:00
Donny
08c4589da7
chore: Publish crates
2021-12-22 17:06:54 +09:00
Donny
fc2c883444
chore: Publish crates
2021-12-22 16:31:23 +09:00
Donny
dc6a19dfef
chore: Publish crates
2021-12-22 04:57:45 +09:00
Donny/강동윤
15cbe4fcaa
fix(es/loader): Update lru
( #3092 )
2021-12-22 04:56:49 +09:00
Donny
726fc6968d
chore: Publish crates
2021-12-21 23:53:37 +09:00
Donny
c9def54913
chore: Publish crates
2021-12-21 21:40:09 +09:00
Donny
e33248cbcc
chore: Publish crates
2021-12-21 18:21:48 +09:00
Donny/강동윤
0e4dce694d
refactor(es/minifier): Use swc_timer
( #3087 )
...
swc_bundler:
- Add `Config.disable_fixer`.
- Add `Config.disable_hygiene`.
swc_ecma_minifier:
- Use `swc_timer`.
2021-12-21 18:19:33 +09:00
Donny
4c1948f786
chore: Publish crates
2021-12-21 14:25:11 +09:00
Donny
cdc4676a88
chore: Publish crates
2021-12-20 18:25:51 +09:00
OJ Kwon
2e89a4f5a8
feat(cli): Setup packages for CLI ( #3070 )
2021-12-20 06:03:00 +00:00
Donny
3808101ca8
chore: Publish crates
2021-12-20 14:38:28 +09:00
Donny
3d95ff4e41
chore: Publish crates
2021-12-20 10:26:08 +09:00
Donny
46994e067a
chore: Publish crates
2021-12-19 21:08:59 +09:00
Donny/강동윤
f21af5bcd6
feat(es/lints): Implement simple validations ( #2763 )
...
swc_ecma_lint:
- Implement `const-assign`. (Closes #2016 )
- Implement `duplicate-bindings`. (Closes #2795 )
- Implement `duplicate-exports`. (Closes #3056 )
swc:
- Use linter.
2021-12-19 21:07:51 +09:00
Donny
23742e3b18
chore: Publish crates
2021-12-19 18:11:51 +09:00
Pig Fang
a1b315a114
feat(es/preset-env): Upgrade browserslist-rs
( #3069 )
2021-12-19 08:46:32 +00:00
Donny
25a17e8b11
chore: Publish crates
2021-12-19 14:15:44 +09:00
Donny
13b6d044f5
chore: Publish crates
2021-12-19 14:11:38 +09:00
Donny
967f30d7d4
chore: Publish crates
2021-12-19 12:45:44 +09:00
Donny
9c62047653
chore: Publish crates
2021-12-19 05:03:01 +09:00
Donny
a4b77bf11f
chore: Publish crates
2021-12-19 00:21:30 +09:00
Donny
021fe66652
chore: Publish crates
2021-12-19 00:18:47 +09:00
Donny/강동윤
b4d95b44a7
perf(es/parser): Improve performance ( #3059 )
...
swc_common:
- Optimize `StringInput`.
swc_ecma_parser:
- Optimize `skip_space`.
- Remove useless `.clone()`.
2021-12-19 00:18:00 +09:00
Donny
188b856694
chore: Publish crates
2021-12-18 23:15:17 +09:00
Donny
8c16c2b77d
chore: Publish crates
2021-12-17 15:09:02 +09:00
Donny
a2a0b63c62
chore: Publish crates
2021-12-16 20:39:34 +09:00
Donny
189b1e286d
chore: Publish crates
2021-12-16 19:57:40 +09:00
Donny
c658af4365
chore: Publish crates
2021-12-16 15:31:03 +09:00
Donny
ddd967f33b
chore: Publish crates
2021-12-15 19:08:31 +09:00
Donny
db8335ca2d
chore: Publish crates
2021-12-15 18:33:59 +09:00
Donny
9b36abbe75
chore: Publish crates
2021-12-15 16:22:00 +09:00
Donny
83e1635a04
chore: Publish crates
2021-12-14 19:48:17 +09:00
Donny
340eaf48f3
chore: Publish crates
2021-12-14 18:02:06 +09:00
Donny
cfb796b1a8
chore: Publish crates
2021-12-14 17:29:22 +09:00
Donny/강동윤
15ea98bf65
fix(webpack/ast): Fix webpackAST
( #3040 )
...
swc_webpack_ast:
- `reducer`: Flatten safe statements.
- `reducer`: Preserve variables.
2021-12-14 17:28:51 +09:00
Donny
4fe9a6c1fd
chore: Publish crates
2021-12-13 19:02:44 +09:00
Donny
5a173bce3a
chore: Publish crates
2021-12-13 11:39:41 +09:00
Donny
f35ec6c612
chore: Publish crates
2021-12-13 09:21:46 +09:00
Donny
f86c077a37
chore: Publish crates
2021-12-13 06:46:14 +09:00
Donny
28f3c4fb52
chore: Publish crates
2021-12-13 06:45:43 +09:00
Donny
de95e2a9b9
chore: Publish crates
2021-12-13 05:44:01 +09:00
Donny/강동윤
017392aa5b
feat(node-swc): Add cargo feature for v2 ( #3019 )
...
swc_node_bundler:
- Add cargo features for versioned apis.
node-swc:
- Add cargo features for versioned apis.
2021-12-12 22:52:58 +09:00
Donny
da4111a022
chore: Publish crates
2021-12-11 20:54:21 +09:00
Donny
a04b4082a4
Bump version
2021-12-11 17:01:12 +09:00
Donny/강동윤
e0c8bbf7a0
fix(css/parser): Fix lexing of value starting with -
( #3011 )
...
swc_css_parser:
- Lex `-` as an identifier start.
2021-12-11 16:23:02 +09:00
Donny
f87df958d5
chore: Publish crates
2021-12-11 16:21:44 +09:00
Donny
9a00c9a13f
chore: Publish crates
2021-12-11 13:58:49 +09:00
Donny/강동윤
8340a86fbb
refactor(es/ast): Move Id
to swc_ecma_ast
( #3004 )
2021-12-10 23:36:43 +09:00
Donny/강동윤
a3bd6aea54
fix(es/codegen): Fix sourcemap ( #3003 )
...
swc_ecma_codegen:
- Handle source map of multi-line template literals. (Closes #2185 , Closes #2362 , Closes #2900 )
2021-12-10 19:57:39 +09:00
Donny
57f512c262
chore: Publish crates
2021-12-10 19:36:51 +09:00
Donny
68861007d9
chore: Publish crates
2021-12-10 18:56:37 +09:00
Donny
c5b943f588
chore: Publish crates
2021-12-10 18:55:41 +09:00
Donny
deae28c31d
chore: Publish crates
2021-12-10 18:19:38 +09:00
Donny
8ea40a3707
chore: Publish crates
2021-12-08 19:54:05 +09:00
Donny/강동윤
6a7ad9239e
fix(es/compat): Fix for synthesized template literals ( #2994 )
2021-12-08 19:47:11 +09:00
Donny
f6a926e6fb
chore: Publish crates
2021-12-08 15:25:49 +09:00
Donny/강동윤
c8395bc74f
fix(css): Fix stylis
( #2987 )
...
swc_css_codegen:
- Respect `minify`.
swc_stylis:
- Process properties only if it's in a qualified rule.
2021-12-07 21:04:54 +09:00
Donny
bf69cd554b
chore: Publish crates
2021-12-07 18:03:14 +09:00
Donny
7d4c372e8a
chore: Publish crates
2021-12-07 15:19:11 +09:00
Donny
82ece9d0ca
chore: Publish crates
2021-12-07 15:15:08 +09:00
Donny
b1a47ee971
chore: Publish crates
2021-12-07 14:34:44 +09:00
Donny/강동윤
e48263b2f3
refactor(visit): Remove &dyn Node
from Visit
( #2984 )
...
swc_visit_macros:
- Remove `&dyn Node` from `Visit`.
- Implement `VisitWith<V>` for `[T]`.
2021-12-07 14:34:16 +09:00
Donny/강동윤
f052a65bf3
fix(es/compat): Preserve constructor parameters ( #2975 )
...
swc_ecma_visit:
- Add cargo feature `debug`.
- Add more context for `tracing` when `debug` is enabled.
swc_ecma_utils:
- Add some logging.
swc_ecma_transforms_compat:
- Add some logging.
- `destructuring`: Don't drop patterns. (Closes #2139 )
testing:
- Enable logging by default.
- Configure logging for `Tester`.
2021-12-06 20:08:50 +09:00
Donny
acc45e7c36
chore: Publish crates
2021-12-05 17:34:04 +09:00
Donny/강동윤
1ea965cecb
fix(es/parser): Drop outdated options ( #2974 )
...
swc_ecma_parser:
- Drop flags in `EsConfig`.
- Drop flags in `TsConfig`.
- Drop unused variants from `SyntaxError`.
2021-12-05 17:33:34 +09:00
Donny
16540fba75
chore: Publish crates
2021-12-05 16:30:42 +09:00
Donny
529f980693
chore: Publish crates
2021-12-05 15:44:50 +09:00
Donny
58159d377c
chore: Publish crates
2021-12-05 15:43:04 +09:00
Donny/강동윤
74363e0357
fix(webpack/ast): Preserve span ( #2971 )
2021-12-04 23:24:18 +09:00
Donny
fd2a788282
chore: Publish crates
2021-12-04 21:03:13 +09:00
Donny/강동윤
2a01dd4b32
fix(webpack/ast): Reduce if
statements ( #2969 )
2021-12-04 19:28:18 +09:00
Donny
42a93dd8ef
chore: Publish crates
2021-12-04 11:53:14 +09:00
Donny
32e2f3e46c
chore: Publish crates
2021-12-04 01:55:54 +09:00
Donny/강동윤
02322aaa99
chore: Make rust-analyzer
faster ( #2962 )
2021-12-03 23:14:33 +09:00
Donny/강동윤
c346f12b32
fix(estree): Fix serialization of ObjectMethod
( #2961 )
...
swc_estree_ast:
- Fix serialization of `ObjectMethod` for `acorn`.
swc_webpack_ast:
- `ast_reducer`: Remove unused getter/setter properties.
2021-12-03 23:14:12 +09:00
Donny
fd8541eb9d
chore: Publish crates
2021-12-03 21:23:06 +09:00
Donny/강동윤
eda514bcc5
fix(webpack/ast): Fix amd support ( #2959 )
...
swc_webpack_ast:
- `ast_reducer`: Preserve array literals in `define` calls.
2021-12-03 20:51:48 +09:00
Donny/강동윤
1eb62dc201
fix(webpack/ast): Remove more string literals ( #2957 )
2021-12-03 18:54:28 +09:00
Donny
348b6cf6f0
chore: Publish crates
2021-12-03 18:36:10 +09:00
Donny
ef3ea6b467
chore: Publish crates
2021-12-03 17:25:44 +09:00
Donny
eade0374f2
chore: Publish crates
2021-12-02 17:23:50 +09:00
Donny
e8225a66a0
chore: Publish crates
2021-12-02 16:29:34 +09:00
Donny
36db1ed359
chore: Publish crates
2021-12-02 15:55:03 +09:00
Donny
82c8694f4b
chore: Drop freebsd for publishing
2021-12-02 11:37:40 +09:00
Donny/강동윤
0304c550a4
chore: Break cycles ( #2941 )
2021-12-02 10:44:27 +09:00
Donny
67dc0d3b94
chore: Publish crates
2021-12-02 10:08:22 +09:00
Austaras
1555ceb8a3
feat(es/transforms/compat): Add loose mode to parameters
( #2911 )
...
swc_ecma_utils:
- Make `WrapperState` implement `Clone`.
swc_ecma_transforms_compat:
- `paramters`: Fix handling of non-loose mode. (Closes #2800 , Closes #2825 )
2021-12-02 01:04:01 +00:00
Donny
4e214ce437
chore: Publish v1.2.116
2021-12-02 07:10:16 +09:00
Donny
3bf751ac4a
chore: Publish crates
2021-12-02 03:33:26 +09:00
Donny/강동윤
4539b3a610
fix(webpack/ast): Don't remove comparison of process.env.NODE_ENV
( #2937 )
2021-12-01 23:18:19 +09:00
Donny/강동윤
667dd1e95e
fix(webpack/ast): Fix ast reducer ( #2936 )
...
swc_webpack_ast:
- Preserve string literals in `require`
2021-12-01 21:54:55 +09:00
Donny
f9cd49b845
chore: Publish crates
2021-12-01 21:26:31 +09:00
Donny
f8fcee1c46
chore: Publish crates
2021-12-01 21:26:01 +09:00
Pig Fang
8a55870ce5
feat(es/preset-env): Upgrade browserslist-rs
( #2927 )
2021-12-01 12:18:11 +00:00
Donny/강동윤
24de5507ae
fix(bundler): Use interop for common js dependencies ( #2930 )
...
swc_bundler:
- Update helpers to use interop for common js deps. (Closes #2789 )
2021-12-01 19:53:06 +09:00
Donny
1fabb0381a
chore: Publish crates
2021-12-01 18:36:26 +09:00
Donny
563c63c225
chore: Publish crates
2021-12-01 15:32:22 +09:00
Donny
86d2cebd37
chore: Publish v1.2.115
2021-12-01 14:20:52 +09:00
Donny
b6f92497bf
chore: Publish crates
2021-11-30 20:20:38 +09:00
Donny
e6957ce400
chore: Publish crates
2021-11-30 19:40:27 +09:00
Donny/강동윤
854b598e94
fix(webpack/ast): Improve ast reducer ( #2917 )
2021-11-30 18:16:05 +09:00
Donny
12d31c997b
chore: Publish crates
2021-11-30 13:53:41 +09:00
Donny
073c3787f1
chore: Publish crates
2021-11-30 13:11:36 +09:00
Donny
57fb69262d
chore: Publish crates
2021-11-30 11:25:38 +09:00
Donny
9b022dbabe
chore: Publish crates
2021-11-30 10:04:41 +09:00
Donny/강동윤
32b68ef5d0
fix(webpack/ast): Fix ast reducer ( #2914 )
...
swc_webpack_ast:
- Implement more rules.
- Test using typescript test suites.
2021-11-30 10:04:08 +09:00
Donny
167798b599
chore: Publish crates
2021-11-30 09:41:40 +09:00
Donny
666e3cc71e
chore: Revert #2907
2021-11-30 08:42:45 +09:00
Donny
655d754d0e
chore: Publish crates
2021-11-30 03:55:52 +09:00
Donny
3211ad23cf
chore: Publish crates
2021-11-30 00:27:19 +09:00
Donny/강동윤
586ab0cf76
fix(webpack/ast): Adjust acorn
options. ( #2908 )
...
swc_babel_ast:
- Fix serialization of class properties.
- Adjust `acorn` options.
2021-11-29 21:08:22 +09:00
Donny
edc0cb0a2d
chore: Publish crates
2021-11-29 19:39:11 +09:00
Donny
a46ee17281
chore: Publish crates
2021-11-29 19:30:33 +09:00
Donny
756a9bad6a
chore: Publish crates
2021-11-29 16:48:34 +09:00
Pig Fang
af216c1014
chore(es/preset-env): Upgrade browserslist-rs
( #2889 )
2021-11-29 16:48:07 +09:00
Donny
3d75b9a968
chore: Publish crates
2021-11-29 16:47:27 +09:00
Donny/강동윤
bb66083f69
fix(swc): Unimplement Default
for JsMinifyOptions
( #2901 )
2021-11-28 18:57:48 +09:00
Donny
188eaad24e
chore: Publish crates
2021-11-28 18:09:28 +09:00
Donny
875c421259
chore: Publish crates
2021-11-28 17:36:47 +09:00
Donny/강동윤
91ef3cc16e
feat(plugin): Enable plugin support under experimental flag ( #2894 )
...
swc_plugin_runner:
- Add plugin resolver.
- Implement cache for resolver.
- Add some integration tests.
swc:
- Add a cargo feature named `plugin`.
- Add an experimental option for plugins.
node:
- Enable `plugin`.
- Add some integration tests.
2021-11-28 17:02:14 +09:00
Donny/강동윤
5425509208
feat(swc): Implement Default
for JsMinifyOptions
( #2899 )
2021-11-28 10:12:02 +09:00
Donny
2485c97317
chore: Publish crates
2021-11-28 02:04:19 +09:00
Donny/강동윤
ffcb357010
feat(plugin): Rename Plugin
to JsPlugin
( #2893 )
...
swc_js_plugin_api:
- Rename to js plugin.
- Use rplugin and plugin ast instead of json.
2021-11-27 22:21:25 +09:00
Donny/강동윤
ddc3aca3f0
fix(swc): Fix handling of jest
option ( #2892 )
...
swc:
- Merge `jsc.transforms.hidden.jest`.
2021-11-27 21:30:09 +09:00
Donny
0d39521b91
chore: Publish crates
2021-11-27 17:51:10 +09:00
Donny
035b6d83da
chore: Publish crates
2021-11-27 17:04:26 +09:00
Donny/강동윤
f5af22ef71
chore: Document features ( #2890 )
2021-11-27 16:55:42 +09:00
Donny
01d4139e42
chore: Publish crates
2021-11-27 15:53:05 +09:00
Donny/강동윤
c6cb790cd9
feat(css/minifier): Initialize crate ( #2884 )
2021-11-27 14:33:33 +09:00
Donny
ad8dc4ded6
chore: Publish crates
2021-11-27 00:01:32 +09:00
Donny
72e892ec12
chore: Publish crates
2021-11-26 23:29:33 +09:00
Donny/강동윤
c2bbdbe9d6
feat(webpack): Add ast reducer ( #2875 )
...
swc_estree_compat:
- Fix stack overflow related to object patterns.
swc_webpack_}ast:
- Implement AST reducer.
2021-11-26 15:04:41 +09:00
Donny
a38889be91
chore: Publish crates
2021-11-26 08:31:11 +09:00
Donny/강동윤
cdef843369
feat(es/estree): Allow emitting acorn
ast ( #2859 )
...
swc_estree_ast:
- Add `Flavor`.
- Adjust serialization based on `Flavor`.
swc_estree_visit:
- Remove.
testing:
- Add `diff_json`.
testing_macros:
- `#[fixture]`: Print input.
2021-11-25 20:16:46 +09:00
Donny
730e138925
chore: Publish crates
2021-11-25 16:17:34 +09:00
Donny
2c9de7dd4a
chore: Publish crates
2021-11-25 15:22:34 +09:00
Donny
62a48875bd
chore: Publish crates
2021-11-25 14:14:43 +09:00
Donny
e04f0867fc
chore: Publish crates
2021-11-24 17:04:09 +09:00
Donny
1cc4de3e9b
chore: Publish v1.2.112
2021-11-24 15:07:18 +09:00
Donny
770da5ae9e
chore: Publish crates
2021-11-24 15:05:46 +09:00
Donny
a8bda3bb9c
chore: Publish crates
2021-11-24 13:54:33 +09:00
Donny
d4ffce13b5
chore: Publish crates
2021-11-24 10:08:01 +09:00
Donny/강동윤
790a262c07
refactor(es/estree): Rename: babel
=> estree
( #2846 )
...
swc_babel_ast:
- Rename as `swc_estree_ast`.
swc_babel_compat:
- Rename as `swc_estree_compat`.
swc_babel_visit:
- Rename as `swc_estree_visit`.
2021-11-24 05:34:41 +09:00
Donny
e4216a2e6c
chore: Publish crates
2021-11-23 21:10:35 +09:00
Donny
c1e99eee3e
chore: Publish crates
2021-11-23 19:07:48 +09:00
Donny/강동윤
2c099bfd2c
feat(es/preset_env): Use browserslist-rs
( #2845 )
...
swc_ecma_preset_env:
- Fix `default_path`.
- Use `browserslist-rs` for query. (Closes #2781 )
2021-11-23 19:07:16 +09:00
Donny
e99c4d26ae
chore: Publish crates
2021-11-23 18:14:38 +09:00
Donny/강동윤
d0cabc37ed
chore: Publish babel crates ( #2835 )
2021-11-22 21:41:03 +09:00
Donny/강동윤
6b96a3d8ed
feat: Enable logging of timings ( #2833 )
...
swc_timer:
- Add `Timer`.
- Add `timer!()`.
node:
- Enable logging.
2021-11-22 21:01:08 +09:00
Donny
7ec522f165
chore: Publish crates
2021-11-22 17:55:07 +09:00
Donny
46e722559e
chore: Publish crates
2021-11-22 01:02:49 +09:00
Donny
a392a4c0fd
chore: Publish crates
2021-11-21 23:43:31 +09:00
Donny/강동윤
7a6bf424c5
fix(es/transforms/base): Fix ts_resolver
( #2826 )
...
swc_ecma_transforms_base:
- `ts_resolver`: Hoist type aliases.
2021-11-21 16:31:12 +09:00
Donny
96d8ee522c
chore: Publish crates
2021-11-21 16:30:42 +09:00
Donny
218a269bb5
chore: Publish crates
2021-11-21 15:48:05 +09:00
Donny/강동윤
020b4a554d
fix(graph_analyzer): Allow invoking load
multiple time ( #2823 )
...
swc_graph_analyzer:
- Make `load` work correctly even if it's called multiple time.
2021-11-21 14:55:59 +09:00
Donny
2749817545
chore: Publish crates
2021-11-20 20:25:28 +09:00
Donny/강동윤
6a7775b5da
fix(es/transforms/compat): Fix this
in constructor ( #2818 )
...
swc_ecma_transforms_classes:
- Don't modify `this` in constructors.
swc_ecma_transforms_compat:
- Fix handling of `this` in constructors.
2021-11-20 19:07:42 +09:00
Donny
cdf7f5f5a0
chore: Publish crates
2021-11-20 17:06:40 +09:00
Donny
5a037876dd
chore: Publish crates
2021-11-20 17:05:17 +09:00
Donny
43586d0b7c
chore: Publish crates
2021-11-20 16:29:43 +09:00
Donny
e39748ed4a
chore: Publish crates
2021-11-20 15:52:34 +09:00
Donny/강동윤
1368981f19
fix(wasm): Fix wasm-web
( #2803 )
2021-11-19 15:04:01 +09:00
Donny
51bee9bfd3
chore: Publish crates
2021-11-19 03:02:31 +09:00
David Sherret
02ffe8a289
fix(es/utils): Fix extract_var_ids
( #2798 )
...
swc_ecma_utils:
- `extract_var_ids`: Handle assignment object pattern property.
2021-11-19 03:02:08 +09:00
Donny
ca55539938
chore: Publish crates
2021-11-19 00:12:37 +09:00
Donny
8615a64f2f
chore: Publish crates
2021-11-18 22:19:10 +09:00
Donny
a2f7bade39
chore: Publish crates
2021-11-18 17:25:19 +09:00
Donny
4e8cb5dbfd
chore: Publish crates
2021-11-18 15:46:30 +09:00
Donny
88fe823e77
chore: Publish crates
2021-11-18 15:13:30 +09:00
Donny
ee12362688
chore: Publish crates
2021-11-18 14:18:11 +09:00
Donny
e5604c3e56
chore: Publish
2021-11-18 01:08:33 +09:00
Donny
225af14b52
chore: Publish crates
2021-11-18 01:07:46 +09:00
Donny
8c04d396e4
chore: Publish crates
2021-11-17 16:06:57 +09:00
Donny/강동윤
53c8939550
test(swc): Add a test for sourcemap ( #2777 )
2021-11-17 16:06:37 +09:00
Donny
e03af45c09
chore: Publish crates
2021-11-17 14:00:33 +09:00
Donny
7fcbdf20dd
chore: Publish crates
2021-11-17 13:50:10 +09:00
Donny
3e4fbe7667
chore: Publish crates
2021-11-16 21:57:24 +09:00
Donny
262c8941a2
chore: Publish crates
2021-11-16 21:17:19 +09:00
Donny
6129e990d4
chore: Publish crates
2021-11-16 11:55:00 +09:00
Donny
c15116de07
chore: Publish crates
2021-11-15 17:45:19 +09:00
Donny
2cd565bfc0
chore: Publish crates
2021-11-15 14:31:44 +09:00
Donny/강동윤
f2c67b8caf
fix(es/minifier): Don't inline string literals if it's used multiple time ( #2748 )
...
swc_ecma_minifier:
- Don't inline strings because it's simple.
- Inline short strings.
2021-11-15 14:03:03 +09:00
Donny
8df860e16c
chore: Publish crates
2021-11-14 06:21:28 +09:00
Donny
898ed7015c
chore: Publish crates
2021-11-14 05:35:02 +09:00
Donny/강동윤
b869c81888
refactor(swc_bundler): Extract logic for analyzing cycles ( #2733 )
2021-11-12 23:33:32 +09:00
Donny
3294a35417
chore: Publish crates
2021-11-12 21:27:00 +09:00
Donny
fd4a71747b
chore: Publish crates
2021-11-12 19:10:21 +09:00
Donny
90b7074556
chore: Publish crates
2021-11-12 16:26:08 +09:00
Donny
544835a3a5
chore: Publish crates
2021-11-11 23:37:43 +09:00
Donny/강동윤
665c8e05fc
fix(es): Move TargetEnv
to loader from ast ( #2719 )
...
swc_ecma_ast:
- Move `TargetEnv` to `swc_ecma_loader`.
swc_ecma_loader:
- Drop unused dependencies.
2021-11-11 20:00:46 +09:00
Donny/강동윤
1d028fe940
fix(es): Fix paths
support ( #2712 )
...
swc_ecma_loader:
- `TsConfigResolver`: Use `baseUrl` on exact match while resolving. (Closes #2126 )
swc_ecma_transforms_module:
- Add `import_rewriter`.
- `NodeImportResolver`: Don't strip extension if it's a directory. (Closes #2269 )
- `NodeImportResolver`: Don't strip extension if it's not `.ts`, `.js` nor `.tsx`.
swc:
- Use `import_rewriter`. (Closes #1943 , Closes #2523 )
- Update test (Closes #2715 )
2021-11-11 16:57:31 +09:00
Donny
c5aac71660
chore: Publish crates
2021-11-11 14:15:29 +09:00
Donny
5db7bdc133
chore: Publish crates
2021-11-10 21:59:34 +09:00
Donny
3adeb6bf30
chore: Publish crates
2021-11-10 20:57:43 +09:00
Donny
4863bee163
chore: Publish crates
2021-11-10 17:35:07 +09:00
Donny
158136fae9
chore: Publish crates
2021-11-10 16:16:19 +09:00
Donny
2be8559e35
chore: Publish crates
2021-11-10 13:58:42 +09:00
Donny/강동윤
bf0007bec0
feat(rplugin): Implement general AST processing plugin system ( #2671 )
...
swc_common:
- Implement `StableAbi` for `BytePos`.
- Implement `StableAbi` for `Span`.
rplugin:
- Add `StableAst`.
swc_plugin_api:
- Drop unused dependencies.
swc_ecma_plugin_ast:
- Initialize crate.
2021-11-09 18:46:24 +09:00
Donny
797f4fff14
chore: Publish crates
2021-11-09 16:13:52 +09:00
Donny/강동윤
22ce68cfaa
fix(swc): Don't print same error twice ( #2692 )
2021-11-09 15:18:11 +09:00
Donny
bcf1cfa6a1
chore: Publish crates
2021-11-09 15:17:27 +09:00
Donny/강동윤
368b9e2ff2
chore: Update rustc to prevent CVE-2021-42574
( #2690 )
2021-11-09 14:20:02 +09:00
Donny
7e259abae1
chore: Publish crates
2021-11-08 16:26:51 +09:00
Donny
76d9ae7656
chore: Publish crates
2021-11-08 16:01:09 +09:00
Donny
6b478ccce0
chore: Publish crates
2021-11-08 15:05:21 +09:00
Donny
98fc40988c
chore: Publish crates
2021-11-08 13:06:54 +09:00
Donny
fd14b4f1dd
chore: Publish crates
2021-11-08 00:29:47 +09:00
Donny
999ad77a3d
chore: Publish crates
2021-11-07 02:27:34 +09:00
Donny
5c2479c005
chore: Publish crates
2021-11-07 01:19:57 +09:00
Donny
b3fd7046d7
chore: Publish crates
2021-11-06 18:35:38 +09:00
Donny/강동윤
3dc1e765e9
feat(swc): Provide &Program
to pass creator ( #2665 )
...
swc:
- Use `impl |prorgram: &Program| -> impl Fold` instead of `impl Fold`. (Closes https://github.com/swc-project/swc/issues/2664 )
2021-11-06 18:05:10 +09:00
Donny
0240beccdf
chore: Publish crates
2021-11-05 20:48:06 +09:00
Donny/강동윤
994c9655c8
feat(es/ast): Add utils ( #2657 )
...
swc_ecma_ast:
- Add `as_ident` to `PatOrExpr`.
- Add `as_ident_mut` to `PatOrExpr`.
- Replace `Is` macro for `ParOrExpr` with custom impl.
2021-11-05 16:09:08 +09:00
Donny
224972f487
chore: Publish crates
2021-11-05 05:14:56 +09:00
Donny/강동윤
a6836368a2
fix(plugin): Fix serialization and deserialization ( #2651 )
...
swc_plugin_api:
- Add `serialize_ast`.
- Add `deserialize_ast`.
2021-11-04 21:15:18 +09:00
Donny
46e32a6a72
chore: Publish crates
2021-11-04 19:59:54 +09:00
Donny/강동윤
0414c31480
feat(es/ast): Implement Take
for more types ( #2649 )
2021-11-04 19:59:28 +09:00
Donny
04befab67a
chore: Publish crates
2021-11-04 19:27:31 +09:00
Donny/강동윤
380722976a
feat(plugin): Proxy swc_common
apis ( #2646 )
...
swc_common:
- Add `Runtime` trait for plugin.
- Implement `serde` for diagnostics.
- Proxy diagnostics using `Runtime`.
- Proxy `HygieneData::with` with `Runtime`.
- Add implementation of `Runtime` with cargo feature `plugin-rt`.
- Make `Runtime` implement `StableAbi`.
swc_plugin:
- Move api code to `swc_plugin_api`.
- Depend on `swc_common/plugin-mode`.
- Configure `Runtime` before invoking custom transforms.
- Use `bincode` for serde.
swc_plugin_runner:
- Depend on `swc_common/plugin-rt`.
- Pass `Runtime` implementation to the plugins.
- Use `bincode` for serde.
2021-11-04 19:24:49 +09:00
Alexander Akait
8c61d0d609
feat(css/ast): Add RoundBracketBlock
to Value
( #2618 )
2021-11-04 12:05:29 +09:00
Donny
7403956d4a
chore: Publish crates
2021-11-03 22:46:51 +09:00
Donny
a973b0bed4
chore: Publish crates
2021-11-03 13:55:27 +09:00
Donny
1c5f75485f
chore: Publish crates
2021-11-03 13:21:40 +09:00
Donny
4e003b60f7
chore: Publish crates
2021-11-03 11:25:56 +09:00
Donny/강동윤
04238d0b93
feat(swc_common): Allow dylib
( #2628 )
...
swc_common:
- Add `dylib` to `crate-type`.
2021-11-02 23:54:20 +09:00
Donny
74aa0068db
chore: Publish crates
2021-11-02 20:15:43 +09:00
Donny
170a53a4ce
chore: Publish crates
2021-11-02 18:42:35 +09:00
Donny
9a2f729322
chore: Publish crates
2021-11-02 14:53:36 +09:00
Alexander Akait
c89a9ea171
fix(css/lexer): Fix some edge cases ( #2612 )
2021-11-02 05:28:19 +00:00
Donny
6644a06da6
chore: Publish crates
2021-11-02 14:00:33 +09:00
Donny
befda9752e
chore: Publish crates
2021-11-02 13:59:56 +09:00
Donny
fbbdeeae56
chore: Publish crates
2021-11-01 16:54:32 +09:00
Donny/강동윤
3280b4cd7a
refactor(es/parser): Deprecate JscTarget
( #2600 )
...
swc_ecma_parser:
- Deprecate `JscTarget`.
2021-10-31 12:25:15 +00:00
Donny/강동윤
e589d00f62
refactor: Move HANDLER
to swc_common
( #2599 )
...
swc_common:
- Add `HANDLER`.
swc_ecma_utils:
- Replace `HANDLER` with one from `swc_common`.
- Make `StmtLike` `: Send + Sync`.
2021-10-31 20:41:36 +09:00
Donny
cd2a2777d9
chore: Publish crates
2021-10-31 18:17:31 +09:00
Donny/강동윤
306cf989db
fix(es/minifier): Fix minifier ( #2597 )
...
swc_ecma_minifier:
- Fix `negate_cost`.
2021-10-31 08:43:44 +00:00
Donny
4328276414
chore: Publish crates
2021-10-30 21:41:20 +09:00
Donny
bb189c74ac
chore: Publish crates
2021-10-30 15:53:07 +09:00
Alexander Akait
f77d6ceb00
feat(css/ast): Add SquareBracketBlock
( #2573 )
2021-10-30 14:53:11 +09:00
Donny/강동윤
33bc3d2b91
feat(es/transforms/regenerator): Allow configuring import path ( #2581 )
...
swc_ecma_transforms_compat:
- `regenerator`: Allow configuring import path of `regenerator-runtime`.
2021-10-29 14:36:11 +00:00
Alexander Akait
47f7f1ad4f
fix(css/parser): Resolve some TODOs ( #2572 )
2021-10-29 19:55:02 +09:00
Alexander Akait
67c0d4cc37
feat(css/parser): Use Function
token. ( #2571 )
2021-10-29 17:48:04 +09:00
Alexander Akait
4f0473616d
feat(css/ast): Add value
to the whitespace token ( #2533 )
2021-10-28 23:48:31 +09:00
Donny/강동윤
69cfa98c50
fix(es/minifier): Fix block unwrapping issue ( #2570 )
...
swc_ecma_minifier:
- Check more before removing `{` and `}`.
2021-10-28 10:58:26 +00:00
Donny/강동윤
4b2903e3b4
fix(es/minifier): Fix minifier ( #2564 )
...
swc_ecma_minifier:
- Don't change depth of function while negating if statements. (#2558 )
swc_ecma_transforms_optimization:
- `dead_branch_remover`: Preserve `this`. (#2465 , #2466 )
swc:
- Make `toplevel` default to true if `module` is true. (#2254 )
2021-10-28 04:35:45 +00:00
Donny/강동윤
0364f9a2ae
feat(es/transforms/testing): Reduce CI time by caching execution result ( #2565 )
...
swc_ecma_transforms_testing:
- Cache execution test result on CI.
2021-10-28 04:00:25 +00:00
Donny
7fae0bb979
chore: Pulbish
2021-10-28 09:25:30 +09:00
David Sherret
7b4af435f2
feat(es/parser): Enable ergonomic brand checks for TypeScript ( #2562 )
2021-10-28 09:22:51 +09:00
Donny/강동윤
79a426e0d8
fix(es/minifier): Don't treat catch clause as a scope ( #2557 )
...
swc_ecma_minifier:
- Don't treat a catch clause as a scope.
2021-10-27 11:19:30 +00:00
OJ Kwon
97b5a738c2
fix(es/fixer): Preserve more parens ( #2553 )
...
swc_ecma_transforms_base:
- `fixer`: Preserve parens of a binary expression if the LHS is an object literal. (#2550 )
2021-10-27 16:56:45 +09:00
Donny/강동윤
5f0524c54e
fix(es/transforms/react): Revert #2542 ( #2552 )
2021-10-27 04:42:12 +00:00
Donny/강동윤
f81b60fd1b
fix(es/minifier): Fix minifier ( #2551 )
...
swc_ecma_minifier:
- `hoist_props`: Check for infection. (#2506 )
2021-10-27 04:19:14 +00:00
Donny/강동윤
8494f6583c
fix(swc): Allow overriding specified parser config using .swcrc
( #2547 )
...
swc:
- Merge parser config by enabling each feature. (#2546 )
2021-10-26 22:39:06 +00:00
Alexander Akait
0e458778ec
refactor(css/ast): Rename types ( #2532 )
2021-10-27 03:38:05 +09:00
Donny/강동윤
70f55833e9
feat(es/transforms/react): Improve development more ( #2542 )
...
swc_ecma_transforms_react:
- `jsx_src`: Add column to `__source`.
- `jsx`: Support `jsxDEV`.
- `jsx`: Handle `__source` and `__self` specially.
2021-10-26 11:09:09 +00:00
Donny/강동윤
b8933e3db9
fix(swc): Fix bugs ( #2538 )
...
swc_ecma_transforms_base:
- `unique_scopes`: Handle method properties.
- `hygiene`: Fix handling of method properties. (#2539 )
swc_ecma_transforms_compat:
- Fold children of for-of/in statements. (#2531 )
swc_ecma_minifier:
- `name_mangler`: Fix handling of method properties.
2021-10-26 07:43:32 +00:00
Alexander Akait
5ef6686029
refactor(css/codegen): Use raw
instead ( #2534 )
...
swc_css_codegen:
- Remove `write_ident`.
- Use `raw` for printing identifiers.
2021-10-26 14:34:47 +09:00
Nayeem Rahman
693181ee6a
fix(es/transforms/typescript): Remove declare
d class properties ( #2530 )
...
swc_ecma_transforms_typescript:
- `strip`: Remove class properties with `declare` keyword.
2021-10-26 14:31:20 +09:00
Alexander Akait
6876b1b26c
refactor(css/parser): Fix parsing of some selectors ( #2525 )
...
swc_css_parser:
- Fix whitespace bugs related to parsing of attribute selectors.
- Fix bugs related to empty namespace selectors.
2021-10-25 23:48:56 +09:00
Donny/강동윤
dcf5f05195
fix(es/minifier): Fix minifier ( #2528 )
...
swc_ecma_minifier:
- `collapse_vars`: Respect operator.
2021-10-25 12:24:40 +00:00
Donny/강동윤
a099e8f846
perf(es/minifier): Make name mangler parallel ( #2527 )
...
swc_ecma_minifier:
- Remove useless `RefCell<T>`.
- Make name mangler parallel.
2021-10-25 07:09:00 +00:00
Donny/강동윤
e7189fbdbd
fix(es/transforms/compat): Fix async_to_generator
( #2526 )
...
swc_ecma_transforms_compat:
- `async_to_generator`: Handle `for-await` correctly. (#2306 )
2021-10-25 05:37:13 +00:00
Donny/강동윤
709b3c7cd6
fix(es/transforms/optimization): Fix inline_globals
( #2524 )
...
swc_ecma_transforms_optimization:
- `inline_globals`: Skip assignment to `process.env.FOO`. (#2499 )
2021-10-24 21:51:08 +00:00
Donny/강동윤
cead404a53
fix(bundler): Fix bundler ( #2510 )
...
swc_bundler:
- Consider usage in named export specifier while analyzing imports.
2021-10-24 16:25:59 +00:00
Sosuke Suzuki
65c83e8cb4
feat(es/transforms): Move stage 4 proposals to es2022
( #2519 )
2021-10-24 21:28:40 +09:00
Donny/강동윤
fce3b79e79
fix(es/minifier): Improve name mangler ( #2509 )
...
swc_ecma_transforms_base:
- Expose renamer.
swc_ecma_minifier:
- Improve name mangler.
swc:
- Disable hygiene if mangler is enabled.
2021-10-24 10:52:09 +00:00
Sosuke Suzuki
ecd617af39
feat(es/transforms): Move class_properties
to es2022
( #2512 )
2021-10-23 23:25:14 +09:00
Alexander Akait
430a06ce4d
refactor(css/parser): Respect spec ( #2487 )
2021-10-23 21:27:16 +09:00
Donny/강동윤
f33d3218cd
feat(es/transforms/compat): Add single-property optimization to destructuring
( #2511 )
...
swc_ecma_transforms_compat:
- `destructuring`: Convert single-property destructuring to direct field access.
2021-10-22 13:46:29 +00:00
Alexander Akait
e327c9a502
feat(css/ast): Add Percent
token ( #2482 )
2021-10-22 13:35:29 +09:00
Donny/강동윤
175c997676
fix(es/transforms/react): Fix hygiene of react fast refresh ( #2501 )
...
swc_ecma_trasnforms_react:
- `refresh`: Use span hygiene system.
2021-10-21 14:09:00 +00:00
Donny/강동윤
9e215769cc
fix(es/minifier): Fix minifier using Deno
test suite ( #2503 )
...
swc_ecma_codegen:
- Emit `;` after private class properties.
swc_ecma_minifier:
- `pure`: Drop more invalid expressions.
- `sequences`: Drop more invalid expressions.
- `strings`: Fix concat.
- `inline`: Inline into `b` in `a[b] = foo`.
2021-10-21 11:56:48 +00:00
Nayeem Rahman
c29a6e11c9
fix(es/transforms/typescript): Fix strip
( #2496 )
...
swc_ecma_transforms_typescript:
- Visit the RHS of import equals declaration properly.
2021-10-21 15:12:51 +09:00
Donny
7af0f8c81b
chore: Publish
2021-10-21 14:16:15 +09:00
Donny/강동윤
26944e159d
fix(es/transforms/base): Reimplement hygiene
( #2408 )
...
swc_ecma_transforms_base:
- Reimplement `hygiene`.
2021-10-21 05:12:50 +00:00
Donny/강동윤
ecf0d7507c
feat(swc): Allow removing filename from error output ( #2498 )
...
swc:
- Add an option to exclude filename from error messages.
2021-10-21 04:45:12 +00:00
Alexander Akait
d83bde8ca5
fix(css/parser): Fix parsing of url ( #2484 )
2021-10-20 15:39:01 +09:00
Donny/강동윤
eef3d6e3fb
fix(es): Fix simple bugs ( #2495 )
...
swc_ecma_parser:
- Don't panic on `declare declare`. (#2343 )
swc_ecma_transforms_react:
- Don't panic on `createElement()`. (#2492 )
swc_bundler:
- Don't panic on wasm. (#2334 )
swc:
- Disable `inline_globals` if it's not specified. (#2490 )
2021-10-20 06:12:21 +00:00
Sosuke Suzuki
bb1cc974c7
feat(es/trasform): Support static blocks ( #2474 )
...
swc_ecma_transforms_proposal:
- Add transform for static blocks, which is stage 3.
2021-10-20 14:18:55 +09:00
Donny/강동윤
cef2c8666e
fix(es/minifier): Fix join_vars
( #2494 )
...
swc_ecma_minifier:
- Don't join `let`/`const` into narrower scope.
2021-10-20 05:17:14 +00:00
David Sherret
3886eeddd5
fix(es/parser): Fix parsing of a property named async
( #2485 )
2021-10-20 04:31:52 +09:00
Donny/강동윤
7c5b6cafd8
fix(es/minifier): Fix regexp handling ( #2489 )
...
swc_ecma_minifier:
- Use allowlist of characters for optimizing RegExp calls.
2021-10-19 19:30:20 +00:00
Donny/강동윤
bf886bac73
perf(es/parser): Make typescript parser faster ( #2483 )
...
swc_ecma_parser:
- Check for option before backtracking.
2021-10-20 00:00:48 +09:00
Donny/강동윤
b0361caa58
feat(es/transforms/optimization): Improve inline_globals
( #2479 )
...
swc_ecma_transforms_optimization:
- `inline_globals`: Support inlining into shorthand properties.
- `inline_globals`: Support replacing member expressions.
swc:
- Add an option to disable simplifier when using `inline_globals`.
node_swc:
- Improve error message on panic.
2021-10-19 14:58:10 +00:00
Donny/강동윤
9b96885171
fix(es/transforms/compat): Fix handling of private static properties ( #2478 )
...
swc_ecma_transforms_compat:
- `class_properties`: Replace `this` in private static property initializers. (#2476 )
2021-10-19 11:21:13 +00:00
Donny/강동윤
0020e16370
fix(es/minifier): Fix minifier ( #2477 )
...
swc_ecma_minifier:
- `MultiReplacer`: Handle inlining into shorthands.
- `ExprReplacer`: Handle inlining into shorthands.
2021-10-19 11:00:51 +00:00
Donny/강동윤
2ca6e5d79b
feat(es/transforms/optimization): Support inlining of typeof
s ( #2473 )
...
swc_ecma_transforms_optimization:
- `inline_globals`: Support inlining of `typeof`s.
swc:
- Change error message for parsing failure to mention `Syntax Error`.
2021-10-19 09:49:18 +00:00
Alexander Akait
5234530cd5
fix(css/ast): Use correct type for units ( #2464 )
2021-10-19 17:32:59 +09:00
Donny/강동윤
123c1f5d02
chore: Fix typo ( #2472 )
2021-10-19 08:25:57 +00:00
Donny/강동윤
c9437d3226
fix(es): Fix bugs ( #2469 )
...
swc:
- Fix handling of `envs`.
- Check for already fixed issues. (#2319 )
2021-10-19 06:02:46 +00:00
Donny/강동윤
01e171a4b4
test(es): Freeze as es2015
to verify base transforms ( #2468 )
2021-10-19 05:31:12 +00:00
Donny/강동윤
28f2c7ae5d
feat(swc): Accept map for envs
( #2467 )
...
swc:
- Support specifying map to global inlining pass.
2021-10-19 05:13:21 +00:00
Donny
98a18e306a
chore: Publish swc_ecma_transforms_compat
2021-10-19 00:43:00 +09:00
Donny/강동윤
5bcabb0471
fix(es/transforms/compat): Fix regenerator ( #2460 )
2021-10-18 12:35:26 +00:00
Donny/강동윤
575aa44c25
perf(es/transforms): Improve performance ( #2454 )
...
swc_ecma_transforms_macros:
- `#[parallel]`: Run hooks for single-threaded operations.
swc_ecma_transforms_compat:
- `shorthand`: Parallel.
- `exponentation`: Parallel.
- `parameters`: Parallel.
- Recover some `#[fast_path]`
2021-10-18 12:07:13 +00:00
Donny
ac772403b2
chore: Add include
to swc
2021-10-18 16:49:21 +09:00
Donny/강동윤
06ca25f3d0
fix(es/minifier): Check for conditional usages while inlining ( #2459 )
...
swc_ecma_minifier:
- `hoist_props`: Check for `used_in_cond` before inlining.
2021-10-18 07:34:17 +00:00
Donny/강동윤
9ba68c6863
fix(common): Fix sourcemap ( #2457 )
...
swc_common:
- Include the index to the name in `mappings` of a sourcemap.
swc:
- Fix handling of `inputSourceMap`.
2021-10-18 06:43:59 +00:00
Donny/강동윤
675c0e714f
test(es): Use typescript test suite as a golden testing ( #2456 )
2021-10-18 04:07:23 +00:00
Donny
7225f90b9c
Bump version
2021-10-18 11:09:59 +09:00
Donny/강동윤
3d204b44f0
perf(es/transforms): Make transforms parallel ( #2449 )
...
swc_ecma_utils:
- `collect_decls`: More parallel.
swc_ecma_transforms_macros:
- Add `Parallel`, which is helper for `#[parallel]`.
- Add `ParExplode`, which is helper for `#[parallel(explode)]`.
swc_ecma_transforms_macros:
- Add `#[parllel]`.
swc_ecma_transforms_compat:
- `sticky_regex`: Parallel.
- `typeof_symbol`: Parallel.
- `for_of`: Remove exponential visit.
- `regenerator`: Remove exponential visit.
- `object_spread`: Parallel.
- `instance_of`: Parallel.
- `duplicate_keys`: Parallel.
- `logical_assignments`: Parallel.
- `template_literal`: Parallel.
- `block_scoped_functions`: Migrate to `VisitMut`.
- `for_of`: Migrate to `VisitMut`.
- `destructuring`: Reduce `Visit`.
- `arrow`: Migrate to `VisitMut`.
- `function_name`: Parallel.
- `reserved_words`: Parallel.
- `for_of`: Parallel.
swc_ecma_transforms_module:
- `import_analyzer`: Migrate to `VisitMut`.
swc_ecma_transforms_react:
- `jsx_src`: Parallel.
- `jsx_self`: Migrate to `VisitMut`.
- `jsx_self`: Parallel.
swc_ecma_transforms_proposal:
- `export_default_from`: Migrate to `VisitMut`.
swc_ecma_transforms_optimization:
- `inline_globals`: Parallel.
- `json_parse`: Migrate to `VisitMut`.
- `json_parse`: Parallel.
2021-10-18 00:03:30 +09:00
Alexander Akait
4f2dbd816c
fix(css/parser): Fix parsing of numbers ( #2444 )
2021-10-17 23:24:28 +09:00
Donny/강동윤
de368f6bb7
fix(es/codegen): Escape backtick of synthesized template literals ( #2453 )
...
swc_ecma_codegen:
- Escape backtick of a template literal if it's synthesized.
2021-10-17 20:44:21 +09:00
Donny/강동윤
63ad4b4322
fix(es/minifier): Fix minification of react hooks ( #2450 )
...
swc_ecma_minifier:
- `analyze`: Track for conditional usages.
- `collapse_vars`: Don't inline a variable if usage it conditinal.
2021-10-17 15:24:17 +09:00
Donny/강동윤
1645bb30b7
perf(es/transforms): Reduce usage of #[fast_path]
( #2442 )
...
swc_ecma_ast:
- Implement `Take` for `ObjectLit`.
- Implement `Take` for `ArrayLit`.
swc_ecma_transforms_compat:
- `nullish_coalescing`: Remove exponential visit.
- `nullish_coalescing`: Migrate to `VisitMut`.
- `optional_chaining`: Reduce exponential visit. (But it's not removed)
- `class_properties`: Remove exponential visit.
- `jsx_src`: Migrate to `VisitMut`.
- `optional_chaining`: Mae it parallel.
- `async_to_generator`: Remove `#[fast_path]`.
- `arrow`: Remove `#[fast_path]`.
- `destructuring`: Remove `#[fast_path]`.
- `block_scoped_functions`: Remove `#[fast_path]`.
- `classes`: Remove `#[fast_path]`.
2021-10-16 08:12:02 +00:00
Donny/강동윤
7ab07ab0b9
fix(es/transforms/base): Fix resolver
( #2448 )
...
swc_ecma_transforms_base:
- `resolver`: Handle `AssignPatProp` from `Hoister`.
2021-10-16 15:12:53 +09:00
Donny/강동윤
ee9177b753
fix(es): Fix bugs ( #2447 )
...
swc_ecma_parser:
- Fix parsing of jsx escapes.
swc_ecma_minifier:
- Don't mangle name as `const` or `let`. (#2446 )
swc_ecma_transforms_react:
- Fix handling of jsx escapes. (#2351 )
2021-10-16 04:25:54 +00:00
Donny/강동윤
7f04ef4715
feat(css/parser): Allow invalid line comments ( #2443 )
...
swc_css_parser:
- Accept line comments with an option.
2021-10-15 23:21:33 +09:00
Alexander Akait
c2ce89c0fb
feat(css): Add BadUrl
token ( #2426 )
...
swc_css_ast:
- Add `BadUrl` to `Token`.
swc_css_parser:
- Implement error recovery for bad urls.
2021-10-15 22:36:54 +09:00
Donny
dcf42771ad
chore: Publish
2021-10-15 19:21:25 +09:00
Donny/강동윤
130a47f42c
feat(es/transforms/module): Add an option to preserve dynamic imports ( #2441 )
...
swc_ecma_transforms_module:
- Add `ignoreDyanmic`.
2021-10-15 19:19:14 +09:00
Donny/강동윤
e722bd4887
perf(es/transforms): Reduce usage of #[fast_path]
( #2439 )
...
swc_ecma_transforms_compat:
- Remove `#[fast_path]` from passes.
- Migrate some passes to `VisitMut`.
2021-10-15 10:18:27 +00:00
Donny/강동윤
d045244089
fix(es/codegen): Fix codegen of synthesized template literals. ( #2440 )
...
swc_ecma_codegen:
- Don't handle synthesized backtick specially.
2021-10-15 09:12:40 +00:00
Donny/강동윤
4c983e9158
perf(es/codegen, es/parser): Improve performance ( #2406 )
...
ast_node:
- Make `.span()` inlinable.
swc_ecma_codegen:
- Reduce call to *heavy* `.span()` calls.
swc_ecma_parser:
- Reduce `memmove` by using typed-arena.
swc_bundler:
- Make `Bundle.bundle` take `&mut self`.
- Make drop concurrent.
2021-10-15 12:49:37 +09:00
Donny/강동윤
0e48284afb
fix(es/minifier): Fix bugs ( #2433 )
...
swc_ecma_minifier:
- `sequences`: Stop searching for candidates if a dependency issue is found.
2021-10-14 13:48:14 +00:00
Donny/강동윤
f8995848b8
fix(es/transforms/proposal): Fix type detection ( #2431 )
...
swc_ecma_transforms_proposal:
- Try the type of the LHS of an assignment pattern. (#2428 )
2021-10-14 06:19:34 +00:00
Alexander Akait
e2e4f2f64f
fix(css/ast): Fix delimiter token ( #2415 )
2021-10-14 13:22:51 +09:00
Donny/강동윤
51d7a144bb
fix(swc): Fix order of passes ( #2427 )
...
swc_ecam_transforms_typescript:
- Preserve more jsx-related imports.
swc:
- Change pass ordering.
2021-10-13 16:04:49 +00:00
Donny/강동윤
76de51333d
fix(es/transforms): Fix for react + typescript ( #2422 )
...
swc_common:
- Add `NoopComments`.
- Implement `Comments` for `Option<C>` where C: `Comments`.
- Add some helper methods to `Comments`.
- Deprecate `CommentsExt`.
swc_ecma_transforms_base:
- `resolver`: Handle `TsImportEqualsDecl`.
swc_ecma_transforms_react:
- Reduce useless cloning using `Arc`.
- Expose API for parsing directives like `@jsxPragma`.
swc_ecma_transforms_typescript:
- Accept `pragma` and `pragmaFrag`.
- Support jsx directives.
- Preserve jsx-related imports.
swc:
- Optimize `SwcComments`.
- Run`resolver` before everything else.
2021-10-13 22:29:56 +09:00
Alexander Akait
f7b065ef0b
fix(css/parser): Fix parsing of comments ( #2414 )
2021-10-13 20:48:15 +09:00
Donny/강동윤
aff6670856
fix(es/minifier): Fix infinite loop ( #2424 )
...
swc_ecma_minifier:
- Prevent infinite loop of post-optimize inliner.
2021-10-13 19:26:47 +09:00
Donny/강동윤
8074c72ce9
fix(es/transforms/base): Fix hyigiene
( #2421 )
...
swc_ecma_transforms_base:
- `hygiene`: Considering scoping of `var`.
- `hygiene`: Avoid creating too many `JsWord` by caching index.
2021-10-13 17:32:37 +09:00
Bojan Đurđević
029cf056f2
fix(es/transforms/react): Fix escape of quote in HTML entities ( #2419 )
...
swc_ecma_transforms_react:
- Handle escape of `"` correctly.
2021-10-13 14:33:15 +09:00
Alexander Akait
fb4869f413
feat(css/ast): Add delim token ( #2398 )
2021-10-12 20:47:17 +09:00
Donny/강동윤
62f7f655a9
fix(es/minifier): Fix iteration order ( #2412 )
...
swc_ecma_minifier:
- Don't use `AHashMap::drain` for inlining variables.
2021-10-12 10:19:20 +00:00
David Sherret
d114e7d364
refactor(es/parser): Cleanup codes for the comment buffer ( #2410 )
2021-10-12 12:08:06 +09:00
Donny/강동윤
4411d1d3a5
perf(atoms): Update string_cache
( #2411 )
...
swc_atoms:
- Use `string_cache` with `parking_lot` patch applied.
wasm:
- Pin `parking_lot_core` to `=0.8.0` to workaround https://github.com/Amanieu/parking_lot/issues/269 .
2021-10-12 03:05:17 +00:00
David Sherret
4d4771109a
fix(es/parser): Ensure that comments are collected ( #2407 )
2021-10-12 11:07:52 +09:00
Pig Fang
4ad25d2155
refactor(es/parser): Simplify parsing logic ( #2405 )
2021-10-11 23:09:45 +09:00
Donny/강동윤
b5f832193a
perf(bundler): Improve performance ( #2394 )
...
swc_ecma_utils:
- Make `collect_decls` parallel. (with threshold of 128)
swc_bundler:
- Make inlining of synthesized variables parallel.
2021-10-11 13:00:02 +00:00
Donny/강동윤
98cc79a2be
fix(es/minifer): Fix bugs ( #2397 )
...
swc_ecma_codegen:
- Fix sourcemap of `export` tokens.
- Fix codegen of numeric operands in left of a binary expression.
- Fix codegen of unary operations.
swc_ecma_minifier:
- Visit `AssignPatProp.valie`.
- Move `inline_prevented` to analyzer.
- Add `Ctx.dont_invoke_iife`.
- `iife`: Check for `arugments`
swc:
- `inline_sources_content`: true by default for `minify()`.
2021-10-11 07:44:42 +00:00
Donny/강동윤
f5607891e4
fix(es/transforms/testing): Fix test_fixture
( #2400 )
...
swc_ecma_transforms_testing:
- Make logic depends on `NormalizedOutput::compare_to_file`.
2021-10-11 05:03:57 +00:00