Skip to content

Commit 4d71eb6

Browse files
authored
v0.14.0
1 parent 6feda65 commit 4d71eb6

File tree

3 files changed

+25
-23
lines changed

3 files changed

+25
-23
lines changed

Cargo.lock

Lines changed: 19 additions & 19 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

Cargo.toml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
[package]
22
name = "deno_lint"
3-
version = "0.13.0"
3+
version = "0.14.0"
44
edition = "2018"
55
description = "lint for deno"
66
authors = ["the Deno authors"]
@@ -21,13 +21,13 @@ default = []
2121
docs = []
2222

2323
[dependencies]
24-
ast_view = { version = "0.30.0", package = "dprint-swc-ecma-ast-view" }
24+
ast_view = { version = "0.33.1", package = "dprint-swc-ecma-ast-view" }
2525
log = "0.4.14"
2626
serde = { version = "1.0.125", features = ["derive"] }
2727
serde_json = "1.0.64"
2828
swc_atoms = "0.2.7"
29-
swc_common = "0.11.6"
30-
swc_ecmascript = { version = "0.57.0", features = ["parser", "transforms", "utils", "visit"] }
29+
swc_common = "0.11.9"
30+
swc_ecmascript = { version = "0.60.0", features = ["parser", "transforms", "utils", "visit"] }
3131
regex = "1.5.4"
3232
once_cell = "1.5.2"
3333
derive_more = { version = "0.99.14", features = ["display"] }

src/handler.rs

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -230,6 +230,7 @@ pub trait Handler {
230230
_ctx: &mut Context,
231231
) {
232232
}
233+
fn static_block(&mut self, _n: &ast_view::StaticBlock, _ctx: &mut Context) {}
233234
fn str(&mut self, _n: &ast_view::Str, _ctx: &mut Context) {}
234235
// Neither `super` or `r#super` can be used here, so we use `super_` reluctantly
235236
fn super_(&mut self, _n: &ast_view::Super, _ctx: &mut Context) {}
@@ -606,6 +607,7 @@ pub trait Traverse: Handler {
606607
SeqExpr(n) => self.seq_expr(n, ctx),
607608
SetterProp(n) => self.setter_prop(n, ctx),
608609
SpreadElement(n) => self.spread_element(n, ctx),
610+
StaticBlock(n) => self.static_block(n, ctx),
609611
Str(n) => self.str(n, ctx),
610612
Super(n) => self.super_(n, ctx),
611613
SwitchCase(n) => self.switch_case(n, ctx),

0 commit comments

Comments
 (0)