Release notes
*Sourced from [mustache's releases](https://github.com/janl/mustache.js/releases).*
> ## v3.1.0
> ### Added
>
> * [#717](https://github-redirect.dependabot.com/janl/mustache.js/issues/717): Added support .js files as views in command line tool, by [@JEStaubach].
>
> ### Fixed
>
> * [#716](https://github-redirect.dependabot.com/janl/mustache.js/issues/716): Bugfix for indentation of inline partials, by [@yotammadem].
>
> [#716](https://github-redirect.dependabot.com/janl/mustache.js/issues/716): [janl/mustache.js#716](https://github-redirect.dependabot.com/janl/mustache.js/issues/716)
> [#717](https://github-redirect.dependabot.com/janl/mustache.js/issues/717): [janl/mustache.js#717](https://github-redirect.dependabot.com/janl/mustache.js/issues/717)
> [@JEStaubach]: https://github.com/JEStaubach
> [@yotammadem]: https://github.com/yotammadem
>
> ## v3.0.2
> ### Fixed
>
> * [#705](https://github-redirect.dependabot.com/janl/mustache.js/issues/705): Fix indentation of partials, by [@kevindew](https://github.com/kevindew) and [@yotammadem](https://github.com/yotammadem).
>
> ### Dev
>
> * [#701](https://github-redirect.dependabot.com/janl/mustache.js/issues/701): Fix test failure for Node 10 and above, by [@andersk](https://github.com/andersk).
> * [#704](https://github-redirect.dependabot.com/janl/mustache.js/issues/704): Lint all test files just like the source files, by [@phillipj](https://github.com/phillipj).
> * Start experimenting & comparing GitHub Actions vs Travis CI, by [@phillipj](https://github.com/phillipj).
>
> ## v3.0.1
> [#679](https://github-redirect.dependabot.com/janl/mustache.js/issues/679): Fix partials not rendering tokens when using custom tags, by [@stackchain].
>
> [@stackchain]: https://github.com/stackchain
>
> ## v3.0.0
> ## [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](http://semver.org/) 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](https://github-redirect.dependabot.com/janl/mustache.js/issues/618): Allow rendering properties of primitive types that are not objects, by [@raymond-lam].
> * [#643](https://github-redirect.dependabot.com/janl/mustache.js/issues/643): `Writer.prototype.parse` to cache by tags in addition to template string, by [@raymond-lam].
> * [#664](https://github-redirect.dependabot.com/janl/mustache.js/issues/664): Fix `Writer.prototype.parse` cache, by [@seminaoki].
>
> ### Minor
>
> * [#673](https://github-redirect.dependabot.com/janl/mustache.js/issues/673): Add `tags` parameter to `Mustache.render()`, by [@raymond-lam].
> ... (truncated)
Changelog
*Sourced from [mustache's changelog](https://github.com/janl/mustache.js/blob/master/CHANGELOG.md).*
> ## [4.0.0] / 16 January 2020
>
> Majority of using projects don't have to worry by this being a new major version.
>
> **TLDR;** if your project manipulates `Writer.prototype.parse | Writer.cache` directly or uses `.to_html()`, you probably have to change that code.
>
> This release allows the internal template cache to be customised, either by disabling it completely
> or provide a custom strategy deciding how the cache should behave when mustache.js parses templates.
>
> ```js
> const mustache = require('mustache');
>
> // disable caching
> Mustache.templateCache = undefined;
>
> // or use a built-in Map in modern environments
> Mustache.templateCache = new Map();
> ```
>
> Projects that wanted to customise the caching behaviour in earlier versions of mustache.js were forced to
> override internal method responsible for parsing templates; `Writer.prototype.parse`. In short, that was unfortunate
> because there is more than caching happening in that method.
>
> We've improved that now by introducing a first class API that only affects template caching.
>
> The default template cache behaves as before and is still compatible with older JavaScript environments.
> For those who wants to provide a custom more sopisiticated caching strategy, one can do that with an object that adheres to the following requirements:
>
> ```ts
> {
> set(cacheKey: string, value: string): void
> get(cacheKey: string): string | undefined
> clear(): void
> }
> ```
>
> ### Added
>
> * [#731](https://github-redirect.dependabot.com/janl/mustache.js/issues/731): Allow template caching to be customised, by [@AndrewLeedham].
>
> ### Removed
>
> * [#735](https://github-redirect.dependabot.com/janl/mustache.js/issues/735): Remove `.to_html()`, by [@phillipj].
>
> ## [3.2.1] / 30 December 2019
>
> ### Fixed
>
> * [#733](https://github-redirect.dependabot.com/janl/mustache.js/issues/733): Allow the CLI to use JavaScript views when the project has ES6 modules enabled, by [@eobrain].
>
> ... (truncated)
Commits
- [`aca97b8`](https://github.com/janl/mustache.js/commit/aca97b82c80e8fd1d36162e05e4b289380965d96) :ship: bump to version 4.0.0
- [`f3012a2`](https://github.com/janl/mustache.js/commit/f3012a2477a90ac98a1f8cbd2a53bafaeb4adc7d) Remove mustache.to_html() ([#735](https://github-redirect.dependabot.com/janl/mustache.js/issues/735))
- [`5938104`](https://github.com/janl/mustache.js/commit/5938104ba717a43dfd9e963dd67accdc1a526421) Use fetched template in usage example
- [`3bdd27c`](https://github.com/janl/mustache.js/commit/3bdd27c4e762f665232dc46186c7639e60dbd70e) Add a section about TypeScript defs in README
- [`7f94f13`](https://github.com/janl/mustache.js/commit/7f94f138cbec5592529605cc8af02b58ed20c456) Move CLI and contribute section down in README
- [`39ee6ff`](https://github.com/janl/mustache.js/commit/39ee6ffc2c25ce8f89a906104498450bbfb31527) Point out it's a zero-dependency package in README
- [`c41045b`](https://github.com/janl/mustache.js/commit/c41045baf8fcb14cc6b48db4b784dcef3e82cd26) Removing the rtype API definitions from README
- [`bd742d5`](https://github.com/janl/mustache.js/commit/bd742d5080f70008dc35e58a1d87152938d2f98b) Add response.text() from fetch() in README example
- [`185fd6b`](https://github.com/janl/mustache.js/commit/185fd6be94bc4e9bd9f795c29fc4250fc83c04c8) Update usage examples to not include jQuery
- [`e77fc7c`](https://github.com/janl/mustache.js/commit/e77fc7c7e893bbcc7f7a873ef32703a4eea32450) Allow template caching to be customised ([#731](https://github-redirect.dependabot.com/janl/mustache.js/issues/731))
- Additional commits viewable in [compare view](https://github.com/janl/mustache.js/compare/0.7.3...v4.0.0)
Maintainer changes
This version was pushed to npm by [flipp](https://www.npmjs.com/~flipp), a new releaser for mustache since your current version.
Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting @dependabot rebase.
Dependabot commands and options
You can trigger Dependabot actions by commenting on this PR:
- `@dependabot rebase` will rebase this PR
- `@dependabot recreate` will recreate this PR, overwriting any edits that have been made to it
- `@dependabot merge` will merge this PR after your CI passes on it
- `@dependabot squash and merge` will squash and merge this PR after your CI passes on it
- `@dependabot cancel merge` will cancel a previously requested merge and block automerging
- `@dependabot reopen` will reopen this PR if it is closed
- `@dependabot close` will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually
- `@dependabot ignore this major version` will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)
- `@dependabot ignore this minor version` will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)
- `@dependabot ignore this dependency` will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)
- `@dependabot use these labels` will set the current labels as the default for future PRs for this repo and language
- `@dependabot use these reviewers` will set the current reviewers as the default for future PRs for this repo and language
- `@dependabot use these assignees` will set the current assignees as the default for future PRs for this repo and language
- `@dependabot use this milestone` will set the current milestone as the default for future PRs for this repo and language
You can disable automated security fix PRs for this repo from the [Security Alerts page](https://github.com/twiecki/twiecki.github.io/network/alerts).
Bumps mustache from 0.7.3 to 4.0.0.
Release notes
*Sourced from [mustache's releases](https://github.com/janl/mustache.js/releases).* > ## v3.1.0 > ### Added > > * [#717](https://github-redirect.dependabot.com/janl/mustache.js/issues/717): Added support .js files as views in command line tool, by [@JEStaubach]. > > ### Fixed > > * [#716](https://github-redirect.dependabot.com/janl/mustache.js/issues/716): Bugfix for indentation of inline partials, by [@yotammadem]. > > [#716](https://github-redirect.dependabot.com/janl/mustache.js/issues/716): [janl/mustache.js#716](https://github-redirect.dependabot.com/janl/mustache.js/issues/716) > [#717](https://github-redirect.dependabot.com/janl/mustache.js/issues/717): [janl/mustache.js#717](https://github-redirect.dependabot.com/janl/mustache.js/issues/717) > [@JEStaubach]: https://github.com/JEStaubach > [@yotammadem]: https://github.com/yotammadem > > ## v3.0.2 > ### Fixed > > * [#705](https://github-redirect.dependabot.com/janl/mustache.js/issues/705): Fix indentation of partials, by [@kevindew](https://github.com/kevindew) and [@yotammadem](https://github.com/yotammadem). > > ### Dev > > * [#701](https://github-redirect.dependabot.com/janl/mustache.js/issues/701): Fix test failure for Node 10 and above, by [@andersk](https://github.com/andersk). > * [#704](https://github-redirect.dependabot.com/janl/mustache.js/issues/704): Lint all test files just like the source files, by [@phillipj](https://github.com/phillipj). > * Start experimenting & comparing GitHub Actions vs Travis CI, by [@phillipj](https://github.com/phillipj). > > ## v3.0.1 > [#679](https://github-redirect.dependabot.com/janl/mustache.js/issues/679): Fix partials not rendering tokens when using custom tags, by [@stackchain]. > > [@stackchain]: https://github.com/stackchain > > ## v3.0.0 > ## [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](http://semver.org/) 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](https://github-redirect.dependabot.com/janl/mustache.js/issues/618): Allow rendering properties of primitive types that are not objects, by [@raymond-lam]. > * [#643](https://github-redirect.dependabot.com/janl/mustache.js/issues/643): `Writer.prototype.parse` to cache by tags in addition to template string, by [@raymond-lam]. > * [#664](https://github-redirect.dependabot.com/janl/mustache.js/issues/664): Fix `Writer.prototype.parse` cache, by [@seminaoki]. > > ### Minor > > * [#673](https://github-redirect.dependabot.com/janl/mustache.js/issues/673): Add `tags` parameter to `Mustache.render()`, by [@raymond-lam]. > ... (truncated)Changelog
*Sourced from [mustache's changelog](https://github.com/janl/mustache.js/blob/master/CHANGELOG.md).* > ## [4.0.0] / 16 January 2020 > > Majority of using projects don't have to worry by this being a new major version. > > **TLDR;** if your project manipulates `Writer.prototype.parse | Writer.cache` directly or uses `.to_html()`, you probably have to change that code. > > This release allows the internal template cache to be customised, either by disabling it completely > or provide a custom strategy deciding how the cache should behave when mustache.js parses templates. > > ```js > const mustache = require('mustache'); > > // disable caching > Mustache.templateCache = undefined; > > // or use a built-in Map in modern environments > Mustache.templateCache = new Map(); > ``` > > Projects that wanted to customise the caching behaviour in earlier versions of mustache.js were forced to > override internal method responsible for parsing templates; `Writer.prototype.parse`. In short, that was unfortunate > because there is more than caching happening in that method. > > We've improved that now by introducing a first class API that only affects template caching. > > The default template cache behaves as before and is still compatible with older JavaScript environments. > For those who wants to provide a custom more sopisiticated caching strategy, one can do that with an object that adheres to the following requirements: > > ```ts > { > set(cacheKey: string, value: string): void > get(cacheKey: string): string | undefined > clear(): void > } > ``` > > ### Added > > * [#731](https://github-redirect.dependabot.com/janl/mustache.js/issues/731): Allow template caching to be customised, by [@AndrewLeedham]. > > ### Removed > > * [#735](https://github-redirect.dependabot.com/janl/mustache.js/issues/735): Remove `.to_html()`, by [@phillipj]. > > ## [3.2.1] / 30 December 2019 > > ### Fixed > > * [#733](https://github-redirect.dependabot.com/janl/mustache.js/issues/733): Allow the CLI to use JavaScript views when the project has ES6 modules enabled, by [@eobrain]. > > ... (truncated)Commits
- [`aca97b8`](https://github.com/janl/mustache.js/commit/aca97b82c80e8fd1d36162e05e4b289380965d96) :ship: bump to version 4.0.0 - [`f3012a2`](https://github.com/janl/mustache.js/commit/f3012a2477a90ac98a1f8cbd2a53bafaeb4adc7d) Remove mustache.to_html() ([#735](https://github-redirect.dependabot.com/janl/mustache.js/issues/735)) - [`5938104`](https://github.com/janl/mustache.js/commit/5938104ba717a43dfd9e963dd67accdc1a526421) Use fetched template in usage example - [`3bdd27c`](https://github.com/janl/mustache.js/commit/3bdd27c4e762f665232dc46186c7639e60dbd70e) Add a section about TypeScript defs in README - [`7f94f13`](https://github.com/janl/mustache.js/commit/7f94f138cbec5592529605cc8af02b58ed20c456) Move CLI and contribute section down in README - [`39ee6ff`](https://github.com/janl/mustache.js/commit/39ee6ffc2c25ce8f89a906104498450bbfb31527) Point out it's a zero-dependency package in README - [`c41045b`](https://github.com/janl/mustache.js/commit/c41045baf8fcb14cc6b48db4b784dcef3e82cd26) Removing the rtype API definitions from README - [`bd742d5`](https://github.com/janl/mustache.js/commit/bd742d5080f70008dc35e58a1d87152938d2f98b) Add response.text() from fetch() in README example - [`185fd6b`](https://github.com/janl/mustache.js/commit/185fd6be94bc4e9bd9f795c29fc4250fc83c04c8) Update usage examples to not include jQuery - [`e77fc7c`](https://github.com/janl/mustache.js/commit/e77fc7c7e893bbcc7f7a873ef32703a4eea32450) Allow template caching to be customised ([#731](https://github-redirect.dependabot.com/janl/mustache.js/issues/731)) - Additional commits viewable in [compare view](https://github.com/janl/mustache.js/compare/0.7.3...v4.0.0)Maintainer changes
This version was pushed to npm by [flipp](https://www.npmjs.com/~flipp), a new releaser for mustache since your current version.Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting
@dependabot rebase
.Dependabot commands and options
You can trigger Dependabot actions by commenting on this PR: - `@dependabot rebase` will rebase this PR - `@dependabot recreate` will recreate this PR, overwriting any edits that have been made to it - `@dependabot merge` will merge this PR after your CI passes on it - `@dependabot squash and merge` will squash and merge this PR after your CI passes on it - `@dependabot cancel merge` will cancel a previously requested merge and block automerging - `@dependabot reopen` will reopen this PR if it is closed - `@dependabot close` will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually - `@dependabot ignore this major version` will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself) - `@dependabot ignore this minor version` will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself) - `@dependabot ignore this dependency` will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself) - `@dependabot use these labels` will set the current labels as the default for future PRs for this repo and language - `@dependabot use these reviewers` will set the current reviewers as the default for future PRs for this repo and language - `@dependabot use these assignees` will set the current assignees as the default for future PRs for this repo and language - `@dependabot use this milestone` will set the current milestone as the default for future PRs for this repo and language You can disable automated security fix PRs for this repo from the [Security Alerts page](https://github.com/twiecki/twiecki.github.io/network/alerts).