Skip to content
This repository has been archived by the owner on Sep 20, 2023. It is now read-only.

chore(deps): update dependency inputmask to v5 #119

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

renovate[bot]
Copy link
Contributor

@renovate renovate bot commented Jun 19, 2022

Mend Renovate

This PR contains the following updates:

Package Change Age Adoption Passing Confidence
inputmask 4.0.9 -> 5.0.8 age adoption passing confidence

Release Notes

RobinHerbots/Inputmask (inputmask)

v5.0.8

Compare Source

Addition
  • Regex unicode categories
  • Comma input turns to decimal #​2577 => add substituteRadixPoint option to numeric alias
Updates
  • Update GH pages
  • fix test resolving when using quantifiers within an optional group
  • drop IE Mobile support
  • datetime alias
    • change default for insertModeVisual to false. - #​2664
  • consolidate keydown, keypress & keyup into keyEvent
  • refactor keyboard event keycode to key
  • refactor validPositions from object to array. - #​2428
  • add keepStatic behavior to optional parts - #​2619
  • fix wrong caret positioning with RTL
  • fix value reversing with noValuePatching & numericInput - #​2629
Fixed
  • Inputmask fails to handle null value #​1485
  • crash the input value #​2529
  • Problems with deleting static chars in alternator mask #​2648
  • in firefox placeholders are not removed - not even on the demo page #​2667
  • Tab not moving to next field #​2644
  • Regex unicode categories cause RangeError: Maximum call stack size exceeded #​2639
  • error message: Cannot read properties of undefined (reading 'allowMinus') #​2642
  • fix iphone\ios bug for cyrillic keyboard - #​2637
  • getemptymask returns a reversed string in 5.x #​2605
  • DateTime milliseconds (unmaskedvalue) #​2597
  • Negation symbol not working (12345) #​2596
  • Is it possible to create a definition for optional digits/characters? #​2524 (regression)
  • Propagation of the click event to the container #​2423
  • Minus sign can't be entered into currency field #​2583
  • ReferenceError: self is not defined #​2581

v5.0.7

Compare Source

Addition
  • Numeric alias
  • Correctly handle nested optionals (email alias)
  • character substitution
  • extend definition options - #​2524
    • optional
    • static
    • generated
  • add casing definition option to the readme
Updates
  • change behavior of keepStatic option (see readme)
  • update ip alias to correctly handle the greedy: true option
  • fix greedy option with quantifiers
  • fix error in mask-lexer for \w in regex
  • currency alias: add character substitution for the radixpoint
  • alias \d to [0-9] in regex masks
  • clear masktemplate before submitting regardsless of the clearMaskOnLostFocus option
Fixed
  • Add new option "stripLeadingZeroes" to the numeric extension #​2523
  • Alternation like (9|999) shows extra placeholder #​2277
  • Numeric shortcut not working for decimal places #​2553
  • Fix backspace bug with insertMode: false #​2572
  • InsertMode toggle not functioning #​2565
  • Uncaught InternalError: too much recursion freezes the browser #​2570 (Regex issue)
  • Different behaviour configuration by attribute vs initialization #​2530
  • The requested module './inputmask.js' does not provide an export named 'default' #​2560
  • Issue with leapday #​2546
  • Not removing the decimal separator in suffixed inputs #​2511
  • Cant type dot on iphone #​2541
  • How can I replace the dot for comma while tipping? #​2542
  • Issue with global Inputmask.prototype reference (easy fix) #​2544
  • crash the input value #​2529 - part 1
  • fix datetime with jitmasking - #​2297
  • min and max not working in datetime for 12 Hours format i.e. dd/mm/yyyy hh:MM:ss TT #​2297

v5.0.6

Compare Source

Addition
  • validationEventTimeOut option
Updates
  • User Webpack/Terserplugin for minification
  • Fix caret shift with negative numbers in numeric aliases
  • enhance alternation logic
  • update datetime alias
  • datetime prefillYear option
    Enable/disable prefilling of the year.
    Although you can just over type the proposed value without deleting, many seems to see a problem with the year prediction.
    This options is to disable this feature.
  • better handle maxLength
