Socket
Socket
Sign inDemoInstall

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 0.0.14 to 0.0.15

3

lib/index.js

@@ -39,3 +39,4 @@ 'use strict';

// set locale
req.locale = req.lng = req.language = lng || i18next.options.fallbackLng[0];
req.language = req.locale = req.lng = lng || i18next.options.fallbackLng[0];
req.languages = i18next.services.languageUtils.toResolveHierarchy(lng);

@@ -42,0 +43,0 @@ // assert t function returns always translation

{
"name": "i18next-express-middleware",
"version": "0.0.14",
"version": "0.0.15",
"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