Skip to content

Commit

Permalink
chore(deps): update rust crate oxc to v0.16.2 (#24)
Browse files Browse the repository at this point in the history
* chore(deps): update rust crate oxc to v0.16.2

* u

---------

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: Boshen <[email protected]>
  • Loading branch information
renovate[bot] and Boshen authored Jul 1, 2024
1 parent ecae5b9 commit f48533b
Show file tree
Hide file tree
Showing 2 changed files with 34 additions and 33 deletions.
61 changes: 31 additions & 30 deletions Cargo.lock

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

6 changes: 3 additions & 3 deletions src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -21,16 +21,16 @@ pub mod oxc {
react: ReactOptions::default(),
..TransformOptions::default()
};
Transformer::new(
let ret = Transformer::new(
&allocator,
Path::new(""),
source_type,
source_text,
trivias.clone(),
transform_options,
)
.build(&mut program)
.unwrap();
.build(&mut program);
assert!(ret.errors.is_empty());
CodeGenerator::new().build(&program).source_text
};

Expand Down

0 comments on commit f48533b

Please sign in to comment.