mirror of
https://github.com/danbulant/oxc
synced 2026-05-21 05:08:45 +00:00
## [0.22.1] - 2024-07-27 ### Features -2477330ast: Add `AstKind::TSExportAssignment` (#4501) (Dunqing) -aaee07east: Add `AstKind::AssignmentTargetPattern`, `AstKind::ArrayAssignmentTarget` and `AstKind::ObjectAssignmentTarget` (#4456) (Dunqing) -fd363d1ast: Add AstKind::get_container_scope_id (#4450) (DonIsaac) -e2735caspan: Add `contains_inclusive` method (#4491) (DonIsaac) ### Bug Fixes -368112cast: Remove `#[visit(ignore)]` from `ExportDefaultDeclarationKind`'s `TSInterfaceDeclaration` (#4497) (Dunqing) -36bb680semantic: `TSExportAssignment` cannot reference type binding (#4502) (Dunqing) -cb2fa49semantic: `typeof` operator cannot reference type-only import (#4500) (Dunqing) -ef0e953semantic: Generic passed to typeof not counted as a reference (#4499) (Dunqing) -40cafb8semantic: Params in `export default (function() {})` flagged as `SymbolFlags::Export` (#4480) (Dunqing) -2e01a45semantic: Non-exported namespace member symbols flagged as exported (#4493) (Don Isaac) -e4ca06asemantic: Incorrect symbol’s scope_id after var hoisting (#4458) (Dunqing) -77bd5f1semantic: Use correct span for namespace symbols (#4448) (Don Isaac) -5db7bedsourcemap: Fix pre-calculation of required segments for building JSON (#4490) (overlookmotel) -1667491syntax: Correct `is_reserved_keyword_or_global_object`'s incorrect function calling. (#4484) (Ethan Goh) -82ba2a0syntax: Fix unsound use of `NonZeroU32` (#4466) (overlookmotel) -c04b9aatransformer: Add to `SymbolTable::declarations` for all symbols (#4460) (overlookmotel) -ecdee88transformer/typescript: Incorrect eliminate exports when the referenced symbol is both value and type (#4507) (Dunqing) ### Performance -963a2d1mangler: Reduce unnecessary allocation (#4498) (Dunqing) -868fc87parser: Optimize conditional advance on ASCII values (#4298) (lucab) -24beaebsemantic: Give `AstNodeId` a niche (#4469) (overlookmotel) -348c1adsemantic: Remove `span` field from `Reference` (#4464) (overlookmotel) -6a9f4dbsemantic: Reduce storage size for symbol redeclarations (#4463) (overlookmotel) -705e19fsourcemap: Reduce memory copies encoding JSON (#4489) (overlookmotel) -4d10c6csourcemap: Pre allocate String buf while encoding (#4476) (Brooooooklyn) ### Documentation -f5f0ba8ast: Add doc comments to more AST nodes (#4413) (Don Isaac) -871b3d6semantic: Add doc comments for SymbolTester and SemanticTester (#4433) (DonIsaac) ### Refactor -9c5d2f9ast/builder: Use `Box::new_in` over `.into_in` (#4428) (overlookmotel) -ccb1835semantic: Methods take `Span` as param, not `&Span` (#4470) (overlookmotel) -f17254asemantic: Populate `declarations` field in `SymbolTable::create_symbol` (#4461) (overlookmotel) -a49f491semantic: Re-order `SymbolTable` fields (#4459) (overlookmotel) -7cd53f3semantic: Var hoisting (#4379) (Dunqing) -4f5a7cbsemantic: Mark SemanticTester and SymbolTester as must_use (#4430) (DonIsaac) -c958a55sourcemap: `push_list` method for building JSON (#4486) (overlookmotel) -c99b3ebsyntax: Give `ScopeId` a niche (#4468) (overlookmotel) -96fc94fsyntax: Use `NonMaxU32` for IDs (#4467) (overlookmotel) ### Testing -4b274a8semantic: Add more test cases for symbol references (#4429) (DonIsaac) Co-authored-by: Boshen <1430279+Boshen@users.noreply.github.com>
39 lines
1 KiB
TOML
39 lines
1 KiB
TOML
[package]
|
|
name = "oxc_transform_napi"
|
|
version = "0.22.1"
|
|
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 }
|
|
oxc_diagnostics = { workspace = true }
|
|
|
|
napi = { workspace = true }
|
|
napi-derive = { workspace = true }
|
|
|
|
[package.metadata.cargo-shear]
|
|
ignored = ["napi"]
|
|
|
|
[build-dependencies]
|
|
napi-build = { workspace = true }
|