@scvo/router
Advanced tools
Comparing version 1.1.20 to 1.1.21
@@ -175,3 +175,3 @@ "use strict"; | ||
var value = query[param]; | ||
if (!query.hasOwnProperty(newParam)) { | ||
if (typeof query[newParam] === 'undefined' || query[newParam] === null) { | ||
query[newParam] = [value]; | ||
@@ -178,0 +178,0 @@ } |
{ | ||
"name": "@scvo/router", | ||
"version": "1.1.20", | ||
"version": "1.1.21", | ||
"description": "A moderately oppinionated web application framework based around mapping routes to tasks and then rendering with handlebars", | ||
@@ -5,0 +5,0 @@ "main": "./build/index", |
@@ -161,3 +161,3 @@ // System imports | ||
var value = query[param]; | ||
if (!query.hasOwnProperty(newParam)) { | ||
if (typeof query[newParam] === 'undefined' || query[newParam] === null) { | ||
query[newParam] = [value]; | ||
@@ -164,0 +164,0 @@ } else if (!Array.isArray(query[newParam])) { |
Sorry, the diff of this file is not supported yet
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
333696