The current latest release of HtmlUnit (version 4.21.0) comes with HtmxTwoZeroSevenScriptPreProcessor which I've been successfully using with HTMX 2.0.7-2.0.9, but it fails when upgrading to HTMX 2.0.10.
It seems the variable names used in the (minified) HTMX release have changed with version 2.0.10.
- 2.0.9:
i.push(...F(c.querySelectorAll(e))) → 2.0.10: i.push(...F(u.querySelectorAll(e))) (c → u)
- 2.0.9:
r.push(...we(i,n)) → 2.0.10: r.push(...ve(i,n)) (we → ve)
So with HTMX 2.0.10, two of the three push(...) patterns replaced by HtmxTwoZeroSevenScriptPreProcessor#preProcess no longer match and HtmlUnit's JS engine fails when parsing htmx.min.js.
The current latest release of HtmlUnit (version 4.21.0) comes with
HtmxTwoZeroSevenScriptPreProcessorwhich I've been successfully using with HTMX 2.0.7-2.0.9, but it fails when upgrading to HTMX 2.0.10.It seems the variable names used in the (minified) HTMX release have changed with version 2.0.10.
i.push(...F(c.querySelectorAll(e)))→ 2.0.10:i.push(...F(u.querySelectorAll(e)))(c→u)r.push(...we(i,n))→ 2.0.10:r.push(...ve(i,n))(we→ve)So with HTMX 2.0.10, two of the three
push(...)patterns replaced byHtmxTwoZeroSevenScriptPreProcessor#preProcessno longer match and HtmlUnit's JS engine fails when parsinghtmx.min.js.