cafe-utility 27.16.0 → 27.16.1

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/index.js +1 -1
  2. package/package.json +1 -1
package/index.js CHANGED
@@ -3105,7 +3105,7 @@ class TrieRouter {
3105
3105
  u = this.forks.get(i)
3106
3106
  if (u) return u.handle(e.slice(1), t, r, o)
3107
3107
  const s = this.forks.get(':')
3108
- if (s) return s.variableName && o.set(s.variableName, i), s.handle(e.slice(1), t, r, o)
3108
+ if (s) return s.variableName && o.set(s.variableName, decodeURIComponent(i)), s.handle(e.slice(1), t, r, o)
3109
3109
  const c = this.forks.get('*')
3110
3110
  return c ? (o.set('wildcard', e.join('/')), c.handler ? (await c.handler(t, r, o), !0) : !1) : !1
3111
3111
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "cafe-utility",
3
- "version": "27.16.0",
3
+ "version": "27.16.1",
4
4
  "description": "",
5
5
  "main": "index.js",
6
6
  "exports": {