mirror of
https://github.com/danbulant/oxc
synced 2026-05-24 12:21:58 +00:00
## [0.23.1] - 2024-08-06 ### Features -fd2d9daast: Improve `AstKind::debug_name` (#4553) (DonIsaac) -b3b7028ast: Implement missing Clone, Hash, and Display traits for literals (#4552) (DonIsaac) -54047e0ast: `GetSpanMut` trait (#4609) (overlookmotel) -eae401cast, ast_macros: Apply stable repr to all `#[ast]` enums (#4373) (rzvxa) -0c52c0dast_codegen: Add alignment and size data to the schema. (#4615) (rzvxa) -229a0e9minifier: Implement dot define for member expressions (#3959) (camc314) -e42ac3asourcemap: Add `ConcatSourceMapBuilder::from_sourcemaps` (#4639) (overlookmotel) ### Bug Fixes -4a56954codegen: Print raw if value is number is Infinity (#4676) (Boshen) -bf48c7fminifier: Fix `keep_var` keeping vars from arrow functions (#4680) (Boshen) -9be29afminifier: Temporarily fix shadowed `undefined` variable (#4678) (Boshen) -e8b662aminifier: Various fixes to pass minifier conformance (#4667) (Boshen) -a40a217parser: Parse `assert` keyword in `TSImportAttributes` (#4610) (Boshen) -03c643asemantic: Incorrect `scope_id` for catch parameter symbols (#4659) (Dunqing) -6c612d1semantic/jsdoc: Handle whitespace absence (#4642) (leaysgur) -0d2c41asemantic/jsdoc: Panic on parsing `type_name_comment`. (#4632) (rzvxa) -9f8f299syntax: Prevent creating invalid u32 IDs (#4675) (overlookmotel) -5327acdtransformer/react: The `require` IdentifierReference does not have a `reference_id` (#4658) (Dunqing) -3987665transformer/typescript: Incorrect enum-related `symbol_id`/`reference_id` (#4660) (Dunqing) -4efd54btransformer/typescript: Incorrect `SymbolFlags` for jsx imports (#4549) (Dunqing) ### Performance -8dd76e4codegen: Reduce size of `LineOffsetTable` (#4643) (overlookmotel) -b8e6753codegen: `u32` indexes in `LineOffsetTable` for source maps (#4641) (overlookmotel) -6ff200dlinter: Change react rules and utils to use `Cow` and `CompactStr` instead of `String` (#4603) (DonIsaac) -0f5e982minifier: Only visit arrow expression after dropping `console.log` (#4677) (Boshen) -ff43dffsourcemap: Speed up VLQ encoding (#4633) (overlookmotel) -a330773sourcemap: Reduce string copying in `ConcatSourceMapBuilder` (#4638) (overlookmotel) -372316bsourcemap: `ConcatSourceMapBuilder` extend `source_contents` in separate loop (#4634) (overlookmotel) -c7f1d48sourcemap: Keep local copy of previous token in VLQ encode (#4596) (overlookmotel) -590d795sourcemap: Shorten main loop encoding VLQ (#4586) (overlookmotel) ### Documentation -c69ada4ast: Improve AST node documentation (#4051) (Rintaro Itokawa) ### Refactor -ba70001ast: Put `assert_layouts.rs` behind `debug_assertions` (#4621) (rzvxa) -3f53b6fast: Make AST structs `repr(C)`. (#4614) (rzvxa) -452e0eeast: Remove defunct `visit_as` + `visit_args` attrs from `#[ast]` macro (#4599) (overlookmotel) -e78cba6minifier: Ast passes infrastructure (#4625) (Boshen) -d25dea7parser: Use `ast_builder` in more places. (#4612) (rzvxa) -09d9822semantic: Simplify setting scope flags (#4674) (overlookmotel) -6e453dbsemantic: Simplify inherit scope flags from parent scope (#4664) (Dunqing)-9b51e04Overhaul napi transformer package (#4592) (DonIsaac) ### Testing -49d5196ast: Fix `assert_layouts.rs` offset tests on 32bit platforms. (#4620) (rzvxa) Co-authored-by: Boshen <1430279+Boshen@users.noreply.github.com>
42 lines
1.1 KiB
TOML
42 lines
1.1 KiB
TOML
[package]
|
|
name = "oxc_minifier"
|
|
version = "0.23.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
|
|
include = ["/examples", "/src"]
|
|
|
|
[lints]
|
|
workspace = true
|
|
|
|
[lib]
|
|
test = false
|
|
doctest = false
|
|
|
|
[dependencies]
|
|
oxc_allocator = { workspace = true }
|
|
oxc_span = { workspace = true }
|
|
oxc_ast = { workspace = true }
|
|
oxc_semantic = { workspace = true }
|
|
oxc_syntax = { workspace = true }
|
|
oxc_parser = { workspace = true }
|
|
oxc_diagnostics = { workspace = true }
|
|
oxc_codegen = { workspace = true }
|
|
oxc_mangler = { workspace = true }
|
|
|
|
num-bigint = { workspace = true }
|
|
num-traits = { workspace = true }
|
|
|
|
[dev-dependencies]
|
|
oxc_parser = { workspace = true }
|
|
|
|
insta = { workspace = true }
|
|
walkdir = { workspace = true }
|
|
pico-args = { workspace = true }
|