ustaxes / UsTaxes

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

Bump react-number-format from 4.9.4 to 5.4.2 #2210

Open dependabot[bot] opened 1 week ago

dependabot[bot] commented 1 week ago

Bumps react-number-format from 4.9.4 to 5.4.2.

Release notes

Sourced from react-number-format's releases.

Bug fixes

What's Changed

New Contributors

Full Changelog: https://github.com/s-yadav/react-number-format/compare/v5.4.1...v5.4.2

Bug fixes

  • handle caret position when float numbers are used with decimals #851
  • Remove isCharacterSame as valid prop from NumericFormat and PatternFormat as its a number_format base props and shouldn't be used outside. #850
  • Remove prop-types as dependency as they are no longer used. #849

Bug fixes and Test + Build upgrade

Test and Build improvements

  • Migrated test suite to vite, JSdom and react testing library, from Jasmine and Karma. Plus, a lot of fixes around the false negative test. Shout out to @​aashu16
  • A couple of build improvements @​aashu16
  • Unnecessary files are no longer included on npm package. Fixes #840
  • Added a better way to find change range which fixes issues around duplicate subsequent characters giving incorrect change range causing inconsistent caret positioning.

API Improvements onValueChange now fires always if there is any change on the input, weather update comes from props or user events. This makes the callback more predictable. Fixed #812, Thanks to @​rfviolato

Other Bug Fixes

  • Fix issue when complete text is selected and replaced with new value in pattern format. It was it was incorrectly pasting value.
  • Fix key press after selection over masked area. #839

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

... (truncated)

Commits
  • 3058c08 Version upgrade for bug fix
  • 7184b42 Fix card expiry example.
  • a163b7a - Fixed #855.
  • 69a5ed7 Merge pull request #854 from mhl98/master
  • 763c894 fix: sort persian numbers
  • a1fab6d Version upgrade for bug fixes
  • 901816b - Remove prop-types as dependency as they are no longer used. #849
  • 8a9e2d6 - Remove isCharacterSame as valid prop from NumericFormat and PatternFormat a...
  • 5db9496 - handle caret position when float numbers are used with decimals #851
  • 7a373b9 Instead of blacklist use whitelist for including in npm.
  • 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 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)