Commit Graph

3243 Commits

Author SHA1 Message Date
OJ Kwon
4a9b1dde1a
fix(es/plugin/runner): Revert wasmer@3 (#5521) 2022-08-17 05:18:56 +00:00
OJ Kwon
3bdb39c0ee
fix(es/plugin/runner): Provide guest memory allocator for the sourcemap (#5517) 2022-08-17 00:25:40 +00:00
SWC Bot
67f0479b8e chore: Publish crates 2022-08-16 13:10:23 +00:00
Donny/강동윤
b9933b159a
feat(es/compat): Fix syntax context of transpiled class methods (#5498) 2022-08-16 13:07:27 +00:00
Donny/강동윤
5ea921ef95 chore: Publish crates 2022-08-16 16:33:49 +09:00
OJ Kwon
92f006c9a0
feat(es/plugin): Update wasmer to 3 (#5456) 2022-08-16 16:12:37 +09:00
SWC Bot
bd4e268a83 chore: Publish crates 2022-08-16 06:35:36 +00:00
OJ Kwon
becc3aebf2
build(swc_core): Bump up rkyv (#5507) 2022-08-16 15:33:14 +09:00
OJ Kwon
496346ac04
refactor(bindings): Use separate workspace for bindings (#5506) 2022-08-16 15:01:49 +09:00
OJ Kwon
ef1f259a93
fix(swc_core): Revert crate version metadata patch (#5501) 2022-08-15 14:06:34 +00:00
OJ Kwon
808e68b4b1
feat(swc_core): Provide build-time metadata diagnostics (#5494) 2022-08-15 09:41:14 +00:00
OJ Kwon
ca82f64b0e
fix(plugin/proxy): Fix a compilation attribute (#5495) 2022-08-15 07:59:25 +00:00
Donny/강동윤
f9c4eff94a chore: Publish v1.2.233 2022-08-15 13:58:24 +09:00
OJ Kwon
e5476310f8
build(es): Bump up bindings (#5493) 2022-08-15 04:48:45 +00:00
Donny/강동윤
c3602d58c0 chore: Publish v1.2.232 2022-08-15 10:13:34 +09:00
OJ Kwon
ff7f6f63f9
fix(es/plugin): Share SourceFile for plugin transforms (#5475) 2022-08-15 00:45:19 +00:00
SWC Bot
554b459e26 chore: Publish crates 2022-08-14 09:59:22 +00:00
Donny/강동윤
40bb695f64
fix(es/minifier): Fix context of call/new expressions (#5487) 2022-08-14 18:56:35 +09:00
Donny/강동윤
ebb2b52b8a chore: Publish v1.2.231 2022-08-14 16:56:33 +09:00
OJ Kwon
76797b1fc1
build(bindings): Bump up swc_core (#5484) 2022-08-14 07:48:15 +00:00
Donny/강동윤
fcd438b371 chore: Publish crates 2022-08-14 15:36:29 +09:00
SWC Bot
e8945d1a56 chore: Publish crates 2022-08-14 06:31:42 +00:00
OJ Kwon
04e11a577d
fix(swc_core): Bump up swc_plugin_macro (#5486) 2022-08-14 15:25:54 +09:00
Donny/강동윤
8eb7804293 chore: Publish crates 2022-08-14 15:18:36 +09:00
SWC Bot
0391d2c1a9 chore: Publish crates 2022-08-14 06:18:04 +00:00
Donny/강동윤
2045fe6273
fix(es/minifier): Remove wrong code (#5485) 2022-08-14 15:15:03 +09:00
SWC Bot
bcc67c39b0 chore: Publish crates 2022-08-14 05:48:52 +00:00
Donny/강동윤
b655bf473a
fix(es/helpers): Fix for await (#5458) 2022-08-14 05:46:07 +00:00
Donny/강동윤
f9b3870c12 chore: Publish crates 2022-08-14 14:21:00 +09:00
SWC Bot
5abf38b361 chore: Publish crates 2022-08-14 05:12:12 +00:00
Donny/강동윤
1a0a2b5842
perf(es/minifier): Remove needless allocation of name mangler (#5483) 2022-08-14 05:09:36 +00:00
OJ Kwon
83417b6f75
refactor(bindings): Use published swc_core as interface (#5482) 2022-08-14 04:39:27 +00:00
Donny/강동윤
7b727caa9a chore: Publish v1.2.230 2022-08-14 10:20:29 +09:00
OJ Kwon
9d04f24c26
feat(node): Use published version of swc_core for node binding (#5481) 2022-08-14 01:15:56 +00:00
Alexander van Ratingen
8fde2ab07b
chore: Typo (#5478) 2022-08-13 11:53:59 +00:00
SWC Bot
31d297356b chore: Publish crates 2022-08-13 10:42:00 +00:00
Alexander Akait
eebdfdb2a0
feat(css/parser): Parse @font-feature-values at-rule (#5468) 2022-08-13 10:39:45 +00:00
Donny/강동윤
b3cf3a206e chore: Publish v1.2.229 2022-08-13 19:11:44 +09:00
Donny/강동윤
925839adc6 chore: Publish crates 2022-08-13 19:11:26 +09:00
Donny/강동윤
b35469ab5f
fix(atoms): Workaround a bug of rkyv (#5479) 2022-08-13 19:08:39 +09:00
Donny/강동윤
cdfce93dbf chore: Publish v1.2.228 2022-08-13 15:41:57 +09:00
Donny/강동윤
1b089be611 chore: Publish crates 2022-08-13 14:09:52 +09:00
SWC Bot
a95af3b52c chore: Publish crates 2022-08-13 04:08:02 +00:00
Alexander Akait
555b6a3734
fix(css/ast): Use list of component values for error recovery (#5467) 2022-08-13 13:05:29 +09:00
Donny/강동윤
f082bc66ac chore: Publish v1.2.227 2022-08-13 11:57:39 +09:00
SWC Bot
62303e7cd5 chore: Publish crates 2022-08-13 02:40:33 +00:00
OJ Kwon
4a3b4b27e2
refactor(es/compat): Respect MSRV (#5473) 2022-08-13 02:38:23 +00:00
OJ Kwon
5e428643cd
fix(swc_core): Bump version of deps (#5466) 2022-08-13 11:09:06 +09:00
Donny/강동윤
d2f2a1315b chore: Publish crates 2022-08-13 00:49:08 +09:00
OJ Kwon
d36e48efbf
build(plugin): Downgrade rkyv (#5459) 2022-08-12 14:04:05 +00:00
SWC Bot
415c495505 chore: Publish crates 2022-08-12 13:42:01 +00:00
Austaras
5a06271116
feat(es/compat): Add pure comments for generator and async transform (#5463) 2022-08-12 13:39:26 +00:00
Donny/강동윤
3eb1f4b2b1
chore(ci): Fix lints (#5462) 2022-08-12 13:13:35 +00:00
Donny/강동윤
e076c856ca chore: Publish v1.2.226 2022-08-12 17:06:47 +09:00
Donny/강동윤
033e05677a chore: Publish crates 2022-08-12 15:18:06 +09:00
OJ Kwon
3760ba07b1
fix(swc_core): Apply plugin features (#5457) 2022-08-12 04:36:52 +00:00
OJ Kwon
072eb13bf1
build(es): Bump up packages (#5451) 2022-08-11 23:58:00 +00:00
Donny/강동윤
9d793f1cd3
doc(swc_core): Fix rustdoc, really (#5447) 2022-08-11 19:25:46 +09:00
SWC Bot
1105c913c3 chore: Publish crates 2022-08-11 10:03:49 +00:00
Donny/강동윤
2e883a72d7
doc(swc_core): Fix rustdoc (#5446) 2022-08-11 19:00:43 +09:00
OJ Kwon
e25b37d579
build(atoms): Bump swc_atoms (#5442) 2022-08-11 18:52:44 +09:00
Donny/강동윤
c92cf79488 chore: Publish v1.2.225 2022-08-11 15:21:25 +09:00
SWC Bot
758fcece40 chore: Publish crates 2022-08-11 02:34:14 +00:00
brightwu
0e79d31a98
chore(html/utils): Fix cargo package metadata (#5439) 2022-08-11 02:32:00 +00:00
SWC Bot
418bc2c76e chore: Publish crates 2022-08-11 02:04:38 +00:00
OJ Kwon
001607f341
feat(plugin): Add some tracing for plugin host (#5438) 2022-08-11 02:01:58 +00:00
SWC Bot
31f5398538 chore: Publish crates 2022-08-11 01:25:31 +00:00
OJ Kwon
6a36a8d982
fix(plugin): Disable remaining bytecheck (#5437) 2022-08-11 01:23:00 +00:00
SWC Bot
a8748a9191 chore: Publish crates 2022-08-10 08:28:51 +00:00
Austaras
e35990390b
fix(es/fixer): Remove needless parens for nested ?? (#5432) 2022-08-10 08:26:33 +00:00
SWC Bot
b589f2b771 chore: Publish crates 2022-08-10 05:19:00 +00:00
OJ Kwon
f43461d645
refactor(binding/macros): Update import references (#5431) 2022-08-10 05:16:49 +00:00
SWC Bot
dd68886add chore: Publish crates 2022-08-10 03:50:36 +00:00
brightwu
56b10367a3
feat(ast): Make css/html ast serializable (#5427) 2022-08-10 03:48:35 +00:00
SWC Bot
4a89cfebf9 chore: Publish crates 2022-08-10 03:12:08 +00:00
OJ Kwon
5348195996
feat(swc_core): Add macros for wasm bindings (#5430) 2022-08-10 03:10:19 +00:00
SWC Bot
330fbdb8ed chore: Publish crates 2022-08-09 14:18:06 +00:00
overlookmotel
53627aff44
fix(es/ast): Fix json deserialization of AssignExpr (#5179) 2022-08-09 14:15:45 +00:00
SWC Bot
65595830f3 chore: Publish crates 2022-08-09 07:46:44 +00:00
magic-akari
71166360cc
fix(es/fixer): Remove useless parentheses around ** (#5424) 2022-08-09 07:44:36 +00:00
SWC Bot
7a7d135e7c chore: Publish crates 2022-08-09 01:51:14 +00:00
OJ Kwon
ce3bbe4bb0
fix(cli): Update plugin template (#5421) 2022-08-09 01:49:06 +00:00
SWC Bot
cdb9bbd707 chore: Publish crates 2022-08-08 03:00:13 +00:00
OJ Kwon
2b5080e291
fix(es): Temporarily disable bytecheck (#5414) 2022-08-08 02:58:08 +00:00
Donny/강동윤
d1da89939f
feat(dbg-swc): Improve minifier comparator (#5411) 2022-08-08 02:22:29 +00:00
SWC Bot
ec6082fdbb chore: Publish crates 2022-08-08 01:45:31 +00:00
OJ Kwon
420d936c50
fix(swc_core): Fix dep on quote_macros (#5415) 2022-08-08 01:43:25 +00:00
SWC Bot
f0c89d38ff chore: Publish crates 2022-08-07 03:35:29 +00:00
OJ Kwon
27e7e0b69b
fix(swc_core): Update references for quote! (#5408) 2022-08-07 03:33:18 +00:00
SWC Bot
d98b4e10d0 chore: Publish crates 2022-08-07 02:45:34 +00:00
OJ Kwon
c2273255c0
fix(es/utils): Allow quote_ident! working with swc_core (#5409) 2022-08-07 02:43:15 +00:00
Donny/강동윤
7b8658eef2
test(es/minifier): Organize simple size tests (#5402) 2022-08-06 22:01:01 +09:00
Donny/강동윤
36d275a6dc chore: Publish v1.2.224 2022-08-06 19:06:06 +09:00
SWC Bot
306bb66f24 chore: Publish crates 2022-08-06 10:04:00 +00:00
Austaras
6dca81e368
fix(es/codegen): Emit extra dot if a float is too large (#5407) 2022-08-06 10:01:55 +00:00
SWC Bot
368033183e chore: Publish crates 2022-08-05 13:27:33 +00:00
Austaras
ca21fd0c4d
fix(es/minifier): Inline vars declared in conditional paths (#5392) 2022-08-05 13:25:28 +00:00
Donny/강동윤
e44e8b103c chore: Publish crates 2022-08-05 20:51:54 +09:00
Donny/강동윤
86da5441e6
test(es/minifier): Organize simple size tests (#5403) 2022-08-05 16:42:59 +09:00
SWC Bot
8be444acca chore: Publish crates 2022-08-05 07:40:04 +00:00
OJ Kwon
8ca736f8ee
feat(swc_core): Expose quote! macros (#5400) 2022-08-05 07:37:42 +00:00
SWC Bot
f74eb7aec3 chore: Publish crates 2022-08-05 05:13:40 +00:00
OJ Kwon
038a543be9
feat(swc_core): Expand features to support node bindings (#5387) 2022-08-05 14:11:40 +09:00
Donny/강동윤
a46669d334
test(es/minifier): Add snapshots of compressed libraries (#5389) 2022-08-04 08:32:59 +00:00
SWC Bot
de40853046 chore: Publish crates 2022-08-04 07:54:50 +00:00
Austaras
e37b7e8caa
feat(es/codegen): Remove more whitespaces from BinExpr (#5380) 2022-08-04 16:52:06 +09:00
SWC Bot
a09999310c chore: Publish crates 2022-08-04 05:01:47 +00:00
magic-akari
cdb6164937
fix(es/modules): Use an indirect call for a tagged template (#5382) 2022-08-04 04:59:42 +00:00
SWC Bot
de1332088a chore: Publish crates 2022-08-04 04:22:35 +00:00
magic-akari
9443419591
fix(es/fixer): Preserve parens for optional chaining expressions (#5388) 2022-08-04 04:20:25 +00:00
Donny/강동윤
84a1ef856a
test(es/minifier): Update the golden list (#5378) 2022-08-03 21:17:47 +09:00
Donny/강동윤
efeb195be7 chore: Publish v1.2.223 2022-08-03 19:25:28 +09:00
SWC Bot
87409946a0 chore: Publish crates 2022-08-03 10:22:47 +00:00
Donny/강동윤
3943eb24d1
feat(es/minifier): Consider char frequencies (#5375) 2022-08-03 10:20:17 +00:00
Austaras
77497e4fbe
fix(es/fixer): Don't insert extra paren when left of BinExpr is UpdateExpr (#5376) 2022-08-03 08:41:40 +00:00
SWC Bot
efd43c67c3 chore: Publish crates 2022-08-03 06:22:21 +00:00
Donny/강동윤
6552d1a6f7
perf(es/minifier): Make postcompress pass parallel (#5374) 2022-08-03 06:20:04 +00:00
Donny/강동윤
774149d29e chore: Publish crates 2022-08-03 13:16:32 +09:00
SWC Bot
e13f9230f2 chore: Publish crates 2022-08-03 04:08:12 +00:00
Donny/강동윤
4fdbe40c74
feat(es/minifier): Remove duplicate var declarations (#5373) 2022-08-03 13:05:56 +09:00
SWC Bot
9559797656 chore: Publish crates 2022-08-03 03:39:53 +00:00
OJ Kwon
8b9dd6f026
feat(swc_core): Expand features and use it from wasm and cli (#5369) 2022-08-03 03:38:05 +00:00
OJ Kwon
12fd737326
chore: Update toml formatting (#5368) 2022-08-03 03:07:28 +00:00
SWC Bot
f30e34bb1e chore: Publish crates 2022-08-03 02:33:03 +00:00
Donny/강동윤
cf3de124d6
doc(rustdoc): FIx CI (#5370) 2022-08-03 11:30:17 +09:00
SWC Bot
b7573451b3 chore: Publish crates 2022-08-02 11:39:47 +00:00
Austaras
b221f90117
fix(es/minifier): Optimize inlining function calls with a literal in arguments (#5365) 2022-08-02 11:37:40 +00:00
SWC Bot
c619007841 chore: Publish crates 2022-08-02 07:28:22 +00:00
OJ Kwon
27b464d90a
feat(swc_core): Introduce package (#5364) 2022-08-02 07:25:59 +00:00
SWC Bot
366020b18d chore: Publish crates 2022-08-02 06:19:00 +00:00
magic-akari
daaa8b5c4a
fix(es/lints): Ignore TS module declare blocks (#5363) 2022-08-02 06:16:30 +00:00
SWC Bot
1ec9819d33 chore: Publish crates 2022-08-02 04:26:39 +00:00
Donny/강동윤
27cdc65a51
fix(es/minifier): Drop more comments (#5361) 2022-08-02 04:24:24 +00:00
Donny/강동윤
c08c3bc124 chore: Publish v1.2.222 2022-08-01 14:56:06 +09:00
SWC Bot
4ae8ff383f chore: Publish crates 2022-08-01 05:19:11 +00:00
OJ Kwon
fbdc9af5ca
fix(es/minifier): Allow single-thread mode (#5353) 2022-08-01 05:16:51 +00:00
SWC Bot
67d02fefc5 chore: Publish crates 2022-08-01 04:52:12 +00:00
Alexander Akait
2a499de61d
perf(html/parser): Apply small memory optimizations (#5345) 2022-08-01 04:49:58 +00:00
Alexander Akait
83e502367b
feat(xml): Add xml crates (#5329) 2022-08-01 03:56:12 +00:00
SWC Bot
c984cfa3b9 chore: Publish crates 2022-08-01 03:28:23 +00:00
Alexander Akait
07732d6a0a
feat(css/prefixer): Avoid prefixing general functions (#5319) 2022-08-01 03:26:29 +00:00
SWC Bot
5186211472 chore: Publish crates 2022-08-01 03:02:25 +00:00
OJ Kwon
281bdd9e97
feat(wasm): Expose async facade interfaces (#5352) 2022-08-01 03:00:28 +00:00
OJ Kwon
b0cb35abaa
feat(wasm): Enable string interning (#5351) 2022-08-01 02:32:33 +00:00
SWC Bot
6fa8520d67 chore: Publish crates 2022-07-31 07:42:59 +00:00
Austaras
8611161c02
fix(es/minifier): Ignore member expression without side-effects in assign position (#5344) 2022-07-31 16:40:58 +09:00
Donny/강동윤
fe9ea93490 chore: Publish v1.2.221 2022-07-31 16:35:12 +09:00
SWC Bot
3c3c1fec11 chore: Publish crates 2022-07-30 06:42:05 +00:00
Alexander Akait
8e12e52a57
feat(css/prefixer): Prefix more properties (#5340) 2022-07-30 06:40:02 +00:00
SWC Bot
f0488d60bc chore: Publish crates 2022-07-30 04:43:02 +00:00
Alexander Akait
8f81104380
fix(css/ast): Support list of component values (#5321) 2022-07-30 04:40:54 +00:00
OJ Kwon
c16b6b7230
feat(wasm): Add interfaces for wasm bindings (#5341) 2022-07-30 03:44:37 +00:00
SWC Bot
6e8f9429a7 chore: Publish crates 2022-07-29 11:54:19 +00:00
magic-akari
42d8ad26ce
fix(es/codegen): Emit type parameters of class super expression (#5338) 2022-07-29 11:52:13 +00:00
SWC Bot
f8f62eada4 chore: Publish crates 2022-07-29 08:07:24 +00:00
Donny/강동윤
b378c06081
perf(es/minifier): Make name mangler faster (#5336) 2022-07-29 08:05:23 +00:00
SWC Bot
e3e540d5dc chore: Publish crates 2022-07-29 07:36:36 +00:00
Alexander Akait
b18172d761
fix(css/prefixer): Generate prefixes for selectors using env (#5307) 2022-07-29 16:28:58 +09:00
SWC Bot
328e8123a1 chore: Publish crates 2022-07-29 04:51:13 +00:00
Austaras
11f495ad37
fix(es/minifier): Check if an inlined value is mutated (#5318) 2022-07-29 04:49:09 +00:00
SWC Bot
65ad44fe38 chore: Publish crates 2022-07-29 04:03:51 +00:00
magic-akari
1d10c3e837
fix(es/utils): Fix contains_top_level_await (#5335) 2022-07-29 04:01:37 +00:00
SWC Bot
731c4bc4f3 chore: Publish crates 2022-07-29 02:42:20 +00:00
Donny/강동윤
64a99461ec
fix(es/minifier): Change default es version to es5 (#5333) 2022-07-29 02:40:14 +00:00
magic-akari
81ac36604e
test(es): Support tsc multi-file unit tests (#5316) 2022-07-29 10:28:44 +09:00
OJ Kwon
5c9ea16b2a
build(cargo): Update packages (#5331) 2022-07-29 08:30:41 +09:00
Donny/강동윤
61c23924fc chore: Publish v1.2.220 2022-07-28 11:46:47 +09:00
Donny/강동윤
1fddfc3949 chore: Publish crates 2022-07-28 11:45:05 +09:00
SWC Bot
ffad9955cb chore: Publish crates 2022-07-28 02:43:11 +00:00
Donny/강동윤
14894ed4c9
fix(atoms): Workaround a bug of rkyv (#5323) 2022-07-28 11:41:15 +09:00
SWC Bot
31b3cf2170 chore: Publish crates 2022-07-28 01:33:29 +00:00
Alexander Akait
6ad5b3ce5f
feat(html/minifier): Compress title (#5320) 2022-07-28 01:30:44 +00:00
SWC Bot
02af4aa196 chore: Publish crates 2022-07-28 01:04:21 +00:00
Alexander Akait
925b16a563
fix(css/prefixer): Avoid prefixes for media features (#5308) 2022-07-28 01:02:26 +00:00
Donny/강동윤
20cafc14da chore: Publish crates 2022-07-27 15:03:48 +09:00
Donny/강동윤
906b23dcc2 chore: Publish crates 2022-07-27 14:54:57 +09:00
Donny/강동윤
568aca4fed chore: Publish v1.2.219 2022-07-27 14:45:02 +09:00
SWC Bot
7f762d6ea2 chore: Publish crates 2022-07-27 05:40:42 +00:00
Alexander Akait
c80b9e106a
fix(html/parser): Fix span (#5312) 2022-07-27 05:38:31 +00:00
SWC Bot
653d1db365 chore: Publish crates 2022-07-27 05:13:18 +00:00
Austaras
06677c26ee
fix(es/preset-env): Don't add instance properties when there's a static property (#5305) 2022-07-27 05:11:19 +00:00
SWC Bot
ed8cc72607 chore: Publish crates 2022-07-27 04:45:46 +00:00
Alexander Akait
94b4e0a321
fix(css/prefixer): Generate at-rules based on preset-env (#5294) 2022-07-27 04:43:22 +00:00
SWC Bot
129a886e13 chore: Publish crates 2022-07-27 04:18:47 +00:00
OJ Kwon
5a164bd137
feat(plugin): Make metadata api lazy (#5310) 2022-07-27 13:16:44 +09:00
SWC Bot
3aa4471a0f chore: Publish crates 2022-07-27 03:58:55 +00:00
magic-akari
b3269fda8e
fix(es/fixer): Wrap await and yield in callee (#5314) 2022-07-27 03:57:00 +00:00
SWC Bot
4fb5e7d4dd chore: Publish crates 2022-07-26 12:18:27 +00:00
Austaras
dd0a152f49
fix(es/preset-env): Realign with babel-polyfills (#5293) 2022-07-26 12:16:16 +00:00
SWC Bot
0a1284f57e chore: Publish crates 2022-07-26 10:11:30 +00:00
HeYunfei
8896dd9a66
doc(ast_node): Remove an unnecessary comment (#5304) 2022-07-26 10:09:23 +00:00
SWC Bot
2017daa2d5 chore: Publish crates 2022-07-26 04:04:42 +00:00
Donny/강동윤
3100bf8c62
fix(es/codegen): Fix sourcemap of multiline comments (#5299) 2022-07-26 04:02:50 +00:00
SWC Bot
0ddeb749f6 chore: Publish crates 2022-07-26 03:38:02 +00:00
Austaras
0f254d5ce5
feat(es/codegen): Remove extra space before a private method (#5295) 2022-07-26 03:35:49 +00:00
SWC Bot
186b13933e chore: Publish crates 2022-07-26 03:07:40 +00:00
magic-akari
daac26bcfb
fix(es/codegen): Add ; for a generator function (#5292) 2022-07-26 03:05:42 +00:00
SWC Bot
8a9492661d chore: Publish crates 2022-07-26 02:35:58 +00:00
Alexander Akait
83651c297d
fix(css): Fix parsing of layer (#5290) 2022-07-26 02:33:53 +00:00
SWC Bot
28395c8ca3 chore: Publish crates 2022-07-26 01:57:46 +00:00