Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Bump mustache from 3.1.0 to 3.2.1 #19085

Merged
merged 1 commit into from
Jan 5, 2020

Conversation

dependabot-preview[bot]
Copy link
Contributor

Bumps mustache from 3.1.0 to 3.2.1.

Changelog

Sourced from mustache's changelog.

[3.2.1] / 30 December 2019

Fixed

  • #733: Allow the CLI to use JavaScript views when the project has ES6 modules enabled, by [@eobrain].

[3.2.0] / 18 December 2019

Added

  • #728: Expose ECMAScript Module in addition to UMD (CommonJS, AMD & global scope), by [@phillipj] and [@zekth].

Using mustache.js as an ES module

To stay backwards compatible with already using projects, the default exposed module format is still UMD. That means projects using mustache.js as an CommonJS, AMD or global scope module, from npm or directly from github.com can keep on doing that for now.

For those projects who would rather want to use mustache.js as an ES module, the mustache/mustache.mjs file has to be imported directly.

Below are some usage scenarios for different runtimes.

Modern browser with ES module support

<!-- index.html -->
<script type="module">
  import mustache from "https://unpkg.com/mustache@3.2.0/mustache.mjs"
console.log(mustache.render('Hello {{name}}!', { name: 'Santa' }))
// Hello Santa!
</script>

Node.js (>= v13.2.0 or using --experimental-modules flag)

// index.mjs
import mustache from 'mustache/mustache.mjs'
console.log(mustache.render('Hello {{name}}!', { name: 'Santa' }))
// Hello Santa!

ES Module support for Node.js will be improved in the future when Conditional Exports is enabled by default rather than being behind an experimental flag.

More info in Node.js ECMAScript Modules docs.

... (truncated)
Commits
  • 8e52a4a 🚢 bump to version 3.2.1
  • aaaa94f Allow JavaScript views to have the .cjs suffix.
  • 70d3e7e 🚢 bump to version 3.2.0
  • 492d683 🚢 bump to version 3.2.0-beta.0
  • f8d7a8d Improve pre-commit hook keeping version in sync to handle beta versions
  • 86fa37d Bump .version in mustache.js in git hook when version has changed
  • e0a3631 Add CI test verifying native ES Module usage for Node.js
  • ddad1a7 Add CI test to verify build output is in sync with source (.js vs .mjs)
  • b72d1a3 Add CI test verifying Mustache works with Deno
  • c28d73b Make mustache.mjs work with Deno
  • 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 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 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 the .dependabot/config.yml file in this repo:

  • Update frequency
  • Out-of-range updates (receive only lockfile updates, if desired)
  • Security updates (receive only security updates, if desired)

@dependabot-preview dependabot-preview bot added dependencies Update of dependencies worktree labels Jan 5, 2020
@mui-pr-bot
Copy link

No bundle size changes comparing 157404d...d265935

Generated by 🚫 dangerJS against d265935

@eps1lon
Copy link
Member

eps1lon commented Jan 5, 2020

@dependabot squash and merge

@dependabot-preview dependabot-preview bot merged commit 76fccf0 into master Jan 5, 2020
@dependabot-preview dependabot-preview bot deleted the dependabot/npm_and_yarn/mustache-3.2.1 branch January 5, 2020 08:42
m4theushw pushed a commit to m4theushw/material-ui that referenced this pull request Jan 6, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
dependencies Update of dependencies
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants