Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Bump react-number-format from 4.9.4 to 5.3.3 #2041

Conversation

dependabot[bot]
Copy link
Contributor

@dependabot dependabot bot commented on behalf of github Feb 26, 2024

Bumps react-number-format from 4.9.4 to 5.3.3.

Release notes

Sourced from react-number-format's releases.

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 )

Bug fixes

  • Fixed typo on patternFormatter export. #698

... (truncated)

Commits
  • 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
  • 71b318d - Fix example of custom negation format.
  • 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 show <dependency name> 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)

@dependabot dependabot bot added dependencies Pull requests that update a dependency file javascript Pull requests that update Javascript code labels Feb 26, 2024
Bumps [react-number-format](https://github.com/s-yadav/react-number-format) from 4.9.4 to 5.3.3.
- [Release notes](https://github.com/s-yadav/react-number-format/releases)
- [Commits](s-yadav/react-number-format@v4.9.4...v5.3.3)

---
updated-dependencies:
- dependency-name: react-number-format
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
@dependabot dependabot bot force-pushed the dependabot/npm_and_yarn/master/react-number-format-5.3.3 branch from bc83701 to 25627a7 Compare March 17, 2024 06:06
Copy link
Contributor Author

dependabot bot commented on behalf of github Mar 18, 2024

Superseded by #2057.

@dependabot dependabot bot closed this Mar 18, 2024
@dependabot dependabot bot deleted the dependabot/npm_and_yarn/master/react-number-format-5.3.3 branch March 18, 2024 09:20
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 javascript Pull requests that update Javascript code
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

0 participants