Socket
Socket
Sign inDemoInstall

mustache

Package Overview
Dependencies
Maintainers
4
Versions
39
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

mustache - npm Package Versions

123

0.7.3

Diff

Changelog

Source

[0.7.3] / 5 Nov 2013

  • Don't require the original template to be passed to the rendering function when using compiled templates. This is still required when using higher-order functions in order to be able to extract the portion of the template that was contained by that section. Fixes [#262].
    • Performance improvements.
mjackson
published 0.7.2 •

Changelog

Source

[0.7.2] / 27 Dec 2012

  • Fixed a rendering bug ([#274]) when using nested higher-order sections.
    • Better error reporting on failed parse.
    • Converted tests to use mocha instead of vows.
mjackson
published 0.7.1 •

Changelog

Source

[0.7.1] / 6 Dec 2012

  • Handle empty templates gracefully. Fixes [#265], [#267], and [#270].
    • Cache partials by template, not by name. Fixes [#257].
    • Added Mustache.compileTokens to compile the output of Mustache.parse. Fixes [#258].
mjackson
published 0.7.0 •

Changelog

Source

[0.7.0] / 10 Sep 2012

  • Rename Renderer => Writer.
    • Allow partials to be loaded dynamically using a callback (thanks [@TiddoLangerak] for the suggestion).
    • Fixed a bug with higher-order sections that prevented them from being passed the raw text of the section from the original template.
    • More concise token format. Tokens also include start/end indices in the original template.
    • High-level API is consistent with the Writer API.
    • Allow partials to be passed to the pre-compiled function (thanks [@fallenice]).
    • Don't use eval (thanks [@cweider]).
mjackson
published 0.6.0 •

Changelog

Source

[0.6.0] / 31 Aug 2012

  • Use JavaScript's definition of falsy when determining whether to render an inverted section or not. Issue [#186].
    • Use Mustache.escape to escape values inside {{}}. This function may be reassigned to alter the default escaping behavior. Issue [#244].
    • Fixed a bug that clashed with QUnit (thanks [@kannix]).
    • Added volo support (thanks [@guybedford]).
mjackson
published 0.5.2 •

mjackson
published 0.5.1-dev •

nathan
published 0.3.1-dev •

nathan
published 0.4.0 •

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc