Skip to content

Commit fdc48c9

Browse files
committed
chore(rolldown): oxc v0.41.0
1 parent a12370b commit fdc48c9

3 files changed

Lines changed: 50 additions & 49 deletions

File tree

Cargo.lock

Lines changed: 44 additions & 44 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

Cargo.toml

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -171,11 +171,12 @@ xxhash-rust = "0.8.10"
171171

172172

173173
# oxc crates with the same version
174-
oxc = { version = "0.40.1", features = ["transformer", "minifier", "semantic", "codegen"] }
175-
oxc_transform_napi = { version = "0.40.1" }
174+
oxc = { version = "0.41.0", features = ["transformer", "minifier", "semantic", "codegen"] }
175+
oxc_transform_napi = { version = "0.41.0" }
176176

177177
# oxc crates in their own repos
178178
# Versions must be relaxed for usage in oxc.
179+
# Please update with `cargo update oxc_resolver oxc_sourcemap oxc_index`
179180
oxc_index = { version = "2", features = ["rayon"] } # https://github.com/oxc-project/oxc-index-vec
180181
oxc_resolver = { version = "3" } # https://github.com/oxc-project/oxc-resolver
181182
oxc_sourcemap = { version = "1" } # https://github.com/oxc-project/oxc-sourcemap

crates/rolldown_ecmascript_utils/src/ast_snippet.rs

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -363,8 +363,8 @@ impl<'ast> AstSnippet<'ast> {
363363
PropertyKind::Init,
364364
ast::PropertyKey::from(self.builder.expression_string_literal(SPAN, stable_id, None)),
365365
self.builder.expression_function(
366-
FunctionType::FunctionExpression,
367366
SPAN,
367+
FunctionType::FunctionExpression,
368368
None,
369369
false,
370370
false,
@@ -429,8 +429,8 @@ impl<'ast> AstSnippet<'ast> {
429429
PropertyKind::Init,
430430
ast::PropertyKey::from(self.builder.expression_string_literal(SPAN, stable_id, None)),
431431
self.builder.expression_function(
432-
FunctionType::FunctionExpression,
433432
SPAN,
433+
FunctionType::FunctionExpression,
434434
None,
435435
false,
436436
false,
@@ -674,8 +674,8 @@ impl<'ast> AstSnippet<'ast> {
674674
statements: allocator::Vec<'ast, Statement<'ast>>,
675675
) -> ast::Expression<'ast> {
676676
let arguments = self.builder.vec1(Argument::FunctionExpression(self.builder.alloc_function(
677-
ast::FunctionType::FunctionExpression,
678677
SPAN,
678+
ast::FunctionType::FunctionExpression,
679679
None::<BindingIdentifier>,
680680
false,
681681
false,

0 commit comments

Comments
 (0)