Skip to content

Commit

Permalink
chore(deps): update rust crate oxc to 0.14.0 (#2)
Browse files Browse the repository at this point in the history
* chore(deps): update rust crate oxc to 0.14.0

* u

---------

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: Boshen <boshenc@gmail.com>
  • Loading branch information
renovate[bot] and Boshen authored Jun 12, 2024
1 parent 3cc97ac commit 3488ccd
Show file tree
Hide file tree
Showing 3 changed files with 31 additions and 31 deletions.
56 changes: 28 additions & 28 deletions Cargo.lock

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

2 changes: 1 addition & 1 deletion Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ name = "swc"
path = "src/swc.rs"

[dependencies]
oxc = { version = "0.13.5", features = ["transformer", "codegen"] }
oxc = { version = "0.14.0", features = ["transformer", "codegen"] }

swc = "0.276.0"
swc_common = "0.33.26"
Expand Down
4 changes: 2 additions & 2 deletions src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -26,12 +26,12 @@ pub mod oxc {
Path::new(""),
source_type,
source_text,
&trivias,
trivias.clone(),
transform_options,
)
.build(&mut program)
.unwrap();
Codegen::<false>::new("", source_text, CodegenOptions::default(), None)
Codegen::<false>::new("", source_text, trivias, CodegenOptions::default())
.build(&program)
.source_text
};
Expand Down

0 comments on commit 3488ccd

Please sign in to comment.