Skip to content
Permalink

Comparing changes

Choose two branches to see what’s changed or to start a new pull request. If you need to, you can also or learn more about diff comparisons.

Open a pull request

Create a new pull request by comparing changes across two branches. If you need to, you can also . Learn more about diff comparisons here.
base repository: janl/mustache.js
Failed to load repositories. Confirm that selected base ref is valid, then try again.
Loading
base: v4.0.0
Choose a base ref
...
head repository: janl/mustache.js
Failed to load repositories. Confirm that selected head ref is valid, then try again.
Loading
compare: v4.0.1
Choose a head ref
  • 2 commits
  • 8 files changed
  • 2 contributors

Commits on Mar 15, 2020

  1. Verified

    This commit was created on GitHub.com and signed with GitHub’s verified signature. The key has expired.
    Copy the full SHA
    f3bd888 View commit details
  2. 🚢 bump to version 4.0.1

    phillipj committed Mar 15, 2020
    1
    Copy the full SHA
    1de94bb View commit details
Showing with 32 additions and 8 deletions.
  1. +9 −0 CHANGELOG.md
  2. +2 −2 mustache.js
  3. +1 −1 mustache.js.nuspec
  4. +1 −1 mustache.min.js
  5. +2 −2 mustache.mjs
  6. +1 −1 package-lock.json
  7. +1 −1 package.json
  8. +15 −0 test/partial-test.js
9 changes: 9 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -3,6 +3,12 @@
All notable changes to this project will be documented in this file.
This project adheres to [Semantic Versioning](http://semver.org/).

## [4.0.1] / 15 March 2020

### Fixed

* [#739]: Fix custom delimiters in nested partials, by [@aielo].

## [4.0.0] / 16 January 2020

Majority of using projects don't have to worry by this being a new major version.
@@ -461,6 +467,7 @@ This release is made to revert changes introduced in [2.3.1] that caused unexpec
* Fixed a bug that clashed with QUnit (thanks [@kannix]).
* Added volo support (thanks [@guybedford]).

[4.0.1]: https://github.com/janl/mustache.js/compare/v4.0.0...v4.0.1
[4.0.0]: https://github.com/janl/mustache.js/compare/v3.2.1...v4.0.0
[3.2.1]: https://github.com/janl/mustache.js/compare/v3.2.0...v3.2.1
[3.2.0]: https://github.com/janl/mustache.js/compare/v3.1.0...v3.2.0
@@ -535,8 +542,10 @@ This release is made to revert changes introduced in [2.3.1] that caused unexpec
[#733]: https://github.com/janl/mustache.js/issues/733
[#731]: https://github.com/janl/mustache.js/issues/731
[#735]: https://github.com/janl/mustache.js/issues/735
[#739]: https://github.com/janl/mustache.js/issues/739

[@afc163]: https://github.com/afc163
[@aielo]: https://github.com/aielo
[@andersk]: https://github.com/andersk
[@Andersos]: https://github.com/Andersos
[@AndrewLeedham]: https://github.com/AndrewLeedham
4 changes: 2 additions & 2 deletions mustache.js
Original file line number Diff line number Diff line change
@@ -644,7 +644,7 @@
if (tagIndex == 0 && indentation) {
indentedValue = this.indentPartial(value, indentation, lineHasNonSpace);
}
return this.renderTokens(this.parse(indentedValue, tags), context, partials, indentedValue);
return this.renderTokens(this.parse(indentedValue, tags), context, partials, indentedValue, tags);
}
};

@@ -666,7 +666,7 @@

var mustache = {
name: 'mustache.js',
version: '4.0.0',
version: '4.0.1',
tags: [ '{{', '}}' ],
clearCache: undefined,
escape: undefined,
2 changes: 1 addition & 1 deletion mustache.js.nuspec
Original file line number Diff line number Diff line change
@@ -2,7 +2,7 @@
<package >
<metadata>
<id>mustache.js</id>
<version>4.0.0</version>
<version>4.0.1</version>
<authors>mustache.js Authors</authors>
<licenseUrl>https://github.com/janl/mustache.js/blob/master/LICENSE</licenseUrl>
<projectUrl>http://mustache.github.com/</projectUrl>
Loading