mirror of
https://github.com/swc-project/swc.git
synced 2024-12-21 04:32:01 +03:00
fac6f47863
swc_ecma_ast: - Implement `Take` for `Function`. - Implement `Take` for `FnExpr`. - Implement `Take` for `ClassExpr`. swc_ecma_transforms_compat: - Migrate `es2015::duplicate_keys` to `VisitMut`. - Migrate `es2015::template_literals` to `VisitMut`. - Migrate `es2015::function_name` to `VisitMut`. - Add more fast-path to `reserved_words` pass. swc_ecma_transforms_react: - Reduce allocations of `pure_annotations`. - Migrate `pure_annotations` to `VisitMut`. - Migrate `jsx::display_name` to `VisitMut`. swc_ecma_transforms_optimization: - Migrate `inline_globals` to `VisitMut`. - `inline_globals`: Use `Lrc<FxHashMap<K, V>>`. swc: - Cache `current_dir()`. - `ModuleConfig::build`: cacnonicalize only if `paths` is used.
26 lines
778 B
TOML
26 lines
778 B
TOML
[package]
|
|
authors = ["강동윤 <kdy1997.dev@gmail.com>"]
|
|
description = "Ecmascript ast."
|
|
documentation = "https://rustdoc.swc.rs/swc_ecma_ast/"
|
|
edition = "2018"
|
|
license = "Apache-2.0/MIT"
|
|
name = "swc_ecma_ast"
|
|
repository = "https://github.com/swc-project/swc.git"
|
|
version = "0.54.2"
|
|
|
|
[features]
|
|
default = []
|
|
fuzzing = ["arbitrary", "swc_common/arbitrary"]
|
|
|
|
[dependencies]
|
|
arbitrary = {version = "1", optional = true, features = ["derive"]}
|
|
is-macro = "0.1"
|
|
num-bigint = {version = "0.2", features = ["serde"]}
|
|
serde = {version = "1.0.88", features = ["derive"]}
|
|
string_enum = {version = "0.3.1", path = "../../macros/string_enum"}
|
|
swc_atoms = {version = "0.2", path = "../../atoms"}
|
|
swc_common = {version = "0.13.0", path = "../../common"}
|
|
|
|
[dev-dependencies]
|
|
serde_json = "1"
|