Socket
Socket
Sign inDemoInstall

@internationalized/string

Package Overview
Dependencies
Maintainers
2
Versions
443
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@internationalized/string - npm Package Compare versions

Comparing version 3.2.2-nightly.4513 to 3.2.2-nightly.4514

5

dist/main.js

@@ -63,5 +63,4 @@

// Clone messages so we don't modify the original object.
this.strings = {
...messages
};
// Filter out entries with falsy values which may have been caused by applying optimize-locales-plugin.
this.strings = Object.fromEntries(Object.entries(messages).filter(([, v])=>v));
this.defaultLocale = defaultLocale;

@@ -68,0 +67,0 @@ }

@@ -56,5 +56,4 @@ /*

// Clone messages so we don't modify the original object.
this.strings = {
...messages
};
// Filter out entries with falsy values which may have been caused by applying optimize-locales-plugin.
this.strings = Object.fromEntries(Object.entries(messages).filter(([, v])=>v));
this.defaultLocale = defaultLocale;

@@ -61,0 +60,0 @@ }

4

package.json
{
"name": "@internationalized/string",
"version": "3.2.2-nightly.4513+1697a7fef",
"version": "3.2.2-nightly.4514+f6a664ba9",
"description": "Internationalized string formatting and locale negotiation",

@@ -30,3 +30,3 @@ "license": "Apache-2.0",

},
"gitHead": "1697a7fef3516f7a194f43b75edb858589ef6535"
"gitHead": "f6a664ba900c3e6307a0f9461241aa3b2397efeb"
}

@@ -33,3 +33,6 @@ /*

// Clone messages so we don't modify the original object.
this.strings = {...messages};
// Filter out entries with falsy values which may have been caused by applying optimize-locales-plugin.
this.strings = Object.fromEntries(
Object.entries(messages).filter(([, v]) => v)
);
this.defaultLocale = defaultLocale;

@@ -36,0 +39,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

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