Comparing version 2.0.0 to 2.0.1
@@ -121,3 +121,3 @@ /** | ||
// name if the path was an array. | ||
if (pathMatches[i+1] !== undefined || routeParams[self.keys[i].name] === undefined){ | ||
if (pathMatches[i+1] !== undefined && routeParams[self.keys[i].name] === undefined){ | ||
// Because pathToRegexp encodeURIComponent params values, it is necessary | ||
@@ -124,0 +124,0 @@ // to decode when reading from URL |
{ | ||
"name": "routr", | ||
"version": "2.0.0", | ||
"version": "2.0.1", | ||
"description": "A router for both server and client", | ||
@@ -5,0 +5,0 @@ "main": "index.js", |
New author
Supply chain riskA new npm collaborator published a version of the package for the first time. New collaborators are usually benign additions to a project, but do indicate a change to the security surface area of a package.
Found 1 instance in 1 package
21462
13
1