Skip to content

build(deps): bump mustache from 3.1.0 to 3.2.0 in /backend

Hannes Heine requested to merge pr2572head into pr2572base

Created by: Tirokk

dependabot-preview[bot] Authored by dependabot-preview[bot] Merged


Bumps mustache from 3.1.0 to 3.2.0.

Changelog

Sourced from mustache's changelog.

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

Deno

// index.ts
import mustache from 'https://unpkg.com/mustache@3.2.0/mustache.mjs'
</tr></table> ... (truncated)
Commits
  • 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
  • f25abbe Introduce build step to generate .js | .min.js from .mjs
  • b523b16 Turn source code into a plain ES module without UMD wrapper
  • 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 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
  • @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)
  • Pull request limits (per update run and/or open at any time)
  • Automerge options (never/patch/minor, and dev/runtime dependencies)
  • Out-of-range updates (receive only lockfile updates, if desired)
  • Security updates (receive only security updates, if desired)

Merge request reports