@react-aria/i18n
Advanced tools
Comparing version 3.0.0-nightly-d57bd8d90-240927 to 3.0.0-nightly-d87cc4422-250109
@@ -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-d57bd8d90-240927", | ||
"version": "3.0.0-nightly-d87cc4422-250109", | ||
"description": "Spectrum UI components in React", | ||
@@ -50,18 +50,17 @@ "license": "Apache-2.0", | ||
"dependencies": { | ||
"@internationalized/date": "^3.0.0-nightly-d57bd8d90-240927", | ||
"@internationalized/message": "^3.0.0-nightly-d57bd8d90-240927", | ||
"@internationalized/number": "^3.0.0-nightly-d57bd8d90-240927", | ||
"@internationalized/string": "^3.0.0-nightly-d57bd8d90-240927", | ||
"@react-aria/ssr": "^3.0.0-nightly-d57bd8d90-240927", | ||
"@react-aria/utils": "^3.0.0-nightly-d57bd8d90-240927", | ||
"@react-types/shared": "^3.0.0-nightly-d57bd8d90-240927", | ||
"@internationalized/date": "3.0.0-nightly-d87cc4422-250109", | ||
"@internationalized/message": "3.0.0-nightly-d87cc4422-250109", | ||
"@internationalized/number": "3.0.0-nightly-d87cc4422-250109", | ||
"@internationalized/string": "3.0.0-nightly-d87cc4422-250109", | ||
"@react-aria/ssr": "3.0.0-nightly-d87cc4422-250109", | ||
"@react-aria/utils": "3.0.0-nightly-d87cc4422-250109", | ||
"@react-types/shared": "3.0.0-nightly-d87cc4422-250109", | ||
"@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" | ||
}, | ||
"stableVersion": "3.12.2" | ||
} | ||
} |
@@ -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
176633
2103
+ Added@internationalized/date@3.0.0-nightly-d87cc4422-250109(transitive)
+ Added@internationalized/message@3.0.0-nightly-d87cc4422-250109(transitive)
+ Added@internationalized/number@3.0.0-nightly-d87cc4422-250109(transitive)
+ Added@internationalized/string@3.0.0-nightly-d87cc4422-250109(transitive)
+ Added@react-aria/ssr@3.0.0-nightly-d87cc4422-250109(transitive)
+ Added@react-aria/utils@3.0.0-nightly-d87cc4422-250109(transitive)
+ Added@react-stately/utils@3.0.0-nightly-d87cc4422-250109(transitive)
+ Added@react-types/shared@3.0.0-nightly-d87cc4422-250109(transitive)
- Removed@internationalized/date@3.7.0(transitive)
- Removed@internationalized/message@3.1.6(transitive)
- Removed@internationalized/number@3.6.0(transitive)
- Removed@internationalized/string@3.2.5(transitive)
- Removed@react-aria/ssr@3.9.7(transitive)
- Removed@react-aria/utils@3.27.0(transitive)
- Removed@react-stately/utils@3.10.5(transitive)
- Removed@react-types/shared@3.27.0(transitive)
Updated@internationalized/date@3.0.0-nightly-d87cc4422-250109
Updated@internationalized/message@3.0.0-nightly-d87cc4422-250109
Updated@internationalized/number@3.0.0-nightly-d87cc4422-250109
Updated@internationalized/string@3.0.0-nightly-d87cc4422-250109