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 0.8.0 to 0.9.0

6

lib/I18nProvider.js

@@ -14,2 +14,6 @@ 'use strict';

var _propTypes = require('prop-types');
var _propTypes2 = _interopRequireDefault(_propTypes);
var _linguiI18n = require('lingui-i18n');

@@ -115,3 +119,3 @@

I18nProvider.childContextTypes = {
i18nManager: _react2.default.PropTypes.object.isRequired
i18nManager: _propTypes2.default.object.isRequired
};

@@ -118,0 +122,0 @@

@@ -15,2 +15,6 @@ 'use strict';

var _propTypes = require('prop-types');
var _propTypes2 = _interopRequireDefault(_propTypes);
function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }

@@ -98,5 +102,5 @@

}(_react2.default.Component), _class.contextTypes = {
i18nManager: _react2.default.PropTypes.object
i18nManager: _propTypes2.default.object
}, _temp2;
};
};

5

package.json
{
"name": "lingui-react",
"version": "0.8.0",
"version": "0.9.0",
"description": "React components for translations",

@@ -36,3 +36,4 @@ "main": "lib/index.js",

"lingui-formats": "^v0.3.0",
"lingui-i18n": "^v0.6.0"
"lingui-i18n": "^v0.6.0",
"prop-types": "^15.5.10"
},

@@ -39,0 +40,0 @@ "scripts": {

/* @flow */
import React from 'react'
import PropTypes from 'prop-types'
import { I18n } from 'lingui-i18n'

@@ -75,3 +76,3 @@ import type { Catalogs } from 'lingui-i18n'

I18nProvider.childContextTypes = {
i18nManager: React.PropTypes.object.isRequired
i18nManager: PropTypes.object.isRequired
}

@@ -78,0 +79,0 @@

// @flow
import React from 'react'
import PropTypes from 'prop-types'
import type { I18n } from 'lingui-i18n'

@@ -17,3 +18,3 @@

static contextTypes = {
i18nManager: React.PropTypes.object
i18nManager: PropTypes.object
}

@@ -20,0 +21,0 @@

Sorry, the diff of this file is not supported yet

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