Skip to content

Commit

Permalink
release version 0.1.21
Browse files Browse the repository at this point in the history
  • Loading branch information
Benedikt Strehle committed Oct 12, 2024
1 parent 4c86119 commit d4afa10
Show file tree
Hide file tree
Showing 5 changed files with 7 additions and 7 deletions.
2 changes: 1 addition & 1 deletion 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
@@ -1,6 +1,6 @@
[package]
name = "jusix"
version = "0.1.20"
version = "0.1.21"
edition = "2021"
description = "An SWC plugin that enables embedded JSX reactivity and $() shortcut function for UIX"
license = "MIT"
Expand Down
Binary file modified jusix.wasm
Binary file not shown.
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "jusix",
"version": "0.1.20",
"version": "0.1.21",
"description": "",
"author": "",
"license": "ISC",
Expand Down
8 changes: 4 additions & 4 deletions src/visitor.rs
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ use swc_core::{
common::{util::take::Take, SyntaxContext, DUMMY_SP},
ecma::{
ast::{
ArrowExpr, AwaitExpr, BindingIdent, BlockStmt, BlockStmtOrExpr, CallExpr, Callee, CatchClause, ClassDecl, ClassMethod, Constructor, Expr, ExprOrSpread, ExprStmt, FnDecl, FnExpr, Id, Ident, JSXAttr, JSXAttrName, JSXAttrValue, JSXElement, JSXElementChild, JSXElementName, JSXEmptyExpr, JSXExpr, JSXExprContainer, JSXSpreadChild, JSXText, Lit, MemberProp, Null, Number, ObjectPatProp, Param, ParamOrTsParamProp, Pat, PrivateMethod, ReturnStmt, Stmt, Str, ThisExpr, TsAsExpr, TsEnumDecl, TsInterfaceDecl, TsParamPropParam, TsType, TsTypeAliasDecl, VarDecl
ArrowExpr, AwaitExpr, BlockStmt, BlockStmtOrExpr, CallExpr, Callee, CatchClause, ClassDecl, ClassMethod, Constructor, Expr, ExprOrSpread, ExprStmt, FnDecl, FnExpr, Id, Ident, JSXAttr, JSXAttrName, JSXAttrValue, JSXElement, JSXElementChild, JSXElementName, JSXEmptyExpr, JSXExpr, JSXExprContainer, JSXSpreadChild, JSXText, Lit, MemberProp, Null, Number, ObjectPatProp, ParamOrTsParamProp, Pat, PrivateMethod, ReturnStmt, Stmt, Str, ThisExpr, TsEnumDecl, TsInterfaceDecl, TsParamPropParam, TsType, TsTypeAliasDecl, VarDecl
},
visit::{Fold, FoldWith, Visit, VisitWith},
},
Expand Down Expand Up @@ -163,15 +163,15 @@ impl Visit for VariableCollector {
call_expr.visit_children_with(self);
}

fn visit_ts_type(&mut self, node: &TsType) {
fn visit_ts_type(&mut self, _node: &TsType) {
// ignore type annotations
}

fn visit_ts_type_alias_decl(&mut self, node: &TsTypeAliasDecl) {
fn visit_ts_type_alias_decl(&mut self, _node: &TsTypeAliasDecl) {
// ignore type alias declarations
}

fn visit_ts_interface_decl(&mut self, node: &TsInterfaceDecl) {
fn visit_ts_interface_decl(&mut self, _node: &TsInterfaceDecl) {
// ignore interface declarations
}

Expand Down

0 comments on commit d4afa10

Please sign in to comment.