mirror of
https://github.com/danbulant/oxc
synced 2026-05-24 12:21:58 +00:00
## [0.17.0] - 2024-07-05 -e32b4bcast: [**BREAKING**] Store trivia comments in a sorted slice (#4045) (Luca Bruno) -1df6ac0ast: [**BREAKING**] Rename `visit_enum_memeber` to `visit_ts_enum_member`. (#4000) (rzvxa) -4a0eaa0ast: [**BREAKING**] Rename `visit_enum` to `visit_ts_enum_declaration`. (#3998) (rzvxa) -c98d8aaast: [**BREAKING**] Rename `visit_arrow_expression` to `visit_arrow_function_expression`. (#3995) (rzvxa) ### Features -1854a52ast_codegen: Introduce the `#[span]` hint. (#4012) (rzvxa) -7538af1ast_codegen: Add visit generator (#3954) (rzvxa) -7768d23isolated-declarations: Support optional class methods (#4035) (Egor Blinov) -0da9dfbminifier: Add constant folding to remove dead code (#4058) (Boshen) ### Bug Fixes -aaac2d8codegen: Preserve parentheses from AST instead calculating from operator precedence (#4055) (Boshen) -5e5b1b1codegen: Correct accessibility emit for class formal-parameters/methods/properties (#4042) (Egor Blinov) -7844734codegen: Missing const keyword in TSTypeParamter (#4022) (Dunqing) -6254a41codegen: Missing TypeParamters in TSCallSignature (#4021) (Dunqing) -3d29e9cisolated-declarations: Eliminate imports incorrectly when they are used in `TSInferType` (#4043) (Dunqing) -02ea19aisolated-declarations: Should emit `export {}` when only having `ImportDeclaration` (#4026) (Dunqing) -7c915f4isolated-declarations: Binding elements with export should report an error (#4025) (Dunqing) -05a047cisolated-declarations: Method following an abstract method gets dropped (#4024) (Dunqing) -c043becisolated_declarations: Add mapped-type constraint to the scope (#4037) (Egor Blinov) -b007553isolated_declarations: Fix readonly specifier on class constructor params (#4030) (Egor Blinov) -da62839isolated_declarations: Inferring literal types for readonly class fileds (#4027) (Egor Blinov) ### Refactor -b51f75bast_codegen: No longer outputs discard variable for empty visitors. (#4008) (rzvxa) -edb557cminifier: Add a folder struct for constant folding (#4057) (Boshen) -243c9f3parser: Use function instead of trait to parse list with rest element (#4028) (Boshen) -1dacb1fparser: Use function instead of trait to parse delimited lists (#4014) (Boshen) Co-authored-by: Boshen <Boshen@users.noreply.github.com>
38 lines
980 B
TOML
38 lines
980 B
TOML
[package]
|
|
name = "oxc_transform_napi"
|
|
version = "0.17.0"
|
|
publish = true
|
|
authors.workspace = true
|
|
description.workspace = true
|
|
edition.workspace = true
|
|
homepage.workspace = true
|
|
keywords.workspace = true
|
|
license.workspace = true
|
|
repository.workspace = true
|
|
rust-version.workspace = true
|
|
categories.workspace = true
|
|
|
|
[lints]
|
|
workspace = true
|
|
|
|
[lib]
|
|
crate-type = ["cdylib", "lib"]
|
|
test = false
|
|
doctest = false
|
|
|
|
[dependencies]
|
|
oxc_allocator = { workspace = true }
|
|
oxc_parser = { workspace = true }
|
|
oxc_span = { workspace = true }
|
|
oxc_codegen = { workspace = true }
|
|
oxc_isolated_declarations = { workspace = true }
|
|
oxc_transformer = { workspace = true }
|
|
|
|
napi = { workspace = true }
|
|
napi-derive = { workspace = true }
|
|
|
|
[package.metadata.cargo-shear]
|
|
ignored = ["napi"]
|
|
|
|
[build-dependencies]
|
|
napi-build = { workspace = true }
|