File tree Expand file tree Collapse file tree 2 files changed +5
-5
lines changed
Expand file tree Collapse file tree 2 files changed +5
-5
lines changed Original file line number Diff line number Diff line change 11{
22 "name" : " node-word-detection" ,
3- "version" : " 2.1.2 " ,
3+ "version" : " 2.1.3 " ,
44 "description" : " sensitive word detection 敏感词(违禁词)检测与替换" ,
55 "main" : " ./src/index.js" ,
66 "types" : " ./src/index.d.ts" ,
Original file line number Diff line number Diff line change @@ -14,7 +14,7 @@ function use_sys_sensitive_word (){
1414 console . log ( 'sys word reading is completed. ' )
1515}
1616
17- use_sys_sensitive_word . bind ( binding . NodeWordDetection . prototype ) ;
18- binding . NodeWordDetection . prototype . use_sys_sensitive_word = use_sys_sensitive_word ;
19- module . exports . node_word_detection = new binding . NodeWordDetection ( ) ;
20- module . exports . get_instance = function ( ) { return new binding . NodeWordDetection ( ) ; }
17+ use_sys_sensitive_word . bind ( node_word_detection . NodeWordDetection . prototype ) ;
18+ node_word_detection . NodeWordDetection . prototype . use_sys_sensitive_word = use_sys_sensitive_word ;
19+ module . exports . node_word_detection = new node_word_detection . NodeWordDetection ( ) ;
20+ module . exports . get_instance = function ( ) { return new node_word_detection . NodeWordDetection ( ) ; }
You can’t perform that action at this time.
0 commit comments