Fixed
  • Decimal mask with maxlength turns integer into real number on maximum length #​2260
  • jitMasking removing a decimal after the comma #​2494
  • Issue with negative values and prefix in currency mask #​2476
  • persian/arabic currency mask with regex #​2472
  • Issue with negative values and prefix in currency mask #​2476
  • Selecting all + backspace goes to the end of the input #​2336
  • Error thrown, if only insert radixpoint and leave field and placeholder = "" #​2475
  • Datetime alias with day auto-fill problem #​2480
  • Suppress DateTime year autocomplete? #​2395
  • Bug in iframes #​2461
  • stuck with cursor on / text of date with datetime extension #​2464
  • Inputmask with a space as a placeholder and leap year date #​2451
  • setvalue() "removes" number before comma when "positionCaretOnClick" and "digitsOptional" are set. #​2457
  • Date field results into buggy output: 30/02/yy0y #​2456
  • cant enter the leap year using jit masking #​2453
  • Basically the same issue appears also when you have a valid date in the input but want to change something. #​2435
  • Can't remove "placeholder" from datetime alias #​2438
  • showMaskOnFocus: false causes 'Illegal invocation' error #​2436
  • Input Mask for search fields (partially filled mask) #​2425
  • HandleNativePlaceholder function prevents use of dynamic placeholders. #​2433
  • '0' getting added unnecessarily if navigating using arrow key for datetime input mask #​2289
  • jitmasking ssn #​2420
  • Removing the mask from Input results in TypeError: Cannot read property 'dependencyLib' of undefined #​2403
  • Country Code Problem #​2397
  • Error thrown in unmask after upgrade to 5.0.5 #​2375
  • Inputmask.remove(document.getElementById(selector)) is not working in Node after version 5.0.5 update #​2373
  • date format yyyy-mm-dd doesn't work with min and max #​2360
  • Datetime inputFormat mm/dd/yyyy allows entry of 02/3 without padding the day #​1922

v5.0.5

Compare Source

HOT FIX: jqlite dependency error

[5.0.4 - 07/08/2020]
Addition
  • usePrototypeDefinitions option
  • numeric alias
    • SetMaxOnOverflow option
Updates
  • handle ^ and $ in regex masks
  • datetime alias: add autofill logic to year
    • complete with current year
    • allow filled year be overtyped when min date is provided,
  • <input-mask> enhance attribute handling
Fixed
  • The fractional part cannot be typed if negative values are displayed in parentheses #​1836
  • version 3.x to 4.x regex issue #​1727
  • unmask regression? #​2315
    • only keep significant parts when using multiple masks
  • Datetime alias 29/02/a valid year does not always allows #​2286
  • 'input-mask' has already been defined as a custom element #​2285
  • Using min with alias integer not working correctly because of postValidation #​2284
  • fix double events when using jQuery.clone function
  • Alternative for removed integerDigits property? #​2278
  • Incorrect mask operation when deleting the value set through "value", "val", "setvalue". #​2279
  • Cursor jumps to end of mask if changing value during typing #​2274

v5.0.4

Compare Source

v5.0.3

Compare Source

Fixed
  • regex mask crashes for long input size #​2276
  • Pasted value is getting mixed up #​2255
  • Swapped digits on paste with specific prefix #​2256

v5.0.2

Compare Source

Addition
Fixed
  • Numeric alias: cannot clear input on blur #​2235
  • Datetime alias H3:MM month validation fails #​2239

v5.0.1

Compare Source

Addition
  • ssn mask
Updates
  • numeric aliases: set value with jQuery.val or native input.value =
  • numeric aliases: make min/max block input instead of setting the min/max value
  • jitMasking: autofill statics to improve the user experience
Fixed
  • Backspace not removing characters in some cases #​2246
  • jitMasking and caret position with static characters #​2243
  • datetime does not working in IE11 #​2238

v5.0.0

Compare Source

Addition
  • add indian numbering support in numeric alias (indianns alias)
  • add roundingFN option to numeric alias. (currency, decimal, ...)
  • input-inputmode support via inputmode option (if supported by browser)
  • add shortcuts option in numeric alias.
  • add insertModeVisual option
Updates
  • postValidation
    • add inputchar to arguments
    • also validate when the result is false**
  • change behavior of keepStatic option
    • multiple masks => default true
    • all other masks => default false
  • add more tokens for datetime format
  • refactor inputfallbackevent
  • drop colormask support
  • drop disablePredictiveText option (was hack via colorMask)
  • ignore generated statics in revalidateMask
  • fix mask curruption when alternating and using jitmasking
  • Casing option will also allow case insensitive entry for static symbols
  • refactor numeric alias
  • package & bundling
  • enhance regex alternations. ex: [01][0-9]|2[0-3] => ([01][0-9]|2[0-3])
  • extend command object
    • rewritePosition
  • revert insert-mode caret as selection instead of colored caret
    • make delete/backspace behave like normal
    • make visual optional
Fixed
  • Decimal - auto change comma to dot (numeric keyboard) #​2098
  • If a decimal < 0.000001 (scale = 6), masked value incorrect. #​2110
  • DateTime - HH:MM format doesn't accept some numbers for minutes #​2209
  • Set currency prefix to empty by default #​2066
  • NumericInput: Pasting integers without selecting results in extra 0s #​2165
  • Wrong mask application on decimal field #​2188
  • bootstrap-datepicker: date bug in mobile version #​2195
  • Time 24 Hours Issue. #​2194
  • 'Decimal'. New entered value is automatically prefixed with '.' #​2189
  • inputmode not working #​2193
  • Does not work on XHTML pages. #​2187
  • isInputEventSupported method is creating a non-passive event #​2185
  • No message with HTML5 validation #​841
  • "setvalue" for empty value and "clearMaskOnLostFocus=false" duplicates mask suffix #​2181
  • Uncaught TypeError: $(...).inputmask is not a function #​1933
  • 12Hr Format time Hour error #​2121
  • Backspace alters value/mask in datetime #​2163
  • Suffix and white-space groupSeparator problem #​813
  • Char before quantifier gets duplicated in tests #​2152
  • FireFox - mask placeholder doesn't disappear #​2138
  • im-insert not valid html #​2122
  • No message with HTML5 validation #​841
  • Manual input via virtual keyboard doesn't work #​2116
  • Can't insert more than 2 letters in Firefox #​2114
  • InputMask not getting fresh placeholder value #​2111
  • Chrome autofill does not work with Inputmask #​1330
  • Paste in inputmask #​2088
  • The first character is truncated when masking. #​2089
  • No leading zero for single-digit hours KO #​2061
  • Only 1st placeholder is displayed for fields with same alias numeric #​2060
  • Original placeholder disappear when mouseout in IE #​2047
  • Document bug with disabled inputs caused by Firefox 64 and older #​2045
  • Behaviour of v3 with hours not possible anymore #​1918
  • Unmasked value of datetime alias, if empty, returns the placeholder #​2039
  • ...

Configuration

📅 Schedule: Branch creation - "every weekend" (UTC), Automerge - At any time (no schedule defined).

🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.

Rebasing: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.

🔕 Ignore: Close this PR and you won't be reminded about these updates again.


  • If you want to rebase/retry this PR, check this box

This PR has been generated by Mend Renovate. View repository job log here.

@renovate renovate bot added the Type: Maintenance Manutenção label Jun 19, 2022
@renovate renovate bot force-pushed the renovate/deps/inputmask-5.x branch from 75dcf84 to 2d94b8b Compare March 30, 2023 00:14
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
Type: Maintenance Manutenção
Development

Successfully merging this pull request may close these issues.

0 participants