Socket
Socket
Sign inDemoInstall

lingui-react

Package Overview
Dependencies
Maintainers
1
Versions
50
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

lingui-react - npm Package Compare versions

Comparing version 1.3.4 to 1.3.5

11

CHANGELOG.md

@@ -6,2 +6,13 @@ # Change Log

<a name="1.3.5"></a>
## [1.3.5](https://github.com/lingui/js-lingui/compare/lingui-react@1.3.4...lingui-react@1.3.5) (2017-11-16)
### Bug Fixes
* Fix react package for react-native ([5ca1752](https://github.com/lingui/js-lingui/commit/5ca1752))
<a name="1.3.4"></a>

@@ -8,0 +19,0 @@ ## [1.3.4](https://github.com/lingui/js-lingui/compare/lingui-react@1.3.3...lingui-react@1.3.4) (2017-10-25)

7

dist/index.es.js

@@ -440,6 +440,9 @@ import { date, number } from 'lingui-formats';

value: function render() {
// lingui-transform-js transforms also this file in react-native env.
// i18n must be aliased to _i18n to hide i18n.select call from plugin,
// otherwise it throws "undefined is not iterable" obscure error.
var _props = this.props,
className = _props.className,
render = _props.render,
i18n = _props.i18n,
_i18n = _props.i18n,
selectProps = _objectWithoutProperties(_props, ['className', 'render', 'i18n']);

@@ -450,3 +453,3 @@

render: render,
value: i18n.select(selectProps)
value: _i18n.select(selectProps)
});

@@ -453,0 +456,0 @@ }

@@ -447,6 +447,9 @@ 'use strict';

value: function render() {
// lingui-transform-js transforms also this file in react-native env.
// i18n must be aliased to _i18n to hide i18n.select call from plugin,
// otherwise it throws "undefined is not iterable" obscure error.
var _props = this.props,
className = _props.className,
render = _props.render,
i18n = _props.i18n,
_i18n = _props.i18n,
selectProps = _objectWithoutProperties(_props, ['className', 'render', 'i18n']);

@@ -457,3 +460,3 @@

render: render,
value: i18n.select(selectProps)
value: _i18n.select(selectProps)
});

@@ -460,0 +463,0 @@ }

{
"name": "lingui-react",
"version": "1.3.4",
"version": "1.3.5",
"description": "React components for translations",

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

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