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 @@ -101,7 +101,7 @@ function isDefined(obj) {
101101filter . isDefined = isDefined ;
102102
103103function isProtocol ( api , protocol ) {
104- return JSON . stringify ( api . json ( ) ) . includes ( '"protocol":"' + protocol + '"' ) ;
104+ return api . constructor . stringify ( api ) . includes ( '"protocol":"' + protocol + '"' ) ;
105105} ;
106106filter . isProtocol = isProtocol ;
107107
Original file line number Diff line number Diff line change 3333 "@asyncapi/generator-filters" : " ^2.1.0" ,
3434 "@asyncapi/generator-hooks" : " ^0.1.0" ,
3535 "fs-extra" : " ^9.0.0" ,
36- "lodash" : " ^4.17.15 " ,
36+ "lodash" : " ^4.17.21 " ,
3737 "replace-in-file" : " ^6.1.0" ,
3838 "tmp" : " ^0.2.1"
3939 },
127127 "required" : false
128128 }
129129 },
130- "generator" : " >=0.50.0 <2.0.0" ,
130+ "generator" : " >=1.8.27 <2.0.0" ,
131131 "filters" : [
132132 " @asyncapi/generator-filters"
133133 ],
You can’t perform that action at this time.
0 commit comments