lingui-react
Advanced tools
Comparing version 1.1.0-0 to 1.1.0-1
@@ -160,2 +160,5 @@ import { date, number } from 'lingui-formats'; | ||
// Deprecated, remove in 2.x | ||
var deprecationWithI18nOnce = false; | ||
var WithI18n = function WithI18n() { | ||
@@ -165,3 +168,6 @@ var options = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : {}; | ||
if (process.env.NODE_ENV !== 'production') { | ||
console.warn('WithI18n is deprecated and will be removed in lingui-react@2.x, ' + 'use withI18n instead (lower-cased first letter).'); | ||
if (!deprecationWithI18nOnce) { | ||
deprecationWithI18nOnce = true; | ||
console.warn('WithI18n is deprecated and will be removed in lingui-react@2.x, ' + 'use withI18n instead (lower-cased first letter).'); | ||
} | ||
} | ||
@@ -168,0 +174,0 @@ |
@@ -167,2 +167,5 @@ 'use strict'; | ||
// Deprecated, remove in 2.x | ||
var deprecationWithI18nOnce = false; | ||
var WithI18n = function WithI18n() { | ||
@@ -172,3 +175,6 @@ var options = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : {}; | ||
if (process.env.NODE_ENV !== 'production') { | ||
console.warn('WithI18n is deprecated and will be removed in lingui-react@2.x, ' + 'use withI18n instead (lower-cased first letter).'); | ||
if (!deprecationWithI18nOnce) { | ||
deprecationWithI18nOnce = true; | ||
console.warn('WithI18n is deprecated and will be removed in lingui-react@2.x, ' + 'use withI18n instead (lower-cased first letter).'); | ||
} | ||
} | ||
@@ -175,0 +181,0 @@ |
{ | ||
"name": "lingui-react", | ||
"version": "1.1.0-0", | ||
"version": "1.1.0-1", | ||
"description": "React components for translations", | ||
@@ -5,0 +5,0 @@ "main": "index.js", |
Sorry, the diff of this file is not supported yet
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
50314
869