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.1.1 to 0.1.2

3

lib/LanguageDetector.js

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

var detections = _this.detectors[detectorName].lookup(req, res, _this.options);
if (typeof detection === 'string') detections = [detections];
if (!detections) return;
if (typeof detections === 'string') detections = [detections];

@@ -104,0 +105,0 @@ detections.forEach(function (lng) {

{
"name": "i18next-express-middleware",
"version": "0.1.1",
"version": "0.1.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