@@ -17,7 +17,7 @@ exports.queries = {
1717 `//ClassBody[
1818 /MethodDefinition[/:kind == "get" && /:key/:name == "DATA_KEY"]//TemplateLiteral &&
1919 /MethodDefinition[/:kind == "get" && /:key/:name == "EVENT_KEY"]//TemplateLiteral
20- ]/MethodDefinition[/:kind == "get" && /:key/:name == "VERSION"]//ReturnStatement//Literal /:value` ,
20+ ]/MethodDefinition[/:kind == "get" && /:key/:name == "VERSION"]//ReturnStatement/$$:argument /:value` ,
2121 /*
2222 5.0.0 minified — VERSION getter and DATA_KEY getter in different classes (base vs Alert),
2323 but in the same BlockStatement (factory body)
@@ -26,7 +26,7 @@ exports.queries = {
2626 */
2727 `//BlockStatement[
2828 //ClassBody/MethodDefinition[/:kind == "get" && /:key/:name == "DATA_KEY"]//Literal[/:value == "bs.alert"]
29- ]//ClassBody/MethodDefinition[/:kind == "get" && /:key/:name == "VERSION"]//ReturnStatement//Literal /:value` ,
29+ ]//ClassBody/MethodDefinition[/:kind == "get" && /:key/:name == "VERSION"]//ReturnStatement/$$:argument /:value` ,
3030 /*
3131 4.x min+unmin — Babel _createClass descriptor {key:"VERSION", get:function(){return...}}
3232 anchored by "bs.alert" literal (VariableDeclarator in unmin, Data_KEY getter body in min).
@@ -530,7 +530,7 @@ exports.queries = {
530530 ] ,
531531 "zrender" : [
532532 `//SequenceExpression[/AssignmentExpression/:left/:property/:name == "showDebugDirtyRect"]/AssignmentExpression[//:left/:property/:name == "version"]/:right/:value` ,
533- `//BlockStatement[/FunctionDeclaration/:id/:name == "registerPainter" && /FunctionDeclaration/:id/:name == "getWheelDeltaMayPolyfill"]/VariableDeclaration/VariableDeclarator[/:id/:name == "version"]/Literal /:value`
533+ `//BlockStatement[/FunctionDeclaration/:id/:name == "registerPainter" && /FunctionDeclaration/:id/:name == "getWheelDeltaMayPolyfill"]/VariableDeclaration/VariableDeclarator[/:id/:name == "version"]/:init /:value`
534534 ] ,
535535 "d3" : [
536536 `//BlockStatement[
0 commit comments