swc_ecma_parser:
- Support `private declare`. (#1503)
- Recover `backtracking` state while doing some nested backtracking. (#1505)
- Allow using `readonly` as the name of class properties. (#1514)
swc_ecma_transforms_base:
- `hygiene`: Keep the name of class expressions. (#1507)
swc_ecma_transforms_typescript:
- Allow a namespace and a class to have the same name. (#1515)
swc:
- Disable `tsx` if the ext of a file is ts.
swc:
- Use `hygiene_with_config` instead. (#1279)
- Allow enabling source map with `.swcrc`. (#1309)
swc_ecma_transforms_base:
- `hygiene`: Add an option to preserve class names. (#1279)
swc_ecma_transforms_compat:
- `block_scoping`: Allow using `break` in switch cases. (#1415)
swc_ecma_parser:
- Do not emit strict mode error while backtracking. (#1252)
swc_ecma_transforms_proposal:
- Handle decorator on methods with computed key.
swc_ecma_codegen:
- Fix codegen of `TsConstructorSignature`.
- Fix codegen of `TsIndexSignature`.
- Fix codegen of type parameters in arrow expressions.
- No panic on dummy span.
swc_ecma_parser:
- Parse optoinal method correctly.
swc_ecma_transforms:
- resolver: Handle type parameters in arrow expressions.
swc_bundler:
- Bundler rework. (denoland/deno#6802)
- Reexports are not transitive. (denoland/deno#8246)
- Dependencies of module with circular dependency. (denoland/deno#8302)
- Order of injection between import vs export. (denoland/deno#8302)
- `export *` in wrapped modules. (denoland/deno#8308, denoland/deno#8399)
- `export { a as b }` in wrapped modules.
- Fix denoland/deno#8314.
- Fix denoland/deno#8325.
- Fix denoland/deno#8344.
- Make deno test verify exported names.
- Handle `export * from './foo'`.
swc_ecma_parser:
- Don't panic on private name in interface (Closes#1211)
swc_ecma_transforms:
- dce: Prevent infinite loop
- Faster constant propagation pass.
swc_bundler:
- Splitted from spack
swc_ecma_parser:
- Fix unexpected eof problem which occurs if log level is trace
swc_ecma_transforms:
- Fix bugs of dce pass
spack:
- Support cyclic dependencies
swc_ecma_parser:
- Allow `in` in class properties (#944)
- Make `delete` with optional chaining valid (#947)
swc_ecma_transforms:
- Add a `typescript_class_properties` pass (#930)
testing:
- Remove dependency on relative_path
swc_common:
- Span's byte positions are now self-contained and `GLOBALS` is not required while parsing.
- Changed `Comments` into a trait.
- Provide single-threaded implementation of `Comments`
- Cargo feature `tty-emiiter` (To remove tty related stuffs )
- Cargo feature `sourcemap` (To remove sourcemap for web assets)
- Removed dependency on dashmap
swc_ecma_parser:
- No duplicated comments.
- Removed dependency on once_cell and regex
- Add a test suite to visualize and test span of nodes.
swc_ecma_utils:
- Removed dependency on parser
swc:
- Remove dependency on derive_more and path-clean
- Add multi-threaded implementation of `Comments`
swc_ecmascript:
- A new crate contains `ast`, `codegen`, `parser`, `utils`, `visit`.
swc_ecma_ast:
- ClassProperty.declare
swc_ecma_parser:
- Parsing for declare class props.
- Error when parsing a private property with a declare modifier.
Co-authored-by: 강동윤 <kdy1997.dev@gmail.com>