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.0.1 to 1.0.2

3

CHANGELOG.md

@@ -0,1 +1,4 @@

### 1.0.2
- call next without loading languages if there is no lng
### 1.0.1

@@ -2,0 +5,0 @@ - fixes call to loadLanguages

@@ -75,2 +75,3 @@ 'use strict';

// load resources
if (!req.lng) return next();
i18next.loadLanguages(req.lng, function () {

@@ -77,0 +78,0 @@ next();

2

package.json
{
"name": "i18next-express-middleware",
"version": "1.0.1",
"version": "1.0.2",
"description": "express middleware for i18next",

@@ -5,0 +5,0 @@ "main": "./lib/index.js",

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