Commit Graph

3278 Commits

Author SHA1 Message Date
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
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
Alexander Akait
64237fa7fb
feat(html/ast): Add raw to attributes (#5208) 2022-07-15 02:40:47 +00:00
OJ Kwon
cd94f0a2e9
test(es/plugin): Build plugins for e2e testing (#5210) 2022-07-15 02:10:13 +00:00
SWC Bot
db63adfe62 chore: Publish crates 2022-07-15 01:41:12 +00:00
Alexander Akait
b4daa30058
fix(html/parser): Fix span (#5209) 2022-07-15 01:38:44 +00:00
SWC Bot
891210d216 chore: Publish crates 2022-07-15 01:13:40 +00:00
OJ Kwon
92c0153cb5
feat(plugin): Pass unresolved_mark to plugins (#5212) 2022-07-15 01:11:17 +00:00
SWC Bot
1639b04b7c chore: Publish crates 2022-07-15 00:37:57 +00:00
OJ Kwon
3e3be80efd
fix(cli): Emit sourcemap with file inputs (#5213) 2022-07-15 00:35:34 +00:00
SWC Bot
696165a374 chore: Publish crates 2022-07-14 10:18:17 +00:00
Donny/강동윤
387d5e41db
fix(es/codegen): Mark bigint as an item starting with number (#5207) 2022-07-14 10:16:05 +00:00
Donny/강동윤
f62465ee8f chore: Publish v1.2.215 2022-07-14 16:39:26 +09:00
SWC Bot
510a87e102 chore: Publish crates 2022-07-14 05:59:36 +00:00
Donny/강동윤
436f6200bc
fix(es/fixer): Handle invalid numeric literals (#5201) 2022-07-14 05:57:28 +00:00
SWC Bot
d8f387dc21 chore: Publish crates 2022-07-14 05:29:39 +00:00
Donny/강동윤
fbfa59b5b7
feat(es): Add quote to swc_ecmascript (#5199) 2022-07-14 05:27:26 +00:00
SWC Bot
023e1eca1f chore: Publish crates 2022-07-14 04:58:51 +00:00
Alexander Akait
dead719550
feat(html/parser): Add raw to comments (#5196) 2022-07-14 04:56:31 +00:00
Alexander Akait
fa4c2de706
test(css/codegen): Add tests (#5195) 2022-07-14 04:32:00 +00:00
Donny/강동윤
e1079d4fe9 chore: Publish v1.2.214 2022-07-14 13:06:14 +09:00
SWC Bot
3329214a98 chore: Publish crates 2022-07-14 04:05:02 +00:00
Donny/강동윤
f69dee75f2
feat(es/plugin): Print filename on failure (#5200) 2022-07-14 13:02:51 +09:00
SWC Bot
364be526f1 chore: Publish crates 2022-07-13 10:58:04 +00:00
magic-akari
ec9378370d
fix(es/parser): Fix parsing of export specifiers (#5190) 2022-07-13 10:55:55 +00:00
SWC Bot
8ee3c8f5fb chore: Publish crates 2022-07-13 10:31:47 +00:00
Austaras
375774d31e
fix(es): Check the syntax context of arguments (#5174) 2022-07-13 10:29:03 +00:00
Donny/강동윤
1e86f3eb4a chore: Publish crates 2022-07-13 19:05:23 +09:00
SWC Bot
67f454a572 chore: Publish crates 2022-07-13 10:04:18 +00:00
Donny/강동윤
c91abb2ca7
feat(quote): Support different types for variables (#5194) 2022-07-13 19:02:00 +09:00
Donny/강동윤
902ac55c63 chore: Publish crates 2022-07-13 16:35:06 +09:00
Donny/강동윤
538b86f52f chore: Publish crates 2022-07-13 16:32:32 +09:00
OJ Kwon
2fa51ecd78
test(plugin): Setup e2e fixture testing for plugins (#5192) 2022-07-13 06:39:08 +00:00
Donny/강동윤
b0d586f652 chore: Publish v1.2.213 2022-07-13 15:13:36 +09:00
SWC Bot
a23464055d chore: Publish crates 2022-07-13 06:09:56 +00:00
Donny/강동윤
16ece4dce0
fix(es/minifier): Don't merge exported declarations (#5193) 2022-07-13 06:07:31 +00:00
SWC Bot
3fafa1b249 chore: Publish crates 2022-07-13 01:40:03 +00:00
Donny/강동윤
d1418ee977
feat(visit): Implement serde for AstParentKind (#5191) 2022-07-13 01:34:02 +00:00
SWC Bot
d5d1ff6417 chore: Publish crates 2022-07-12 15:25:48 +00:00
HeYunfei
1ef541eec4
feat(es/codegen): Emit comments in emit_module (#5132) 2022-07-12 15:23:24 +00:00
Donny/강동윤
b433b69263 chore: Publish crates 2022-07-12 23:58:30 +09:00
SWC Bot
2f7da66ee4 chore: Publish crates 2022-07-12 11:29:34 +00:00
Donny/강동윤
4744d438a9
feat(visit): Improve API (#5185)
- Rename `AstKind` to `AstParentKind`.
 - Add `kind()` to `AstNodeRef`.
 - Reduce generic arguments of `AstNodePath`.
 - Remove `Opt*` from `AstParentKind` and `AstNodeRef`.
 - Add field enum for structs.
 - Add field enum for enums.
 - Change `Vec*` to a child kind.
 - Add field for the child field to `AstParentKind`.
 - Add field for the child field to `AstNodeRef`.
2022-07-12 11:26:51 +00:00
OJ Kwon
a4b14c3806
test(node): Refactor tests (#5187) 2022-07-12 05:35:44 +00:00
SWC Bot
13083773fb chore: Publish crates 2022-07-12 05:10:12 +00:00
Alexander Akait
60ca5538f9
fix(html/codegen): Fix source map generation (#5184) 2022-07-12 05:08:10 +00:00
SWC Bot
e15fe530fb chore: Publish crates 2022-07-12 03:14:47 +00:00
Alexander Akait
5b70233400
fix(css/codegen): Fix sourcemap of multibyte characters (#5183) 2022-07-12 03:12:32 +00:00
SWC Bot
710630fc23 chore: Publish crates 2022-07-12 02:45:27 +00:00
Alexander Akait
7b28521d72
fix(css/parser): Avoid skipping whitespaces if not required (#5181) 2022-07-12 11:43:24 +09:00
SWC Bot
55cd0803e9 chore: Publish crates 2022-07-11 13:11:13 +00:00
Alexander Akait
dada2d7d55
feat(html/minifier): Allow specifying options for other tools (#5125) 2022-07-11 13:08:40 +00:00
Donny/강동윤
cbabc77ca3 chore: Publish v1.2.212 2022-07-11 20:43:35 +09:00
SWC Bot
c21ffbef2c chore: Publish crates 2022-07-11 11:39:30 +00:00
Donny/강동윤
d8f57abd26
perf(es/minifier): Remove wrong logic (#5178) 2022-07-11 11:37:13 +00:00
SWC Bot
0a13105e84 chore: Publish crates 2022-07-11 09:00:07 +00:00
magic-akari
56ad09afb2
fix(es/modules): Keep TDZ for export default if possible (#5164) 2022-07-11 08:57:50 +00:00
SWC Bot
b87e3b0d4f chore: Publish crates 2022-07-11 02:20:08 +00:00
magic-akari
997240cfe6
fix(es/modules): Add the missing span for export default (#5170) 2022-07-11 02:18:01 +00:00
SWC Bot
0a8568c527 chore: Publish crates 2022-07-11 01:46:15 +00:00
OJ Kwon
f167198470
feat(plugin/macros): Export new interface for getting plugin schema version (#5166) 2022-07-11 01:44:00 +00:00
Donny/강동윤
793c423a24 chore: Publish crates 2022-07-10 00:57:16 +09:00
SWC Bot
2bd5b4413a chore: Publish crates 2022-07-09 10:17:04 +00:00
Donny/강동윤
ac3a55a435
feat(visit): Add index to AstKind (#5138)
- Make `VisitAstPath` take `AstNodePath<AstKind, AstNodeRef>`.
 - Add index to `AstKind::Vec*`.
2022-07-09 10:15:12 +00:00
Donny/강동윤
0f45b8ee16 chore: Publish v1.2.211 2022-07-09 18:03:00 +09:00
SWC Bot
bb36600685 chore: Publish crates 2022-07-09 05:35:11 +00:00
magic-akari
2555d71a60
fix(es/modules): Handle top level this, really (#5160) 2022-07-09 05:33:14 +00:00
SWC Bot
6f8529e107 chore: Publish crates 2022-07-09 04:44:13 +00:00
Alexander Akait
d6a827d173
feat(css/minifier): Compress hwb color (#5155) 2022-07-09 04:42:13 +00:00
SWC Bot
5ea2e75281 chore: Publish crates 2022-07-09 04:21:11 +00:00
Alexander Akait
01bfe46019
feat(html): Add raw for text (#5148) 2022-07-09 04:19:14 +00:00
SWC Bot
358f6552d7 chore: Publish crates 2022-07-09 03:49:46 +00:00
David Sherret
bbbe0b6e94
fix(sourcemap): Handle multi-byte characters correctly (#5153) 2022-07-09 03:47:52 +00:00
SWC Bot
2e79942051 chore: Publish crates 2022-07-09 03:20:08 +00:00
Alexander Akait
8bc9a40c99
feat(html/minifier): Compress default attributes for svg (#5150) 2022-07-09 03:17:48 +00:00
SWC Bot
4b48f3f1ae chore: Publish crates 2022-07-09 02:32:07 +00:00
magic-akari
451f346af0
fix(es/modules): Handle top level this (#5159) 2022-07-09 02:30:01 +00:00
SWC Bot
8b62d47eb1 chore: Publish crates 2022-07-08 06:29:34 +00:00
Austaras
cd8d65b9a7
fix(es/compat): Remove extra this/arguments capture in arrows (#5152) 2022-07-08 06:27:15 +00:00
SWC Bot
c41769f99c chore: Publish crates 2022-07-08 06:04:50 +00:00
OJ Kwon
e8214babf5
refactor(plugin): Refactor transform executor (#5147) 2022-07-08 06:02:42 +00:00
SWC Bot
07ffb76793 chore: Publish crates 2022-07-08 05:40:45 +00:00
Alexander Akait
714ff5321d
feat(css/minifier): Compress hsl colors (#5142) 2022-07-08 05:38:44 +00:00
SWC Bot
de484bf98a chore: Publish crates 2022-07-08 01:40:13 +00:00
OJ Kwon
4f87396b3b
fix(cli): Constructs config file correctly (#5146) 2022-07-08 01:37:46 +00:00
SWC Bot
d4c9e70e39 chore: Publish crates 2022-07-08 00:57:00 +00:00
magic-akari
93513031b5
fix(es/compat): Optimize for-of loops for array literals (#5141) 2022-07-08 00:54:53 +00:00
SWC Bot
1c75c4ad97 chore: Publish crates 2022-07-07 08:12:10 +00:00
Donny/강동윤
76de911466
doc(visit): Add docs for visitors (#5137) 2022-07-07 17:09:38 +09:00
SWC Bot
297228a690 chore: Publish crates 2022-07-07 07:48:49 +00:00
OJ Kwon
82fbe15a57
feat(plugin): Wrap serialized struct with a version (#5128) 2022-07-07 07:46:49 +00:00
SWC Bot
09d4aa4a0d chore: Publish crates 2022-07-07 07:25:22 +00:00
三丝
9d4be11f2e
doc(es/parser): Typo (#5136) 2022-07-07 07:23:21 +00:00
SWC Bot
b21cccfea2 chore: Publish crates 2022-07-07 06:18:45 +00:00