connect-rest
Advanced tools
Comparing version 2.0.2 to 2.0.3
@@ -10,6 +10,6 @@ 'use strict'; | ||
var newRoutes = []; | ||
_.each(this.mapping[ key ], function(route){ | ||
this.mapping[ key ].forEach( function(route){ | ||
if( !route.matches( null, path, version || '*', _, semver, false, false ) ) | ||
newRoutes.push( route ); | ||
}); | ||
} ); | ||
this.mapping[ key ] = newRoutes; | ||
@@ -16,0 +16,0 @@ }; |
{ | ||
"name": "connect-rest", | ||
"version": "2.0.2", | ||
"version": "2.0.3", | ||
"description": "Exceptionally featureful RESTful web services middleware for Connect.", | ||
@@ -49,3 +49,3 @@ "keywords": [ | ||
}, | ||
"_id": "connect-rest@2.0.2" | ||
"_id": "connect-rest@2.0.3" | ||
} |
Sorry, the diff of this file is not supported yet
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
259118