ultimate-express 1.3.13 → 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.
Files changed (2) hide show
  1. package/package.json +1 -1
  2. package/src/request.js +1 -1
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "ultimate-express",
3
- "version": "1.3.13",
3
+ "version": "1.3.14",
4
4
  "description": "The Ultimate Express. Fastest http server with full Express compatibility, based on uWebSockets.",
5
5
  "main": "src/index.js",
6
6
  "scripts": {
package/src/request.js CHANGED
@@ -206,7 +206,7 @@ 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
211
  this.#cachedQuery = {...new NullObject()};
212
212
  }