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 1.0.5 to 1.0.6

examples/basic-handlebars/index.js

3

CHANGELOG.md

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

### 1.0.6
- update cookie dependency adding overwrite flag [#127](https://github.com/i18next/i18next-express-middleware/issues/127)
### 1.0.5

@@ -2,0 +5,0 @@ - fixes persisting lng on calling changeLanguage [#918](https://github.com/i18next/i18next/issues/918)

2

lib/languageLookups/cookie.js

@@ -42,5 +42,5 @@ 'use strict';

cookies.set(options.lookupCookie, lng, { expires: expirationDate, domain: options.cookieDomain, httpOnly: false });
cookies.set(options.lookupCookie, lng, { expires: expirationDate, domain: options.cookieDomain, httpOnly: false, overwrite: true });
}
}
};
{
"name": "i18next-express-middleware",
"version": "1.0.5",
"version": "1.0.6",
"description": "express middleware for i18next",

@@ -19,3 +19,3 @@ "main": "./lib/index.js",

"dependencies": {
"cookies": "0.6.1"
"cookies": "0.7.1"
},

@@ -22,0 +22,0 @@ "devDependencies": {

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