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

i18next-express-middleware

Package Overview
Dependencies
Maintainers
1
Versions
58
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

i18next-express-middleware - npm Package Compare versions

Comparing version 1.8.0 to 1.8.1

4

CHANGELOG.md

@@ -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 @@

4

index.d.ts

@@ -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',

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