강동윤
|
8726c9caf2
|
fix(swc): Fix bugs (#1745)
swc_ecma_codegen:
- Don't escape unicode characters for old targets. (#1744)
swc_ecma_transforms_compat:
- `class_properties`: Preserve `this` for tagged template literals. (#1742)
|
2021-05-26 01:24:58 +09:00 |
|
강동윤
|
252804d2e3
|
fix(swc): Fix bugs (#1529)
swc_ecma_parser:
- Fix comment positions. (#1530)
swc_ecam_transforms_compat:
- Handle default in destructuring binding patterns. (#1477, #1449)
- `async_to_generator`: Handle `this` correctly for async function in key-value properties. (#1455)
swc_ecam_transforms_typescript:
- Handle import defaults. (#1448)
|
2021-04-02 18:47:05 +09:00 |
|
강동윤
|
5ce4e1e927
|
fix(es/parser): Use correct position for comments (#1527)
swc_ecma_parser:
- Use correct position for comments in
```ts
function Bar() {
const [foo, setFoo] = useState(0);
React.useEffect(() => {
// @refresh reset
});
return <h1>{foo}</h1>;
}
```
|
2021-03-31 19:30:05 +09:00 |
|
강동윤
|
a9bf9bb9e1
|
fix(swc): Fix bugs (#1300)
swc_ecma_codegen:
- Handle unicode escape sequences when target is es5. (#1227, #1326)
swc_ecma_transforms_compat:
- Handle template literals correctly. (#1314)
- Handle private class properties correctly. (#1306)
swc:
- Don't panic on `export * as foo from 'foo'`. (#1307)
|
2021-01-14 21:56:25 +09:00 |
|
강동윤
|
8a8db58f1c
|
fix(ecmascript): Fix bugs related to string literals (#1287)
swc_ecma_ast:
- Add `Str.kind`.
swc_ecma_transforms:
- Fix quotes in template literals. (#1280)
swc_ecma_codegen:
- Fix escape of single quotes. (#1259)
- Fix codegen of wrong escapes. (#1276)
swc:
- Ensure that #1271 is about napi's deserialization.
|
2020-12-22 04:27:18 +09:00 |
|