github uNmAnNeR/imaskjs v7.0.0

latest releases: v7.6.1, v7.6.0, v7.5.1-alpha.0...
15 months ago

It's mostly a maintenance release. The main big change is to use Typescript everywhere. With some of any of course.

Some other changes:

  • new api documentation generated by typedoc
  • IE support has been dropped but compilation target is still > 0.25%, not dead
  • use @babel/runtime-corejs3 as runtime dependency
  • use npm workspaces, nodejs builtin test tools, update build pipeline

Core:

  • prepare callback has been renamed to prepareChar. prepare now accepts the entire string. This can be useful if you need to handle pasting a value.
  • resolve method no longer returns a value
  • doParse and doFormat have been removed
  • Number mask:
    • signed option has been removed. Use min and max instead.
    • Now defaults are min=Number.MIN_SAFE_INTEGER and max=Number.MAX_SAFE_INTEGER
    • If the mask can only accept negative values, a minus sign is automatically added

Vue:

  • add types

Angular:

  • update to 16

Don't miss a new imaskjs release

NewReleases is sending notifications on new releases.