Socket
Socket
Sign inDemoInstall

react-localization

Package Overview
Dependencies
6
Maintainers
1
Versions
47
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

Comparing version 0.1.7 to 0.1.8

9

lib/LocalizedStrings.d.ts

@@ -5,7 +5,6 @@ declare module 'react-localization' {

export interface GlobalStrings<T> {
[language: string]: T;
export interface GlobalStrings<T> {
[language: string]: T;
}
interface LocalizedStringsMethods {

@@ -20,5 +19,7 @@ setLanguage(language: string): void;

}
export type LocalizedStrings<T> = LocalizedStringsMethods & T;
interface LocalizedStringsFactory {
new <T>(props: GlobalStrings<T>): LocalizedStringsMethods & T;
new <T>(props: GlobalStrings<T>): LocalizedStrings<T>;
}

@@ -25,0 +26,0 @@

{
"name": "react-localization",
"version": "0.1.7",
"version": "0.1.8",
"description": "Simple module to localize the React interface using the same syntax used in the ReactNativeLocalization module, use 'npm run build' before publishing",

@@ -5,0 +5,0 @@ "scripts": {

SocketSocket SOC 2 Logo

Product

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

Packages

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc