Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

cf-util-route-handler

Package Overview
Dependencies
Maintainers
8
Versions
15
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

cf-util-route-handler - npm Package Compare versions

Comparing version 2.0.3 to 3.0.0

npm-debug.log.76b147b2fc76d9d1284dbf7f823be33d

6

lib/routeHandler.js

@@ -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>",

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc