Skip to content

Bump v-mask from 2.2.4 to 2.3.0

Wesley Klop requested to merge dependabot/npm_and_yarn/v-mask-2.3.0 into develop

Created by: dependabot[bot]

Bumps v-mask from 2.2.4 to 2.3.0.

Release notes

Sourced from v-mask's releases.

v2.3.0

2.3.0 (2021-09-27)

Features

  • filter: make filter work with RegExps, functions and respect custom replacers similarly to directive (286deda), closes #499

One of the common use cases for that is number as formatting currencies:

\<template>
  <span>{{ '1000' | VMask(currencyMask) }</span>
  <!-- prints `$1,000` -->
</template>
<script>
  import createNumberMask from 'text-mask-addons/dist/createNumberMask';
  const currencyMask = createNumberMask({
    prefix: '$',
    allowDecimal: true,
    includeThousandsSeparator: true,
    allowNegative: false,
  });
  export default {
    data: () => ({
      currencyMask,
      myInputModel: ''
    })
  }
</script>

Thanks to @​CristianUser for the idea.

Commits
  • 97e6fd9 Merge pull request #529 from probil/feature/#499--function-usage-on-filter
  • 2c313e3 docs(README): describe filter usage with different types of masks, minor impr...
  • 286deda feat(filter): make filter work with RegExps, functions and respect custom rep...
  • cac67d0 refactor(core): extract extendMaskReplacers.js to a separate file
  • bbed3e3 refactor(core): extract parseMask to a separate file, improve JSDoc
  • adcd8d9 refactor(core): move maskToRegExpMask.js to utils, fix JSDoc typos
  • 3b2d6df Merge pull request #523 from probil/renovate/major-jest-monorepo
  • 7e30800 chore(test): fix tests running in jest@27+
  • 21395ea chore(deps): update dependency jest to v27
  • 179ac4a chore(deps): update dependency rollup to v2.57.0
  • 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)

Merge request reports