SWC Bot
575940e770
chore: Publish crates
2022-09-09 08:09:53 +00:00
OJ Kwon
6f19f8902f
refactor(swc_core): enable bytechecked flag ( #5792 )
...
**Description:**
Another update to enable bytecheck rkyv feature flag.
Our dep tree is quite tangled with implicit enable (plugin -> rkyv). PR tries to detach some of it while trying to preserve existing behavior as much as it can.
2022-09-09 08:05:51 +00:00
SWC Bot
54b108dc51
chore: Publish crates
2022-09-09 05:55:06 +00:00
Donny/강동윤
21fbcb9621
refactor(es/renamer): Rename PARALLEL
to MANGLE
( #5790 )
...
**Description:**
Actually, performance issue comes from collision, not parallelism. So I renamed the associated constant.
2022-09-09 05:51:45 +00:00
SWC Bot
701fa74631
chore: Publish crates
2022-09-09 05:05:59 +00:00
magic-akari
9c998d4406
fix(es): Use paren_remover
pass ( #5753 )
...
**Description:**
We now apply the paren_remover pass before applying other transforms.
**Related issue:**
- Closes #5652
- Closes #5752
2022-09-09 05:02:24 +00:00
SWC Bot
0fe604817a
chore: Publish crates
2022-09-09 04:14:30 +00:00
Donny/강동윤
097245a196
test(es): Add more execution tests ( #5788 )
...
**Description:**
This PR adds all execution tests extracted from babel.
2022-09-09 04:11:18 +00:00
SWC Bot
b5deaa77f1
chore: Publish crates
2022-09-08 15:09:08 +00:00
Donny/강동윤
f11461d3f5
test(es): Enable tests for fixed issues ( #5784 )
2022-09-08 15:05:39 +00:00
SWC Bot
9b723cc6f5
chore: Publish crates
2022-09-08 08:11:24 +00:00
Austaras
ee26337a25
feat(es/minifier): Inline lazily initialized variables ( #5737 )
...
Safety:
For a function-local variable, an expression with side-effects would be a call, including an indirect one with a member expression.
- If the call is function-local, it will be analyzed by the analyzer and inliner will not work.
- If the call is not a function-local one, it cannot modify the local variable.
2022-09-08 08:07:43 +00:00
SWC Bot
32cd51dc29
chore: Publish crates
2022-09-08 05:26:49 +00:00
Donny/강동윤
24b60d2b64
feat(es/minifier): Change order of renaming to align with terser ( #5780 )
...
**Description:**
- Change the order of renaming to match one of `terser`.
2022-09-08 05:23:23 +00:00
SWC Bot
d2188eac3f
chore: Publish crates
2022-09-08 04:28:01 +00:00
magic-akari
7deadd8667
feat(es/lexer): Recover from git merge conflict ( #5775 )
2022-09-08 04:24:44 +00:00
SWC Bot
bc39c9b9f2
chore: Publish crates
2022-09-08 01:39:44 +00:00
Alexander Akait
1b200a0582
chore(html/parser): Typo ( #5778 )
2022-09-08 01:36:02 +00:00
SWC Bot
bad9811ea8
chore: Publish crates
2022-09-07 06:16:59 +00:00
Donny/강동윤
c10d55780e
perf(es/parser): Operate on u8
( #5774 )
2022-09-07 06:13:32 +00:00
SWC Bot
4507b10219
chore: Publish crates
2022-09-07 05:32:06 +00:00
Donny/강동윤
c2d10503db
perf(es/minifier): Make passes more parallel ( #5773 )
2022-09-07 14:28:36 +09:00
SWC Bot
0649b054b4
chore: Publish crates
2022-09-07 04:49:51 +00:00
Donny/강동윤
32a73fbf22
fix(es/minifier): Fix calculation of character frequency ( #5772 )
2022-09-07 04:46:21 +00:00
SWC Bot
c9a6c2193e
chore: Publish crates
2022-09-07 03:54:49 +00:00
Austaras
90852f5aa6
fix(es/minifier): Fix analysis of assignments and classes ( #5770 )
2022-09-07 03:51:42 +00:00
SWC Bot
cee1c48298
chore: Publish crates
2022-09-07 02:09:22 +00:00
SWC Bot
d6a5acd30b
chore: Publish crates
2022-09-06 16:50:15 +00:00
SWC Bot
51b9d694be
chore: Publish crates
2022-09-06 13:28:30 +00:00
Donny/강동윤
9d29abcd5b
chore(es/minifier): Fix size calculator script ( #5767 )
2022-09-06 22:23:57 +09:00
SWC Bot
e654741336
chore: Publish crates
2022-09-06 12:41:54 +00:00
Donny/강동윤
60ce462215
feat(es/minifier): Align name mangler with terser ( #5763 )
2022-09-06 21:37:58 +09:00
SWC Bot
50bb6ffea9
chore: Publish crates
2022-09-06 11:09:32 +00:00
magic-akari
52f6ca5fb8
test(es/tsc): Handle tsx ( #5764 )
2022-09-06 11:05:45 +00:00
SWC Bot
910526980b
chore: Publish crates
2022-09-06 05:39:57 +00:00
Donny/강동윤
27e9254280
perf(es/minifier): Make MultiReplacer
single-pass ( #5761 )
2022-09-06 14:36:53 +09:00
SWC Bot
8493c88b06
chore: Publish crates
2022-09-06 01:42:23 +00:00
Austaras
948d708144
fix(es/minifier): Don't drop parameters in an exported function ( #5757 )
2022-09-06 10:39:23 +09:00
SWC Bot
55b03eb970
chore: Publish crates
2022-09-05 13:40:03 +00:00
IWANABETHATGUY
9fc6eda89a
fix(es/parser): Fix detection of wrong delete targets ( #5754 )
2022-09-05 13:36:24 +00:00
SWC Bot
912dd8f6a1
chore: Publish crates
2022-09-05 09:28:21 +00:00
Donny/강동윤
6e2002a148
perf(es/minifier): Improve codegen of name mangler ( #5751 )
2022-09-05 09:25:10 +00:00
SWC Bot
b6efd4300e
chore: Publish crates
2022-09-05 07:09:22 +00:00
Donny/강동윤
8789184d44
perf(es/minifier): Cache the list of bindings for DCE ( #5750 )
2022-09-05 07:05:44 +00:00
SWC Bot
e8dd50c12e
chore: Publish crates
2022-09-05 04:39:12 +00:00
Donny/강동윤
08b2aea2b0
perf(es/minifier): Use efficient logic for entry tracking in DCE ( #5749 )
2022-09-05 04:35:40 +00:00
OJ Kwon
1202762f30
chore(swc_core): Update deps ( #5748 )
2022-09-05 03:46:07 +00:00
OJ Kwon
83dbe6cdc3
fix(swc_core): Update deps ( #5746 )
2022-09-05 02:31:49 +00:00
SWC Bot
e7c565dbb2
chore: Publish crates
2022-09-04 16:24:37 +00:00
Donny/강동윤
96b2e17a8f
perf(es/minifier): Pre-allocate in analyzer ( #5743 )
2022-09-04 16:21:26 +00:00
SWC Bot
17aeba68f4
chore: Publish crates
2022-09-04 15:38:04 +00:00
Donny/강동윤
2baa640e98
perf(es/minifier): Make passes more parallel ( #5741 )
2022-09-04 15:34:46 +00:00
SWC Bot
c44fd43b15
chore: Publish crates
2022-09-04 14:57:35 +00:00
Donny/강동윤
64f42bec27
refactor(es/utils): Move utilities for parallel processing ( #5742 )
2022-09-04 23:54:36 +09:00
SWC Bot
d0f5cd38c6
chore: Publish crates
2022-09-04 14:37:47 +00:00
SWC Bot
c00f1a4d52
chore: Publish crates
2022-09-04 13:21:00 +00:00
Donny/강동윤
4e989807d7
chore(es/minifier): Fix example ( #5739 )
2022-09-04 22:18:05 +09:00
Donny/강동윤
74b3d2170c
chore: Publish crates
2022-09-04 17:27:19 +09:00
SWC Bot
b814189f57
chore: Publish crates
2022-09-04 07:36:20 +00:00
Donny/강동윤
6ba6da62d7
perf(es/minifier): Make dead branch remover parallel ( #5734 )
2022-09-04 07:33:26 +00:00
SWC Bot
8c7f968b53
chore: Publish crates
2022-09-04 05:40:36 +00:00
Donny/강동윤
5936bd2b5e
perf(es/minifier): Make rename operator parallel ( #5732 )
2022-09-04 05:36:48 +00:00
SWC Bot
30bbe6ac4d
chore: Publish crates
2022-09-04 04:52:28 +00:00
Donny/강동윤
8963db0a1d
perf(es/minifier): Skip useless analysis if not required ( #5733 )
2022-09-04 13:49:30 +09:00
OJ Kwon
aad50dcc6e
refactor(swc_core): Directly export swc_ecma_transforms_base
( #5731 )
2022-09-04 03:19:42 +00:00
SWC Bot
e97756c4b1
chore: Publish crates
2022-09-03 16:04:42 +00:00
OJ Kwon
9c43713109
fix(swc_core): Bump swc_ecma_quote_macros
( #5723 )
2022-09-03 16:01:45 +00:00
SWC Bot
1013d18fa8
chore: Publish crates
2022-09-03 15:11:30 +00:00
magic-akari
a3a7277909
fix(es/lexer): Drop ClassExpr
context in object properties ( #5729 )
2022-09-03 15:08:13 +00:00
SWC Bot
fafafecb3d
chore: Publish crates
2022-09-03 07:37:21 +00:00
Austaras
5b2d024788
feat(es/minifier): Relax requirement for IIFE invokation ( #5721 )
2022-09-03 07:33:31 +00:00
SWC Bot
a3a66c1191
chore: Publish crates
2022-09-03 06:47:08 +00:00
Donny/강동윤
31c516a922
perf(es/minifier): Optimize precompress optimizer ( #5727 )
2022-09-03 15:43:50 +09:00
SWC Bot
5f09a1c14a
chore: Publish crates
2022-09-03 05:36:44 +00:00
Donny/강동윤
25c96b4b7a
perf(es/minifier): Use faster hash algorithm for DCE ( #5725 )
2022-09-03 14:33:09 +09:00
SWC Bot
0b462e2a5d
chore: Publish crates
2022-09-03 05:32:12 +00:00
OJ Kwon
d6e67b5944
feat(atoms): Introduce bytecheck-ed rkyv version ( #5686 )
2022-09-03 14:29:02 +09:00
SWC Bot
bb5fcdbb4d
chore: Publish crates
2022-09-03 04:44:48 +00:00
Donny/강동윤
5e151c8a8e
feat(es/minifier): Support cycles in DCE ( #5715 )
2022-09-03 04:41:54 +00:00
SWC Bot
7a6a43576a
chore: Publish crates
2022-09-02 08:31:14 +00:00
OJ Kwon
9bef83681f
fix(swc_core): Fix reexport of ES transforms ( #5716 )
2022-09-02 08:28:00 +00:00
SWC Bot
baa5540fa2
chore: Publish crates
2022-09-02 07:44:07 +00:00
IWANABETHATGUY
383aa8510c
fix(es/parser): Improve error message ( #5719 )
2022-09-02 07:40:52 +00:00
SWC Bot
f2fd8dc44e
chore: Publish crates
2022-09-02 01:28:36 +00:00
OJ Kwon
975cbfe0d9
refactor(swc_core): Use namespace ecma
( #5713 )
2022-09-02 10:24:27 +09:00
SWC Bot
d242605aa1
chore: Publish crates
2022-09-01 16:34:13 +00:00
Donny/강동윤
8827c38faf
feat(es/minifier): Make DCE single-pass ( #5699 )
2022-09-01 16:30:21 +00:00
SWC Bot
0a38dec525
chore: Publish crates
2022-09-01 11:50:01 +00:00
PolarETech
2b7cba8a97
fix(bundler): Handle star export with top-level await
( #5707 )
2022-09-01 11:46:31 +00:00
SWC Bot
1232fa634a
chore: Publish crates
2022-09-01 10:39:21 +00:00
Austaras
4ef99f346b
feat(es/minifier): Relax function inline requirement ( #5607 )
2022-09-01 19:36:16 +09:00
SWC Bot
8d575e9b3c
chore: Publish crates
2022-09-01 07:48:49 +00:00
SWC Bot
3a0b749f1e
chore: Publish crates
2022-09-01 04:39:40 +00:00
Donny/강동윤
1085667049
perf(es/minifier): Enable parallel processing ( #5705 )
2022-09-01 13:36:30 +09:00
OJ Kwon
7686faece5
fix(swc_core): Bump versions ( #5706 )
2022-09-01 13:08:04 +09:00
SWC Bot
e1deec44cc
chore: Publish crates
2022-08-31 11:15:03 +00:00
Donny/강동윤
5e2b6d5551
feat(es/minifier): Remove useless ES version check ( #5703 )
2022-08-31 11:11:54 +00:00
SWC Bot
c92a8360e0
chore: Publish crates
2022-08-31 10:36:29 +00:00
Donny/강동윤
217f519940
feat(es/minifier): Ignore closure in initializer from sequential inliner ( #5702 )
2022-08-31 10:33:22 +00:00
SWC Bot
32f6b672da
chore: Publish crates
2022-08-31 07:50:59 +00:00
Donny/강동윤
fc28242b99
feat(es/minifier): Exclude JSON
from alias list ( #5698 )
2022-08-31 16:47:52 +09:00
SWC Bot
18efd12d97
chore: Publish crates
2022-08-31 06:40:45 +00:00
Donny/강동윤
6febfe900c
feat(dbg-swc): Improve minifier comparator ( #5681 )
2022-08-31 15:37:29 +09:00
SWC Bot
d6204761f3
chore: Publish crates
2022-08-30 13:16:02 +00:00
Donny/강동윤
edef5f868b
fix(es/compat): Don't move variables from object-rest pass ( #5673 )
2022-08-30 13:12:11 +00:00
SWC Bot
a9f7cc3d5d
chore: Publish crates
2022-08-30 12:40:49 +00:00
Donny/강동윤
b1f1a86a9d
feat(es/decorators): Support bigint
( #5671 )
2022-08-30 12:37:33 +00:00
SWC Bot
58077aeb12
chore: Publish crates
2022-08-30 11:58:08 +00:00
Donny/강동윤
4babf4a2c0
fix(es/typescript): Mark a namespace as concrete only if it is ( #5670 )
2022-08-30 11:54:29 +00:00
SWC Bot
6ee1bc9ce2
chore: Publish crates
2022-08-30 11:13:16 +00:00
Donny/강동윤
1ae539aac5
test(es/compat): Add a test for a fixed issue ( #5672 )
2022-08-30 11:09:58 +00:00
SWC Bot
1fa9cacad6
chore: Publish crates
2022-08-30 09:58:58 +00:00
Donny/강동윤
4820f0cbcc
fix(es/compat): Handle yield
in block scoping pass ( #5668 )
2022-08-30 09:55:18 +00:00
SWC Bot
1ba1ad4984
chore: Publish crates
2022-08-30 08:04:12 +00:00
Donny/강동윤
fd39bb6bff
fix(es/minifier): Don't inline variables declared multiple times ( #5667 )
2022-08-30 07:52:21 +00:00
Donny/강동윤
cfc3880379
chore: Publish crates
2022-08-30 12:27:05 +09:00
SWC Bot
815a7e6f3c
chore: Publish crates
2022-08-30 03:25:43 +00:00
Donny/강동윤
d43334eb92
feat(es/minifier): Remove redundant check ( #5664 )
2022-08-30 12:22:18 +09:00
Alexander Akait
5c28d00516
fix(css/parser): Improve parsing of media queries ( #5567 )
2022-08-30 03:18:43 +00:00
SWC Bot
5028658269
chore: Publish crates
2022-08-30 01:59:00 +00:00
Alexander Akait
4a5e347a8a
fix(css/minifier): Don't compress none
for keyframes ( #5663 )
2022-08-30 01:55:29 +00:00
SWC Bot
213d8b9ab5
chore: Publish crates
2022-08-29 15:29:16 +00:00
Alexander Akait
e2aca46889
feat(css): Support forgiving selector ( #5539 )
2022-08-29 15:25:48 +00:00
SWC Bot
99c7b976f9
chore: Publish crates
2022-08-29 11:30:29 +00:00
magic-akari
6c2c2587ff
perf(es/lexer): Improve keyword tokenizer ( #5658 )
2022-08-29 11:27:11 +00:00
SWC Bot
f06b2536d2
chore: Publish crates
2022-08-29 10:52:47 +00:00
magic-akari
095cbf1b4f
test(es/transforms): Respect directives in tsc tests ( #5648 )
2022-08-29 10:49:01 +00:00
SWC Bot
e951aa6996
chore: Publish crates
2022-08-29 10:14:19 +00:00
Donny/강동윤
537449e53b
fix(es/codegen): Emit trailing semicolon ( #5659 )
2022-08-29 10:10:55 +00:00
SWC Bot
d01cdca11f
chore: Publish crates
2022-08-29 06:20:48 +00:00
Donny/강동윤
2cddb240c9
test(es/transforms): Add tests for fixed issues ( #5655 )
2022-08-29 06:17:16 +00:00
SWC Bot
51335ebc35
chore: Publish crates
2022-08-28 04:00:47 +00:00
Donny/강동윤
efd6a3603c
test(es/transforms): Enable tests for resolved issues ( #5651 )
2022-08-28 03:57:23 +00:00
SWC Bot
f2a0eef4f1
chore: Publish crates
2022-08-28 03:18:09 +00:00
Donny/강동윤
100f359e5d
fix(es/minifier): Fix optimization of template literals with escape ( #5650 )
2022-08-28 03:15:12 +00:00
SWC Bot
3917522bf1
chore: Publish crates
2022-08-27 15:48:16 +00:00
magic-akari
0f0d1db301
feat(es/parser): Handle async
in for...of
( #5646 )
2022-08-27 15:44:51 +00:00
SWC Bot
4132902826
chore: Publish crates
2022-08-27 06:09:27 +00:00
Donny/강동윤
488562baac
doc(rustdoc): Document rust APIs ( #5647 )
2022-08-27 06:06:19 +00:00
SWC Bot
0d053b9782
chore: Publish crates
2022-08-26 14:17:17 +00:00
magic-akari
838438dc9d
fix(es/parser): Handle more TS2406
errors ( #5640 )
2022-08-26 14:13:38 +00:00
SWC Bot
7a8a172479
chore: Publish crates
2022-08-26 10:09:47 +00:00
Donny/강동윤
a06e6e9ce5
fix(es/minifier): Fix alias analyzer ( #5639 )
2022-08-26 10:06:25 +00:00
SWC Bot
e434c834c3
chore: Publish crates
2022-08-26 09:31:37 +00:00
Donny/강동윤
e8edb67def
feat(es): Improve APIs for plugin authors ( #5632 )
...
- All variants of `Expr` now implement `Into<Box<Expr>>`.
- All variants of `Expr` now implement `Into<PatOrExpr>`.
- All variants of `Pat` now implement `Into<PatOrExpr>`.
- All variants of `Pat` now implement `Into<Param>`.
- `StmtOrModuleItem` is improved.
2022-08-26 09:28:14 +00:00
SWC Bot
048beefb33
chore: Publish crates
2022-08-26 08:49:14 +00:00
Donny/강동윤
d44bbffa02
fix(es/minifier): Revert alias analyzer work ( #5634 )
2022-08-26 08:45:49 +00:00
SWC Bot
fdd29c9fe5
chore: Publish crates
2022-08-26 08:00:02 +00:00
Donny/강동윤
00e635b9ea
fix(es/minifier): Improve alias analyzer ( #5500 )
2022-08-26 07:56:40 +00:00
SWC Bot
b4416492d1
chore: Publish crates
2022-08-26 05:26:36 +00:00
Donny/강동윤
d81fe67e4b
feat(es/minifier): Improve gzipped size ( #5631 )
2022-08-26 05:23:01 +00:00
SWC Bot
153e157cfc
chore: Publish crates
2022-08-26 04:50:45 +00:00
magic-akari
eb3b0e96e5
fix(es/fixer): Handle async
in the left of for of
( #5625 )
2022-08-26 04:47:46 +00:00
SWC Bot
d538b72002
chore: Publish crates
2022-08-26 04:07:25 +00:00
magic-akari
d18ee54aef
fix(es/compat): Fix evaluation order of computed class keys ( #5621 )
2022-08-26 04:03:39 +00:00
SWC Bot
1dd17ffd23
chore: Publish crates
2022-08-25 16:14:21 +00:00
Donny/강동윤
83fec33359
feat(es/generator): Use new generator implementation ( #5627 )
2022-08-25 16:10:47 +00:00
SWC Bot
5374932028
chore: Publish crates
2022-08-25 09:39:58 +00:00
Donny/강동윤
cfcd54a2c7
test(es/transforms): Add more execution tests ( #5598 )
2022-08-25 09:36:43 +00:00
SWC Bot
e5926186ee
chore: Publish crates
2022-08-25 09:01:43 +00:00
Donny/강동윤
927ae7e8d3
fix(es/compat): Revert generator reimplementation ( #5624 )
2022-08-25 17:58:37 +09:00
Donny/강동윤
71bf0aafa0
chore: Publish crates
2022-08-25 16:07:17 +09:00
SWC Bot
82f104e36e
chore: Publish crates
2022-08-25 05:57:58 +00:00
SWC Bot
3ea433bd0a
chore: Publish crates
2022-08-25 04:53:03 +00:00
Donny/강동윤
2aa009018f
feat(es/generator): Replace generator implementation with one from tsc ( #5173 )
2022-08-25 04:50:00 +00:00
SWC Bot
77ae3cfa74
chore: Publish crates
2022-08-24 15:23:21 +00:00
magic-akari
35d3558535
fix(es/compat): Handle super
in a private method ( #5613 )
2022-08-25 00:19:41 +09:00
SWC Bot
8d44b71b6c
chore: Publish crates
2022-08-24 08:46:23 +00:00
magic-akari
1181d0ffe2
fix(es/compat): Ignore invalid class method names ( #5612 )
2022-08-24 08:42:57 +00:00
SWC Bot
c71f62bb03
chore: Publish crates
2022-08-24 05:26:39 +00:00
SWC Bot
fa7a13a4b1
chore: Publish crates
2022-08-24 03:47:46 +00:00
magic-akari
3d485d2681
fix(es/fixer): Wrap expressions in the left of a binary expression ( #5586 )
2022-08-24 03:44:32 +00:00
OJ Kwon
7461e404b1
feat(swc_core): Add css features ( #5609 )
2022-08-24 01:23:20 +00:00
SWC Bot
860f253908
chore: Publish crates
2022-08-23 06:11:32 +00:00
OJ Kwon
7fcecb8e63
fix(swc_core): Re-export swc_cached
( #5605 )
2022-08-23 06:08:37 +00:00
OJ Kwon
52117f71e3
build(swc_core): Bump swc_core
( #5604 )
2022-08-23 05:17:47 +00:00
SWC Bot
e6f9c6cd14
chore: Publish crates
2022-08-23 03:45:31 +00:00
OJ Kwon
633a23a134
feat(swc_core): Expand features ( #5602 )
2022-08-23 12:43:01 +09:00
SWC Bot
48e5cf28ba
chore: Publish crates
2022-08-23 03:01:20 +00:00
Donny/강동윤
c760622964
chore: Publish crates
2022-08-23 11:14:17 +09:00
SWC Bot
94080df110
chore: Publish crates
2022-08-23 02:13:11 +00:00
Donny/강동윤
e2fedb9345
test(es/transforms): Copy execution tests from babel ( #5578 )
2022-08-23 11:10:52 +09:00
SWC Bot
141bb9c043
chore: Publish crates
2022-08-23 01:31:45 +00:00
SWC Bot
7da0951966
chore: Publish crates
2022-08-23 01:13:22 +00:00
OJ Kwon
1769191f9a
chore(swc_core): Update dependency version ( #5595 )
2022-08-23 10:10:30 +09:00
OJ Kwon
9bc40e3d08
build(swc_core): Fix dependency version ( #5593 )
2022-08-23 00:21:29 +00:00
SWC Bot
3e276fa323
chore: Publish crates
2022-08-22 23:51:16 +00:00
OJ Kwon
a3e855f720
feat(es/plugin): Provide swc_core
diagnostic from plugin ( #5591 )
2022-08-22 23:48:50 +00:00
SWC Bot
03730d7f05
chore: Publish crates
2022-08-22 14:11:57 +00:00
SWC Bot
ceb6c2ec96
chore: Publish crates
2022-08-22 13:38:57 +00:00
magic-akari
86452511e7
fix(es/compat): Fix destructuring assignments and updates of super properties in async method ( #5580 )
2022-08-22 13:36:02 +00:00
SWC Bot
b3e03c4d7b
chore: Publish crates
2022-08-22 08:26:46 +00:00
Donny/강동윤
0f6649c44f
test(es/transforms): Enable tests for fixed issues ( #5583 )
2022-08-22 08:24:23 +00:00
SWC Bot
1d235e0d06
chore: Publish crates
2022-08-22 00:45:24 +00:00
magic-akari
bee26a9abb
fix(es/compat): Fix destructuring assignments and updates of super properties ( #5576 )
2022-08-22 00:42:50 +00:00
SWC Bot
2c35990a07
chore: Publish crates
2022-08-21 08:33:31 +00:00
magic-akari
c3f62586bf
fix(es/parser): Fix false-positives of yield used as a parameter in generator ( #5564 )
2022-08-21 08:30:54 +00:00
SWC Bot
52250f0927
chore: Publish crates
2022-08-20 16:18:08 +00:00
magic-akari
78dd071dab
fix(es/parser): Allow expr to follow ClassExpr
( #5572 )
2022-08-20 16:15:47 +00:00
Donny/강동윤
f688170909
chore: Publish crates
2022-08-20 21:28:27 +09:00
Donny/강동윤
38d722737b
chore: Publish crates
2022-08-20 21:26:59 +09:00
Donny/강동윤
76bd04b2e2
chore: Publish crates
2022-08-20 21:22:08 +09:00
SWC Bot
eaf4d9879f
chore: Publish crates
2022-08-20 10:50:17 +00:00
Donny/강동윤
82cc3ca7a4
fix(es/quote): Allow cloning ( #5571 )
2022-08-20 19:48:00 +09:00
SWC Bot
8b61c90e88
chore: Publish crates
2022-08-20 07:56:23 +00:00
Donny/강동윤
288ae51fb1
fix(es/codgen): Fix sourcemap ofBlockStmt
( #5570 )
2022-08-20 07:53:51 +00:00
SWC Bot
167ceb38d1
chore: Publish crates
2022-08-20 04:07:27 +00:00
Alexander Akait
3cb6fc2a29
feat(html/minifier): Improve minification modes ( #5568 )
2022-08-20 04:04:47 +00:00
SWC Bot
ba70a54493
chore: Publish crates
2022-08-20 03:38:17 +00:00
Donny/강동윤
2f7e322214
fix(es): Improve sourcemap ( #5569 )
2022-08-20 12:35:49 +09:00
SWC Bot
0f5d02568b
chore: Publish crates
2022-08-20 01:52:20 +00:00
Alexander Akait
a3c1ac67d7
feat(css/ast): Make keyword
optional ( #5543 )
2022-08-20 01:49:27 +00:00
SWC Bot
4e9e64f6dd
chore: Publish crates
2022-08-19 13:04:31 +00:00
Austaras
b717a68199
fix(es/compat): Use separate SyntaxContext
for class names ( #5566 )
2022-08-19 13:01:50 +00:00
SWC Bot
34d366ee1a
chore: Publish crates
2022-08-19 06:52:14 +00:00
magic-akari
f2c1164026
fix(es/compat): Handle async
in class method parameters ( #5560 )
2022-08-19 06:49:34 +00:00
SWC Bot
ef4fdd84e4
chore: Publish crates
2022-08-19 06:06:11 +00:00
Donny/강동윤
7f5095dd5e
test(es/minifier): Add tests for size ( #5561 )
2022-08-19 06:03:42 +00:00
SWC Bot
1434376ce9
chore: Publish crates
2022-08-19 04:30:32 +00:00
Austaras
69f8945911
feat(es/minifier): Remove more functions and classes ( #5552 )
2022-08-19 04:28:06 +00:00
SWC Bot
6de0a278f6
chore: Publish crates
2022-08-19 02:14:17 +00:00
magic-akari
b14d69e9b0
fix(es/fixer): Wrap yield
expression in extends
( #5555 )
2022-08-19 02:11:27 +00:00
SWC Bot
e0e01bf6cd
chore: Publish crates
2022-08-18 06:06:06 +00:00
brightwu
3569b20645
fix(ast): Add attributes for rkyv
( #5489 )
2022-08-18 15:03:46 +09:00
SWC Bot
2ed9f8f4b1
chore: Publish crates
2022-08-18 05:51:23 +00:00
Donny/강동윤
38b8ca05ad
feat(es/minifier): Optimize numeric property names ( #5548 )
2022-08-18 14:48:54 +09:00
SWC Bot
219356fcfd
chore: Publish crates
2022-08-18 04:31:41 +00:00
OJ Kwon
f1a4263954
feat(swc_core): Implement engine diagnostics ( #5515 )
2022-08-18 04:29:19 +00:00
SWC Bot
75d47a2785
chore: Publish crates
2022-08-18 03:32:12 +00:00
Alexander Akait
fa7abe26cf
fix(css/codegen): Improve codegen of @media
( #5544 )
2022-08-18 03:29:42 +00:00
SWC Bot
5155fe0144
chore: Publish crates
2022-08-18 03:00:38 +00:00
Donny/강동윤
7487e3341d
feat(es/minifier): Optimize more string property names ( #5545 )
2022-08-18 11:58:05 +09:00
SWC Bot
7cf501ec47
chore: Publish crates
2022-08-18 02:26:36 +00:00
Alexander Akait
780a4c2b5d
feat(css/minifier): Remove duplications ( #5542 )
2022-08-18 02:23:26 +00:00
Donny/강동윤
a1aca0c366
chore: Publish crates
2022-08-18 10:55:13 +09:00
SWC Bot
2a61998315
chore: Publish crates
2022-08-18 00:39:50 +00:00
Donny/강동윤
935a2fbd00
feat(dbg-swc): Improve minifier comparator ( #5541 )
2022-08-18 09:37:19 +09:00
SWC Bot
04602f3485
chore: Publish crates
2022-08-17 23:27:05 +00:00
Austaras
d2f3e29bb0
feat(es/minifier): Ignore recursive usage for function calls and pure calls ( #5526 )
2022-08-17 23:24:10 +00:00
SWC Bot
833189c09b
chore: Publish crates
2022-08-17 22:09:25 +00:00
Alexander Akait
0985c1546b
fix(css/prefixer): Reduce duplicates ( #5537 )
2022-08-18 07:06:18 +09:00
SWC Bot
070f256ae3
chore: Publish crates
2022-08-17 21:56:44 +00:00
OJ Kwon
d46418bb47
feat(es/plugin/runner): Add more traces for the plugin host ( #5538 )
2022-08-18 06:54:17 +09:00
SWC Bot
6412279ddb
chore: Publish crates
2022-08-17 19:06:30 +00:00
Alexander Akait
0f45822410
fix(css/codegen): Improve output of @supports
( #5529 )
2022-08-17 19:04:06 +00:00
SWC Bot
e28fd34ce7
chore: Publish crates
2022-08-17 18:31:17 +00:00
magic-akari
7394deef42
fix(es/fixer): Fix handling of yield
and await
( #5533 )
2022-08-17 18:28:37 +00:00
SWC Bot
1bdf6a7385
chore: Publish crates
2022-08-17 13:08:48 +00:00
Austaras
5aa96e00d8
fix(es/minifier): Remove recklessly inline ( #5528 )
2022-08-17 13:06:01 +00:00
SWC Bot
57361bf0d8
chore: Publish crates
2022-08-17 12:38:41 +00:00
Alexander Akait
674c788654
feat(css/prefixer): Support more env properties and values ( #5512 )
2022-08-17 12:35:39 +00:00
SWC Bot
62fbb52c90
chore: Publish crates
2022-08-17 09:07:49 +00:00
Alexander Akait
1a4d7553b8
fix(html/minifier): Apply fixer
( #5514 )
2022-08-17 09:04:47 +00:00
SWC Bot
6aa975260a
chore: Publish crates
2022-08-17 08:37:10 +00:00
Alex Kirszenberg
14606d9222
feat(es/react): Add VisitMut
bound to the return type of react preset ( #5499 )
2022-08-17 17:34:32 +09:00
SWC Bot
75704e5df8
chore: Publish crates
2022-08-17 07:38:39 +00:00
magic-akari
f27ed73594
fix(es/fixer): Wrap first function
or class
of a sequence expression ( #5508 )
2022-08-17 07:36:19 +00:00
SWC Bot
190d4e0c79
chore: Publish crates
2022-08-17 07:12:26 +00:00
Alexander Akait
dc98234fab
fix(css/prefixer): Handle supports ( #5503 )
2022-08-17 07:09:44 +00:00
SWC Bot
916af18b8f
chore: Publish crates
2022-08-17 06:45:51 +00:00
Alexander van Ratingen
75c8e09d6d
feat(api/rust): Implement more traits for public types ( #5488 )
2022-08-17 06:43:32 +00:00
Donny/강동윤
69ce1b24d5
test(es/minifier): Remove useless, slow tests ( #5502 )
2022-08-17 15:12:30 +09:00
Donny/강동윤
f7b34e70e9
chore: Publish crates
2022-08-17 14:28:18 +09:00
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