Skip to content

Commit

Permalink
chore(deps): oxc v0.16.0
Browse files Browse the repository at this point in the history
  • Loading branch information
hi-ogawa committed Jun 27, 2024
1 parent 4de4a50 commit 346e3a0
Show file tree
Hide file tree
Showing 3 changed files with 38 additions and 38 deletions.
68 changes: 34 additions & 34 deletions oxc-rsc/Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

4 changes: 2 additions & 2 deletions oxc-rsc/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -5,8 +5,8 @@ edition = "2021"
publish = false

[dependencies]
oxc = { version = "0.15.0", features = ["transformer", "codegen"] }
oxc_traverse = { version = "0.15.0" }
oxc = { version = "0.16.0", features = ["transformer", "codegen"] }
oxc_traverse = { version = "0.16.0" }

[dev-dependencies]
base64 = "0.22.1"
Expand Down
4 changes: 2 additions & 2 deletions oxc-rsc/src/hoist.rs
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
use oxc::{
ast::ast::{
Argument, BindingIdentifier, Declaration, Expression, FormalParameterKind, FunctionType,
Modifiers, NullLiteral, Statement,
NullLiteral, Statement,
},
span::SPAN,
};
Expand Down Expand Up @@ -174,6 +174,7 @@ impl<'a> Traverse<'a> for HoistTransformer<'a> {
)),
false,
node.r#async,
false,
None,
ctx.ast.formal_parameters(
node.params.span,
Expand All @@ -188,7 +189,6 @@ impl<'a> Traverse<'a> for HoistTransformer<'a> {
)),
None,
None,
Modifiers::empty(),
);

// TODO: source map missing when mixing up ast nodes
Expand Down

0 comments on commit 346e3a0

Please sign in to comment.