ultimate-express 1.3.16 → 1.3.17

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/utils.js +1 -1
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "ultimate-express",
3
- "version": "1.3.16",
3
+ "version": "1.3.17",
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/utils.js CHANGED
@@ -108,7 +108,7 @@ function canBeOptimized(pattern) {
108
108
  function acceptParams(str) {
109
109
  const length = str.length;
110
110
  const colonIndex = str.indexOf(';');
111
- const index = colonIndex === -1 ? length : colonIndex;
111
+ let index = colonIndex === -1 ? length : colonIndex;
112
112
  const ret = { value: str.slice(0, index).trim(), quality: 1, params: {} };
113
113
 
114
114
  while (index < length) {