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 2.17.0 to 2.17.1

4

es/index.d.ts

@@ -150,2 +150,4 @@ import { ReactElement, ReactNode } from 'react';

export function TranslateChildFunction(translate: Translate, activeLanguage: Language, languages: Language[]): ReactNode;
export function TranslateChildFunction(translate: Translate, activeLanguage: Language, languages: Language[]): ReactNode;
export default class TranslateComponent extends Component<TranslateProps> {}

@@ -75,4 +75,2 @@ var _createClass = function () { function defineProperties(target, props) { for (var i = 0; i < props.length; i++) { var descriptor = props[i]; descriptor.enumerable = descriptor.enumerable || false; descriptor.configurable = true; if ("value" in descriptor) descriptor.writable = true; Object.defineProperty(target, descriptor.key, descriptor); } } return function (Constructor, protoProps, staticProps) { if (protoProps) defineProperties(Constructor.prototype, protoProps); if (staticProps) defineProperties(Constructor, staticProps); return Constructor; }; }();

// TODO: add babel plugin to strip unecessary prop-types
if (hasActiveLangaugeChanged || hasOptionsChanged || hasTranslationsChanged) {

@@ -79,0 +77,0 @@ this.setState({ hasUpdated: true });

@@ -150,2 +150,4 @@ import { ReactElement, ReactNode } from 'react';

export function TranslateChildFunction(translate: Translate, activeLanguage: Language, languages: Language[]): ReactNode;
export function TranslateChildFunction(translate: Translate, activeLanguage: Language, languages: Language[]): ReactNode;
export default class TranslateComponent extends Component<TranslateProps> {}

@@ -95,4 +95,2 @@ 'use strict';

// TODO: add babel plugin to strip unecessary prop-types
if (hasActiveLangaugeChanged || hasOptionsChanged || hasTranslationsChanged) {

@@ -99,0 +97,0 @@ this.setState({ hasUpdated: true });

{
"name": "react-localize-redux",
"version": "2.17.0",
"version": "2.17.1",
"description": "Localization library for React/Redux",

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

Sorry, the diff of this file is too big to display

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