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

react-localize-redux

Package Overview
Dependencies
Maintainers
1
Versions
71
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

react-localize-redux - npm Package Compare versions

Comparing version 3.1.1 to 3.1.2

4

CHANGELOG.md

@@ -0,1 +1,5 @@

## 3.1.2 (June 22, 2018)
* Update the TypeScript definition for withLocalize [#98](https://github.com/ryandrewjohnson/react-localize-redux/pull/98)
## 3.1.1 (June 17, 2018)

@@ -2,0 +6,0 @@

4

es/index.d.ts

@@ -211,5 +211,5 @@ import {

export function withLocalize<Props extends {}>(
export function withLocalize<Props extends LocalizeContextProps>(
WrappedComponent: ComponentType<Props>
): ComponentType<Props & LocalizeContextProps>;
): ComponentType<Pick<Props, Exclude<keyof Props, keyof LocalizeContextProps>>>;

@@ -216,0 +216,0 @@ export function TranslateChildFunction(

@@ -211,5 +211,5 @@ import {

export function withLocalize<Props extends {}>(
export function withLocalize<Props extends LocalizeContextProps>(
WrappedComponent: ComponentType<Props>
): ComponentType<Props & LocalizeContextProps>;
): ComponentType<Pick<Props, Exclude<keyof Props, keyof LocalizeContextProps>>>;

@@ -216,0 +216,0 @@ export function TranslateChildFunction(

{
"name": "react-localize-redux",
"version": "3.1.1",
"version": "3.1.2",
"description": "Localization library for handling translations in React",

@@ -5,0 +5,0 @@ "main": "./lib/index.js",

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