Closed zachleat closed 1 year ago
cc @harttle I was able to narrow this down to an extra token being returned here (which resulted in extra internal-to-liquid arguments):
Specifically this was being returned as a token when I don’t think it should be?
{
next: [Function (anonymous)],
throw: [Function (anonymous)],
return: [Function (anonymous)],
[Symbol(Symbol.iterator)]: [Function (anonymous)]
}
2.0.0-canary.16 has shipped with liquidjs
pinned to 9.41.0
Specifically this was being returned as a token when I don’t think it should be?
No, it shouldn't. I can't see how it can be. Do you have a tagToken.args
value (used to init the Tokenizer) to repro? Maybe it's broken elsewhere, it'll help if we have a runable snippet.
I got this fixed up! I wasn’t evaluating my tokens correctly in the render function.
Shipping with 2.0.0-canary.19
Build-time error (not runtime):
Pinned this down to a regression in
liquidjs
9.42.0
, canary-16 will be pinned to 9.41.0.To workaround this locally, just add
"liquidjs": "9.41.0",
to your package.json under dependencies.