Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

mustache

Package Overview
Dependencies
Maintainers
5
Versions
39
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

mustache - npm Package Versions

134

3.0.3

Diff

Changelog

Source

[3.0.3] / 27 August 2019

Added

  • [#713]: Add test cases for custom functions in partials, by [@wol-soft].

Fixed

  • [#714]: Bugfix for wrong function output in partials with indentation, by [@phillipj].
flipp
published 3.0.2 •

Changelog

Source

[3.0.2] / 21 August 2019

Fixed

  • [#705]: Fix indentation of partials, by [@kevindew] and [@yotammadem].

Dev

  • [#701]: Fix test failure for Node 10 and above, by [@andersk].
  • [#704]: Lint all test files just like the source files, by [@phillipj].
  • Start experimenting & comparing GitHub Actions vs Travis CI, by [@phillipj].
flipp
published 3.0.1 •

Changelog

Source

[3.0.1] / 11 November 2018

  • [#679]: Fix partials not rendering tokens when using custom tags, by [@stackchain].
flipp
published 3.0.0 •

Changelog

Source

[3.0.0] / 16 September 2018

We are very happy to announce a new major version of mustache.js. We want to be very careful not to break projects out in the wild, and adhering to Semantic Versioning we have therefore cut this new major version.

The changes introduced will likely not require any actions for most using projects. The things to look out for that might cause unexpected rendering results are described in the migration guide below.

A big shout out and thanks to [@raymond-lam] for this release! Without his contributions with code and issue triaging, this release would never have happened.

Major

  • [#618]: Allow rendering properties of primitive types that are not objects, by [@raymond-lam].
  • [#643]: Writer.prototype.parse to cache by tags in addition to template string, by [@raymond-lam].
  • [#664]: Fix Writer.prototype.parse cache, by [@seminaoki].

Minor

  • [#673]: Add tags parameter to Mustache.render(), by [@raymond-lam].
flipp
published 2.3.2 •

Changelog

Source

[2.3.2] / 17 August 2018

This release is made to revert changes introduced in [2.3.1] that caused unexpected behaviour for several users.

Minor

  • [#670]: Rollback template cache causing unexpected behaviour, by [@raymond-lam].
flipp
published 2.3.1 •

Changelog

Source

[2.3.1] / 7 August 2018

Minor

  • [#643]: Writer.prototype.parse to cache by tags in addition to template string, by [@raymond-lam].
  • [#664]: Fix Writer.prototype.parse cache, by [@seminaoki].

Dev

  • [#666]: Install release tools with npm rather than pre-commit hook & Rakefile, by [@phillipj].
  • [#667], [#668]: Stabilize browser test suite, by [@phillipj].

Docs

  • [#644]: Document global Mustache.escape overriding capacity, by [@paultopia].
  • [#657]: Correct Mustache.parse() return type documentation, by [@bbrooks].
dasilvacontin
published 2.3.0 •

Changelog

Source

[2.3.0] / 8 November 2016

Minor

  • [#540]: Add optional output argument to mustache CLI, by [@wizawu].
  • [#597]: Add compatibility with amdclean, by [@mightyplow].

Dev

  • [#553]: Assert null lookup when rendering an unescaped value, by [@dasilvacontin].
  • [#580], [#610]: Ignore eslint for greenkeeper updates, by [@phillipj].
  • [#560]: Fix CLI tests for Windows, by [@kookookchoozeus].
  • Run browser tests w/node v4, by [@phillipj].

Docs

  • [#542]: Add API documentation to README, by [@tomekwi].
  • [#546]: Add missing syntax highlighting to README code blocks, by [@pra85].
  • [#569]: Update Ctemplate links in README, by [@mortonfox].
  • [#592]: Change "loadUser" to "loadUser()" in README, by [@Flaque].
  • [#593]: Adding doctype to HTML code example in README, by [@calvinf].

Dependencies

  • eslint -> 2.2.0. Breaking changes fix by [@phillipj]. [#548]
  • eslint -> 2.5.1.
  • mocha -> 3.0.2.
  • zuul -> 3.11.0.
dasilvacontin
published 2.2.1 •

Changelog

Source

[2.2.1] / 13 December 2015

Fixes

  • Improve HTML escaping, by [@phillipj].
  • Fix inconsistency in defining global mustache object, by [@simast].
  • Fix switch-case indent error, by [@norfish].
  • Unpin chai and eslint versions, by [@dasilvacontin].
  • Update README.md with proper grammar, by [@EvanLovely].
  • Update mjackson username in README, by [@mjackson].
  • Remove syntax highlighting in README code sample, by [@imagentleman].
  • Fix typo in README, by [@Xcrucifier].
  • Fix link typo in README, by [@keirog].
dasilvacontin
published 2.2.0 •

Changelog

Source

[2.2.0] / 15 October 2015

Added

  • Add Partials support to CLI, by [@palkan].

Changed

  • Move install instructions to README's top, by [@mateusortiz]
  • Improved devhook install output, by [@ShashankaNataraj].
  • Clarifies and improves language in documentation, by [@jfmercer].
  • Linting CLI tool, by [@phillipj].
  • npm 2.x and node v4 on Travis, by [@phillipj].

Fixes

  • Fix README spelling error to "aforementioned", by [@djchie].
  • Equal error message test in .render() for server and browser, by [@phillipj].

Dependencies

  • chai -> 3.3.0
  • eslint -> 1.6.0
dasilvacontin
published 2.1.3 •

Changelog

Source

[2.1.3] / 23 July 2015

Added

  • Throw error when providing .render() with invalid template type, by [@phillipj].
  • Documents use of string literals containing double quotes, by [@jfmercer].

Changed

  • Move mustache gif to githubusercontent, by [@Andersos].

Fixed

  • Update UMD Shim to be resilient to HTMLElement global pollution, by [@mikesherov].
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