routup 4.0.0 → 4.0.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.
package/dist/index.cjs CHANGED
@@ -1725,7 +1725,7 @@ class PathMatcher {
1725
1725
  this.path = path;
1726
1726
  this.regexpOptions = options || {};
1727
1727
  const regexp = pathToRegexp.pathToRegexp(path, options);
1728
- this.regexp = regexp;
1728
+ this.regexp = regexp.regexp;
1729
1729
  this.regexpKeys = regexp.keys;
1730
1730
  }
1731
1731
  }