You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
0.14.1 fixed template literals without additional expressions, like example in the first message.
For more complicated expressions is slightly more difficult to find correct solution that won't break anything else.
sql_query = `select * from sub JOIN ps ON
sub.subsystem_id=ps.subsystem_id
JOIN project ON project.id = ps.project_id
where sub.subsystem_uid in (${ids.map(d=>`'${d}'`).join(',')})
${otherWhere}
`;
Activity
sanex3339 commentedon Jan 24, 2018
Related with
esprima.http://esprima.org/demo/parse.html?code=function%20hi()%20%7B%0A%20%20%20%20return%20%60%20Hello%0A%20%20%20%20%20%20%20%20There%60%3B%0A%7D
sanex3339 commentedon Jan 24, 2018
Same problem as here:
jquery/esprima#1897
Fixed here:
jquery/esprima@9973bab
But no release with fix yet.
sanex3339 commentedon Jan 24, 2018
You can request faster release here:
jquery/esprima#1882
sanex3339 commentedon Feb 13, 2018
So, i think i will temporary fix it from my side by correcting wrong AST tree
sido420 commentedon Feb 13, 2018
any ETA on our side? I've pinged on esprima already.
11 remaining items
sanex3339 commentedon Feb 15, 2018
0.14.1 fixed template literals without additional expressions, like example in the first message.
For more complicated expressions is slightly more difficult to find correct solution that won't break anything else.
sanex3339 commentedon Feb 15, 2018
Fixed. Expect release in a hour or so.
0.14.2 Fixed #181
sanex3339 commentedon Feb 15, 2018
Should be fixed in
[email protected]bipinpatel-tech commentedon Jul 9, 2018
it's not working with following syntax
sql_query =
select * from blahblah where myids in (${ids.map(d=>'${d}').join(',')}) ${projectWhere};sanex3339 commentedon Jul 9, 2018
Hi, please format your code, looks like formatting is wrong.
bipinpatel-tech commentedon Jul 10, 2018
Actual code
sanex3339 commentedon Jul 10, 2018
Created issue: #288