mirror of
https://github.com/danbulant/oxc
synced 2026-05-24 20:32:10 +00:00
## [0.41.0] - 2024-12-13 -fb325dcast: [**BREAKING**] `span` field must be the first element (#7821) (Boshen) -96a26d3ast: [**BREAKING**] Rename `is_strict` methods to `has_use_strict_directive` (#7783) (overlookmotel) ### Features -8991f33ast: Add `visit_span` to `Visit` and `VisitMut` (#7816) (overlookmotel) -f7900abast: Add `ArrowFunctionExpression::has_use_strict_directive` method (#7784) (overlookmotel) -e727ae9transformer/class-properties: Transform super member expressions that are inside static prop initializer (#7815) (Dunqing) ### Bug Fixes -7610dc1parser: Parse `import source from 'mod'` (#7833) (Boshen) -9479e2bsemantic: Missing references when `export {}` references a type-only binding and a normal (#7812) (Yunfei He) -7a83230semantic: Missing reference when `export default` references a type alias binding (#7813) (Dunqing) -4a3bca8semantic: Fix identifying strict mode arrow functions (#7785) (overlookmotel) -5b7e1adtransformer: Remove span of define value (#7811) (Hiroshi Ogawa) -14896cbtransformer/class-properties: Create temp vars in correct scope (#7824) (overlookmotel) -25bb6datransformer/class-properties: Fix `ScopeId`s in instance prop initializers (#7823) (overlookmotel) -65b109atransformer/class-properties: No `raw` for generated `StringLiteral` (#7825) (overlookmotel) -2964a61transformer/class-properties: Unwrap failed when private field expression doesn't contain optional expression in `ChainExpression` (#7798) (Dunqing) -6fa6785transformer/class-properties: Panic when the callee or member is `ParenthesisExpression` or TS-syntax expressions. (#7795) (Dunqing) -bb22c67transformer/class-properties: Fix `ScopeId`s in static prop initializers (#7791) (overlookmotel) -caa57f1transformer/class-properties: Fix scope flags in static prop initializers (#7786) (overlookmotel) ### Performance -4448b63codegen: Faster writing indentation (#7820) (overlookmotel) -afaaffacodegen: Fast path for `options.print_comments()` (#7806) (Boshen) ### Refactor -0f367e5semantic: Improve the logic of resolving references to be cleaner (#7829) (Dunqing) -5710950semantic: Move export-related reference flags logic to visit functions (#7828) (Dunqing) -b290ebdtransformer: Handle `<CWD>` in test runner (#7799) (Dunqing) -e70deb9transformer/class-properties: Locate instance props insertion location in separate step (#7819) (overlookmotel) -afc5f1etransformer/class-properties: De-deduplicate code (#7805) (overlookmotel) -47a91d2transformer/class-properties: Shorten code (#7804) (overlookmotel) -54ef2b9transformer/class-properties: Rename `debug_assert_expr_is_not_parenthesis_or_typescript_syntax` (#7803) (overlookmotel) -3cdc47ctransformer/class-properties: `#[inline(always)]` on `assert_expr_neither_parenthesis_nor_typescript_syntax` (#7802) (overlookmotel) ### Testing -d72c888transformer/replace-global-defines: Remove panicking test (#7838) (overlookmotel) 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.41.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 }
|