Skip to content

Commit

Permalink
refactor: deno_ast 0.43 (#1337)
Browse files Browse the repository at this point in the history
  • Loading branch information
dsherret authored Oct 28, 2024
1 parent 811b397 commit fb59977
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 6 deletions.
8 changes: 4 additions & 4 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 @@ -25,7 +25,7 @@ default = []
docs = []

[dependencies]
deno_ast = { version = "0.42.0", features = ["scopes", "transforms", "utils", "visit", "view", "react"] }
deno_ast = { version = "0.43.0", features = ["scopes", "transforms", "utils", "visit", "view", "react"] }
log = "0.4.20"
serde = { version = "1.0.195", features = ["derive"] }
serde_json = "1.0.111"
Expand Down
2 changes: 1 addition & 1 deletion src/rules/prefer_const.rs
Original file line number Diff line number Diff line change
Expand Up @@ -1091,7 +1091,7 @@ mod variable_collector_tests {
fn collect(src: &str) -> VariableCollector {
let parsed_source = test_util::parse(src);
let mut v = VariableCollector::new();
v.visit_program(parsed_source.program_ref());
parsed_source.program_ref().visit_with(&mut v);
v
}

Expand Down

0 comments on commit fb59977

Please sign in to comment.