mirror of
https://github.com/danbulant/oxc
synced 2026-05-21 13:18:59 +00:00
## [0.43.0] - 2024-12-21 -de4c772traverse: [**BREAKING**] Rename `Ancestor::is_via_*` methods to `is_parent_of_*` (#8031) (overlookmotel) -ed75e42semantic: [**BREAKING**] Make SymbolTable fields `pub(crate)` instead of `pub` (#7999) (Boshen) ### Features -75b775callocator: `Vec<u8>::into_string` (#8017) (overlookmotel) -8547e02ast: Implement `allocator_api2` for `Allocator` (#8043) (Boshen) -63a95e4ast: Add `AstBulder::move_property_key` (#7998) (overlookmotel) -897a1a8transformer/class-properties: Exit faster from super replacement visitor (#8028) (overlookmotel) -3ea4109transformer/class-properties: Transform super update expressions within static prop initializer (#7997) (Dunqing) -cc57db3transformer/class-properties: Transform super assignment expressions within static prop initializer (#7991) (Dunqing) -6b6444btraverse: Record current block scope (#8007) (overlookmotel) ### Bug Fixes -043252dtransformer/class-properties: Replace `this` and class name in static blocks (#8035) (overlookmotel) -273795dtransformer/class-properties: Run other transforms on static properties, static blocks, and computed keys (#7982) (overlookmotel) ### Performance -c0dd3f8ast: `move_expression` and `move_statement` produce dummy with no span (#7995) (overlookmotel) -862838fcodegen: Remove useless to_owned (#8014) (Dunqing) -2736657semantic: Allocate `UnresolvedReferences` in allocator (#8046) (Boshen) -2e8872csemantic: Allocate child scope in allocator (#8045) (Boshen) -414e828semantic: Allocate symbol data in Allocator (#8012) (Boshen) -7aebed0semantic: Allocate `Bindings` in allocator (#8021) (Boshen) -0f9308ftransformer/react-refresh: Reduce allocations (#8018) (overlookmotel) -0deb9e6transformer/react-refresh: Reserve capacity in hook key string (#8016) (overlookmotel) -7b70347transformer/react-refresh: Avoid allocating string in each hook call (#8013) (Dunqing) ### Documentation -df5c341ast: Improve docs for `AstBuilder::move_*` methods (#7994) (overlookmotel) ### Refactor -f1adf9fsemantic: `ScopeTree::rename_binding` remove old binding first (#8020) (overlookmotel) -02f968dsemantic: Change `Bindings` to a plain `FxHashMap` (#8019) (Boshen) -e7476a1semantic: Remove `serialize` (#8015) (Boshen) -1cf7b83semantic: Simplify handling namespace stack (#7987) (Dunqing) -48cb52bsemantic: Remove resetting `current_reference_flags` in visit functions (#7986) (Dunqing) -3250a47semantic: Remove unused current_symbol_flags (#7985) (Dunqing) -efe96ecsemantic: Use `Stack` for function stack node ids (#7984) (Dunqing) -ac097e9transformer/class-properties: Rename file (#8036) (overlookmotel) -059a5ddtransformer/class-properties: Do not pass `ScopeId` into `insert_instance_inits` (#8001) (overlookmotel) -0a38eeatransformer/class-properties: Use `temp_var_name_base` to generate temp var names for `super` transform (#8004) (overlookmotel) -d1b7181transformer/class-properties: Rename var (#8006) (overlookmotel) -5a23d72transformer/class-properties: Remove outdated comment (#8000) (overlookmotel) -b3a5f3etransformer/class-properties: Mark `transform_assignment_expression_if_super_member_assignment_target` as inline (#7993) (Dunqing) ### Testing -bcb33c0semantic: Add a test for catch parameters reference (#7988) (Dunqing) Co-authored-by: Boshen <1430279+Boshen@users.noreply.github.com>
37 lines
776 B
TOML
37 lines
776 B
TOML
[package]
|
|
name = "oxc_transform_napi"
|
|
version = "0.43.0"
|
|
authors.workspace = true
|
|
categories.workspace = true
|
|
edition.workspace = true
|
|
homepage.workspace = true
|
|
keywords.workspace = true
|
|
license.workspace = true
|
|
publish = true
|
|
repository.workspace = true
|
|
rust-version.workspace = true
|
|
description.workspace = true
|
|
|
|
[lints]
|
|
workspace = true
|
|
|
|
[lib]
|
|
crate-type = ["cdylib", "lib"]
|
|
test = false
|
|
doctest = false
|
|
|
|
[dependencies]
|
|
oxc = { workspace = true, features = ["full"] }
|
|
oxc_napi = { workspace = true }
|
|
oxc_sourcemap = { workspace = true, features = ["napi", "rayon"] }
|
|
|
|
rustc-hash = { workspace = true }
|
|
|
|
napi = { workspace = true }
|
|
napi-derive = { workspace = true }
|
|
|
|
[package.metadata.cargo-shear]
|
|
ignored = ["napi"]
|
|
|
|
[build-dependencies]
|
|
napi-build = { workspace = true }
|