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
OJ Kwon
72c963662d
refactor(*): Drop unused dependencies ( #3138 )
2021-12-29 15:27:51 +09:00
Donny
737b6108d4
chore: Publish crates
2021-12-29 13:46:45 +09:00
Donny/강동윤
43c8cda31a
fix(es/renamer): Fix renamer ( #3139 )
...
swc_ecma_transforms_base:
- `resolver`: Ignore named export with source.
- `hygiene`: Ignore named export with source. (Closes #2924 , Closes #3114 )
swc_ecma_minifier:
- Handle `export default` declarations as declaration instead of expressions. (Closes #2717 )
- Don't override already-processed identifiers. (Closes #2988 )
swc_bundler:
- Adjust the syntax context for named re-exports.
2021-12-29 13:44:48 +09:00
Donny
fc9622f779
chore: Publish crates
2021-12-28 23:33:53 +09:00
Andreu Botella
2f3ca22ecf
fix(es/parser): Support import assertions in specifier-less imports ( #3134 )
2021-12-28 14:00:00 +00:00
Donny
0fc5c37154
chore: Publish crates
2021-12-28 22:27:29 +09:00
Austaras
f8f04e031e
refactor(es/react/fast-refresh): Use VisitMut
( #3129 )
2021-12-28 22:26:59 +09:00
Donny
2ab65c2cea
chore: Publish crates
2021-12-28 22:25:47 +09:00
Donny/강동윤
693c22aa93
fix(es/optimization): Fix inlining ( #3132 )
...
swc_ecma_transforms_optimization:
- `inlining`: Mark all usages as modification. (Closes #2108 )
2021-12-28 22:25:07 +09:00
Donny
b824baefe7
chore: Publish crates
2021-12-28 21:38:03 +09:00
Donny/강동윤
ec7e0aee25
fix(es/utils): Fix is_valid_ident
( #3133 )
...
swc_ecma_utils:
- Fix `is_valid_ident`. (Closes #2118 )
2021-12-28 21:37:38 +09:00
Donny
ba187c3c6a
chore: Publish crates
2021-12-28 20:23:21 +09:00
Andreu Botella
c9adf03338
fix(es): Handle import assertions correctly ( #3113 )
...
swc_ecma_codegen:
- Implement codegen for static import assertions.
swc_ecma_transforms_proposal:
- `import_assertions`: Support `export`s.
swc:
- Add `jsc.experimental.keep_import_assertions`.
node-swc:
- Fix typo.
2021-12-28 11:18:33 +00:00
Donny/강동윤
cec325be63
security(repo): Configure cargo-crev
( #3124 )
2021-12-28 18:49:33 +09:00
Donny
a0d31f5ce4
chore: Publish crates
2021-12-28 17:12:28 +09:00
magic-akari
27d3fd93b0
fix(es/compat): Fix computed_properties
( #3120 )
...
swc_ecma_transforms_compat:
- `computed_properties`: Fix handling of getter/setter properties. (Closes #2680 )
2021-12-28 08:07:30 +00:00
Donny/강동윤
61cd7da265
chore(ci): Reduce CI time ( #3128 )
2021-12-27 17:32:47 +09:00
Donny
0951599a7b
chore: Publish crates
2021-12-27 17:31:24 +09:00