Donny/강동윤
d4544884ee
chore(es/minifier): Configure fuzzer ( #6246 )
2022-10-25 04:36:03 +00:00
SWC Bot
3d9c1a55bb
chore: Publish crates
2022-10-25 04:03:28 +00:00
Donny/강동윤
ec9a80aae0
feat(es/minifier): Respect options ( #6245 )
2022-10-25 04:00:16 +00:00
SWC Bot
2f05c3fd32
chore: Publish crates
2022-10-24 03:58:37 +00:00
Donny/강동윤
c28533f725
build(bindings): Revert jemallloc bump ( #6241 )
2022-10-24 12:54:57 +09:00
SWC Bot
d05deb8a07
chore: Publish crates
2022-10-24 03:14:40 +00:00
Donny/강동윤
6341554628
fix(css/parser): Add more error recovery ( #6240 )
2022-10-24 03:11:27 +00:00
SWC Bot
1a3ceaa968
chore: Publish crates
2022-10-24 01:24:40 +00:00
Fy
0b267edea2
feat(es): Expose unresolved_mark
( #6236 )
2022-10-24 01:22:04 +00:00
SWC Bot
c025cd01ce
chore: Publish crates
2022-10-23 04:45:44 +00:00
Donny/강동윤
48bb0cc51d
fix(es/minifier): Fix collapse_vars
( #6235 )
...
**Related issue:**
- Closes https://github.com/swc-project/swc/issues/6217
2022-10-23 13:43:10 +09:00
SWC Bot
2dbff698b8
chore: Publish crates
2022-10-22 22:52:58 +00:00
Alexander Akait
e4fe8403d7
refactor(css/parser): Fix parsing of declarations ( #6234 )
2022-10-22 22:50:19 +00:00
SWC Bot
ac3949e34f
chore: Publish crates
2022-10-22 04:24:21 +00:00
Alexander Akait
ac619e88bf
refactor(css/parser): Use new approach for parsing invalid tokens ( #6224 )
...
Co-authored-by: Donny/강동윤 <kdy1997.dev@gmail.com>
2022-10-22 04:21:40 +00:00
SWC Bot
e2c1fcffd4
chore: Publish crates
2022-10-21 23:50:56 +00:00
Maxime
61e63df0a0
chore(es/parser): Typo ( #6228 )
2022-10-21 23:48:15 +00:00
SWC Bot
67c5af7762
chore: Publish crates
2022-10-21 12:52:30 +00:00
Alexander Akait
8b6b9c0961
feat(css/minifier): Merge rules ( #6220 )
2022-10-21 21:49:25 +09:00
SWC Bot
b79997ba02
chore: Publish crates
2022-10-21 09:11:29 +00:00
Donny/강동윤
e9d421bd95
fix(es/minifier): Preserve this
in more cases ( #6226 )
...
**Related issue (if exists):**
- Closes https://github.com/swc-project/swc/issues/6175 .
- Closes https://github.com/swc-project/swc/issues/6137 .
Co-authored-by: Justin Ridgewell <justin@ridgewell.name>
2022-10-21 09:07:00 +00:00
SWC Bot
fefbd0f970
chore: Publish crates
2022-10-21 07:56:58 +00:00
SWC Bot
caaf491da5
chore: Publish crates
2022-10-21 05:11:38 +00:00
SWC Bot
daf36a635a
chore: Publish crates
2022-10-21 03:53:20 +00:00
SWC Bot
bcd5f6f5be
chore: Publish crates
2022-10-21 03:21:15 +00:00
Donny/강동윤
780b5de678
fix(es/minifier): Fix detection of direct eval
( #6215 )
2022-10-21 12:18:10 +09:00
SWC Bot
dc615b134e
chore: Publish crates
2022-10-21 01:39:09 +00:00
Alexander Akait
055bdcd997
test(css/minifier): Add tests for layer ( #6221 )
2022-10-21 01:36:00 +00:00
SWC Bot
1186c52ea4
chore: Publish crates
2022-10-21 01:07:03 +00:00
Alexander Akait
6505c6491a
test(html/parser): Resolve TODOs ( #6223 )
2022-10-21 01:03:54 +00:00
SWC Bot
6b738f2443
chore: Publish crates
2022-10-21 00:36:28 +00:00
Donny/강동윤
ea03ce1a82
refactor(es/minifier): Don't create invalid nodes ( #6191 )
...
**Description:**
A sequential expression should have at leat two elements.
2022-10-21 00:33:40 +00:00
SWC Bot
bb5bf9a93a
chore: Publish crates
2022-10-20 19:30:03 +00:00
Donny/강동윤
725b1185f3
test(es/minifier): Add a test for a fixed issue ( #6218 )
...
**Related issue (if exists):**
- Closes https://github.com/swc-project/swc/issues/6217 .
2022-10-20 19:26:27 +00:00
SWC Bot
3f648bdf0f
chore: Publish crates
2022-10-20 08:59:26 +00:00
LongYinan
283549c677
chore(deps): Update jemallocator ( #6216 )
2022-10-20 17:56:25 +09:00
SWC Bot
33470ab5b9
chore: Publish crates
2022-10-20 05:09:47 +00:00
Donny/강동윤
cc848db80e
feat(es/minifier): Mark more expressions as pure ( #6204 )
2022-10-20 05:06:32 +00:00
SWC Bot
d9ef284ef8
chore: Publish crates
2022-10-20 04:19:52 +00:00
Alexander Akait
aa3fab1957
feat(html/minifier): Improve removal of redundant attributes ( #6197 )
2022-10-20 04:17:17 +00:00
SWC Bot
7d5b544458
chore: Publish crates
2022-10-20 02:56:58 +00:00
Alexander Akait
ba5d272ae1
perf(html/parser): Improve performance a bit ( #6213 )
2022-10-20 02:54:22 +00:00
SWC Bot
6aaf6a7a87
chore: Publish crates
2022-10-20 02:26:45 +00:00
Donny/강동윤
12443db39a
feat(es/minifier): Merge functions using sequential inliner ( #6148 )
2022-10-20 02:24:09 +00:00
SWC Bot
0c23592d14
chore: Publish crates
2022-10-20 01:50:04 +00:00
Donny/강동윤
e9ac7a7396
chore(ci): Fix auto-publish action ( #6214 )
2022-10-20 01:46:44 +00:00
Austaras
0e2de3069d
fix(es/compat): Fix super method call in loose mode ( #6207 )
2022-10-20 00:20:43 +00:00
SWC Bot
62a9405acf
chore: Publish crates
2022-10-19 23:46:12 +00:00
Donny/강동윤
1b0dad1e84
fix(html/ast): Fix compilation ( #6211 )
2022-10-20 08:43:16 +09:00
SWC Bot
9de0b6e398
chore: Publish crates
2022-10-19 23:35:18 +00:00
Alexander Akait
420ba32e8c
perf(html/ast): Use Atom
for raw
( #6210 )
2022-10-19 23:32:22 +00:00
OJ Kwon
8ab10f661b
build(bindings): Update mimalloc ( #6208 )
2022-10-19 15:51:00 +00:00
SWC Bot
3613c00deb
chore: Publish crates
2022-10-19 15:13:38 +00:00
Alexander Akait
99ea28674a
feat(html/ast): Add raw
to comment tokens ( #6202 )
2022-10-19 15:10:57 +00:00
SWC Bot
6008995db1
chore: Publish crates
2022-10-19 04:56:51 +00:00
Donny/강동윤
27896f4751
perf(es/transforms): Exclude old inlining pass ( #6203 )
...
**Related issue:**
- Closes https://github.com/swc-project/swc/issues/6194 .
2022-10-19 04:53:46 +00:00
SWC Bot
b48ec880fd
chore: Publish crates
2022-10-19 04:00:51 +00:00
Alexander Akait
6c170e59c7
refactor(css/ast): Refactor dashed ident ( #6198 )
2022-10-19 03:58:16 +00:00
SWC Bot
14a612447f
chore: Publish crates
2022-10-19 03:28:52 +00:00
Alexander Akait
35466322d6
fix(html/minifier): Fix bugs of merging and removing metadata elements ( #6200 )
2022-10-19 03:25:18 +00:00
SWC Bot
dc2c416bee
chore: Publish crates
2022-10-19 02:54:47 +00:00
Alexander Akait
ac7cfa13b6
fix(css/minifier): Don't touch @supports
( #6199 )
2022-10-19 02:51:49 +00:00
SWC Bot
287c2f2941
chore: Publish crates
2022-10-19 02:18:35 +00:00
Donny/강동윤
842abd4575
fix(es/minifier): Remove wrong rule ( #6201 )
...
**Related issue:**
- https://github.com/vercel/next.js/issues/41527 .
2022-10-19 02:14:38 +00:00
SWC Bot
a049ef058b
chore: Publish crates
2022-10-18 14:51:39 +00:00
Alexander Akait
0ba464d643
fix(html/minifier): Compress exportparts
( #6187 )
2022-10-18 14:48:47 +00:00
SWC Bot
3fe4c45a08
chore: Publish crates
2022-10-18 14:18:44 +00:00
Alexander Akait
8f00d1a934
feat(html/minifier): Compress javascript:
URLs ( #6185 )
2022-10-18 14:15:43 +00:00
SWC Bot
a81cc9ac88
chore: Publish crates
2022-10-18 13:44:31 +00:00
Alexander Akait
41093b022d
feat(html/minifier): Merge identical metadata elements ( #6183 )
2022-10-18 13:40:59 +00:00
SWC Bot
789ea16fc8
chore: Publish crates
2022-10-18 05:41:47 +00:00
Austaras
aefc11b8a7
feat(es/compat): Support readonly and writeonly for private fields ( #6182 )
2022-10-18 05:38:36 +00:00
SWC Bot
a029ca2430
chore: Publish crates
2022-10-18 03:39:03 +00:00
Alexander Akait
4fba0db3d9
fix(css/codegen): Fix codegen of pseudo class selectors ( #6186 )
2022-10-18 12:35:53 +09:00
SWC Bot
e30316626f
chore: Publish crates
2022-10-18 02:54:12 +00:00
Donny/강동윤
f2e8f98d38
feat(es/minifier): Skip function declarations in sequential inliner ( #6147 )
2022-10-18 02:51:05 +00:00
SWC Bot
b197a62b5e
chore: Publish crates
2022-10-18 02:16:46 +00:00
Donny/강동윤
3f0fcf4fa9
feat(es/minifier): Make sequential inliner self-repeat ( #6168 )
2022-10-18 02:13:39 +00:00
SWC Bot
25df5b37af
chore: Publish crates
2022-10-18 01:44:30 +00:00
Alexander Akait
6e2e2ada4e
refactor(css/parser): Improve project structure ( #6110 )
2022-10-18 01:41:59 +00:00
SWC Bot
4cd7efcc07
chore: Publish crates
2022-10-18 01:10:26 +00:00
Alexander Akait
5571c0c202
fix(html/minifier): Avoid ;
at the end of js ( #6188 )
2022-10-18 01:07:15 +00:00
SWC Bot
8ec2e8de63
chore: Publish crates
2022-10-18 00:23:49 +00:00
Alexander Akait
a4acc7ab07
test(html/parser): Refactor tests to make git
faster ( #6158 )
2022-10-18 09:20:35 +09:00
SWC Bot
d34cdd224a
chore: Publish crates
2022-10-17 13:19:23 +00:00
Alexander Akait
7a38fde230
test(html/parser): Update html5lib-test ( #6156 )
2022-10-17 13:16:50 +00:00
SWC Bot
701c3c0367
chore: Publish crates
2022-10-17 12:42:46 +00:00
Alexander Akait
d46a19b554
feat(css/ast): Support @custom-media
at-rule ( #6152 )
2022-10-17 12:40:00 +00:00
SWC Bot
21b7605bee
chore: Publish crates
2022-10-17 12:11:23 +00:00
Vincent Ricard
d4a733d764
feat(css/minifier): Handle nested calc()
( #6153 )
2022-10-17 12:08:43 +00:00
SWC Bot
30f3de2fe2
chore: Publish crates
2022-10-17 11:34:48 +00:00
Donny/강동윤
e8a80c8a8b
chore: Publish v1.3.9
( #6177 )
2022-10-17 20:32:18 +09:00
SWC Bot
fde2941f79
chore: Publish crates
2022-10-17 11:20:07 +00:00
Donny/강동윤
d13a397360
build(es/plugin): Fix Wasm build ( #6181 )
2022-10-17 20:17:29 +09:00
SWC Bot
c24c56cb57
chore: Publish crates
2022-10-17 11:08:37 +00:00
Donny/강동윤
ea4ae3dfbc
build(es/plugin): Fix Wasm build, really ( #6180 )
2022-10-17 20:06:08 +09:00
SWC Bot
995c701bc4
chore: Publish crates
2022-10-17 10:33:10 +00:00
Donny/강동윤
7c40e44d3f
build(es/plugin): Fix Wasm build ( #6179 )
2022-10-17 19:30:28 +09:00
SWC Bot
167359e089
chore: Publish crates
2022-10-17 09:38:57 +00:00
Donny/강동윤
cb8f3500b2
fix(es/plugin): Fix plugin on non x86_64
( #6178 )
2022-10-17 09:36:26 +00:00
SWC Bot
fed888f822
chore: Publish crates
2022-10-17 08:33:49 +00:00
Donny/강동윤
0ca5ded618
fix(es/parser): Fix parsing of arrow in cond ( #6067 )
...
**Related issue:**
- Closes https://github.com/swc-project/swc/issues/4911 .
2022-10-17 08:31:11 +00:00
SWC Bot
99c55dc93b
chore: Publish crates
2022-10-16 15:52:36 +00:00
Austaras
9d93b6cd85
fix(es/typescript): Don't generate class field for abstract properties ( #6174 )
2022-10-17 00:49:37 +09:00
SWC Bot
b3b8e2192d
chore: Publish crates
2022-10-16 00:28:22 +00:00
magic-akari
82cca674e3
fix(es/modules): Resolve jsc.paths
for export alls ( #6170 )
2022-10-16 00:25:55 +00:00
SWC Bot
c3ba51f48e
chore: Publish crates
2022-10-15 23:59:27 +00:00
Kevin Barabash
083924c0e1
fix(es/codegen): Emit readonly
for TsIndexSignature
( #6172 )
2022-10-16 08:56:56 +09:00
SWC Bot
78f2d6012c
chore: Publish crates
2022-10-15 12:55:40 +00:00
Donny/강동윤
2e153e5555
fix(es/minifier): Don't create a numeric literal with NaN
value ( #6166 )
2022-10-15 12:52:34 +00:00
SWC Bot
23e30fd149
chore: Publish crates
2022-10-15 09:14:15 +00:00
Donny/강동윤
aec5cdacc6
fix(es/minifier): Preserve this
of tagged template literals ( #6165 )
...
**Related issue:**
- Closes https://github.com/swc-project/swc/issues/6146
2022-10-15 09:11:20 +00:00
SWC Bot
ba6d714fe7
chore: Publish crates
2022-10-15 06:24:26 +00:00
Alexander Akait
0f38e38984
feat(css/minifier): Handle zero in at-rules ( #6155 )
2022-10-15 06:21:20 +00:00
SWC Bot
16df44221f
chore: Publish crates
2022-10-15 05:50:28 +00:00
Austaras
b40d486253
fix(es/minifier): Consider function body cost while inlining function ( #5342 )
2022-10-15 05:47:56 +00:00
SWC Bot
3352c4543b
chore: Publish crates
2022-10-15 05:21:07 +00:00
Donny/강동윤
899021e440
fix(es/plugin): Disable SIMD ( #6163 )
...
**Description:**
This PR disables SIMD for all hosts because wasmer cache is not portable.
2022-10-15 05:18:19 +00:00
SWC Bot
608aa94935
chore: Publish crates
2022-10-15 04:39:37 +00:00
Donny/강동윤
6d0ca05cb5
fix(es/minifier): Fix ordering issue of analyzer ( #6150 )
...
**Description:**
This is the groundwork for a parallel analyzer. This PR fixes the ordering issue of the analyzer so that the analyzer works identically regardless of the visit order. This patch contains some improvements because previously, we mixed `.and_modify()` and `.or_default()`.
2022-10-15 04:37:11 +00:00
SWC Bot
4e079b221d
chore: Publish crates
2022-10-15 03:06:30 +00:00
Fy
65029793a6
fix(es/quote): Fix handling of template literals ( #6157 )
2022-10-15 12:03:39 +09:00
SWC Bot
1ed0203262
chore: Publish crates
2022-10-14 14:49:13 +00:00
Alexander Akait
26aeb18c0c
fix(css/parser): Improve handling of math functions in at-rules ( #6140 )
2022-10-14 14:46:36 +00:00
SWC Bot
a50b5aeeb1
chore: Publish crates
2022-10-14 10:42:11 +00:00
Donny/강동윤
6a42e511e8
feat(es/utils): Add indexed API to the parallel helper ( #6149 )
2022-10-14 10:39:36 +00:00
SWC Bot
8f349f8bac
chore: Publish crates
2022-10-14 03:33:09 +00:00
SWC Bot
ef5ed9b4a9
chore: Publish crates
2022-10-14 03:00:49 +00:00
Donny/강동윤
d334c6e783
feat(es/minifier): Ignore return value if a param of IIFE is not used ( #6115 )
2022-10-14 02:58:00 +00:00
SWC Bot
e46a192cb6
chore: Publish crates
2022-10-14 02:25:59 +00:00
Donny/강동윤
1196d60182
feat(css/modules): Add a lifetime to config parameter ( #6144 )
2022-10-14 01:40:50 +00:00
SWC Bot
5c4a2c69b4
chore: Publish crates
2022-10-14 01:00:35 +00:00
SWC Bot
3ff55caa38
chore: Publish crates
2022-10-14 00:35:25 +00:00
Donny/강동윤
3d271e82a2
fix(es/minifier): Preserve return values of recursive IIFE ( #6142 )
...
**Description:**
This PR fixes the logic for dropping return values of IIFE.
**Related issue:**
- Closes https://github.com/swc-project/swc/issues/6141 .
2022-10-14 09:32:56 +09:00
SWC Bot
31023f8e7e
chore: Publish crates
2022-10-13 23:38:26 +00:00
Donny/강동윤
ec0d6d5a0d
feat(es/minifier): Improve trivial rules ( #6136 )
2022-10-13 23:34:30 +00:00
SWC Bot
0eb91d67a7
chore: Publish crates
2022-10-13 23:03:28 +00:00
Donny/강동윤
3a29bfee9b
feat(es/minifier): Change default pass limit to 3 ( #6138 )
2022-10-14 08:00:32 +09:00
SWC Bot
1affcfe8e8
chore: Publish crates
2022-10-13 06:12:56 +00:00
Donny/강동윤
9c8ec0ea56
perf(atoms): Use thin pointer for Atom
( #6135 )
...
**Description:**
This PR changes the size of `Atom` type to `usize` from 2 * usize`.
**Related issue:**
- https://github.com/swc-project/swc/issues/4946 .
2022-10-13 06:09:44 +00:00
SWC Bot
a871b13906
chore: Publish crates
2022-10-13 05:34:51 +00:00
Alexander Akait
e63fa28008
fix(css/ast): Fix AST types for simple block ( #6131 )
2022-10-13 05:31:34 +00:00
SWC Bot
871ed71b52
chore: Publish crates
2022-10-13 04:18:02 +00:00
Alexander Akait
85b2188204
refactor(css/ast): Refactor AST types ( #6124 )
2022-10-13 04:15:29 +00:00
SWC Bot
769e5a2885
chore: Publish crates
2022-10-13 03:48:18 +00:00
Donny/강동윤
c37839fc62
feat(es/minifier): Swap more binary expressions ( #6134 )
2022-10-13 03:45:05 +00:00
SWC Bot
b07a17a959
chore: Publish crates
2022-10-13 03:20:07 +00:00
Alexander Akait
39cfade7f8
fix(css/modules): Fix parsing and refactor code ( #6132 )
2022-10-13 12:17:11 +09:00
SWC Bot
56da9981bb
chore: Publish crates
2022-10-12 10:06:01 +00:00
Vincent Ricard
205a317c4d
feat(css/minifier): Compute calc
expressions ( #5966 )
2022-10-12 10:03:14 +00:00
SWC Bot
7e1972df7a
chore: Publish crates
2022-10-12 05:34:45 +00:00
Donny/강동윤
5875298377
feat(es/minifier): Merge assignments using sequential inliner ( #6103 )
2022-10-12 05:31:40 +00:00
SWC Bot
3ac2d89272
chore: Publish crates
2022-10-12 05:02:45 +00:00
Donny/강동윤
d6fd476721
chore(ci): Deny clippy warnings ( #6126 )
2022-10-12 04:59:54 +00:00
SWC Bot
7c9cb80a52
chore: Publish crates
2022-10-12 04:34:51 +00:00
Donny/강동윤
fc5d8a5d41
feat(es/minifier): Enable reduce_vars
by default ( #6096 )
2022-10-12 04:32:15 +00:00
SWC Bot
3b05c0f86b
chore: Publish crates
2022-10-12 03:43:14 +00:00
SWC Bot
8e35f53035
chore: Publish crates
2022-10-12 03:00:58 +00:00
Alexander Akait
c765f0ff73
fix(css/ast): Fix AST types for namespace ( #6112 )
2022-10-12 02:57:43 +00:00
SWC Bot
bcc68a8e79
chore: Publish crates
2022-10-12 02:32:34 +00:00
Donny/강동윤
66196a65be
feat(es/minifier): Inline pure array literal partially ( #6099 )
2022-10-12 02:29:40 +00:00
SWC Bot
e37ced5bf4
chore: Publish crates
2022-10-12 01:55:47 +00:00
Austaras
5a23949f12
feat(es/minifier): Inline and remove vars in one pass ( #6093 )
2022-10-12 01:52:58 +00:00
SWC Bot
dcb3a4371d
chore: Publish crates
2022-10-11 23:55:24 +00:00
Alexander Akait
7343cf3389
perf(atoms): Add more atoms ( #6122 )
...
Co-authored-by: Donny/강동윤 <kdy1997.dev@gmail.com>
2022-10-11 23:52:51 +00:00
SWC Bot
521bdbe9cc
chore: Publish crates
2022-10-11 23:11:17 +00:00
Donny/강동윤
ad960c76c0
feat(es/minifier): Detect type of .length
( #6120 )
...
**Description:**
This PR updates minifier to detect the type of `xxx.length` if possible.
2022-10-11 23:06:58 +00:00
SWC Bot
bc4668338b
chore: Publish crates
2022-10-11 16:05:06 +00:00
Alexander Akait
7e4d20791b
test(css/prefixer): Verify old gradient syntax ( #6121 )
2022-10-11 16:00:52 +00:00
SWC Bot
dfd274055a
chore: Publish crates
2022-10-11 11:51:58 +00:00
Donny/강동윤
0cd8aeeb5c
feat(bindings): Apply resolver
to the output of parse
apis ( #6118 )
...
**Description:**
This PR makes the `parse*()` API return AST with `resolver` applied to help plugin authors
2022-10-11 11:49:30 +00:00
SWC Bot
5bf306565f
chore: Publish crates
2022-10-11 11:23:16 +00:00
IWANABETHATGUY
27bda13591
build(cargo): Remove unused deps ( #6117 )
2022-10-11 11:20:14 +00:00
SWC Bot
af5b25f8b8
chore: Publish crates
2022-10-11 10:45:42 +00:00
Donny/강동윤
8549c47807
feat(dbg-swc): Remove comments from the output of terser
( #6119 )
...
**Description:**
This PR removes comments by parsing and printing using swc APIs because the comments disturb looking at diffs.
2022-10-11 19:43:09 +09:00
SWC Bot
fe9ca12081
chore: Publish crates
2022-10-11 08:27:41 +00:00
Donny/강동윤
6365acc9f5
test(es/minifier): Organize terser tests ( #6116 )
...
**Description:**
Our minifier is better than terser in some cases, so we don't need to match the output of terser exactly.
2022-10-11 08:25:11 +00:00
SWC Bot
86b5641d5e
chore: Publish crates
2022-10-11 05:38:58 +00:00
Alexander Akait
6b3f4bb1c6
feat(css/ast): Add AST types for gradients ( #6111 )
2022-10-11 14:36:05 +09:00
SWC Bot
5966aab27e
chore: Publish crates
2022-10-11 04:33:40 +00:00
Alexander Akait
a920997f4b
feat(css/codegen): Support lowercase case insensitivity ( #6113 )
2022-10-11 04:31:17 +00:00
SWC Bot
3a3aa8d25a
chore: Publish crates
2022-10-11 03:58:58 +00:00
Alexander Akait
1938ed26a1
feat(css/ast): Support ::highlight()
( #6109 )
2022-10-11 03:56:32 +00:00
SWC Bot
a0b0fd3e0d
chore: Publish crates
2022-10-11 02:39:20 +00:00
Donny/강동윤
5fd0e97c15
fix(swc_core): Reexport swc_css_compat
correctly ( #6114 )
2022-10-11 02:36:56 +00:00
SWC Bot
018ca946e7
chore: Publish crates
2022-10-10 13:09:51 +00:00
Donny/강동윤
8d4d32664d
fix(es/preset-env): Update data ( #6106 )
2022-10-10 13:07:25 +00:00
SWC Bot
221818e85c
chore: Publish crates
2022-10-10 09:08:09 +00:00
Donny/강동윤
16dc746cd3
feat(swc_core): Reexport swc_css_compat
( #6102 )
2022-10-10 18:05:43 +09:00
SWC Bot
675da485fc
chore: Publish crates
2022-10-10 05:40:39 +00:00
Donny/강동윤
3c6cdbc61c
feat(es/minifier): Enable reduce_funcs
by default ( #6097 )
2022-10-10 05:38:17 +00:00
SWC Bot
0808c927c6
chore: Publish crates
2022-10-10 05:05:22 +00:00
Anthony Morris
ca67d5244d
doc(es/parser): Change file extension in TypeScript example ( #6094 )
2022-10-10 05:02:02 +00:00
SWC Bot
f5f293e72e
chore: Publish crates
2022-10-10 00:56:50 +00:00
Austaras
657e5b3111
feat(es/minifier): Inline more lazily initialized vars ( #6089 )
2022-10-10 09:53:50 +09:00
SWC Bot
fe51d7aaa2
chore: Publish crates
2022-10-09 00:24:46 +00:00
Donny/강동윤
b0c57458c8
feat(es/minifier): Mark ref to fn as non-call in alias analyzer ( #6088 )
2022-10-09 09:21:54 +09:00
SWC Bot
516320009a
chore: Publish crates
2022-10-08 04:41:25 +00:00
SWC Bot
818a5cc1eb
chore: Publish crates
2022-10-08 04:08:55 +00:00
Donny/강동윤
d0418ebe5b
doc(es/minifier): Document assumptions ( #6085 )
2022-10-08 13:05:57 +09:00
SWC Bot
969c6eeeeb
chore: Publish crates
2022-10-08 03:17:53 +00:00
Donny/강동윤
9ce3df091f
feat(es/minifier): Distinguish calls in alias analyzer ( #6080 )
...
**Description:**
This PR improves the alias analyzer by distinguishing call and reference, thus reducing the number of identifiers.
---
Co-authored-by: Justin Ridgewell <justin@ridgewell.name>
2022-10-08 03:15:18 +00:00
SWC Bot
da1b2b32a2
chore: Publish crates
2022-10-08 00:53:47 +00:00
Will Binns-Smith
4cde4f9ace
feat(swc_core): Expose swc_ecma_preset_env
( #6083 )
2022-10-08 09:51:18 +09:00
SWC Bot
17a2f6b893
chore: Publish crates
2022-10-07 14:54:27 +00:00
Alexander Akait
b71dd3ec05
feat(css/ast): Support <general-enclosed>
for @media
at-rules ( #6082 )
2022-10-07 14:51:53 +00:00
SWC Bot
3171718e07
chore: Publish crates
2022-10-07 07:48:18 +00:00
IWANABETHATGUY
8003dc8563
feat(es/codegen): Remove the trailing comma of binding patterns ( #6078 )
2022-10-07 16:45:20 +09:00
SWC Bot
477626b9ff
chore: Publish crates
2022-10-07 05:55:53 +00:00
Donny/강동윤
e6b1dd4731
feat(es/testing): Add an option to test sourcemap ( #6079 )
2022-10-07 05:52:22 +00:00
SWC Bot
d0214c33f1
chore: Publish crates
2022-10-07 05:21:25 +00:00
Donny/강동윤
347d4b7602
feat(css/compat): Implement transform for nested css ( #6077 )
2022-10-07 05:18:14 +00:00
SWC Bot
5c486c5234
chore: Publish crates
2022-10-07 04:11:21 +00:00
Alexander Akait
0a61374d02
feat(css/ast): Support @container
at-rule ( #6076 )
2022-10-07 04:07:49 +00:00
SWC Bot
15044a35b4
chore: Publish crates
2022-10-06 17:30:14 +00:00
Austaras
ac150c7ced
feat(es/minifier): Use usage_count
in sequential inliner ( #6071 )
2022-10-06 17:27:34 +00:00
SWC Bot
d750f0e03c
chore: Publish crates
2022-10-06 16:11:15 +00:00
Donny/강동윤
e88c1c04e1
perf(es/minifier): Remove double-visit of DCE ( #6069 )
...
**Related issue:**
- Closes https://github.com/swc-project/swc/issues/6066 .
2022-10-06 16:08:03 +00:00
SWC Bot
5f49ac012e
chore: Publish crates
2022-10-06 11:38:55 +00:00
IWANABETHATGUY
047da86baa
chore(common): Make Mark::root
const fn ( #6072 )
2022-10-06 11:36:08 +00:00
SWC Bot
9d6217f036
chore: Publish crates
2022-10-06 09:15:00 +00:00
Austaras
c9427f1ec4
fix(es/minifier): Improve infection analysis ( #6044 )
2022-10-06 18:12:09 +09:00
SWC Bot
07611a935c
chore: Publish crates
2022-10-06 04:50:27 +00:00
Donny/강동윤
38df5978c1
fix(es/minifier): Mark delete
as a property mutation ( #6063 )
...
**Related issue:**
- Closes https://github.com/swc-project/swc/issues/6004 .
2022-10-06 04:47:58 +00:00
SWC Bot
d02ec8beef
chore: Publish crates
2022-10-06 04:19:31 +00:00
SWC Bot
39874529e0
chore: Publish crates
2022-10-06 03:46:53 +00:00
SWC Bot
69f98b17c0
chore: Publish crates
2022-10-06 03:21:46 +00:00
Mohamed Lamine Allal
69da081798
fix(es): Respect exclude option ( #6054 )
2022-10-06 03:18:03 +00:00
SWC Bot
02a0cd37d7
chore: Publish crates
2022-10-06 02:49:43 +00:00
Donny/강동윤
d65fba134d
fix(es/minifier): Fix infection analysis of sequential inliner ( #6053 )
...
**Description:**
This PR fixes the callee issue by fixing the infection analyzer.
**Related issue:**
- Closes https://github.com/swc-project/swc/issues/6047
2022-10-06 02:46:22 +00:00
SWC Bot
62dd127e3c
chore: Publish crates
2022-10-06 02:13:20 +00:00
Donny/강동윤
36d467e7d7
fix(es/minifier): Fix analysis of var declaration after usage ( #6043 )
...
**Description:**
`var_initialized` should be `true` even if the declaration of variable comes after its usage.
**Related issue:**
- Closes https://github.com/swc-project/swc/issues/6039 .
2022-10-06 02:09:13 +00:00
SWC Bot
ad58d5daf8
chore: Publish crates
2022-10-06 01:40:03 +00:00
OJ Kwon
fff4b9ce65
build(cargo): Dedup indexmap
with known version ( #6060 )
2022-10-06 01:36:13 +00:00
Donny/강동윤
d8fc0298e2
chore: Publish crates
2022-10-05 21:36:15 +09:00
SWC Bot
f955f34afc
chore: Publish crates
2022-10-05 12:25:56 +00:00
Donny/강동윤
e3b55e4bcf
fix(es/minifier): Fix optimization of numeric keys ( #6052 )
...
**Description:**
We should not optimize if the key starts with `0`.
**Related issue:**
- Closes https://github.com/swc-project/swc/issues/6051 .
2022-10-05 12:22:28 +00:00
SWC Bot
cad80e39c8
chore: Publish crates
2022-10-05 11:48:18 +00:00
Donny/강동윤
c5fb774487
fix(es/minifier): Don't skip unresolved identifiers ( #6050 )
...
**Related issue:**
- Closes https://github.com/swc-project/swc/issues/6049
2022-10-05 11:44:51 +00:00
SWC Bot
d01887e3d1
chore: Publish crates
2022-10-05 09:01:11 +00:00
Donny/강동윤
51e935eb4a
feat(css/modules): Support :global
in @keyframes
( #6046 )
2022-10-05 08:57:43 +00:00
SWC Bot
73362fc8a2
chore: Publish crates
2022-10-05 07:42:12 +00:00
Donny/강동윤
10d0f8e001
feat(css/modules): Support :local
and :global
( #6045 )
...
**Description:**
This PR adds support for `:local` and `:global` directives.
2022-10-05 07:33:40 +00:00
SWC Bot
5618702554
chore: Publish crates
2022-10-05 05:51:59 +00:00
Donny/강동윤
2cce1c82b2
feat(css/modules): Implement css modules ( #6000 )
2022-10-05 05:48:28 +00:00
SWC Bot
37286e369e
chore: Publish crates
2022-10-04 15:22:12 +00:00
Donny/강동윤
7554482205
fix(es/compat): Fix handling of op-assignment in generator
( #6036 )
2022-10-04 15:17:50 +00:00
SWC Bot
5df3eb1f43
chore: Publish crates
2022-10-04 14:37:35 +00:00
Donny/강동윤
0c67a3adba
fix(es/compat): Fix handling of deep array pattern of object rest pass ( #6035 )
2022-10-04 23:34:03 +09:00
SWC Bot
676831477c
chore: Publish crates
2022-10-04 12:46:12 +00:00