@react-aria/i18n
Advanced tools
Comparing version 3.12.3 to 3.12.4
@@ -29,7 +29,6 @@ var $4d65847630a056a8$exports = require("./utils.main.js"); | ||
try { | ||
// @ts-ignore | ||
Intl.DateTimeFormat.supportedLocalesOf([ | ||
locale | ||
]); | ||
} catch (_err) { | ||
} catch { | ||
locale = 'en-US'; | ||
@@ -36,0 +35,0 @@ } |
@@ -23,7 +23,6 @@ import {isRTL as $148a7a147e38ea7f$export$702d680b21cbd764} from "./utils.module.js"; | ||
try { | ||
// @ts-ignore | ||
Intl.DateTimeFormat.supportedLocalesOf([ | ||
locale | ||
]); | ||
} catch (_err) { | ||
} catch { | ||
locale = 'en-US'; | ||
@@ -30,0 +29,0 @@ } |
@@ -53,3 +53,2 @@ | ||
// If the Intl.Locale API is available, use it to get the locale's text direction. | ||
// @ts-ignore | ||
if (Intl.Locale) { | ||
@@ -56,0 +55,0 @@ let locale = new Intl.Locale(localeString).maximize(); |
@@ -47,3 +47,2 @@ /* | ||
// If the Intl.Locale API is available, use it to get the locale's text direction. | ||
// @ts-ignore | ||
if (Intl.Locale) { | ||
@@ -50,0 +49,0 @@ let locale = new Intl.Locale(localeString).maximize(); |
{ | ||
"name": "@react-aria/i18n", | ||
"version": "3.12.3", | ||
"version": "3.12.4", | ||
"description": "Spectrum UI components in React", | ||
@@ -50,17 +50,18 @@ "license": "Apache-2.0", | ||
"dependencies": { | ||
"@internationalized/date": "^3.5.6", | ||
"@internationalized/message": "^3.1.5", | ||
"@internationalized/number": "^3.5.4", | ||
"@internationalized/string": "^3.2.4", | ||
"@react-aria/ssr": "^3.9.6", | ||
"@react-aria/utils": "^3.25.3", | ||
"@react-types/shared": "^3.25.0", | ||
"@internationalized/date": "^3.6.0", | ||
"@internationalized/message": "^3.1.6", | ||
"@internationalized/number": "^3.6.0", | ||
"@internationalized/string": "^3.2.5", | ||
"@react-aria/ssr": "^3.9.7", | ||
"@react-aria/utils": "^3.26.0", | ||
"@react-types/shared": "^3.26.0", | ||
"@swc/helpers": "^0.5.0" | ||
}, | ||
"peerDependencies": { | ||
"react": "^16.8.0 || ^17.0.0-rc.1 || ^18.0.0 || ^19.0.0" | ||
"react": "^16.8.0 || ^17.0.0-rc.1 || ^18.0.0 || ^19.0.0-rc.1" | ||
}, | ||
"publishConfig": { | ||
"access": "public" | ||
} | ||
} | ||
}, | ||
"gitHead": "71f0ef23053f9e03ee7e97df736e8b083e006849" | ||
} |
@@ -38,5 +38,4 @@ /* | ||
try { | ||
// @ts-ignore | ||
Intl.DateTimeFormat.supportedLocalesOf([locale]); | ||
} catch (_err) { | ||
} catch { | ||
locale = 'en-US'; | ||
@@ -43,0 +42,0 @@ } |
@@ -22,3 +22,2 @@ /* | ||
// If the Intl.Locale API is available, use it to get the locale's text direction. | ||
// @ts-ignore | ||
if (Intl.Locale) { | ||
@@ -25,0 +24,0 @@ let locale = new Intl.Locale(localeString).maximize(); |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
187836
78
2103
+ Addedreact@19.0.0-rc-fb9a90fa48-20240614(transitive)
- Removedjs-tokens@4.0.0(transitive)
- Removedloose-envify@1.4.0(transitive)
- Removedreact@18.3.1(transitive)
Updated@react-aria/ssr@^3.9.7
Updated@react-aria/utils@^3.26.0
Updated@react-types/shared@^3.26.0