i18next-express-middleware
Advanced tools
Comparing version 1.0.5 to 1.0.6
@@ -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) |
@@ -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": { |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
Environment variable access
Supply chain riskPackage accesses environment variables, which may be a sign of credential stuffing or data theft.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
29905
31
548
4
+ Addedcookies@0.7.1(transitive)
- Removedcookies@0.6.1(transitive)
Updatedcookies@0.7.1