Commit Graph

2076 Commits

Author SHA1 Message Date
Donny/강동윤
c758997180
refactor(dbg-swc): Rename esdiff to dbg-swc (#3189) 2022-01-04 18:39:43 +09:00
Donny
8b633a93ff chore: Publish crates 2022-01-04 17:41:12 +09:00
Donny/강동윤
51c792eb30
feat(esdiff): Create a command to determine problematic file (#3181)
swc_ecma_diff:
 - Fix diff logic of `Vec`.

esdiff:
 - `diff-min`: Normalize `Str.has_escape`.
 - `diff-min`: Normalize empty var declaration.
 - Add `redue-min`.
2022-01-04 17:40:40 +09:00
Donny/강동윤
46949d39eb
chore(ci): Split cargo docs (#3187) 2022-01-04 16:53:29 +09:00
Donny
9cc72fe8e9 chore: Publish crates 2022-01-04 16:16:35 +09:00
OJ Kwon
b61c49fe39
refactor(plugin/runner): Avoid redundant filesystem reads (#3186) 2022-01-04 07:10:39 +00:00
Donny/강동윤
7d0a8a12f1
chore(*): Update rustc (#3185) 2022-01-04 15:18:02 +09:00
Donny
a66eec2d16 chore: Publish crates 2022-01-04 15:16:19 +09:00
David Sherret
e5e6e84300
feat(es/dep-graph): Improve DependencyDescriptor to combine import_assertions with dynamic_import_assertions (#3183) 2022-01-04 05:54:45 +00:00
Donny
ab10f77af9 chore: Publish crates 2022-01-04 14:19:00 +09:00
Donny
d77bb8aff0 chore: Publish crates 2022-01-04 14:18:19 +09:00
OJ Kwon
fc4c6708f2
refactor(plugin): Add a loader for wasm-based plugin system (#3179) 2022-01-03 19:03:01 +00:00
Donny
aa1a243f56 chore: Publish crates 2022-01-03 22:00:34 +09:00
Donny
fece2aae55 chore: Publish v1.2.126 2022-01-03 20:36:16 +09:00
Donny
1ef435e1ce chore: Publish crates 2022-01-03 20:35:10 +09:00
YuChao Liang
db51ce4461
fix(es/minifier): Fix comparison of objects, numbers and strings (#3172) 2022-01-03 11:31:49 +00:00
Donny
1dfc2ee105 fix(node-swc): Recover from ldd not found 2022-01-03 18:24:29 +09:00
Donny
1e5bc88cd3 chore: Publish crates 2022-01-03 17:45:09 +09:00
Sosuke Suzuki
07c0489575
feat(es/ast): Add ModuleExportName (#3048)
swc_ecma_ast:
 - Allow using string as import/export specifiers.
2022-01-03 08:44:11 +00:00
Donny
08399d2e95 chore: Publish v1.2.125 2022-01-03 05:57:48 +09:00
Donny
cb13512e84 chore: Publish crates 2022-01-03 05:55:39 +09:00
magic-akari
52961804d1
feat(es/codegen): Make the output for empty objects and empty statements pretty (#3171) 2022-01-03 05:54:58 +09:00
Donny
e14aa9dab4 chore: Publish crates 2022-01-03 00:08:39 +09:00
Donny/강동윤
790c50631b
fix(es/minifier): Fix for modules (#3170)
swc_ecma_minifier:
 - Handle exported declarations correctly.

swc:
 - Change default of `compress.toplevel` and `mangle.top_level` to true for modules. (Closes #3169)
2022-01-03 00:07:42 +09:00
Donny
ad3dca82b9 chore: Publish crates 2022-01-03 00:06:38 +09:00
magic-akari
366dc0eec3
fix(es/typescript): Declare the exported variables in a namespace (#3162) 2022-01-02 15:06:03 +00:00
Donny/강동윤
1aa55e616a
feat(es/diff): Add a internal CLI program for debugging minifier (#3168) 2022-01-02 19:55:12 +09:00
Donny
a883e604f2 chore: Publish crates 2022-01-02 16:24:06 +09:00
Donny/강동윤
bf751cb690
feat(es/ast): Add rkyv support (#3166)
ast_node:
 - `#[ast_node]`: Add support for `rkyv`.

swc_common:
 - Add a feature flag for `rkyv`.

swc_ecma_ast:
 - Add a feature flag for `rkyv`.
2022-01-02 16:23:37 +09:00
Donny
b1a72315db chore: Publish crates 2022-01-02 12:50:50 +09:00
Donny/강동윤
7a83c0cb57
perf(es/ast/serde): Make deserialization faster (#3160)
ast_node:
 - Improve deserialization of enums.

swc_css_ast:
 - Fix a compilation issue.

swc_ecma_ast:
 - Update `serde`.

swc_ecma_parser:
 - Fix a compilation issue.

swc_estree_ast:
 - Fix serialization.
2022-01-02 12:49:09 +09:00
Donny
761f9541eb chore: Publish crates 2022-01-02 05:03:56 +09:00
Donny
29f05b55fc chore: Publish crates 2022-01-02 05:02:48 +09:00
magic-akari
e02307d4c8
fix(es/typescript): Fix handling of references in a TypeScript enum (#3163) 2022-01-01 19:51:39 +00:00
Sosuke Suzuki
360ad7b41c
chore: Add enhancement label to feature_request template (#3164) 2022-01-01 23:36:39 +09:00
Julien Karst
fb2048035f
doc: Update discord link (#3161) 2021-12-31 22:05:47 +09:00
Donny
b52240d8e5 chore: Publish crates 2021-12-31 04:02:07 +09:00
magic-akari
e11210309c
fix(es/compat): Fix new.target in class properties (#3156) 2021-12-31 04:01:28 +09:00
Donny
097e1e310c chore: Publish crates 2021-12-30 19:48:39 +09:00
magic-akari
f78d005a95
fix(es/compat): Fix length of async functions (#3136)
swc_ecma_transforms_compat:
 - `async_to_generator`: Preserve function length. (Closes #3135)
2021-12-30 10:26:26 +00:00
Donny/강동윤
194b3e9b67
refactor(*): Use 2021 edition (#3151) 2021-12-30 18:59:18 +09:00
Jim Berlage
a4e8e53c19
test(es/parser): Add tests about null escape (#3147) 2021-12-30 08:54:10 +00:00
Donny
b9c3fba904 chore: Publish crates 2021-12-30 17:22:27 +09:00
magic-akari
35b64613bb
fix(es/compat): Visit all private class methods (#3150) 2021-12-30 17:21:54 +09:00
Linda_pp
5a3bdc9ed3
chore(ci): Update github-action-benchmark (#3148) 2021-12-30 01:12:15 +09:00
Donny
0cf8265f02 chore: Publish crates 2021-12-29 21:04:30 +09:00
Austaras
356082ad84
fix(es/utils): Fix handling of new.target (#3145) 2021-12-29 11:38:32 +00:00
Donny/강동윤
8a1016fb40
refactor(bundler): Improve test suite (#3144) 2021-12-29 19:19:44 +09:00
Donny
bf820b7937 chore: Publish crates 2021-12-29 16:01:48 +09:00
Donny/강동윤
333acb5622
doc(es/ast): Improve rustdoc (#3142)
swc_ecma_ast:
 - Document `Str.kind`.
 - Document `TpleElement.cooked`.
2021-12-29 16:01:15 +09:00