Comparing version 1.0.0-alpha-07 to 1.0.0-alpha-09
@@ -161,5 +161,4 @@ 'use strict'; | ||
getParams() { | ||
return new Map([this.parsedUrl.query, this.params]); | ||
return Object.assign({}, this.parsedUrl.query, this.params); | ||
} | ||
/** | ||
@@ -166,0 +165,0 @@ * @since 1.0.0 |
@@ -267,3 +267,3 @@ 'use strict'; | ||
} | ||
let query = new Map(); | ||
let query = {}; | ||
let isValidRequest = this.pattern.every((pattern, index) => { | ||
@@ -273,3 +273,3 @@ let part = url[index]; | ||
if (result) { | ||
result.forEach((v, k) => query.set(k, v)); | ||
result.forEach((v, k) => query[k] = v); | ||
return Type.isObject(result); | ||
@@ -276,0 +276,0 @@ } |
@@ -5,3 +5,3 @@ { | ||
"description": "Lightweight application framework with dyependency injection and dynamic type checking for node js", | ||
"version": "1.0.0-alpha-07", | ||
"version": "1.0.0-alpha-09", | ||
"dependencies": { | ||
@@ -8,0 +8,0 @@ "di-node": "0.2.x", |
89404