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

i18next-http-middleware

Package Overview
Dependencies
Maintainers
2
Versions
41
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

i18next-http-middleware - npm Package Compare versions

Comparing version 3.3.1 to 3.3.2

1

cjs/httpFunctions.js

@@ -43,2 +43,3 @@ "use strict";

if (req.ctx && req.ctx.queryParams) return req.ctx.queryParams;
if (req.url && req.url.searchParams) return req.url.searchParams;
var url = req.url || req.raw && req.raw.url;

@@ -45,0 +46,0 @@ if (url && url.indexOf('?') < 0) return {};

@@ -33,2 +33,3 @@ export var getPath = function getPath(req) {

if (req.ctx && req.ctx.queryParams) return req.ctx.queryParams;
if (req.url && req.url.searchParams) return req.url.searchParams;
var url = req.url || req.raw && req.raw.url;

@@ -35,0 +36,0 @@ if (url && url.indexOf('?') < 0) return {};

@@ -38,2 +38,3 @@ export const getPath = (req) => {

if (req.ctx && req.ctx.queryParams) return req.ctx.queryParams
if (req.url && req.url.searchParams) return req.url.searchParams
const url = req.url || (req.raw && req.raw.url)

@@ -40,0 +41,0 @@ if (url && url.indexOf('?') < 0) return {}

2

package.json
{
"name": "i18next-http-middleware",
"version": "3.3.1",
"version": "3.3.2",
"private": false,

@@ -5,0 +5,0 @@ "type": "module",

Sorry, the diff of this file is not supported yet

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