@internationalized/message
Advanced tools
Comparing version 3.0.0-nightly-641446f65-240905 to 3.0.0-nightly-65e3a52a3-241120
@@ -52,5 +52,3 @@ | ||
function $9a5a7b8408290694$var$getLanguage(locale) { | ||
// @ts-ignore | ||
if (Intl.Locale) // @ts-ignore | ||
return new Intl.Locale(locale).language; | ||
if (Intl.Locale) return new Intl.Locale(locale).language; | ||
return locale.split('-')[0]; | ||
@@ -57,0 +55,0 @@ } |
@@ -46,5 +46,3 @@ /* | ||
function $d6fd23bc337660df$var$getLanguage(locale) { | ||
// @ts-ignore | ||
if (Intl.Locale) // @ts-ignore | ||
return new Intl.Locale(locale).language; | ||
if (Intl.Locale) return new Intl.Locale(locale).language; | ||
return locale.split('-')[0]; | ||
@@ -51,0 +49,0 @@ } |
{ | ||
"name": "@internationalized/message", | ||
"version": "3.0.0-nightly-641446f65-240905", | ||
"version": "3.0.0-nightly-65e3a52a3-241120", | ||
"description": "Internationalized message formatting and locale negotiation", | ||
@@ -31,3 +31,3 @@ "license": "Apache-2.0", | ||
}, | ||
"stableVersion": "3.1.4" | ||
"stableVersion": "3.1.5" | ||
} |
@@ -79,5 +79,3 @@ /* | ||
function getLanguage(locale: string) { | ||
// @ts-ignore | ||
if (Intl.Locale) { | ||
// @ts-ignore | ||
return new Intl.Locale(locale).language; | ||
@@ -84,0 +82,0 @@ } |
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
Major refactor
Supply chain riskPackage has recently undergone a major refactor. It may be unstable or indicate significant internal changes. Use caution when updating to versions that include significant changes.
Found 1 instance in 1 package
0
40994
470