mirror of
https://github.com/danbulant/oxc
synced 2026-05-24 12:21:58 +00:00
## [0.20.0] - 2024-07-11 -5731e39ast: [**BREAKING**] Store span details inside comment struct (#4132) (Luca Bruno) ### Features -67fe75east, ast_codegen: Pass the `scope_id` to the `enter_scope` event. (#4168) (rzvxa) -54cd04aminifier: Implement dce with var hoisting (#4160) (Boshen) -44a894aminifier: Implement return statement dce (#4155) (Boshen) -725571anapi/transformer: Add `jsx` option to force parsing with jsx (#4133) (Boshen) ### Bug Fixes -48947a2ast: Put `decorators` before everything else. (#4143) (rzvxa) -7a059abcfg: Double resolution of labeled statements. (#4177) (rzvxa) -4a656c3lexer: Incorrect lexing of large hex/octal/binary literals (#4072) (DonIsaac) -28eeee0parser: Fix asi error diagnostic pointing at invalid text causing crash (#4163) (Boshen) ### Performance -ddfa343diagnostic: Use `Cow<'static, str>` over `String` (#4175) (DonIsaac) -2203143semantic: Store unresolved refs in a stack (#4162) (lucab) -fca9706semantic: Faster search for leading comments (#4140) (Boshen) ### Documentation -bdcc298ast: Update the note regarding the `ast_codegen` markers. (#4149) (rzvxa) ### Refactor -03ad1e3semantic: Tweak comment argument type (#4157) (lucab) Co-authored-by: Boshen <Boshen@users.noreply.github.com>
49 lines
1.4 KiB
TOML
49 lines
1.4 KiB
TOML
[package]
|
|
name = "oxc_semantic"
|
|
version = "0.20.0"
|
|
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
|
|
include = ["/examples", "/src"]
|
|
|
|
[lints]
|
|
workspace = true
|
|
|
|
[lib]
|
|
doctest = false
|
|
|
|
[dependencies]
|
|
oxc_span = { workspace = true }
|
|
oxc_ast = { workspace = true }
|
|
oxc_syntax = { workspace = true }
|
|
oxc_cfg = { workspace = true }
|
|
oxc_diagnostics = { workspace = true }
|
|
oxc_index = { workspace = true }
|
|
oxc_allocator = { workspace = true }
|
|
|
|
indexmap = { workspace = true }
|
|
phf = { workspace = true, features = ["macros"] }
|
|
rustc-hash = { workspace = true }
|
|
serde = { workspace = true, features = ["derive"], optional = true }
|
|
itertools = { workspace = true }
|
|
|
|
tsify = { workspace = true, optional = true }
|
|
wasm-bindgen = { workspace = true, optional = true }
|
|
|
|
[dev-dependencies]
|
|
oxc_parser = { workspace = true }
|
|
|
|
indexmap = { workspace = true }
|
|
insta = { workspace = true, features = ["glob"] }
|
|
phf = { workspace = true, features = ["macros"] }
|
|
rustc-hash = { workspace = true }
|
|
|
|
[features]
|
|
default = []
|
|
serialize = ["dep:serde", "dep:tsify", "dep:wasm-bindgen", "oxc_span/serialize", "oxc_syntax/serialize"]
|