Socket
Socket
Sign inDemoInstall

i18next

Package Overview
Dependencies
Maintainers
1
Versions
501
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

i18next - npm Package Compare versions

Comparing version 1.5.12 to 1.5.13

lib/dep/i18next-1.5.8.js

2

lib/i18next.js

@@ -105,3 +105,3 @@ (function() {

i18n.setLng(locale, function() {
i18n.persistCookie(req, res, i18n.lng());
if (i18n.useCookie) i18n.persistCookie(req, res, i18n.lng());
next();

@@ -108,0 +108,0 @@ });

(function() {
// when updating i18next dep update version here
var i18nVersion = '1.5.8pre';
var i18nVersion = '1.5.8';

@@ -43,3 +43,3 @@ var i18n = require('./dep/i18next-' + i18nVersion)

if (!locale) {
if (!locale && opts.useCookie) {
cookies = new Cookies(req, res);

@@ -46,0 +46,0 @@ locale = cookies.get('i18next');

@@ -5,3 +5,3 @@ {

"description": "i18n made easy - full featured: middleware, template support plus clientside use",
"version": "1.5.12",
"version": "1.5.13",
"repository": {

@@ -8,0 +8,0 @@ "type": "git",

@@ -0,1 +1,6 @@

### v1.5.13
disable cookie usage by setting init option useCookie to false
updated client
updated webtranslate
### v1.5.12

@@ -2,0 +7,0 @@ - ignore routes inside handler

Sorry, the diff of this file is too big to display

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