Skip to content

Conversation

@dependabot-preview
Copy link
Contributor

@dependabot-preview dependabot-preview bot commented Nov 12, 2018

Bumps mustache from 2.3.2 to 3.0.1.

Release notes

Sourced from mustache's releases.

v3.0.1

#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 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].

Migrating from mustache.js v2.x to v3.x

Rendering properties of primitive types

We have ensured properties of primitive types can be rendered at all times. That means Array.length, String.length and similar. A corner case where this could cause unexpected output follows:

View:

{
  stooges: [
    { name: "Moe" },
    { name: "Larry" },
    { name: "Curly" }
  ]
}

Template:

{{#stooges}}
  {{name}}: {{name.length}} characters
{{/stooges}}
... (truncated)
Changelog

Sourced from mustache's changelog.

[3.0.1] / 11 November 2018

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

[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].

Migrating from mustache.js v2.x to v3.x

Rendering properties of primitive types

We have ensured properties of primitive types can be rendered at all times. That means Array.length, String.length
and similar. A corner case where this could cause unexpected output follows:

View:

{
  stooges: [
    { name: "Moe" },
    { name: "Larry" },
    { name: "Curly" }
  ]
}

Template:

{{#stooges}}
  {{name}}: {{name.length}} characters
{{/stooges}}
... (truncated)
Commits
  • 38b1448 🚢 bump to version 3.0.1
  • d170f41 Add test to verify custom tags are used in partials for via .render()
  • b86665d Use older version of eslint to stay pre Node.js 1 compliant a little longer
  • 5a5c1d4 Fix partials not rendering tokens when using custom tags (#678)
  • 17510f0 🚢 bump to version 3.0.0
  • f452acb Update v3.0.0 release date in changelog
  • 8ee916a Changelog for v3.0.0 (#674)
  • a2699e4 Allow rendering properties of primitive types that are not objects (#618)
  • efdeb55 Add tags parameter to .render()
  • 8e45409 Update README.md to reflect correct caching behavior
  • Additional commits viewable in compare view

Dependabot compatibility score

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 will not automatically merge this PR because it includes a major update to a production dependency.


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 cancel merge will cancel a previously requested merge
  • @dependabot reopen will reopen this PR if it is closed
  • @dependabot ignore this [patch|minor|major] version will close this PR and stop Dependabot creating any more for this minor/major 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
  • @dependabot badge me will comment on this PR with code to add a "Dependabot enabled" badge to your readme

Additionally, you can set the following in your Dependabot dashboard:

  • Update frequency (including time of day and day of week)
  • Automerge options (never/patch/minor, and dev/runtime dependencies)
  • Pull request limits (per update run and/or open at any time)
  • Out-of-range updates (receive only lockfile updates, if desired)
  • Security updates (receive only security updates, if desired)

Finally, you can contact us by mentioning @dependabot.

@dependabot-preview dependabot-preview bot added the dependencies Pull requests that update a dependency file label Nov 12, 2018
@dependabot-preview dependabot-preview bot force-pushed the dependabot/npm_and_yarn/mustache-3.0.1 branch from fb9796c to fe3c4a2 Compare November 12, 2018 13:49
@dependabot-preview dependabot-preview bot force-pushed the dependabot/npm_and_yarn/mustache-3.0.1 branch from fe3c4a2 to 2d35dde Compare May 3, 2019 07:14
@dependabot-preview dependabot-preview bot force-pushed the dependabot/npm_and_yarn/mustache-3.0.1 branch from 2d35dde to dd3d4c4 Compare May 10, 2019 07:17
@dependabot-preview dependabot-preview bot force-pushed the dependabot/npm_and_yarn/mustache-3.0.1 branch from dd3d4c4 to 6aec96d Compare May 30, 2019 06:49
@dependabot-preview
Copy link
Contributor Author

Superseded by #69.

@dependabot-preview dependabot-preview bot deleted the dependabot/npm_and_yarn/mustache-3.0.1 branch August 22, 2019 05:27
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

dependencies Pull requests that update a dependency file

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant