ustaxes / UsTaxes

Tax filing web application
https://ustaxes.org
GNU Affero General Public License v3.0
1.43k stars 103 forks source link

Bump react-number-format from 4.9.4 to 5.3.4 #2057

Closed dependabot[bot] closed 5 months ago

dependabot[bot] commented 7 months ago

Bumps react-number-format from 4.9.4 to 5.3.4.

Release notes

Sourced from react-number-format's releases.

Bug fix

  • Fix caret position not getting corrected when there is selection in the input. #780

Bug fixes

  • Fix caret position getting reset on jest + testing library. #814 by @​csantos1113
  • Fix: pass currentTarget to onFocus. #815 by @​csantos1113
  • Fix #817, wrong caret position getting set when . is pressed on empty value and fixedDecimalScale is set.

Bug fixes

  • Fix infinite rerender when values.value is used valueIsNumericString not provided. #786
  • Fix for delete of decimalSeparator happening when fixeDecimalScale is set. #789

Bug fixes with NumberFormatBase API improvement.

Bug fixes

  • Fix for prop values on not updating (not reflecting on input) on StrictMode. Regression of v5.2.0
  • fix(number_format_base): prevent warnings in SRR when using useLayoutEffect. by @​NicolasMontone

Regression fix from 5.2.0

Regression fix: try to correct the value if the old formatted value is provided but the format prop changes

Bug fixes and valueIsNumericString prop improvement.

Improvements

  • Optimize rendering, and avoid multiple rerender when number format is mounted.
  • Try to guess valueIsNumericString based on props and value, so the user no longer has to define this prop, if the format prop (prefix/ suffix for numeric format, format prop for pattern format) doesn't have the number in it.

Fixes

  • Fixes #736 - Fix for focus on mount getting reset.
  • Fixed #740 - fixed type for the format, removeFormat, getCaretBoundary.
  • Fixed #741 - Thousand and decimal formatting broken while typing when value isNumericString is set to false
  • Fixed #742 - cursor position getting changed when format props are updated during typing.
  • Fixed #725 - The cursor position not being correct when allowed decimal separator is typed
  • Fixed a couple of false positive tests and some regressions around those.

Bug fixes

  • Fixed #694 Prefix/Suffix containing numbers gets appended to value.
  • Fixed #691 Prefix/Suffix blocking input when set to a number
  • Fixed #729 Prefix '-' does not allow to remove first number
  • Added fixedDecimalScale prop to doc #735 by @​arminbashizade

Bug fixes

  • Fixed #712 (Extra character added if you start typing from start of the input while input is fully filled)
  • Fixed #711 (The caret is not moved when typing a decimal separator at an existing decimal separator)
  • Mark module as side effect free (#713 by @​topaxi )
  • pass type parameter to SyntheticEvent in event source object. (#703 by @​yukiyokotani )

... (truncated)

Commits
  • 5a4030c Fix caret position not getting corrected when there is selection in the input...
  • 2910b57 - Add documentation link on package.json #810
  • 69ad995 Release for bug fixes
  • d441c95 - Fix #817, wrong caret position getting set when . is pressed on empty value...
  • 0a2018e refactor: clean up updateValueAndCaretPosition
  • fe3db3c - Add test case for #814
  • 30461f7 Add spec for current target being present on onFocus event.
  • 4450eea fix: setCaretTimeout check
  • ad85c02 fix: pass currentTarget to onFocus
  • e2179f9 Add IBAN input field customization example
  • Additional commits viewable in compare view


Dependabot compatibility score

You can trigger a rebase of this PR 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 show ignore conditions` will show all of the ignore conditions of the specified dependency - `@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)

Note Automatic rebases have been disabled on this pull request as it has been open for over 30 days.

dependabot[bot] commented 5 months ago

Superseded by #2128.