i18next-express-middleware
Advanced tools
Comparing version 1.8.0 to 1.8.1
@@ -0,1 +1,5 @@ | ||
### 1.8.1 | ||
- typescript: update LanguageDetector (fix type error since i18next v17.0.8) [190](https://github.com/i18next/i18next-express-middleware/pull/190) | ||
### 1.8.0 | ||
@@ -2,0 +6,0 @@ |
@@ -68,3 +68,5 @@ import * as express from 'express'; | ||
export class LanguageDetector { | ||
export class LanguageDetector implements i18next.Module { | ||
type: "languageDetector"; | ||
constructor(services: LanguageDetectorServices, options?: LanguageDetectorOptions, allOptions?: LanguageDetectorAllOptions); | ||
@@ -71,0 +73,0 @@ constructor(options?: LanguageDetectorOptions, allOptions?: LanguageDetectorAllOptions); |
{ | ||
"name": "i18next-express-middleware", | ||
"version": "1.8.0", | ||
"version": "1.8.1", | ||
"description": "express middleware for i18next", | ||
@@ -5,0 +5,0 @@ "main": "./lib/index.js", |
@@ -155,2 +155,3 @@ # Introduction | ||
lookupCookie: 'i18next', | ||
lookupHeader: 'accept-language', | ||
lookupSession: 'lng', | ||
@@ -157,0 +158,0 @@ lookupPath: 'lng', |
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
32669
541
244