Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

@react-aria/i18n

Package Overview
Dependencies
Maintainers
2
Versions
829
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@react-aria/i18n - npm Package Compare versions

Comparing version 3.12.3 to 3.12.4

LICENSE

3

dist/useDefaultLocale.main.js

@@ -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.12.3",
"version": "3.12.4",
"description": "Spectrum UI components in React",

@@ -50,17 +50,18 @@ "license": "Apache-2.0",

"dependencies": {
"@internationalized/date": "^3.5.6",
"@internationalized/message": "^3.1.5",
"@internationalized/number": "^3.5.4",
"@internationalized/string": "^3.2.4",
"@react-aria/ssr": "^3.9.6",
"@react-aria/utils": "^3.25.3",
"@react-types/shared": "^3.25.0",
"@internationalized/date": "^3.6.0",
"@internationalized/message": "^3.1.6",
"@internationalized/number": "^3.6.0",
"@internationalized/string": "^3.2.5",
"@react-aria/ssr": "^3.9.7",
"@react-aria/utils": "^3.26.0",
"@react-types/shared": "^3.26.0",
"@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"
}
}
},
"gitHead": "71f0ef23053f9e03ee7e97df736e8b083e006849"
}

@@ -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

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc