Alexander Akait
|
48f3dc8cc4
|
feat(es/codegen): Compress \t in string literals more (#4131)
|
2022-03-23 21:37:03 +00:00 |
|
magic-akari
|
bf1924d1a8
|
feat(es/typescript): Support optional variance annotations (#4008)
|
2022-03-23 14:36:37 +00:00 |
|
Alexander Akait
|
f5a5217506
|
fix(es/codegen): Fix codegen of template literals (#4124)
|
2022-03-23 12:39:47 +00:00 |
|
Donny/강동윤
|
13b2f38cdd
|
fix(es/typescript): Collect all bindings in strip (#4118)
|
2022-03-22 10:03:58 +00:00 |
|
SWC Bot
|
77722c4943
|
chore: Publish crates
|
2022-03-22 08:03:01 +00:00 |
|
Alexander Akait
|
634d732803
|
feat(es/ast): Add raw to Str (#4071)
|
2022-03-22 07:54:08 +00:00 |
|
SWC Bot
|
5b6b9c0a25
|
chore: Publish crates
|
2022-03-22 06:27:29 +00:00 |
|
Donny/강동윤
|
4a9817f003
|
fix(es/minifier): Consider side effects while lifting sequences (#4116)
|
2022-03-22 06:25:19 +00:00 |
|
SWC Bot
|
bba8e6be67
|
chore: Publish crates
|
2022-03-21 11:13:26 +00:00 |
|
Donny/강동윤
|
c6f8742669
|
feat(es/minifier): Implement more evaluation rules (#4030)
|
2022-03-21 20:07:59 +09:00 |
|
SWC Bot
|
e7d450c8af
|
chore: Publish crates
|
2022-03-19 07:07:31 +00:00 |
|
SWC Bot
|
a74d4ca679
|
chore: Publish crates
|
2022-03-17 10:29:25 +00:00 |
|
SWC Bot
|
4d6d766cf8
|
chore: Publish crates
|
2022-03-17 05:36:01 +00:00 |
|
Alexander Akait
|
bd444c0ceb
|
fix(es/codegen): Fix codegen of string literals (#4037)
|
2022-03-16 14:25:26 +00:00 |
|
LongYinan
|
db9b988845
|
feat(node-swc): Add libc field in Linux platform packages (#4046)
|
2022-03-16 18:58:24 +09:00 |
|
SWC Bot
|
8eb9476cfb
|
chore: Publish crates
|
2022-03-16 08:13:01 +00:00 |
|
SWC Bot
|
531762ae71
|
chore: Publish crates
|
2022-03-15 08:45:12 +00:00 |
|
Donny/강동윤
|
3173047f58
|
refactor(es/minifier): Cleanup (#4020)
**Description:**
- `Optimizer.data`: `Option<ProgramData>` => `ProgramData`.
- `Optimizer.done`: Remvoed.
- `Optimzer.done_ctxt`: Removed.
- `Pure`: Add `data: Option<&'a ProgramData>`.
|
2022-03-15 08:42:50 +00:00 |
|
Donny/강동윤
|
be09ea6991
|
feat(es/minifier): Drop noop calls (#4019)
|
2022-03-15 16:23:32 +09:00 |
|
Donny/강동윤
|
38c0c0faa6
|
chore: Publish crates
|
2022-03-14 04:11:07 +09:00 |
|
SWC Bot
|
386456f48a
|
chore: Publish crates
|
2022-03-13 09:13:23 +00:00 |
|
Donny/강동윤
|
a23af2dea2
|
feat(es/minifier): Compress more comparisons (#3996)
|
2022-03-13 09:11:16 +00:00 |
|
SWC Bot
|
ad3115fa2f
|
chore: Publish crates
|
2022-03-13 03:29:32 +00:00 |
|
Donny/강동윤
|
64ca5bae4d
|
feat(es/minifier): Implement more rules for arrows (#3992)
|
2022-03-13 03:27:15 +00:00 |
|
SWC Bot
|
d9db2faded
|
chore: Publish crates
|
2022-03-13 02:59:56 +00:00 |
|
Donny/강동윤
|
f7b212bfc4
|
perf(es/minifier): Use Vec<u8> as a buffer for base54 (#3993)
Description:
We are only using ASCII characters so we can avoid utf8 logics by using `Vec<u8>` as a buffer and converting it into `String` at the end.
|
2022-03-13 02:57:47 +00:00 |
|
SWC Bot
|
2a6106f0b7
|
chore: Publish crates
|
2022-03-12 15:38:49 +00:00 |
|
magic-akari
|
04db7e2a9b
|
perf(es/minifier): Refactor base54 (#3989)
|
2022-03-12 15:36:42 +00:00 |
|
Donny/강동윤
|
1beecceead
|
perf(es/minifier): Merge hashmap for scoping before checking (#3988)
Currently, we check for child scopes by doing a recursive call, like 2ad0d801a2/crates/swc_ecma_minifier/src/pass/mangle_names/analyzer/scope.rs (L112-L114)
But this is slow because it results in an enormous amount of calls.
We can optimize this by merging information of child scopes beforehand.
|
2022-03-12 20:06:59 +09:00 |
|
SWC Bot
|
fb421b8cc3
|
chore: Publish crates
|
2022-03-12 06:47:29 +00:00 |
|
Donny/강동윤
|
67e615421f
|
perf(es/minifier): Use fxhash for integers (#3984)
Description:
- `Id` is treated as integer, as `JsWord` and `SyntaxContext` are both integer.
|
2022-03-12 06:45:35 +00:00 |
|
SWC Bot
|
c6ddb5fcf5
|
chore: Publish crates
|
2022-03-12 06:17:50 +00:00 |
|
Donny/강동윤
|
107c91dd20
|
perf(es/minifier): Make mangler faster by merging hash sets into one (#3983)
|
2022-03-12 06:16:02 +00:00 |
|
Donny/강동윤
|
ddfa490899
|
chore: Publish crates
|
2022-03-12 10:00:23 +09:00 |
|
LongYinan
|
1206c84e19
|
feat(*): Update dependencies (#3964)
|
2022-03-11 23:00:55 +09:00 |
|
Donny/강동윤
|
76e646804a
|
fix(es/parser): Parse if-else chain iteratively (#3961)
|
2022-03-11 09:10:54 +00:00 |
|
SWC Bot
|
8bb74b6093
|
chore: Publish crates
|
2022-03-10 15:23:12 +00:00 |
|
underfin
|
91a302a672
|
fix(es/minifier): Preserve fuction parameters used for template literals in evaluate and reduce_vars (#3949)
|
2022-03-10 15:21:06 +00:00 |
|
SWC Bot
|
666f55e01c
|
chore: Publish crates
|
2022-03-10 07:48:19 +00:00 |
|
SWC Bot
|
41573530c2
|
chore: Publish crates
|
2022-03-10 06:21:09 +00:00 |
|
underfin
|
cc564ff6c5
|
fix(es/minifier): Skip exported vars while collapsing vars (#3928)
|
2022-03-10 06:19:25 +00:00 |
|
SWC Bot
|
ce57482ac8
|
chore: Publish crates
|
2022-03-10 05:57:55 +00:00 |
|
Donny/강동윤
|
f1ec8620ac
|
perf(es/minifier): Make optimization of pure calls parallel (#3938)
|
2022-03-10 05:56:02 +00:00 |
|
OJ Kwon
|
86ea23785d
|
perf(*): Update tracing to improve performance of disabled spans (#3932)
|
2022-03-10 03:15:49 +00:00 |
|
SWC Bot
|
99f381cfa2
|
chore: Publish crates
|
2022-03-09 15:44:57 +00:00 |
|
Donny/강동윤
|
9e4dea6663
|
feat(es/minifier): Improve dropping of unused vars (#3923)
|
2022-03-09 15:43:01 +00:00 |
|
SWC Bot
|
56b646cc1a
|
chore: Publish crates
|
2022-03-09 12:04:50 +00:00 |
|
Austaras
|
bd838ac5a9
|
feat(es/minifier): Remove pure calls (#3925)
|
2022-03-09 11:55:31 +00:00 |
|
Austaras
|
7cfa930a62
|
feat(es/fixer): Remove extra parens around IIFE in statements (#3918)
|
2022-03-08 14:35:18 +00:00 |
|
SWC Bot
|
4c8e747c5c
|
chore: Publish crates
|
2022-03-08 10:06:14 +00:00 |
|