i18next-express-middleware
Advanced tools
Comparing version 1.0.4 to 1.0.5
@@ -0,1 +1,4 @@ | ||
### 1.0.5 | ||
- fixes persisting lng on calling changeLanguage [#918](https://github.com/i18next/i18next/issues/918) | ||
### 1.0.4 | ||
@@ -2,0 +5,0 @@ - fixes rare issue in race condition of init call in cloned instance |
@@ -40,2 +40,5 @@ 'use strict'; | ||
req.languages = i18next.services.languageUtils.toResolveHierarchy(lng); | ||
if (i18next.services.languageDetector) { | ||
i18next.services.languageDetector.cacheUserLanguage(req, res, lng); | ||
} | ||
}); | ||
@@ -42,0 +45,0 @@ |
{ | ||
"name": "i18next-express-middleware", | ||
"version": "1.0.4", | ||
"version": "1.0.5", | ||
"description": "express middleware for i18next", | ||
@@ -5,0 +5,0 @@ "main": "./lib/index.js", |
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
25330
439