lingui-react
Advanced tools
Comparing version 1.0.0-4 to 1.0.0-5
{ | ||
"name": "lingui-react", | ||
"version": "1.0.0-4", | ||
"version": "1.0.0-5", | ||
"description": "React components for translations", | ||
@@ -37,4 +37,4 @@ "main": "index.js", | ||
"babel-runtime": "^6.23.0", | ||
"lingui-formats": "^1.0.0-4", | ||
"lingui-i18n": "^1.0.0-4", | ||
"lingui-formats": "^1.0.0-5", | ||
"lingui-i18n": "^1.0.0-5", | ||
"prop-types": "^15.5.10" | ||
@@ -41,0 +41,0 @@ }, |
@@ -37,3 +37,3 @@ // @flow | ||
mount(<I18nProvider language="xyz" messages={{}}><div/></I18nProvider>) | ||
expect(console.warn).toBeCalledWith(expect.stringContaining('Unknown local')) | ||
expect(console.warn).toBeCalledWith('Message catalog for locale "xyz" not loaded.') | ||
}) | ||
@@ -40,0 +40,0 @@ }) |
@@ -25,3 +25,3 @@ /* @flow */ | ||
}, | ||
development: linguiDev, | ||
development: linguiDev | ||
}) | ||
@@ -74,2 +74,5 @@ | ||
.toEqual('Not translated yet') | ||
expect(text(<Trans id="unknown" defaults="Not translated yet, {name}" values={{ name: 'Dave' }}/>)) | ||
.toEqual('Not translated yet, Dave') | ||
}) | ||
@@ -76,0 +79,0 @@ |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
98872
1849
Updatedlingui-formats@^1.0.0-5
Updatedlingui-i18n@^1.0.0-5