Skip to content

Commit

Permalink
Update swc_core
Browse files Browse the repository at this point in the history
Closes GH-41.
  • Loading branch information
kdy1 authored Feb 5, 2024
1 parent 954f7ac commit 6e875c5
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ serializable = ["serde"]
[dependencies]
markdown = "1.0.0-alpha.16"
serde = { version = "1", optional = true }
swc_core = { version = "0.89.0", features = [
swc_core = { version = "0.90.0", features = [
"ecma_ast",
"ecma_visit",
"ecma_codegen",
Expand Down
2 changes: 1 addition & 1 deletion src/mdx_plugin_recma_jsx_rewrite.rs
Original file line number Diff line number Diff line change
Expand Up @@ -361,7 +361,7 @@ impl<'a> State<'a> {
} else {
// `MyComponent`
let prop = AssignPatProp {
key: create_ident(&reference.name),
key: create_ident(&reference.name).into(),
value: None,
span: DUMMY_SP,
};
Expand Down

0 comments on commit 6e875c5

Please # to comment.