Socket
Socket
Sign inDemoInstall

react-localization

Package Overview
Dependencies
4
Maintainers
1
Versions
47
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

Comparing version 1.0.18 to 1.0.19

4

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

@@ -44,4 +44,4 @@ "scripts": {

"peerDependencies": {
"react": "^17.0.0 || ^16.0.0 || ^15.6.0"
"react": "^18.0.0 || ^17.0.0 || ^16.0.0 || ^15.6.0"
}
}

@@ -22,3 +22,3 @@ # react-localization

In the React class that you want to localize require the library and define the strings object passing to the constructor a simple object containing a language key (i.e. en, it, fr..) and then a list of key-value pairs with the needed localized strings.
In the React class that you want to localize, require the library and define the strings object passing to the constructor a simple object containing a language key (i.e. en, it, fr..) and then a list of key-value pairs with the needed localized strings.

@@ -25,0 +25,0 @@ ```js

SocketSocket SOC 2 Logo

Product

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

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc