cf-util-route-handler
Advanced tools
Comparing version 2.0.3 to 3.0.0
@@ -7,3 +7,4 @@ 'use strict'; | ||
if (handler) { | ||
throw new Error('Only one handler is allowed at a time'); | ||
console.error('Warning: Route Handler: Only one handler is allowed at a time'); | ||
return; | ||
} | ||
@@ -16,3 +17,4 @@ | ||
if (!handler) { | ||
throw new Error('A handler needs to be setup before you can route'); | ||
console.error('Warning: Route Handler: A handler needs to be setup before you can route'); | ||
return; | ||
} | ||
@@ -19,0 +21,0 @@ |
{ | ||
"name": "cf-util-route-handler", | ||
"description": "CloudFlare Route Handler Util", | ||
"version": "2.0.3", | ||
"version": "3.0.0", | ||
"main": "lib/index.js", | ||
@@ -6,0 +6,0 @@ "author": "James Kyle <jkyle@cloudflare.com>", |
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
46536
6
20