mirror of
https://github.com/danbulant/oxc
synced 2026-05-21 13:18:59 +00:00
## [0.22.0] - 2024-07-23 -85a7ceasemantic: [**BREAKING**] Remove name from `reference` (#4329) (Dunqing) -f68b659ast: [**BREAKING**] Reorder fields of `ArrowFunctionExpression` (#4364) (Dunqing) ### Features -d345b84ast: Add `#[ast]` attribute to non-visited AST types. (#4309) (rzvxa) -3c0c709linter: Add typescript-eslint/no-extraneous-class (#4357) (Jaden Rodriguez) -68efcd4linter/react-perf: Handle new objects and arrays in prop assignment patterns (#4396) (DonIsaac) -0deb027minfier: Dce `if (xxx) else if (false) { REMOVE }` (#4407) (Boshen) -e33ec18minifier: Compress `typeof foo == "undefined"` into `typeof foo > "u"` (#4412) (Boshen)-6068e6bAdd error codes to OxcDiagnostic (#4334) (DonIsaac) ### Bug Fixes -aece1dfast: Visit `Program`s `hashbang` field first (#4368) (overlookmotel) -44a10c4codegen: Object shorthand with parens `({x: (x)})` -> `({ x })` (#4391) (Boshen) -3d88f20codegen: Print shorthand for all `{ x }` variants (#4374) (Boshen) -e624dffcodegen,mangler: Do not print shorthand for `ObjectProperty` (#4350) (Boshen) -ac08de8linter/react_perf: Allow new objects, array, fns, etc in top scope (#4395) (DonIsaac) -267f7c4minifier: Skip `Object.defineProperty(exports, ...)` for `cjs-module-lexer` (#4409) (Boshen) -bc8d4e5semantic: Correct comment (#4410) (overlookmotel) -6ffce86semantic: Align `visit_arrow_function_expression` field visit order with ast (#4366) (Dunqing) -4cd5df0sourcemap: Avoid negative line if token_chunks has same prev_dst_line (#4348) (underfin) -f8565aetransformer/typescript: Unexpectedly removed class binding from ExportNamedDeclaration (#4351) (Dunqing)-ea33f94Impl PartialEq<str> for CompactStr (#4352) (DonIsaac) ### Performance -1b51511semantic: Use `Atom` instead of `CompactStr` for `UnresolvedReferencesStack` (#4401) (Dunqing) -40f9356semantic: Calculate number of nodes, scopes, symbols, references before visiting AST (#4367) (Dunqing) -da13d93semantic: Remove bounds checks on unresolved references stack (#4390) (overlookmotel) -e70c67bsemantic: Remove a branch from `add_scope` (#4384) (overlookmotel) -402006fsemantic: Simplify logic in `enter_scope` + `leave_scope` (#4383) (overlookmotel) -7469e01semantic: Remove branch from `Nodes::add_node` (#4361) (overlookmotel) -7eb2864traverse: Speed up finding UID binding name (#4356) (overlookmotel)-a207923Replace some CompactStr usages with Cows (#4377) (DonIsaac) ### Refactor -504daedallocator: Rename fn params for `Box::new_in` (#4431) (overlookmotel) -d213773ast: Replace serde rename "lowercase" with "camelCase" (#4376) (overlookmotel) -abfccbdast: Reduce `#[cfg_attr]` boilerplate in AST type defs (#4375) (overlookmotel) -5f1c7ecast: Rename the `visited_node` marker to `ast`. (#4289) (rzvxa) -58f6ec2ast: Enter node before scope (#4347) (Dunqing) -59aea73ast: Scope is created only if CatchClause has param (#4346) (Dunqing) -7a3e925ast_codegen: Better visit marker parsing. (#4371) (rzvxa) -0e1ea90isolated-declarations: Remove useless code from scope (#4420) (Dunqing) -7a75e0flinter: Use diagnostic codes in lint rules (#4349) (DonIsaac) -a2eabe1parser: Use error codes for ts diagnostics (#4335) (DonIsaac) -5d77b36semantic: `visit_program` visit `hashbang` field (#4370) (overlookmotel) -f7b9adasemantic: `Program` visitor leave scope before node (#4369) (overlookmotel) -729b288semantic: Shorten code (#4358) (overlookmotel) -21d0eeesemantic: Use error codes for ts diagnostics (#4336) (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.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 }
|
|
oxc_diagnostics = { workspace = true }
|
|
|
|
napi = { workspace = true }
|
|
napi-derive = { workspace = true }
|
|
|
|
[package.metadata.cargo-shear]
|
|
ignored = ["napi"]
|
|
|
|
[build-dependencies]
|
|
napi-build = { workspace = true }
|