File tree Expand file tree Collapse file tree 2 files changed +3
-3
lines changed Expand file tree Collapse file tree 2 files changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -156,8 +156,8 @@ const codeToJsAst = (code) => {
156156const vueCleaningRegex = / < \/ * s c r i p t .* > | < s t y l e [ \s \S ] * s t y l e > | < \/ * b r > / ig;
157157const vueTemplateRegex = / ( < t e m p l a t e .* > ) ( [ \s \S ] * ) ( < \/ t e m p l a t e > ) / ig;
158158const vueCommentRegex = / < \! - - [ \s \S ] * ?- - > / ig;
159- const vueBindRegex = / ( : \[ ) ( [ \s \ S] * ?) ( \] ) / ig;
160- const vuePropRegex = / \s ( [ . : @ ] ) ( [ \s \ S] * ?= ) / ig;
159+ const vueBindRegex = / ( : \[ ) ( [ \S ] * ?) ( \] ) / ig;
160+ const vuePropRegex = / \s ( [ . : @ ] ) ( [ \S ] * ?= ) / ig;
161161
162162/**
163163 * Convert a single vue file to AST
Original file line number Diff line number Diff line change 11{
22 "name" : " @joernio/astgen" ,
3- "version" : " 3.9 .0" ,
3+ "version" : " 3.10 .0" ,
44 "description" : " Generate JS/TS AST in json format with Babel" ,
55 "exports" : " ./index.js" ,
66 "keywords" : [
You can’t perform that action at this time.
0 commit comments