mirror of
https://github.com/oxc-project/oxc.git
synced 2026-09-14 19:36:11 +08:00
0389c4010e
### 🚀 Features -83cb516minifier: Improve negation of expressions in boolean context (#25755) (Armano) ### 🐛 Bug Fixes -134fb22isolated-declarations: Preserve unresolved parameter types (#25909) (Dunqing) -526c2b3codegen: Remove deprecated test APIs (#25889) (camc314) -344a9b2codegen: Align enum template sourcemaps (#25872) (camc314) ### ⚡ Performance -5ef0c93minifier: Unwrap all unary exprs without creating dummy expressions (#25891) (Armano) -8783524packages/codegen: Remove loop from `growMappingBuffer` (#25886) (overlookmotel) -b6b14c0packages/codegen: Remove redundant branch (#25885) (overlookmotel) -be6adf0packages/sourcemap: Make `location` passed to `recordSourceMapping` always a number (#25884) (overlookmotel) -f720f15packages/codegen: Take named-mapping only code off hot path in `recordSourceMapping` (#25883) (overlookmotel) -a734af5packages/codegen: Remove redundant setting of `last` in `printImportAttributes` and `printIf` (#25882) (overlookmotel) -c6e44c6packages/codegen: Combine 2 writes in `printJSXElement` (#25881) (overlookmotel) -8801662packages/codegen: Remove redundant mapping from `printParams` (#25880) (overlookmotel) ### 📚 Documentation -5ad330epackages/codegen: Reformat comments (#25876) (overlookmotel)
63 lines
1.6 KiB
TOML
63 lines
1.6 KiB
TOML
[package]
|
|
name = "oxc_parser_napi"
|
|
version = "0.146.0"
|
|
authors.workspace = true
|
|
categories.workspace = true
|
|
edition.workspace = true
|
|
homepage.workspace = true
|
|
include = ["/src", "build.rs"]
|
|
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 = ["ast_visit", "regular_expression", "semantic", "serialize"] }
|
|
oxc_ast_macros = { workspace = true }
|
|
oxc_estree = { workspace = true }
|
|
oxc_estree_tokens = { workspace = true, optional = true }
|
|
oxc_napi = { workspace = true }
|
|
oxc_str = { workspace = true }
|
|
|
|
rustc-hash = { workspace = true }
|
|
|
|
napi = { workspace = true }
|
|
napi-derive = { workspace = true }
|
|
|
|
[target.'cfg(target_os = "macos")'.dependencies]
|
|
mimalloc-safe = { workspace = true, optional = true, features = ["skip_collect_on_exit"] }
|
|
|
|
[target.'cfg(all(target_os = "linux", not(target_arch = "arm"), not(target_arch = "aarch64")))'.dependencies]
|
|
mimalloc-safe = { workspace = true, optional = true, features = [
|
|
"skip_collect_on_exit",
|
|
"local_dynamic_tls",
|
|
] }
|
|
|
|
[target.'cfg(all(target_os = "linux", target_arch = "aarch64"))'.dependencies]
|
|
mimalloc-safe = { workspace = true, optional = true, features = [
|
|
"skip_collect_on_exit",
|
|
"local_dynamic_tls",
|
|
"no_opt_arch",
|
|
] }
|
|
|
|
[build-dependencies]
|
|
napi-build = { workspace = true }
|
|
|
|
[features]
|
|
default = []
|
|
allocator = ["dep:mimalloc-safe"]
|
|
tokens = ["dep:oxc_estree_tokens"]
|
|
|
|
[package.metadata.cargo-shear]
|
|
ignored-paths = ["src/generated/derive_estree.rs"]
|