Commit Graph

3170 Commits

Author SHA1 Message Date
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
Alexander Akait
ce347461ee
feat(css/minifier): Remove duplicate selectors (#5257) 2022-07-26 01:55:52 +00:00
SWC Bot
9ff2564686 chore: Publish crates 2022-07-26 01:27:53 +00:00
OJ Kwon
35b1e78179
chore(deps): Update bytecheck (#5296) 2022-07-26 01:25:37 +00:00
SWC Bot
b4e2aded26 chore: Publish crates 2022-07-25 03:36:13 +00:00
Austaras
b423d6f936
fix(es/compat): Fix capturing of block scoping pass (#5279) 2022-07-25 03:34:18 +00:00
SWC Bot
9eb04096b1 chore: Publish crates 2022-07-24 13:57:43 +00:00
Austaras
ee84842d22
fix(es/minifier): Preserve order of side-effects in sequences pass (#5283) 2022-07-24 13:55:37 +00:00
SWC Bot
c6685ec63d chore: Publish crates 2022-07-23 13:56:29 +00:00
Donny/강동윤
a0007e11c3
fix(es/visit): Disable serde by default (#5273) 2022-07-23 13:54:39 +00:00
Donny/강동윤
a37fdca969 chore: Publish crates 2022-07-22 21:06:43 +09:00
Donny/강동윤
34210648b0 chore: Fix CI 2022-07-22 21:06:09 +09:00
Donny/강동윤
037a53d5d1
perf(es/ast): Use Atom in some places (#5271) 2022-07-22 20:09:25 +09:00
SWC Bot
17bc1a6d86 chore: Publish crates 2022-07-21 06:06:19 +00:00
magic-akari
c0ace4cb2c
fix(es/modules): Use a private context for export from (#5262) 2022-07-21 06:04:06 +00:00
SWC Bot
92bbff40be chore: Publish crates 2022-07-21 05:36:47 +00:00
OJ Kwon
43eeeb35a5
feat(es/plugin): Pass experimental metadata from host (#5261) 2022-07-21 05:34:48 +00:00
SWC Bot
0dc240fbd9 chore: Publish crates 2022-07-21 05:02:55 +00:00
Donny/강동윤
d9877e305a
fix(es/decorators): Use decorated consturctors (#5263) 2022-07-21 05:00:51 +00:00
SWC Bot
aef6de4647 chore: Publish crates 2022-07-20 08:27:46 +00:00
Austaras
6573324d9c
feat(es/minifier): Calculate correct size (#5253) 2022-07-20 08:25:26 +00:00
SWC Bot
03c92cc6f8 chore: Publish crates 2022-07-20 07:53:58 +00:00
OJ Kwon
bd1c2cc7e6
feat(es/plugin): Add experimental metadata field (#5254) 2022-07-20 07:51:47 +00:00
SWC Bot
1c7855d50e chore: Publish crates 2022-07-20 07:25:56 +00:00
Alexander Akait
4f55459b01
fix(html/minifier): Don't break unknown attributes (#5256) 2022-07-20 07:23:58 +00:00
SWC Bot
6cca12d119 chore: Publish crates 2022-07-20 06:59:57 +00:00
magic-akari
2010409bac
fix(es/compat): Preserve orders of imports and exports (#5249) 2022-07-20 06:57:43 +00:00
SWC Bot
fe74b7067c chore: Publish crates 2022-07-20 04:10:58 +00:00
OJ Kwon
b7c7e3afb0
test(es/plugin): Test plugins with different schema versions (#5255) 2022-07-20 04:08:48 +00:00
OJ Kwon
0d91741eb9
build(cargo): Align dependency versions (#5248) 2022-07-20 03:42:04 +00:00
SWC Bot
8a9dce698f chore: Publish crates 2022-07-20 03:14:51 +00:00
Alexander Akait
e78d23d193
feat(css/prefixer): Implement preset-env (#5247) 2022-07-20 12:12:40 +09:00
Donny/강동윤
d229917588
chore: Fix CI (#5251) 2022-07-19 04:37:50 +00:00
Donny/강동윤
54982d4d72 chore: Publish crates 2022-07-19 11:38:23 +09:00
SWC Bot
1fd154f5f0 chore: Publish crates 2022-07-18 03:29:05 +00:00
Austaras
3f0856db2e
feat(es/codegen): Optimize number and bigint literal (#5223) 2022-07-18 03:27:03 +00:00
SWC Bot
6218363012 chore: Publish crates 2022-07-18 02:53:57 +00:00
JH.Lee
ecbf9d6c36
feat(testing/macros): Generalize test names with regex (#5242) 2022-07-18 02:51:50 +00:00
Donny/강동윤
b9cffb2a0e chore: Publish v1.2.218 2022-07-18 11:06:52 +09:00
Donny/강동윤
afae3164fb chore: Publish v1.2.217 2022-07-18 04:54:42 +09:00
三丝
df426d7b1d
chore: Typo (#5238) 2022-07-17 17:39:16 +00:00
滑威
17f1cee0a8
chore: Typo (#5239) 2022-07-18 02:17:48 +09:00
SWC Bot
a12ea9617a chore: Publish crates 2022-07-17 12:50:04 +00:00
Alexander Akait
945510a695
feat(html/ast): Add raw to doctype (#5198) 2022-07-17 12:48:21 +00:00
SWC Bot
71ea5d25e4 chore: Publish crates 2022-07-17 11:24:28 +00:00
Donny/강동윤
de76868cad
fix(testing): Allow space in file names (#5237) 2022-07-17 20:22:25 +09:00
SWC Bot
1cbfc96917 chore: Publish crates 2022-07-17 10:11:08 +00:00
Austaras
c68d484305
fix(es/lints): Disallow duplicate export functions (#5234) 2022-07-17 10:09:29 +00:00
SWC Bot
0c7be690da chore: Publish crates 2022-07-17 09:09:24 +00:00
Austaras
2e9c9bea1a
fix(es/minifier): Fix size calculation of numbers (#5232) 2022-07-17 18:07:35 +09:00
SWC Bot
535d37d4bb chore: Publish crates 2022-07-17 06:25:14 +00:00
Alexander Akait
0f7646cc47
fix(html/parser): Improve span (#5230) 2022-07-17 06:23:25 +00:00
Alexander Akait
8e5efb65d5
test(css/parser): Add a test (#5228) 2022-07-17 05:56:13 +00:00
SWC Bot
4a304a8d08 chore: Publish crates 2022-07-17 05:33:30 +00:00
Alexander Akait
1da6016da7
feat(html/minifier): Improve minifier (#5227) 2022-07-17 05:31:29 +00:00
SWC Bot
883a76a73a chore: Publish crates 2022-07-17 05:06:27 +00:00
magic-akari
04de455a9a
fix(es/lints: Handle ts export import equals (#5225) 2022-07-17 05:04:37 +00:00
SWC Bot
1c2d5868ef chore: Publish crates 2022-07-17 04:40:55 +00:00
David Campion
1aa022361e
chore(visit): Specify version of swc_macros_common (#5231) 2022-07-17 04:38:44 +00:00
SWC Bot
4ec9962e43 chore: Publish crates 2022-07-17 04:08:45 +00:00
Artur
d0356489cb
feat(es/lints): Support ignoreReadBeforeAssign for prefer-const (#4933) 2022-07-17 04:07:05 +00:00
SWC Bot
d7d6983596 chore: Publish crates 2022-07-17 03:44:50 +00:00
Calvin Huang
27cc45d50f
fix(es): Fix resolving of symlinks (#5222) 2022-07-17 03:43:02 +00:00
Donny/강동윤
df050df38b chore: Publish crates 2022-07-16 23:35:18 +09:00
Donny/강동윤
d3b0996617 chore: Publish crates 2022-07-16 23:30:15 +09:00
Donny/강동윤
5f9ea38fe1 chore: Publish crates 2022-07-16 23:20:58 +09:00
SWC Bot
eab1113450 chore: Publish crates 2022-07-16 07:10:52 +00:00
magic-akari
6b1ce09b6f
fix(es/modules): Preserve order for ts import equals (#5215) 2022-07-16 07:09:06 +00:00
Donny/강동윤
d693bbbf3a chore: Publish crates 2022-07-16 02:11:12 +09:00
SWC Bot
d70687f4d7 chore: Publish crates 2022-07-15 11:25:41 +00:00
Alexander Akait
b65a16c7aa
feat(css/ast): Make raw optional (#5211) 2022-07-15 11:22:59 +00:00
SWC Bot
aef4d3801c chore: Publish crates 2022-07-15 10:58:01 +00:00
Alexander Akait
625fc18da0
feat(html/minifier): Compress more default attributes (#5182) 2022-07-15 10:55:24 +00:00
SWC Bot
629ed78ad2 chore: Publish crates 2022-07-15 02:43:21 +00:00