⚠️ consolidate internally uses mustache.to_html() (source) that got removed in v4: https://github.com/janl/mustache.js/blob/aca97b8/CHANGELOG.md#400--16-january-2020
Original to_html implementation can be seen here:
https://github.com/janl/mustache.js/pull/735/files#diff-634d226b45dfff37e6e48538dbfe4cb0L730-L742
which clearly indicates that it can be safely replaced with mustache.render call.
Reading through issues I got under impression that this package is effectively unmaintained (#292) but if you have any free time I believe this is something that needs your (immediate) attention @doowb