@react-aria/i18n
Advanced tools
Comparing version
@@ -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.3114+68403fe55", | ||
"version": "3.0.0-nightly-016590a4a-250131", | ||
"description": "Spectrum UI components in React", | ||
@@ -50,18 +50,18 @@ "license": "Apache-2.0", | ||
"dependencies": { | ||
"@internationalized/date": "3.5.6-nightly.5042+68403fe55", | ||
"@internationalized/message": "3.1.5-nightly.5042+68403fe55", | ||
"@internationalized/number": "3.5.4-nightly.5042+68403fe55", | ||
"@internationalized/string": "3.2.4-nightly.5042+68403fe55", | ||
"@react-aria/ssr": "3.9.6-nightly.5042+68403fe55", | ||
"@react-aria/utils": "3.0.0-nightly.3114+68403fe55", | ||
"@react-types/shared": "3.0.0-nightly.3114+68403fe55", | ||
"@internationalized/date": "3.0.0-nightly-016590a4a-250131", | ||
"@internationalized/message": "3.0.0-nightly-016590a4a-250131", | ||
"@internationalized/number": "3.0.0-nightly-016590a4a-250131", | ||
"@internationalized/string": "3.0.0-nightly-016590a4a-250131", | ||
"@react-aria/ssr": "3.0.0-nightly-016590a4a-250131", | ||
"@react-aria/utils": "3.0.0-nightly-016590a4a-250131", | ||
"@react-types/shared": "3.0.0-nightly-016590a4a-250131", | ||
"@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", | ||
"react-dom": "^16.8.0 || ^17.0.0-rc.1 || ^18.0.0 || ^19.0.0-rc.1" | ||
}, | ||
"publishConfig": { | ||
"access": "public" | ||
}, | ||
"gitHead": "68403fe55489dce3de1b3094c957d598ad719861" | ||
} | ||
} | ||
} |
@@ -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
Manifest confusion
Supply chain riskThis package has inconsistent metadata. This could be malicious or caused by an error when publishing the package.
Found 1 instance in 1 package
0
-100%176704
-6.18%10
11.11%77
-1.28%2103
-0.38%+ Added
+ Added
+ Added
+ Added
+ Added
+ Added
+ Added
+ Added
+ Added
+ Added
+ Added
+ Added
+ Added
+ Added
+ Added
+ Added
+ Added
+ Added
Updated
Updated
Updated
Updated