@react-aria/i18n
Advanced tools
Comparing version 3.0.0-nightly-641446f65-240905 to 3.0.0-nightly-65e3a52a3-241120
@@ -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.0.0-nightly-641446f65-240905", | ||
"version": "3.0.0-nightly-65e3a52a3-241120", | ||
"description": "Spectrum UI components in React", | ||
@@ -50,13 +50,13 @@ "license": "Apache-2.0", | ||
"dependencies": { | ||
"@internationalized/date": "^3.0.0-nightly-641446f65-240905", | ||
"@internationalized/message": "^3.0.0-nightly-641446f65-240905", | ||
"@internationalized/number": "^3.0.0-nightly-641446f65-240905", | ||
"@internationalized/string": "^3.0.0-nightly-641446f65-240905", | ||
"@react-aria/ssr": "^3.0.0-nightly-641446f65-240905", | ||
"@react-aria/utils": "^3.0.0-nightly-641446f65-240905", | ||
"@react-types/shared": "^3.0.0-nightly-641446f65-240905", | ||
"@internationalized/date": "^3.0.0-nightly-65e3a52a3-241120", | ||
"@internationalized/message": "^3.0.0-nightly-65e3a52a3-241120", | ||
"@internationalized/number": "^3.0.0-nightly-65e3a52a3-241120", | ||
"@internationalized/string": "^3.0.0-nightly-65e3a52a3-241120", | ||
"@react-aria/ssr": "^3.0.0-nightly-65e3a52a3-241120", | ||
"@react-aria/utils": "^3.0.0-nightly-65e3a52a3-241120", | ||
"@react-types/shared": "^3.0.0-nightly-65e3a52a3-241120", | ||
"@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" | ||
}, | ||
@@ -66,3 +66,3 @@ "publishConfig": { | ||
}, | ||
"stableVersion": "3.12.2" | ||
"stableVersion": "3.12.3" | ||
} |
@@ -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
176669
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@internationalized/date@^3.0.0-nightly-65e3a52a3-241120
Updated@internationalized/message@^3.0.0-nightly-65e3a52a3-241120
Updated@internationalized/number@^3.0.0-nightly-65e3a52a3-241120
Updated@internationalized/string@^3.0.0-nightly-65e3a52a3-241120