You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
fix: correct thousand separator detection for certain locales (#565)
* fix: correct thousand separator detection for Spanish/Portuguese/Italian locales
Spanish (es-ES), Portuguese (pt-PT), and Italian (it-IT) only apply
thousand grouping for numbers ≥10,000. Using 1000 caused the function
to fall back to comma, creating a separator collision error in forms.
- Change getThousandSeparator to use 10000 instead of 1000
- Add defensive validation in NumericFormat component
- Add comprehensive test coverage for es-ES locale
- Add integration test for Spanish locale in dispenser
* chore: updated nsprc file for change in vuln id
* chore: ignored linting for console warn
Copy file name to clipboardExpand all lines: .nsprc
+1-6Lines changed: 1 addition & 6 deletions
Original file line number
Diff line number
Diff line change
@@ -12,11 +12,6 @@
12
12
"1112954": {
13
13
"active": true,
14
14
"expiry": "2026-02-15",
15
-
"notes": "@isaacs/brace-expansion version 5.0.0 is bundled inside npm (semantic-release/npm) and can't be override. We need to wait for a fix from npm"
16
-
},
17
-
"1112810": {
18
-
"active": true,
19
-
"expiry": "2026-02-15",
20
-
"notes": "There is no fix for npm yet"
15
+
"notes": "@isaacs/brace-expansion version 5.0.0 is bundled inside npm and can't be override. We need to wait for a fix from npm"
0 commit comments