can-route
Advanced tools
Comparing version 0.0.2 to 0.0.3
{ | ||
"name": "can-route", | ||
"version": "0.0.2", | ||
"version": "0.0.3", | ||
"description": "A simple router that runs inside a `http.createServer` handler and returns false when it can’t route a request.", | ||
@@ -5,0 +5,0 @@ "main": "index.js", |
@@ -25,3 +25,3 @@ # can-route | ||
// Item | ||
can.patch(get/^\/(:<id>[a-f0-9]{16})\/?$/i, | ||
can.patch(/^\/(:<id>[a-f0-9]{16})\/?$/i, | ||
function(req, res, params) { | ||
@@ -28,0 +28,0 @@ res.end(params.id + '\n') |
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
5333