Skip to content

Conversation

@dependabot-preview
Copy link
Contributor

@dependabot-preview dependabot-preview bot commented Apr 1, 2020

Bumps mustache from 3.2.1 to 4.0.1.

Changelog

Sourced from mustache's changelog.

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

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.

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:

{
  set(cacheKey: string, value: string): void
  get(cacheKey: string): string | undefined
  clear(): void
}

Added

Removed

Commits
  • 1de94bb 🚢 bump to version 4.0.1
  • f3bd888 Fix custom delimiters in nested partials (#739)
  • aca97b8 🚢 bump to version 4.0.0
  • f3012a2 Remove mustache.to_html() (#735)
  • 5938104 Use fetched template in usage example
  • 3bdd27c Add a section about TypeScript defs in README
  • 7f94f13 Move CLI and contribute section down in README
  • 39ee6ff Point out it's a zero-dependency package in README
  • c41045b Removing the rtype API definitions from README
  • bd742d5 Add response.text() from fetch() in README example
  • 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)
  • Out-of-range updates (receive only lockfile updates, if desired)
  • Security updates (receive only security updates, if desired)

@dependabot-preview dependabot-preview bot added the dependencies Pull requests that update a dependency file label Apr 1, 2020
@dependabot-preview dependabot-preview bot force-pushed the dependabot/npm_and_yarn/mustache-4.0.1 branch from 497372e to aaf1fd0 Compare April 1, 2020 13:27
@Tyriar Tyriar added this to the 4.5.0 milestone Apr 1, 2020
@Tyriar Tyriar self-assigned this Apr 1, 2020
@Tyriar Tyriar merged commit 6d52e17 into master Apr 1, 2020
@Tyriar Tyriar deleted the dependabot/npm_and_yarn/mustache-4.0.1 branch April 1, 2020 13:59
Tyriar added a commit to microsoft/vscode that referenced this pull request Apr 9, 2020
xtermjs/xterm.js@c5593bd...21b490f

Link provider fix
- Merge pull request xtermjs/xterm.js#2710 from jmbockhorst/linkFix

Leaked reference
- Merge pull request xtermjs/xterm.js#2767 from JavaCS3/fix/addDisposableDomListener-leak

Missing cursor fix
- Merge pull request xtermjs/xterm.js#2731 from jerch/fix_2729

Accessibility fix
- Merge pull request xtermjs/xterm.js#2814 from Tyriar/role_list

Fixes #93480

Showcase

Merge pull request xtermjs/xterm.js#2761 from slel/patch-1
Merge pull request xtermjs/xterm.js#2723 from UziTech/patch-1

Test, doc, build improvements

Merge pull request xtermjs/xterm.js#2766 from Tyriar/readme
Merge pull request xtermjs/xterm.js#2786 from Tyriar/eslint
Merge pull request xtermjs/xterm.js#2799 from Tyriar/enum_like_upper_case
Merge pull request xtermjs/xterm.js#2730 from Tyriar/ts38
Merge pull request xtermjs/xterm.js#2753 from jerch/fix_vtfeatures_template
Merge pull request xtermjs/xterm.js#2754 from jerch/fix_vtfeatures_2
Merge pull request xtermjs/xterm.js#2722 from Tyriar/linux_tests
Merge pull request xtermjs/xterm.js#2712 from jmbockhorst/playwright
Merge pull request xtermjs/xterm.js#2800 from Tyriar/upgrade_mac

Many dependency updates

Merge pull request xtermjs/xterm.js#2758 from Tyriar/acorn
Merge pull request xtermjs/xterm.js#2770 from xtermjs/dependabot/npm_and_yarn/deep-eq…
Merge pull request xtermjs/xterm.js#2779 from xtermjs/dependabot/npm_and_yarn/webpack…
Merge pull request xtermjs/xterm.js#2760 from xtermjs/dependabot/npm_and_yarn/acorn-5…
Merge pull request xtermjs/xterm.js#2772 from xtermjs/dependabot/npm_and_yarn/https-p…
Merge pull request xtermjs/xterm.js#2783 from Tyriar/deps
Merge pull request xtermjs/xterm.js#2795 from xtermjs/dependabot/npm_and_yarn/types/w…
Merge pull request xtermjs/xterm.js#2801 from xtermjs/dependabot/npm_and_yarn/types/w…
Merge pull request xtermjs/xterm.js#2780 from xtermjs/dependabot/npm_and_yarn/types/w…
Merge pull request xtermjs/xterm.js#2792 from xtermjs/dependabot/npm_and_yarn/mocha-7…
Merge pull request xtermjs/xterm.js#2803 from Tyriar/more_deps
Merge pull request xtermjs/xterm.js#2805 from xtermjs/dependabot/npm_and_yarn/mustach…
Merge pull request xtermjs/xterm.js#2810 from xtermjs/dependabot/npm_and_yarn/deep-eq…
Merge pull request xtermjs/xterm.js#2815 from xtermjs/dependabot/npm_and_yarn/nyc-15.0.1
Merge pull request xtermjs/xterm.js#2820 from xtermjs/dependabot/npm_and_yarn/typescr…
Merge pull request xtermjs/xterm.js#2819 from xtermjs/dependabot/npm_and_yarn/typescr…
lemanschik pushed a commit to code-oss-dev/code that referenced this pull request Nov 25, 2022
xtermjs/xterm.js@c5593bd...21b490f

Link provider fix
- Merge pull request xtermjs/xterm.js#2710 from jmbockhorst/linkFix

Leaked reference
- Merge pull request xtermjs/xterm.js#2767 from JavaCS3/fix/addDisposableDomListener-leak

Missing cursor fix
- Merge pull request xtermjs/xterm.js#2731 from jerch/fix_2729

Accessibility fix
- Merge pull request xtermjs/xterm.js#2814 from Tyriar/role_list

Fixes microsoft#93480

Showcase

Merge pull request xtermjs/xterm.js#2761 from slel/patch-1
Merge pull request xtermjs/xterm.js#2723 from UziTech/patch-1

Test, doc, build improvements

Merge pull request xtermjs/xterm.js#2766 from Tyriar/readme
Merge pull request xtermjs/xterm.js#2786 from Tyriar/eslint
Merge pull request xtermjs/xterm.js#2799 from Tyriar/enum_like_upper_case
Merge pull request xtermjs/xterm.js#2730 from Tyriar/ts38
Merge pull request xtermjs/xterm.js#2753 from jerch/fix_vtfeatures_template
Merge pull request xtermjs/xterm.js#2754 from jerch/fix_vtfeatures_2
Merge pull request xtermjs/xterm.js#2722 from Tyriar/linux_tests
Merge pull request xtermjs/xterm.js#2712 from jmbockhorst/playwright
Merge pull request xtermjs/xterm.js#2800 from Tyriar/upgrade_mac

Many dependency updates

Merge pull request xtermjs/xterm.js#2758 from Tyriar/acorn
Merge pull request xtermjs/xterm.js#2770 from xtermjs/dependabot/npm_and_yarn/deep-eq…
Merge pull request xtermjs/xterm.js#2779 from xtermjs/dependabot/npm_and_yarn/webpack…
Merge pull request xtermjs/xterm.js#2760 from xtermjs/dependabot/npm_and_yarn/acorn-5…
Merge pull request xtermjs/xterm.js#2772 from xtermjs/dependabot/npm_and_yarn/https-p…
Merge pull request xtermjs/xterm.js#2783 from Tyriar/deps
Merge pull request xtermjs/xterm.js#2795 from xtermjs/dependabot/npm_and_yarn/types/w…
Merge pull request xtermjs/xterm.js#2801 from xtermjs/dependabot/npm_and_yarn/types/w…
Merge pull request xtermjs/xterm.js#2780 from xtermjs/dependabot/npm_and_yarn/types/w…
Merge pull request xtermjs/xterm.js#2792 from xtermjs/dependabot/npm_and_yarn/mocha-7…
Merge pull request xtermjs/xterm.js#2803 from Tyriar/more_deps
Merge pull request xtermjs/xterm.js#2805 from xtermjs/dependabot/npm_and_yarn/mustach…
Merge pull request xtermjs/xterm.js#2810 from xtermjs/dependabot/npm_and_yarn/deep-eq…
Merge pull request xtermjs/xterm.js#2815 from xtermjs/dependabot/npm_and_yarn/nyc-15.0.1
Merge pull request xtermjs/xterm.js#2820 from xtermjs/dependabot/npm_and_yarn/typescr…
Merge pull request xtermjs/xterm.js#2819 from xtermjs/dependabot/npm_and_yarn/typescr…
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