File tree Expand file tree Collapse file tree 2 files changed +4
-2
lines changed Expand file tree Collapse file tree 2 files changed +4
-2
lines changed Original file line number Diff line number Diff line change 11{
22 "name" : " @joernio/astgen" ,
3- "version" : " 3.23 .0" ,
3+ "version" : " 3.24 .0" ,
44 "description" : " Generate JS/TS AST in json format with Babel" ,
55 "exports" : " ./index.js" ,
66 "keywords" : [
Original file line number Diff line number Diff line change @@ -6,6 +6,8 @@ export const JS_EXTENSIONS: string[] = [
66 ".jsx" ,
77 ".cjs" ,
88 ".mjs" ,
9+ ".xsjs" ,
10+ ".xsjslib" ,
911 ".ts" ,
1012 ".tsx"
1113]
@@ -32,7 +34,7 @@ export const IGNORE_DIRS: string[] = [
3234] ;
3335
3436export const IGNORE_FILE_PATTERN : RegExp =
35- new RegExp ( "(chunk-vendors|app~|mock|e2e|conf|test|spec|[.-]min|\\.d)\\.(js|ts| jsx|tsx)$" , "i" ) ;
37+ new RegExp ( "(chunk-vendors|app~|mock|e2e|conf|test|spec|[.-]min|\\.d)\\.(js|jsx|cjs|mjs|xsjs|xsjslib|ts |tsx)$" , "i" ) ;
3638
3739export const MAX_LOC_IN_FILE : number = 50000 ;
3840
You can’t perform that action at this time.
0 commit comments