ultimate-express 1.3.12 → 1.3.14
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/package.json +1 -1
- package/src/request.js +3 -3
package/package.json
CHANGED
package/src/request.js
CHANGED
|
@@ -206,11 +206,11 @@ module.exports = class Request extends Readable {
|
|
|
206
206
|
}
|
|
207
207
|
const qp = this.app.get('query parser fn');
|
|
208
208
|
if(qp) {
|
|
209
|
-
this.#cachedQuery = qp(this.urlQuery.slice(1));
|
|
209
|
+
this.#cachedQuery = {...qp(this.urlQuery.slice(1))};
|
|
210
210
|
} else {
|
|
211
|
-
this.#cachedQuery = new NullObject();
|
|
211
|
+
this.#cachedQuery = {...new NullObject()};
|
|
212
212
|
}
|
|
213
|
-
return
|
|
213
|
+
return this.#cachedQuery;
|
|
214
214
|
}
|
|
215
215
|
|
|
216
216
|
get secure() {
|