diff --git a/crates/binding/src/lib.rs b/crates/binding/src/lib.rs index 9b18dee..07dfc83 100644 --- a/crates/binding/src/lib.rs +++ b/crates/binding/src/lib.rs @@ -111,7 +111,7 @@ pub fn check_module_member_usage( } #[napi] -pub fn check_filename_case( +pub async fn check_filename_case( args: utils::GlobJsArgs, ) -> Result> { check_filename_case::check_filename_case(args.into()).map_err(to_napi_error) @@ -139,7 +139,7 @@ pub fn check_browser_supported_with_source_code( } #[napi] -pub fn check_syntax( +pub async fn check_syntax( args: utils::GlobJsArgs, ) -> Result> { check_syntax::check_syntax(args.into()).map_err(to_napi_error) diff --git a/package.json b/package.json index b9fbc24..c395bf6 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "@shined/source-code-diagnosis", - "version": "0.0.81", + "version": "0.0.82", "main": "index.js", "types": "index.d.ts", "napi": {