Commit Graph

14 Commits

Author SHA1 Message Date
강동윤
6f33c327cb
fix(es/transforms): Fix bugs ()
swc_ecma_transforms_compat:
 - Fix `this` in class properties. ()

swc_ecma_transforms_typescript:
 - Handle `import =` correctly. ()
 - Ensure that  is not the case anymore. ()

swc:
 - Ensure that  is not the case. ()
2021-09-15 07:46:03 +00:00
강동윤
cb2b0c671f
fix(es/transforms/base): Optimize hygiene ()
swc_ecma_transforms_base:
 - `hygiene`: Don't rename if not required. ()

swc_ecma_minifier:
 - Remove `hygiene_optimizer`.
2021-09-01 13:11:55 +00:00
강동윤
ee16139a19
fix(es/transforms): Fix bugs ()
swc_ecma_transforms_compat:
 - `regenerator`: Fix variable hoisting for for-in/of loops. ()
 - Ensure  is fixed. ()
2021-08-30 04:08:24 +00:00
강동윤
883c1ac4e4
fix(bundler): Prepare renaming of bundler ()
- Rename `spack` crate to `swc_node_bundler`. ()
2021-08-13 10:03:04 +00:00
Iron Lu
403f647752
fix(es/transforms/classes): Fix a bug related to super property access ()
swc_ecma_transforms_classes:
 - Fix super access. ()
2021-08-06 23:20:02 +09:00
강동윤
69186eb74d
fix(es/transforms): Fix transforms ()
node-swc:
 - Use proper field name in `ObjectPattern`. ()

swc_ecma_codegen:
 - Fix codegen of private properties. ()

swc_ecma_transforms_compat:
 - Fix optional chaining expressions in a single-line arrow expression. ()
 - `regenerator`: Preserve `ExportDefaultDecl`. ()

swc_ecma_transforms_module:
 - Fix `export default function`. ()
2021-07-08 04:54:57 +00:00
Austaras
76341068d0
fix(es/ast): Fix handling of reserved words () 2021-07-04 19:44:33 +09:00
강동윤
2b918b0c3d
fix(es/transforms/compat): Don't create unnecessary IIFE. ()
swc_ecma_transforms_compat:
 - `class_properties`: Do not create iife if possible. ()
2021-05-10 16:18:31 +09:00
강동윤
b0b0709e1a
fix(es): Fix various bugs. ()
swc_ecma_codegen:
 - Emit comments of `BytePos(0)`. ()

swc_ecma_transforms_compat:
 - `classes`: Optimize class expresssions. ()
2021-05-09 14:23:03 +09:00
Niklas Mischkulnig
f4d0e46cbb
feat(es/transforms/compat): Add pure comment to classes ()
swc_ecma_transforms_compat:
 - Add pure annotations while tranpiling classes.
2021-05-08 15:47:20 +09:00
강동윤
28bb61fb8d
fix(swc): Fix bugs ()
spack:
 - Add ability to exclude module from the bundle. ()

swc_ecma_ast:
 - Make `Param.decorators` optional. ().

swc_ecma_transforms_compat:
 - Fix super calls in seq exprs in a class. ()

swc_ecma_transforms_module:
- `common_js`: Fix dynamic imports. ()

swc_ecma_transforms_typescript:
 - Fix common js imports. ()
2021-04-30 06:25:24 +00:00
Devon Govett
d7ea5ae00c
fix(es/transforms/compat): Fix syntax context of super classes () 2021-04-18 15:40:06 +00:00
강동윤
51d0cef287
fix: Fix bugs ()
swc_ecma_ast:
 - Support TypeScript 4.3. ()

swc_ecma_parser:
 - Support new syntaxes from typescript 4.3. () 

swc_ecma_transforms_compat:
 - Fix '\\`' in template literals. ()
 - `classes`: Fix super calls. ()

swc_ecma_transforms_module:
 - Respect `esModuleInterop` for dynamic imports. ()

swc_ecma_transforms_typescript:
 - `strip`: Remove `declare`-d namespaces. ()
2021-03-30 16:47:12 +09:00
강동윤
76d9e2a9df
feat(ecmascript/transforms): Split into multiple crates. () 2021-01-05 14:29:52 +09:00