From bd572c609b9fa4561c18485a4cf88716937c445d Mon Sep 17 00:00:00 2001 From: oxc-bot Date: Wed, 11 Dec 2024 00:35:34 +0800 Subject: [PATCH] release(crates): v0.40.1 (#7781) ## [0.40.1] - 2024-12-10 ### Bug Fixes - 18d0ce3 napi: Rename `Error` to `OxcError` to avoid name collision (#7780) (Boshen) Co-authored-by: Boshen <1430279+Boshen@users.noreply.github.com> --- Cargo.lock | 44 ++++++++++----------- Cargo.toml | 44 ++++++++++----------- crates/oxc/Cargo.toml | 2 +- crates/oxc_allocator/Cargo.toml | 2 +- crates/oxc_ast/Cargo.toml | 2 +- crates/oxc_ast_macros/Cargo.toml | 2 +- crates/oxc_cfg/Cargo.toml | 2 +- crates/oxc_codegen/Cargo.toml | 2 +- crates/oxc_data_structures/Cargo.toml | 2 +- crates/oxc_diagnostics/Cargo.toml | 2 +- crates/oxc_ecmascript/Cargo.toml | 2 +- crates/oxc_estree/Cargo.toml | 2 +- crates/oxc_isolated_declarations/Cargo.toml | 2 +- crates/oxc_mangler/Cargo.toml | 2 +- crates/oxc_minifier/Cargo.toml | 2 +- crates/oxc_napi/CHANGELOG.md | 6 +++ crates/oxc_napi/Cargo.toml | 2 +- crates/oxc_parser/Cargo.toml | 2 +- crates/oxc_regular_expression/Cargo.toml | 2 +- crates/oxc_semantic/Cargo.toml | 2 +- crates/oxc_span/Cargo.toml | 2 +- crates/oxc_syntax/Cargo.toml | 2 +- crates/oxc_transformer/Cargo.toml | 2 +- crates/oxc_traverse/Cargo.toml | 2 +- napi/transform/CHANGELOG.md | 6 +++ napi/transform/Cargo.toml | 2 +- npm/oxc-parser/package.json | 2 +- npm/oxc-transform/package.json | 2 +- npm/oxc-types/package.json | 2 +- wasm/parser/package.json | 2 +- 30 files changed, 82 insertions(+), 70 deletions(-) diff --git a/Cargo.lock b/Cargo.lock index b85008ec5afe5..d142177771a19 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -1373,7 +1373,7 @@ checksum = "fb37767f6569cd834a413442455e0f066d0d522de8630436e2a1761d9726ba56" [[package]] name = "oxc" -version = "0.40.0" +version = "0.40.1" dependencies = [ "oxc_allocator", "oxc_ast", @@ -1435,7 +1435,7 @@ dependencies = [ [[package]] name = "oxc_allocator" -version = "0.40.0" +version = "0.40.1" dependencies = [ "allocator-api2", "bumpalo", @@ -1445,7 +1445,7 @@ dependencies = [ [[package]] name = "oxc_ast" -version = "0.40.0" +version = "0.40.1" dependencies = [ "bitflags 2.6.0", "cow-utils", @@ -1463,7 +1463,7 @@ dependencies = [ [[package]] name = "oxc_ast_macros" -version = "0.40.0" +version = "0.40.1" dependencies = [ "proc-macro2", "quote", @@ -1511,7 +1511,7 @@ dependencies = [ [[package]] name = "oxc_cfg" -version = "0.40.0" +version = "0.40.1" dependencies = [ "bitflags 2.6.0", "itertools", @@ -1524,7 +1524,7 @@ dependencies = [ [[package]] name = "oxc_codegen" -version = "0.40.0" +version = "0.40.1" dependencies = [ "assert-unchecked", "base64", @@ -1585,7 +1585,7 @@ dependencies = [ [[package]] name = "oxc_data_structures" -version = "0.40.0" +version = "0.40.1" dependencies = [ "assert-unchecked", "ropey", @@ -1593,7 +1593,7 @@ dependencies = [ [[package]] name = "oxc_diagnostics" -version = "0.40.0" +version = "0.40.1" dependencies = [ "oxc-miette", "rustc-hash", @@ -1601,7 +1601,7 @@ dependencies = [ [[package]] name = "oxc_ecmascript" -version = "0.40.0" +version = "0.40.1" dependencies = [ "num-bigint", "num-traits", @@ -1612,7 +1612,7 @@ dependencies = [ [[package]] name = "oxc_estree" -version = "0.40.0" +version = "0.40.1" dependencies = [ "serde", ] @@ -1637,7 +1637,7 @@ dependencies = [ [[package]] name = "oxc_isolated_declarations" -version = "0.40.0" +version = "0.40.1" dependencies = [ "bitflags 2.6.0", "insta", @@ -1736,7 +1736,7 @@ dependencies = [ [[package]] name = "oxc_mangler" -version = "0.40.0" +version = "0.40.1" dependencies = [ "itertools", "oxc_ast", @@ -1747,7 +1747,7 @@ dependencies = [ [[package]] name = "oxc_minifier" -version = "0.40.0" +version = "0.40.1" dependencies = [ "cow-utils", "insta", @@ -1795,7 +1795,7 @@ dependencies = [ [[package]] name = "oxc_napi" -version = "0.40.0" +version = "0.40.1" dependencies = [ "napi", "napi-derive", @@ -1804,7 +1804,7 @@ dependencies = [ [[package]] name = "oxc_parser" -version = "0.40.0" +version = "0.40.1" dependencies = [ "assert-unchecked", "bitflags 2.6.0", @@ -1885,7 +1885,7 @@ dependencies = [ [[package]] name = "oxc_regular_expression" -version = "0.40.0" +version = "0.40.1" dependencies = [ "oxc_allocator", "oxc_ast_macros", @@ -1919,7 +1919,7 @@ dependencies = [ [[package]] name = "oxc_semantic" -version = "0.40.0" +version = "0.40.1" dependencies = [ "assert-unchecked", "indexmap", @@ -1975,7 +1975,7 @@ dependencies = [ [[package]] name = "oxc_span" -version = "0.40.0" +version = "0.40.1" dependencies = [ "compact_str", "oxc-miette", @@ -1988,7 +1988,7 @@ dependencies = [ [[package]] name = "oxc_syntax" -version = "0.40.0" +version = "0.40.1" dependencies = [ "assert-unchecked", "bitflags 2.6.0", @@ -2046,7 +2046,7 @@ dependencies = [ [[package]] name = "oxc_transform_napi" -version = "0.40.0" +version = "0.40.1" dependencies = [ "napi", "napi-build", @@ -2059,7 +2059,7 @@ dependencies = [ [[package]] name = "oxc_transformer" -version = "0.40.0" +version = "0.40.1" dependencies = [ "base64", "compact_str", @@ -2091,7 +2091,7 @@ dependencies = [ [[package]] name = "oxc_traverse" -version = "0.40.0" +version = "0.40.1" dependencies = [ "compact_str", "itoa", diff --git a/Cargo.toml b/Cargo.toml index 38dca4cf8ca97..d46a4f7cd1fc1 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -78,28 +78,28 @@ doc_lazy_continuation = "allow" # FIXME [workspace.dependencies] # publish = true -oxc = { version = "0.40.0", path = "crates/oxc" } -oxc_allocator = { version = "0.40.0", path = "crates/oxc_allocator" } -oxc_ast = { version = "0.40.0", path = "crates/oxc_ast" } -oxc_ast_macros = { version = "0.40.0", path = "crates/oxc_ast_macros" } -oxc_cfg = { version = "0.40.0", path = "crates/oxc_cfg" } -oxc_codegen = { version = "0.40.0", path = "crates/oxc_codegen" } -oxc_data_structures = { version = "0.40.0", path = "crates/oxc_data_structures" } -oxc_diagnostics = { version = "0.40.0", path = "crates/oxc_diagnostics" } -oxc_ecmascript = { version = "0.40.0", path = "crates/oxc_ecmascript" } -oxc_estree = { version = "0.40.0", path = "crates/oxc_estree" } -oxc_isolated_declarations = { version = "0.40.0", path = "crates/oxc_isolated_declarations" } -oxc_mangler = { version = "0.40.0", path = "crates/oxc_mangler" } -oxc_minifier = { version = "0.40.0", path = "crates/oxc_minifier" } -oxc_napi = { version = "0.40.0", path = "crates/oxc_napi" } -oxc_parser = { version = "0.40.0", path = "crates/oxc_parser" } -oxc_regular_expression = { version = "0.40.0", path = "crates/oxc_regular_expression" } -oxc_semantic = { version = "0.40.0", path = "crates/oxc_semantic" } -oxc_span = { version = "0.40.0", path = "crates/oxc_span" } -oxc_syntax = { version = "0.40.0", path = "crates/oxc_syntax" } -oxc_transform_napi = { version = "0.40.0", path = "napi/transform" } -oxc_transformer = { version = "0.40.0", path = "crates/oxc_transformer" } -oxc_traverse = { version = "0.40.0", path = "crates/oxc_traverse" } +oxc = { version = "0.40.1", path = "crates/oxc" } +oxc_allocator = { version = "0.40.1", path = "crates/oxc_allocator" } +oxc_ast = { version = "0.40.1", path = "crates/oxc_ast" } +oxc_ast_macros = { version = "0.40.1", path = "crates/oxc_ast_macros" } +oxc_cfg = { version = "0.40.1", path = "crates/oxc_cfg" } +oxc_codegen = { version = "0.40.1", path = "crates/oxc_codegen" } +oxc_data_structures = { version = "0.40.1", path = "crates/oxc_data_structures" } +oxc_diagnostics = { version = "0.40.1", path = "crates/oxc_diagnostics" } +oxc_ecmascript = { version = "0.40.1", path = "crates/oxc_ecmascript" } +oxc_estree = { version = "0.40.1", path = "crates/oxc_estree" } +oxc_isolated_declarations = { version = "0.40.1", path = "crates/oxc_isolated_declarations" } +oxc_mangler = { version = "0.40.1", path = "crates/oxc_mangler" } +oxc_minifier = { version = "0.40.1", path = "crates/oxc_minifier" } +oxc_napi = { version = "0.40.1", path = "crates/oxc_napi" } +oxc_parser = { version = "0.40.1", path = "crates/oxc_parser" } +oxc_regular_expression = { version = "0.40.1", path = "crates/oxc_regular_expression" } +oxc_semantic = { version = "0.40.1", path = "crates/oxc_semantic" } +oxc_span = { version = "0.40.1", path = "crates/oxc_span" } +oxc_syntax = { version = "0.40.1", path = "crates/oxc_syntax" } +oxc_transform_napi = { version = "0.40.1", path = "napi/transform" } +oxc_transformer = { version = "0.40.1", path = "crates/oxc_transformer" } +oxc_traverse = { version = "0.40.1", path = "crates/oxc_traverse" } # publish = false oxc_linter = { path = "crates/oxc_linter" } diff --git a/crates/oxc/Cargo.toml b/crates/oxc/Cargo.toml index a2f519ac4d31c..9c91637835850 100644 --- a/crates/oxc/Cargo.toml +++ b/crates/oxc/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "oxc" -version = "0.40.0" +version = "0.40.1" authors.workspace = true categories.workspace = true edition.workspace = true diff --git a/crates/oxc_allocator/Cargo.toml b/crates/oxc_allocator/Cargo.toml index b4f61f449f47e..b20f7db7ee4c3 100644 --- a/crates/oxc_allocator/Cargo.toml +++ b/crates/oxc_allocator/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "oxc_allocator" -version = "0.40.0" +version = "0.40.1" authors.workspace = true categories.workspace = true edition.workspace = true diff --git a/crates/oxc_ast/Cargo.toml b/crates/oxc_ast/Cargo.toml index 52cdcccd2ad61..1bb3fa117b76d 100644 --- a/crates/oxc_ast/Cargo.toml +++ b/crates/oxc_ast/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "oxc_ast" -version = "0.40.0" +version = "0.40.1" authors.workspace = true categories.workspace = true edition.workspace = true diff --git a/crates/oxc_ast_macros/Cargo.toml b/crates/oxc_ast_macros/Cargo.toml index da373b94012eb..705fe073efbc9 100644 --- a/crates/oxc_ast_macros/Cargo.toml +++ b/crates/oxc_ast_macros/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "oxc_ast_macros" -version = "0.40.0" +version = "0.40.1" authors.workspace = true categories.workspace = true edition.workspace = true diff --git a/crates/oxc_cfg/Cargo.toml b/crates/oxc_cfg/Cargo.toml index d6c37fcaba02f..f94e4707d286d 100644 --- a/crates/oxc_cfg/Cargo.toml +++ b/crates/oxc_cfg/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "oxc_cfg" -version = "0.40.0" +version = "0.40.1" authors.workspace = true categories.workspace = true edition.workspace = true diff --git a/crates/oxc_codegen/Cargo.toml b/crates/oxc_codegen/Cargo.toml index 01e0de64fc4cf..87c8c865ee1a7 100644 --- a/crates/oxc_codegen/Cargo.toml +++ b/crates/oxc_codegen/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "oxc_codegen" -version = "0.40.0" +version = "0.40.1" authors.workspace = true categories.workspace = true edition.workspace = true diff --git a/crates/oxc_data_structures/Cargo.toml b/crates/oxc_data_structures/Cargo.toml index 260a0410c9bd7..6459f49998b84 100644 --- a/crates/oxc_data_structures/Cargo.toml +++ b/crates/oxc_data_structures/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "oxc_data_structures" -version = "0.40.0" +version = "0.40.1" authors.workspace = true categories.workspace = true edition.workspace = true diff --git a/crates/oxc_diagnostics/Cargo.toml b/crates/oxc_diagnostics/Cargo.toml index 03a35e66e5a10..3e9f06701d444 100644 --- a/crates/oxc_diagnostics/Cargo.toml +++ b/crates/oxc_diagnostics/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "oxc_diagnostics" -version = "0.40.0" +version = "0.40.1" authors.workspace = true categories.workspace = true edition.workspace = true diff --git a/crates/oxc_ecmascript/Cargo.toml b/crates/oxc_ecmascript/Cargo.toml index b3cf5ca84d5c1..02f8f63d0800b 100644 --- a/crates/oxc_ecmascript/Cargo.toml +++ b/crates/oxc_ecmascript/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "oxc_ecmascript" -version = "0.40.0" +version = "0.40.1" authors.workspace = true categories.workspace = true edition.workspace = true diff --git a/crates/oxc_estree/Cargo.toml b/crates/oxc_estree/Cargo.toml index c4f529261f7e4..fa5b62fdb7037 100644 --- a/crates/oxc_estree/Cargo.toml +++ b/crates/oxc_estree/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "oxc_estree" -version = "0.40.0" +version = "0.40.1" authors.workspace = true categories.workspace = true edition.workspace = true diff --git a/crates/oxc_isolated_declarations/Cargo.toml b/crates/oxc_isolated_declarations/Cargo.toml index d2a03af2a35c2..07fcbdd2e3f8a 100644 --- a/crates/oxc_isolated_declarations/Cargo.toml +++ b/crates/oxc_isolated_declarations/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "oxc_isolated_declarations" -version = "0.40.0" +version = "0.40.1" authors.workspace = true categories.workspace = true edition.workspace = true diff --git a/crates/oxc_mangler/Cargo.toml b/crates/oxc_mangler/Cargo.toml index 3ad93b003a9cf..6bffb6df5f853 100644 --- a/crates/oxc_mangler/Cargo.toml +++ b/crates/oxc_mangler/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "oxc_mangler" -version = "0.40.0" +version = "0.40.1" authors.workspace = true categories.workspace = true edition.workspace = true diff --git a/crates/oxc_minifier/Cargo.toml b/crates/oxc_minifier/Cargo.toml index 195b51081583b..411fcb3061fa9 100644 --- a/crates/oxc_minifier/Cargo.toml +++ b/crates/oxc_minifier/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "oxc_minifier" -version = "0.40.0" +version = "0.40.1" authors.workspace = true categories.workspace = true edition.workspace = true diff --git a/crates/oxc_napi/CHANGELOG.md b/crates/oxc_napi/CHANGELOG.md index b553285b22de2..db1ca92bd0d6f 100644 --- a/crates/oxc_napi/CHANGELOG.md +++ b/crates/oxc_napi/CHANGELOG.md @@ -4,6 +4,12 @@ All notable changes to this package will be documented in this file. The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/), and this project does not adhere to [Semantic Versioning](https://semver.org/spec/v2.0.0.html) until v1.0.0. +## [0.40.1] - 2024-12-10 + +### Bug Fixes + +- 18d0ce3 napi: Rename `Error` to `OxcError` to avoid name collision (#7780) (Boshen) + ## [0.40.0] - 2024-12-10 ### Features diff --git a/crates/oxc_napi/Cargo.toml b/crates/oxc_napi/Cargo.toml index 5f8b034a4a121..930919077a940 100644 --- a/crates/oxc_napi/Cargo.toml +++ b/crates/oxc_napi/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "oxc_napi" -version = "0.40.0" +version = "0.40.1" authors.workspace = true categories.workspace = true edition.workspace = true diff --git a/crates/oxc_parser/Cargo.toml b/crates/oxc_parser/Cargo.toml index 87f3768ff9aae..09b4f8cb40e90 100644 --- a/crates/oxc_parser/Cargo.toml +++ b/crates/oxc_parser/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "oxc_parser" -version = "0.40.0" +version = "0.40.1" authors.workspace = true categories.workspace = true edition.workspace = true diff --git a/crates/oxc_regular_expression/Cargo.toml b/crates/oxc_regular_expression/Cargo.toml index e6416099e8e36..85f91b7e7a3d3 100644 --- a/crates/oxc_regular_expression/Cargo.toml +++ b/crates/oxc_regular_expression/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "oxc_regular_expression" -version = "0.40.0" +version = "0.40.1" authors.workspace = true categories.workspace = true edition.workspace = true diff --git a/crates/oxc_semantic/Cargo.toml b/crates/oxc_semantic/Cargo.toml index ecc030d41338b..1ab11a84496d2 100644 --- a/crates/oxc_semantic/Cargo.toml +++ b/crates/oxc_semantic/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "oxc_semantic" -version = "0.40.0" +version = "0.40.1" authors.workspace = true categories.workspace = true edition.workspace = true diff --git a/crates/oxc_span/Cargo.toml b/crates/oxc_span/Cargo.toml index cf2362a1b9ffa..8b5ff3c268606 100644 --- a/crates/oxc_span/Cargo.toml +++ b/crates/oxc_span/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "oxc_span" -version = "0.40.0" +version = "0.40.1" authors.workspace = true categories.workspace = true edition.workspace = true diff --git a/crates/oxc_syntax/Cargo.toml b/crates/oxc_syntax/Cargo.toml index 4c1bec55667a5..f45d54d648a00 100644 --- a/crates/oxc_syntax/Cargo.toml +++ b/crates/oxc_syntax/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "oxc_syntax" -version = "0.40.0" +version = "0.40.1" authors.workspace = true categories.workspace = true edition.workspace = true diff --git a/crates/oxc_transformer/Cargo.toml b/crates/oxc_transformer/Cargo.toml index 682636f52f5b9..af00bfd7a98d9 100644 --- a/crates/oxc_transformer/Cargo.toml +++ b/crates/oxc_transformer/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "oxc_transformer" -version = "0.40.0" +version = "0.40.1" authors.workspace = true categories.workspace = true edition.workspace = true diff --git a/crates/oxc_traverse/Cargo.toml b/crates/oxc_traverse/Cargo.toml index d496fb6ecd62c..60dceb256e1d7 100644 --- a/crates/oxc_traverse/Cargo.toml +++ b/crates/oxc_traverse/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "oxc_traverse" -version = "0.40.0" +version = "0.40.1" authors.workspace = true categories.workspace = true edition.workspace = true diff --git a/napi/transform/CHANGELOG.md b/napi/transform/CHANGELOG.md index d237b877500ad..c1e94244df96f 100644 --- a/napi/transform/CHANGELOG.md +++ b/napi/transform/CHANGELOG.md @@ -4,6 +4,12 @@ All notable changes to this package will be documented in this file. The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/), and this project does not adhere to [Semantic Versioning](https://semver.org/spec/v2.0.0.html) until v1.0.0. +## [0.40.1] - 2024-12-10 + +### Bug Fixes + +- 18d0ce3 napi: Rename `Error` to `OxcError` to avoid name collision (#7780) (Boshen) + ## [0.40.0] - 2024-12-10 ### Features diff --git a/napi/transform/Cargo.toml b/napi/transform/Cargo.toml index 136a45d47be07..ba5e4fce48b11 100644 --- a/napi/transform/Cargo.toml +++ b/napi/transform/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "oxc_transform_napi" -version = "0.40.0" +version = "0.40.1" authors.workspace = true categories.workspace = true edition.workspace = true diff --git a/npm/oxc-parser/package.json b/npm/oxc-parser/package.json index 13d383522705a..2446b50c5a117 100644 --- a/npm/oxc-parser/package.json +++ b/npm/oxc-parser/package.json @@ -1,6 +1,6 @@ { "name": "oxc-parser", - "version": "0.40.0", + "version": "0.40.1", "description": "Oxc Parser Node API", "keywords": [ "Parser" diff --git a/npm/oxc-transform/package.json b/npm/oxc-transform/package.json index 48f180382513e..080f4bf4ba910 100644 --- a/npm/oxc-transform/package.json +++ b/npm/oxc-transform/package.json @@ -1,6 +1,6 @@ { "name": "oxc-transform", - "version": "0.40.0", + "version": "0.40.1", "description": "Oxc transform Node API", "keywords": [ "transform" diff --git a/npm/oxc-types/package.json b/npm/oxc-types/package.json index 7792f0a79026a..fca611c25753f 100644 --- a/npm/oxc-types/package.json +++ b/npm/oxc-types/package.json @@ -1,6 +1,6 @@ { "name": "@oxc-project/types", - "version": "0.40.0", + "version": "0.40.1", "description": "Types for Oxc AST nodes", "keywords": [ "AST", diff --git a/wasm/parser/package.json b/wasm/parser/package.json index f2bc55441b159..2aee9e381820f 100644 --- a/wasm/parser/package.json +++ b/wasm/parser/package.json @@ -1,6 +1,6 @@ { "name": "@oxc-parser/wasm", - "version": "0.40.0", + "version": "0.40.1", "description": "Wasm target for the oxc parser.", "keywords": [ "JavaScript",