@react-aria/i18n
Advanced tools
Comparing version 3.0.0-nightly-262cc758b-241115 to 3.0.0-nightly-326f48154-241212
@@ -29,3 +29,2 @@ var $4d65847630a056a8$exports = require("./utils.main.js"); | ||
try { | ||
// @ts-ignore | ||
Intl.DateTimeFormat.supportedLocalesOf([ | ||
@@ -32,0 +31,0 @@ locale |
@@ -23,3 +23,2 @@ import {isRTL as $148a7a147e38ea7f$export$702d680b21cbd764} from "./utils.module.js"; | ||
try { | ||
// @ts-ignore | ||
Intl.DateTimeFormat.supportedLocalesOf([ | ||
@@ -26,0 +25,0 @@ locale |
@@ -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-262cc758b-241115", | ||
"version": "3.0.0-nightly-326f48154-241212", | ||
"description": "Spectrum UI components in React", | ||
@@ -50,18 +50,17 @@ "license": "Apache-2.0", | ||
"dependencies": { | ||
"@internationalized/date": "^3.0.0-nightly-262cc758b-241115", | ||
"@internationalized/message": "^3.0.0-nightly-262cc758b-241115", | ||
"@internationalized/number": "^3.0.0-nightly-262cc758b-241115", | ||
"@internationalized/string": "^3.0.0-nightly-262cc758b-241115", | ||
"@react-aria/ssr": "^3.0.0-nightly-262cc758b-241115", | ||
"@react-aria/utils": "^3.0.0-nightly-262cc758b-241115", | ||
"@react-types/shared": "^3.0.0-nightly-262cc758b-241115", | ||
"@internationalized/date": "3.0.0-nightly-326f48154-241212", | ||
"@internationalized/message": "3.0.0-nightly-326f48154-241212", | ||
"@internationalized/number": "3.0.0-nightly-326f48154-241212", | ||
"@internationalized/string": "3.0.0-nightly-326f48154-241212", | ||
"@react-aria/ssr": "3.0.0-nightly-326f48154-241212", | ||
"@react-aria/utils": "3.0.0-nightly-326f48154-241212", | ||
"@react-types/shared": "3.0.0-nightly-326f48154-241212", | ||
"@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.3" | ||
} | ||
} |
@@ -38,3 +38,2 @@ /* | ||
try { | ||
// @ts-ignore | ||
Intl.DateTimeFormat.supportedLocalesOf([locale]); | ||
@@ -41,0 +40,0 @@ } catch { |
@@ -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-326f48154-241212(transitive)
+ Added@internationalized/message@3.0.0-nightly-326f48154-241212(transitive)
+ Added@internationalized/number@3.0.0-nightly-326f48154-241212(transitive)
+ Added@internationalized/string@3.0.0-nightly-326f48154-241212(transitive)
+ Added@react-aria/ssr@3.0.0-nightly-326f48154-241212(transitive)
+ Added@react-aria/utils@3.0.0-nightly-326f48154-241212(transitive)
+ Added@react-stately/utils@3.0.0-nightly-326f48154-241212(transitive)
+ Added@react-types/shared@3.0.0-nightly-326f48154-241212(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)
- Removedreact-dom@19.0.0(transitive)
- Removedscheduler@0.25.0(transitive)
Updated@internationalized/date@3.0.0-nightly-326f48154-241212
Updated@internationalized/message@3.0.0-nightly-326f48154-241212
Updated@internationalized/number@3.0.0-nightly-326f48154-241212
Updated@internationalized/string@3.0.0-nightly-326f48154-241212