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

react-localize

Package Overview
Dependencies
Maintainers
3
Versions
23
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

react-localize - npm Package Compare versions

Comparing version 2.0.0 to 2.0.1

5

build/Localization.js

@@ -32,4 +32,3 @@ 'use strict';

var func = _react.PropTypes.func;
var objectOf = _react.PropTypes.objectOf;
var string = _react.PropTypes.string;
var object = _react.PropTypes.object;

@@ -86,3 +85,3 @@ var Localization = function (_React$Component) {

localize: func,
messages: objectOf(string).isRequired,
messages: object.isRequired,
xLocale: bool

@@ -89,0 +88,0 @@ };

22

CHANGELOG.md
# Change Log
All notable changes to this project will be documented in this file. This project attempts to adhere to [Semantic Versioning](http://semver.org/). We also try to use [http://keepachangelog.com/](http://keepachangelog.com/) formatting for this file to make it easier to update and read.
All notable changes to this project will be documented in this file. This project
attempts to adhere to [Semantic Versioning](http://semver.org/). We also try to use
[http://keepachangelog.com/](http://keepachangelog.com/) formatting for this file to
make it easier to update and read.

@@ -7,2 +10,15 @@ ## [Unreleased]

## 2.0.1 2017-04-03
### Added
- Tests for `<Text/>` that assert it can work with larger, nested bundles by default
### Changed
- Published module now only includes `build/` files, and doesn't download src/test files not
needed for consumption.
- Precommit rule/script has been disabled until linting is fixed.
### Fixed
- Width formatting on some lines in the this CHANGELOG
- `PropTypes` correctly indicate any object can be passed, not just `objectOf(string)`
## 2.0.0 2017-02-14

@@ -36,2 +52,4 @@ ### Added

## 1.0.0
Intial release of `<Localization />` wrapper and `<Text />` helper components for looking up keys in a message bundle and localizing text. Includes interpolation, custom rendering options, and context helper function.
Intial release of `<Localization />` wrapper and `<Text />` helper components for looking up keys in
a message bundle and localizing text. Includes interpolation, custom rendering options, and
context helper function.
{
"name": "react-localize",
"version": "2.0.0",
"version": "2.0.1",
"description": "A simple context wrapper and text localization component for localizing strings",
"main": "build/index.js",
"files": ["build"],
"scripts": {
"build": "gulp build",
"githooks": "gulp githooks",
"precommit": "npm run lint && npm run test",
"precommit": "npm run test",
"prepublish": "in-publish && npm t && npm run build || not-in-publish",

@@ -30,3 +31,3 @@ "test": "gulp test",

"in-publish": "2.0.0",
"lodash.get": "4.0.0",
"lodash.get": "4.4.2",
"util": "0.10.3"

@@ -39,15 +40,15 @@ },

"babel-preset-netflix-dea": "1.0.0-alpha.2",
"babel-register": "6.7.2",
"babel-register": "6.24.0",
"chai": "3.5.0",
"eslint": "3.6.1",
"eslint-config-airbnb": "12.0.0",
"eslint-plugin-import": "1.16.0",
"eslint-plugin-jsx-a11y": "2.2.2",
"eslint-plugin-react": "6.3.0",
"eslint": "3.19.0",
"eslint-config-airbnb": "14.1.0",
"eslint-plugin-import": "2.2.0",
"eslint-plugin-jsx-a11y": "4.0.0",
"eslint-plugin-react": "6.10.3",
"gulp": "git://github.com/gulpjs/gulp.git#4ed9a4a3275559c73a396eff7e1fde3824951ebb",
"gulp-babel": "6.1.2",
"gulp-mocha": "2.2.0",
"gulp-mocha": "4.3.0",
"gulp-symlink": "2.1.4",
"gulp-util": "3.0.7",
"mocha": "2.5.3",
"gulp-util": "3.0.8",
"mocha": "3.2.0",
"react": "0.14.6 || 15.x",

@@ -54,0 +55,0 @@ "react-dom": "0.14.6 || 15.x"

# react-localize
[![Greenkeeper badge](https://badges.greenkeeper.io/sprjr/react-localize.svg)](https://greenkeeper.io/)
A simple context wrapper and text localization component for localizing strings.

@@ -3,0 +5,0 @@

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