@ladjs/i18n
Advanced tools
Comparing version 6.0.3 to 6.0.4
@@ -194,4 +194,4 @@ const { basename, extname, resolve } = require('path'); | ||
let url = `/${locale}${ctx.pathWithoutLocale}`; | ||
// clone it so we don't affect it | ||
const { query } = ctx; | ||
// shallow clone it so we don't affect it | ||
const query = { ...ctx.query }; | ||
if (!isEmpty(query)) { | ||
@@ -198,0 +198,0 @@ // if `redirect_to` was in the URL then check if i18n was in there too |
{ | ||
"name": "@ladjs/i18n", | ||
"description": "i18n wrapper and Koa middleware for Lad", | ||
"version": "6.0.3", | ||
"version": "6.0.4", | ||
"author": "Nick Baugh <niftylettuce@gmail.com> (http://niftylettuce.com/)", | ||
@@ -6,0 +6,0 @@ "ava": { |
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
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
Deprecated
MaintenanceThe maintainer of the package marked it as deprecated. This could indicate that a single version should not be used, or that the package is no longer maintained and any new vulnerabilities will not be fixed.
Found 1 instance in 1 package
23303
0